Start free

DatabasesBeginnerBeginner stage16 hoursFree

SQL Fundamentals (Any Database)

Vendor-neutral SQL that works in PostgreSQL, MySQL, SQL Server, SQLite, Snowflake and BigQuery.

Start this course freeLabs run in your browser. No installs.

What you will be able to do

  • Read any schema
  • Write portable queries
  • Know dialect differences
  • Debug wrong results

Tools

  • ANSI SQL
  • SQLite
  • DBeaver

Syllabus — 5 modules

  1. Thinking in sets

    SQL works on whole sets of rows. Describe the result; let the engine choose the method.

    Tables as sets · Declarative vs procedural · Logical query order · Reading an ER diagram

  2. Core clauses

    SELECT, FROM, WHERE, GROUP BY, HAVING and ORDER BY cover most daily questions.

    Projection and filtering · NULL logic (three-valued) · Aggregates · CASE · Aliases

  3. Joins and set operations

    Joins match rows; UNION, INTERSECT and EXCEPT combine result sets.

    Inner, left, full, cross joins · UNION vs UNION ALL · INTERSECT, EXCEPT · Fan-out traps

  4. Dialects

    Most differences are small: LIMIT vs TOP, date functions, string concatenation, identifiers.

    LIMIT / TOP / FETCH FIRST · Date functions by engine · Concatenation: double pipe, + or CONCAT · Quoting identifiers · Auto-increment vs IDENTITY vs SEQUENCE

  5. Debugging queries

    When numbers look wrong, check grain, joins, filters and NULLs in that order.

    Row-count checks · Reconciliation to known totals · Duplicate detection · Testing with small samples

How you are assessed

Every module ends with a check question. The final exam has 15 theory questions and 3 hands-on tasks solved in the tool this course teaches; pass at 70% for a certificate anyone can verify online.

Where it sits in the Databases track

  1. SQL Fundamentals (Any Database) (this course) Beginner
  2. SQL with MySQL Beginner → Advanced
  3. MongoDB Beginner → Advanced
  4. GraphQL for Data Intermediate
  5. Oracle SQL & PL/SQL Intermediate
  6. Graph Databases with Neo4j Intermediate
  7. Microsoft SQL Server & T-SQL Intermediate → Advanced
  8. PostgreSQL Intermediate → Advanced
  9. NoSQL: Redis, Cassandra, DynamoDB & Elasticsearch Intermediate → Advanced
  10. Database Management & Administration Advanced

Part of these career paths

Start learning

Questions and answers

How long does the SQL Fundamentals (Any Database) course take?
About 16 hours across 5 modules, at your own pace. At five hours a week most learners finish in 4 weeks.
Is SQL Fundamentals (Any Database) free?
Yes. Every lesson, lab and the final exam are free; you only need a free account.
Do I get a certificate for SQL Fundamentals (Any Database)?
Yes. Pass the final exam (15 theory questions and 3 hands-on tasks in 40 minutes, pass mark 70%) and you get a certificate with an ID that anyone can verify online.
What should I know before starting SQL Fundamentals (Any Database)?
Nothing beyond basic computer use: it is where the Databases track begins.
What will I be able to do after SQL Fundamentals (Any Database)?
Read any schema; Write portable queries; Know dialect differences.