Skip
Arish's avatar

59. Multiple Columns


Selecting Multiple Columns

Separate columns with commas.

Syntax

sql
1SELECT name, age FROM students;

Result

nameage
Alice14
Bob12
Carol15

More Columns

sql
1SELECT name, course, marks, grade FROM students;