• 2022-06-05
    删除student表中学号为101的记录。其SQL语句为( )。
    A: DELETE stu where stu_no=101
    B: DELETE studnets
    C: DELETE student WHERE stu_no=101
    D: DELETE FROM student WHERE stu_no=101
  • D

    内容

    • 0

      删除student表中id为1的记录,下列语句正确的是 A: DELETE student WHERE id=1; B: DELETE FROM student WHERE id=1; C: DELETE FROM student WHERE id:=1; D: DELETE student WHERE id:=1;

    • 1

      删除student表中id为1的记录() A: TRUNCATE FROM student where id=1; B: DELETE student where id=1; C: DELETE FROM student where id=1; D: DELETE INTO student where id=1;

    • 2

      下面SQL语句中,用于删除student表中age小于20的记录的语句是 A: DELETE student where age<20; B: DELETE FROM student where age<20; C: DELETE FROM student set age<20; D: DELETE studentset age<20;

    • 3

      从student表删除年龄大于=30的记录的正确SQL命令是( )。 A: DELETE FOR年龄>30 B: DELETE FROM student WHERE年龄>30 C: DELETE student FOR年龄>30 D: DELETE student WHERE年龄>30

    • 4

      从student表删除年龄大于30的记录的正确SQL命令是 A: A) DELETE FOR 年龄>30 B: B) DELETE FROM student WHERE 年龄>30 C: C) DELETE student FOR 年龄>30 D: D) DELETE student WHERE 年龄>30