Learn VisualLearn SQL Visual
JA

WHERE Keeps Matching Rows

WHERE keeps only the rows that satisfy a condition. With WHERE city = 'Tokyo', the rows whose city is Tokyo remain and the rest drop out. WHERE changes which rows remain, never which columns come back.

SELECT * FROM customers WHERE city = 'Tokyo' returns how many rows?