01Chapter 1: Why queries need conditional logicThis chapter assumes you can write SELECT statements with WHERE and ORDER BY, that you know the Oracle types NUMBER and VARCHAR2, that you understand NULL as "no value", and that you can use aggregate functions such as SUM and COUNT. The examples use the HR sample schema, which has an employees ta2 min read
02Chapter 2: CASE and NULL: why WHEN NULL never matchesThis chapter assumes you can write SELECT statements with WHERE and ORDER BY, know the Oracle types NUMBER and VARCHAR2, and understand that NULL means "no value is known." The examples use the standard HR employees table.1 min read
03Chapter 3: Using CASE in SELECT, WHERE, ORDER BY, GROUP BY and UPDATEThis chapter assumes you can write SELECT with WHERE and ORDER BY, know the Oracle types NUMBER, VARCHAR2 and DATE, understand that NULL means "unknown", and can use GROUP BY with SUM and COUNT. The earlier chapters covered the syntax of simple and searched CASE. This chapter applies CASE across the2 min read