HTML
0001
lessons/0001-three-aql-shapes.html
1. Metric expression: reusable business number2. Table expression: explicit rows3. Explore expression: report queryPractice: choose the shapeRead next
HTML
0002
lessons/0002-your-first-aql-explore.html
Core ideaLine-by-line readingRetrieval practiceDo in AQLearnNext local lesson
HTML
0003
lessons/0003-aggregate-functions.html
Core ideaFour functions to memorize firstAQLearn exercise targetRetrieval practiceDo in AQLearnNext local lesson
HTML
0004
lessons/0004-dimensions-and-measures.html
Core ideaDataset diagramSame measure, different dimensionsHeuristic: how many rows will I get?Retrieval practiceDo in AQLearn
HTML
0005
lessons/0005-date-trunc.html
Core ideaDataset diagramSame field, four granularitiesRetrieval practiceDo in AQLearnNext local lesson
HTML
0006
lessons/0006-filters.html
Purpose of this lessonCore ideaDatetime literal @Common filter operatorsDataset diagramWorked examples
HTML
0007
lessons/0007-relationships.html
Purpose of this lessonCore ideaDataset diagramWorked examplesWhat "many-to-one" means hereRetrieval practice
HTML
0008
lessons/0008-side-quest-order-of-operations.html
Purpose of this lessonSQL refresher: logical query orderAQL pipeline in 7 stepsAQL step to SQL clauseThe big two: dimension filter vs metric filterGotcha: step 4 drops filters when of_all excludes a dimension
HTML
0009
lessons/0009-practice-1.html
Purpose of this lessonDataset diagramTasks (build the query one step at a time)Retrieval practiceDo in AQLearnNext local lesson
HTML
0010
lessons/0010-metric-expressions.html
Purpose of this lessonThree words, three jobsSame expression, two slotsReading the AQLearn exampleSide by side: definition vs useWhy a count can be a dimension
HTML
0011
lessons/0011-pipe-1.html
Purpose of this lessonOne rule, in one sentenceVisualize one stepSQL translationWhat can sit on each sideChaining: many pipes in a row
HTML
0012
lessons/0012-table-vs-scalar.html
Purpose of this lessonTwo shapes, that is the whole languageEach function has an input shape and an output shapeCheat sheetTwo pipelines, one legal and one notReading a pipeline shape by shape
HTML
0013
lessons/0013-select-group-1.html
Purpose of this lessonOne sentence eachShape diagramWorked example 1: rename in select()Worked example 2: select() with inline aggregatesWorked example 3: explicit group() for a derived table
HTML
0014
lessons/0014-pipe-2.html
Purpose of this lessonPipe is first-argument sugarDe-sugaring exerciseThe deeper idea: source table semanticsWorked comparison: products vs order_items as sourceSQL parallel
HTML
0015
lessons/0015-select-group-2.html
Purpose of this lessonThe trap, in one lineVisualize the conflictThe ruleTwo valid alternativesHow to read your own intent
HTML
0016
lessons/0016-nested-aggregations-1.html
Purpose of this lessonParse the question firstThe fixed pipeline shapeVisualize the two levelsWorked example, step by stepSQL parallel