Q&A

Q1: Why are NULL values ignored when using the MAX or MIN function?
A1: A NULL value means that nothing is there.
Q2: Why don't data types matter when using the COUNT function?
A2: The COUNT function only counts rows.

Get Sams Teach Yourself SQL in 24 Hours, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.