Loading topic
SELECT, WHERE, and ORDER BY queries. You should also be familiar with tables, rows, columns, and simple joins.2 min readSELECT, WHERE, JOIN, and GROUP BY, and that you understand that NULL represents a missing or inapplicable value. The key idea is that a SQL condition can produce three results: TRUE, FALSE, or UNKNOWN.2 min readSELECT, WHERE, and comparisons. This chapter uses a small employees table to show why NULL needs special syntax.1 min readSELECT, WHERE, ORDER BY, joins, and GROUP BY. This chapter focuses on choosing the correct predicate when a column may contain NULL.2 min readSELECT, WHERE, ORDER BY, JOIN, and GROUP BY. This chapter focuses on how those clauses react when a condition evaluates to UNKNOWN because it involves NULL.2 min readSELECT, WHERE, ORDER BY, and table structure. This chapter focuses on how NULL moves through calculations and text expressions.2 min readSELECT, WHERE, ORDER BY, JOIN, and aggregate functions. It also assumes you understand that NULL means a missing, unknown, or inapplicable value. NULL is not the same as zero, an empty string, or FALSE.2 min readSELECT, WHERE, and GROUP BY queries. You should also be familiar with tables, rows, and columns.2 min readSELECT, WHERE, and subqueries, along with tables, rows, and primary keys. This chapter focuses on how NULL changes a query that uses NOT IN.2 min readJOIN, WHERE, and GROUP BY. This chapter focuses on how missing join keys change matching and how to find rows without matches.2 min readSELECT, WHERE, GROUP BY, and UNION queries. The key idea is that SQL treats NULL as missing or unknown in expressions, but grouping and duplicate removal need a practical rule: rows with NULL in the same position are treated as belonging together.2 min readSELECT, ORDER BY, and NULL tests. This chapter focuses on controlling where missing values appear in sorted results.2 min readSELECT, WHERE, ORDER BY, JOIN, and GROUP BY. This chapter focuses on how constraints treat NULL, not on creating tables in general.1 min readSELECT, WHERE, JOIN, and GROUP BY, and that you have seen how SQL comparisons and aggregates treat NULL.2 min readSELECT, WHERE, ORDER BY, JOIN, and GROUP BY queries. You should also understand that NULL means an absent or unknown value, not zero or an empty string.2 min read