Describe which rows and columns you want; SQL filters, sorts, then limits.
Ask a table for the rows and columns you want. Everything else in SQL is a refinement of this one sentence.
It's the most-used data skill in any AI role — most of your time is getting the data, not modelling it.
SELECT is the core read statement: you declare which columns to return, which table to read, and which rows qualify. Though you write SELECT first, the engine evaluates FROM, then WHERE, then SELECT, then ORDER BY, then LIMIT. Understanding that logical order explains most beginner surprises.
A SELECT query names columns, a source table, a WHERE filter, an optional sort, and a row cap. The trick is it doesn't run in written order: the database starts at FROM, filters rows with WHERE, projects columns in SELECT, sorts with ORDER BY, and finally trims with LIMIT.
SQL Explained in 100 Seconds — Fireship, 2:22