單項選擇題對于學(xué)生信息表(XSB),包含字段:學(xué)號(SNO),姓名(SNAME),性別(SEX),年齡(AGE),所在系(DEPT),其中SNO為主碼,檢索年齡在20~30之間的學(xué)生姓名和年齡,正確的語句是()

A.select sname,age from xsb where age>20and age<23
B.select*from xsb where age between20 and 23
C.select sname,age from xsb where agebetween20 and 23


您可能感興趣的試卷