• 2022-06-15 问题

    在学生信息表中,查询年龄在19岁以上的学生姓名、性别和年龄,正确的SQL语句是()。 A: select sn,sex,agefrom swhere age>=19 B: select sn,sex,agefrom swhere age>19 C: select sn,sex,agefrom swhere age<=19 D: select sn,sex,agefrom swhere age<19

    在学生信息表中,查询年龄在19岁以上的学生姓名、性别和年龄,正确的SQL语句是()。 A: select sn,sex,agefrom swhere age>=19 B: select sn,sex,agefrom swhere age>19 C: select sn,sex,agefrom swhere age<=19 D: select sn,sex,agefrom swhere age<19

  • 2022-06-07 问题

    在学生信息表中,查询年龄在18岁到20岁的学生姓名和年龄,正确的SQL语句是()。 A: select sn,agefrom swhere age between 18 and 20 B: select sn,agefrom swhere age>=18 and age<=20 C: select sn,agefrom swhere age>18 and age<20 D: select sn,agefrom swhere age>=18 or sAge<=20

    在学生信息表中,查询年龄在18岁到20岁的学生姓名和年龄,正确的SQL语句是()。 A: select sn,agefrom swhere age between 18 and 20 B: select sn,agefrom swhere age>=18 and age<=20 C: select sn,agefrom swhere age>18 and age<20 D: select sn,agefrom swhere age>=18 or sAge<=20

  • 2022-06-07 问题

    查询所有目前年龄不到18岁的学生的姓名、所在班级及年龄,正确的命令是( )。 A: SELECT StName, ClName,YEAR(GETDATE())-YEAR(birthdate) age FROM StInfo WHERE age<18 B: SELECT StName,ClName, YEAR(GETDATE())-YEAR(birthdate) FROM StInfo WHERE YEAR(birthdate)<18 C: SELECT StName, ClName, YEAR(GETDATE())-YEAR(birthdate) ageFROM StInfo WHERE YEAR(GETDATE())-YEAR(birthdate)<18 D: SELECT StName,ClName, YEAR(date())-YEAR(birthdate) FROM StInfo WHERE age<18

    查询所有目前年龄不到18岁的学生的姓名、所在班级及年龄,正确的命令是( )。 A: SELECT StName, ClName,YEAR(GETDATE())-YEAR(birthdate) age FROM StInfo WHERE age<18 B: SELECT StName,ClName, YEAR(GETDATE())-YEAR(birthdate) FROM StInfo WHERE YEAR(birthdate)<18 C: SELECT StName, ClName, YEAR(GETDATE())-YEAR(birthdate) ageFROM StInfo WHERE YEAR(GETDATE())-YEAR(birthdate)<18 D: SELECT StName,ClName, YEAR(date())-YEAR(birthdate) FROM StInfo WHERE age<18

  • 1