Skip to content

Choosing columns

Handout

Picking columns

SELECT * returns every column. Usually you want only a few. Instead of *, list the columns you want, separated by commas:

SELECT name, score FROM student;

The result has just those columns, in the order you wrote them.

Handout

Log in or create account

IGCSE & A-Level