One month of SQL, done sensibly, is about twenty to twenty-five hours of work: four weeks, four to six hours each, split into sessions short enough to stay sharp. That is enough to read a small schema, answer your own questions with filters, aggregates, and joins, and know where your gaps are. It is not enough to become an analyst, and a plan that pretends otherwise is the main reason beginners quit in week three.
Week one: one table, many questions
Install a database and load a single table — a spreadsheet you already own, or a bundled sample database. Then spend the week asking it questions: how many rows, which categories exist, the earliest and latest date, the five largest values. Write each question down before you write the query, because the habit of translating a question into a clause is the actual skill.
Cover SELECT with named columns, WHERE with AND and OR, ORDER BY, and LIMIT. Skip DISTINCT until you find a real duplicate.
Week two: counting and grouping
Aggregation is where most people first feel competent, and where they first get quietly wrong answers. Work through COUNT, SUM, AVG, MIN, and MAX, then GROUP BY and HAVING. For every grouped result, run an ungrouped count of the same filtered rows and satisfy yourself that the totals reconcile.
Practise one trap on purpose: a group with a NULL value in the aggregated column. Watch the average change and note why.
Week three: joins and their failure modes
Two tables, one key, then three tables. Learn inner join first, then left join, and always ask what happens to rows with no match. Deliberately join a table that has duplicate keys and watch the row count explode; that single experiment will save you more debugging time than any lecture on join types.
Add a small self-join only if your data has a parent column, such as employees and managers.
Week four: a question you actually care about
Pick a real question about your own data and answer it end to end in one saved file: clean filters, a join or two, a grouped summary, a sorted result. Then write three sentences interpreting the output. If a step feels shaky, that is the syllabus for month two rather than a sign of failure.
Marking progress honestly
Keep a running list titled “things I could not do this week”. By day thirty it should be shorter and more specific, and that difference is a better measure than any course completion bar.
| Week | Proof it landed |
|---|---|
| One | You can turn five plain-English questions into filtering queries without help. |
| Two | Your grouped totals reconcile with a raw row count. |
| Three | You can explain why a left join returned more rows than expected. |
| Four | One saved, commented query answers a question you did not get from a tutorial. |
Leave window functions, indexing, and query tuning out of month one. They are real topics and they will still be there when you have questions that need them.
A month of steady, narrow practice beats a weekend of video bingeing by a wide margin. Small daily sessions, one new concept at a time, and a written list of what confused you — that is the whole plan, and it fits in a normal life.