Reading · 8 min

Tables and SELECT

You are previewing a free lesson. Enrol to save progress and take quizzes.

A table has rows and columns. SELECT chooses columns, WHERE filters rows, ORDER BY sorts.

Example

SELECT name, city FROM learners WHERE city = 'Abuja' ORDER BY name;