Skip to content

Choosing columns · ⁨选择列⁩

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.

中文

选择列

SELECT * 返回每一列。通常你只想要其中几列。不用 *,而是列出你想要的列,用逗号隔开:

SELECT name, score FROM student;

结果就只有这些列,顺序和你写的一样。

Handout

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩