查询1997,1999年出生的同学信息,正确的SELECT语句是( )
A. SELECT * FROM student WHERE YEAR(birthday) IN(1997,1999)
B. SELECT * FROM student WHERE YEAR(birthday) EXISTS(1997,1999)
C. SELECT * FROM student WHERE YEAR(birthday)=1997 OR YEAR(birthday)=1999
D. SELECT * FROM student WHERE YEAR(birthday) NOT IN(1997,1999)
从成绩信息表中查找成绩在80到90分之间的信息,用SELECT实现,正确的是( )
A. SELECT * FROM 成绩信息 WHERE 80<=成绩<=90
B. SELECT * FROM 成绩信息 WHERE 成绩 BETWEEN 80 AND 90
C. SELECT * FROM 成绩信息 WHERE 成绩 IS 80~90
D. SELECT * FROM 成绩信息 WHERE 成绩>=80 AND 成绩<=90
检索student表中的前3条记录信息,可以使用下面那些SQL语句( )
A. SELECT * FROM student LIMIT 3,0;
B. SELECT * FROM student LIMIT 1,3;
C. SELECT * FROM student LIMIT 0,3;
D. SELECT * FROM student LIMIT 3;
ORDER BY可以对查询结果进行排序,ASC为降序,DESC为升序。
A. 对
B. 错