通过 SELECT 语句,可指定查询结果中的特定列,如:

  • 查询学号和姓名:SELECT sno, sname FROM student
  • 查询姓名、学号和班级:SELECT sname, sno, class FROM student