SELECT with WHERE
Filter rows with a condition
QuerySQL
SELECT name, email FROM users WHERE age > 18;
What each clause does
SELECT name, email chooses specific columns. WHERE age > 18 filters rows to only those matching the condition.
Filter rows with a condition
QuerySELECT name, email FROM users WHERE age > 18;
SELECT name, email chooses specific columns. WHERE age > 18 filters rows to only those matching the condition.