Can I Receive Help with SQL?

AI Thread Summary
The discussion focuses on seeking assistance with SQL and Python as the user prepares for potential employment in these fields. The forum confirms that it can provide support, especially for beginners, and mentions that SQL and Python are widely applicable across various platforms. The user expresses confusion about basic concepts and seeks recommendations for understanding the system better. Suggestions include using the H2 database, which is free and offers various operational modes, although it has limitations with certain SQL statements. Overall, the conversation emphasizes the availability of resources and community support for learning SQL and Python.
Martyn Arthur
Messages
114
Reaction score
20
TL;DR Summary: Asking are you able to assist with problems relating to SQL coding and preparation

Hi;
I am looking to move into the fireld of Pyton and SQL working towards maybe employmnet in those fields (do people age 75n get jobs :-))
Anyway it looks daunting with ancillairy references to ODBC et al about which I know nothing but must learn.
I have the basic textbooks to get started; will this forum be available to assist (potentially with basic stuff to start)?
Thanks
Martyn
 
Physics news on Phys.org
Yes for sure, we have many SQL and Python threads. SQL and Python are platform-agnostic for the most part. ODBC appears to be related to SQL Server which is not required. There are thousands of platforms with SQL functionality. You may want to start with using Google BigQuery.
 
Great thanks; I ave worked out the workbook installation; and I guess when I an up and running writing the code will be a process to learn.

I am stuck wit the 'simple' basics of understanding the system; textbooks seem lean on this; any suggestions please?
Thanks
Martyn
 
What do you mean by system? SQL and Python can be used on nearly any OS and database.
 
My favorite is the h2database.com java based database engine. Its a single jar and has different modes of operation:
- embedded in an application for 6x faster speed
- as a tcpip service using JDBC to connect to it
- via the H2 console where SQL can be executed on the database
- via the web page console

I used it once in a work application where they didn't want the hassle of a MySQL license. It worked great.

Its free too:

https://www.h2database.com/html/main.html

and has an online SQL reference manual.

Some more complex SQL statements aren't supported, nor are vendor-specific or proprietary SQL Statements. H2 aims primarily for a few significant databases. It does not natively support many vendor-specific statements.

For example:

- MySQL “SHOW” statements (SHOW TABLES, SHOW CREATE TABLE, etc.)
H2 does not parse these directly. Instead, you generally use H2’s own metadata tables (e.g., INFORMATION_SCHEMA) or run custom queries to achieve similar results.

- Oracle “CONNECT BY” hierarchical queries
H2 does not natively support CONNECT BY syntax for hierarchical queries. However, you can use recursive common table expressions (CTEs) in more recent versions of H2 to emulate hierarchical functionality in a standards-based way.

-PostgreSQL-specific commands (e.g., CREATE TYPE … AS ENUM, CREATE EXTENSION, DO $$ … $$, etc.) These are not supported in H2.

- T-SQL (Microsoft SQL Server) commands
Statements like EXEC, GO, and other SQL Server–specific features are not recognized by H2.
 
I want to thank those members who interacted with me a couple of years ago in two Optics Forum threads. They were @Drakkith, @hutchphd, @Gleb1964, and @KAHR-Alpha. I had something I wanted the scientific community to know and slipped a new idea in against the rules. Thank you also to @berkeman for suggesting paths to meet with academia. Anyway, I finally got a paper on the same matter as discussed in those forum threads, the fat lens model, got it peer-reviewed, and IJRAP...
This came up in my job today (UXP). Never thought to raise it here on PF till now. Hyperlinks really should be underlined at all times. PF only underlines them when they are rolled over. Colour alone (especially dark blue/purple) makes it difficult to spot a hyperlink in a large block of text (or even a small one). Not everyone can see perfectly. Even if they don't suffer from colour deficiency, not everyone has the visual acuity to distinguish two very close shades of text. Hover actions...
About 20 years ago, in my mid-30s (and with a BA in economics and a master's in business), I started taking night classes in physics hoping to eventually earn the science degree I'd always wanted but never pursued. I found physics forums and used it to ask questions I was unable to get answered from my textbooks or class lectures. Unfortunately, work and life got in the way and I never got further the freshman courses. Well, here it is 20 years later. I'm in my mid-50s now, and in a...
Back
Top