01
Querying
SQL's language families, the structure of the SELECT statement, condition syntax, sorting and limiting, how null values behave in a query, and built-in functions.
- 01 SQL Language Families Definition, manipulation, querying, control, and transaction statements: what each family changes, what declarative syntax means, and setting up the library schema used throughout the course.
- 02 SELECT Structure What the column list accepts, aliases, computed expressions, the elimination of duplicate rows, and the difference between the writing order and the evaluation order of clauses.
- 03 Conditions Comparison operators, the precedence of logical connectives, range and membership checks, pattern matching with escape characters, and how case-sensitivity behavior depends on the engine.
- 04 Sorting and Limiting Sorting the result set, multi-key sorting, collation's effect on order, where null values land, and the standard versus common syntax for limiting the result to the first rows.
- 05 Working with Null Values The consequences of three-valued logic in a query, tests for null values, functions that substitute for null values, filling gaps with a conditional expression, and the trap in the negation of a membership condition.
- 06 Built-in Functions String, number, and date functions that run per row; the distinction between character and byte length, integer division, and how date functions are the area farthest from the standard.