Skip to content · ⁨Pular para o conteúdo⁩
English

Picking columns

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

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

Português

Selecionando colunas

SELECT * retorna todas as colunas. Geralmente você quer apenas algumas. Em vez de *, liste as colunas desejadas, separadas por vírgulas:

SELECT name, score FROM student;

O resultado contém apenas essas colunas, na ordem em que foram escritas.

Handout · ⁨Material de apoio⁩

Log in or create account · ⁨Entrar ou criar conta⁩

IGCSE, A-Level & AP