Skip to content · ⁨ข้ามไปยังเนื้อหา⁩
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 * ส่งคืน ทุก คอลัมน์ โดยปกติคุณต้องการเพียงไม่กี่ Instead of *,列出你想要的列用逗号隔开:

SELECT name, score FROM student;

ผลลัพธ์จะมีแค่คอลัมน์เหล่านั้น ตามลำดับที่คุณเขียน

Handout · ⁨เอกสารประกอบการเรียน⁩

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP