当前位置: X题卡 > 所有题目 > 题目详情

设有学生表S(学号,姓名,性别,年龄),查询所有年龄小于等于18岁的女同学、并按年龄进行降序排序生成新的表WS,正确的SQL命令是【 】。

查看本题答案

你可能感兴趣的试题

SELECT*FROM S WHERE性别=’女’AND年龄<=18 ORDER BY 4 DESC INTO TABLE WS  SELECT*FROM S WHERE性别=’女’AND年龄<=18 ORDER BY年龄INTO TABLE WS  SELECT*FROM S WHERE性别=’女’AND年龄<=18 ORDER BY’年龄’DESC INTO TABLE WS  SELECT*FROM S WHERE性别=’女’OR年龄<=18 ORDER BY’年龄’ASC INTO TABLE WS  
SELECT * FROM S  WHERE 性别='女' AND 年龄<=18 ORDER BY 4 DESC INTO TABLE WS  SELECT * FROM S  WHER E性别='女' AND 年龄<=18 ORDER BY 年龄 INTO TABLE WS  SELECT * FROM S  WHERE 性别='女' AND 年龄<=18 ORDER BY '年龄' DESC INTO TABLE WS  SELECT * FROM S  WHERE 性别='女' OR 年龄<=18 ORDER BY '年龄' ASC INTO TABLE WS  
SELECT * FROM S WHERE 性别="女" AND 年龄<=18 ORDER BY 4 DESC INTO TABLE WS  SELECT * FROM S WHERE 性别="女" AND 年龄<=18 ORDER BY 年龄 INTO TABLE WS  SELECT * FROM S WHERE 性别="女" AND 年龄<=18 ORDER BY "年龄" DESC INTO TKBLE WS  SELECT * FROM S WHERE 性别="女" OR 年龄<=18 ORDER BY "年龄" SC INTO TABLE WS  
SELECT*FROM s WHERE 性别=′女′AND年龄<=18 ORDER BY 4 DESC INTO TABLE WS  SELECT * FROM S WHERE性别=′女′AND年龄<=18 ORDER BY年龄 INTO TABLE WS  SELECT * FROM S WHERE性别=′女′AND年龄<=18 ORDER BY ′年龄′ DESC INTO TABLE WS  SELECT * FROM S WHERE性别=′女′OR年龄<=1 8 ORDER BY′年龄′ ASC INTO TARLE WS  
SELECT* FROM S WHERE 性别='女' AND 年龄<=18 ORDER BY 4 DESC INTO TABLE WS  SELECT* FROM S WHERE 性别='女' AND 年龄<=18 ORDER BY 年龄 INTO TABLE WS  SELECT* FROM S WHERE 性别='女' AND 年龄<=18 ORDER BY '年龄' DESC INTO TABLE WS  SELECT* FROM S WHERE 性别='女' OR 年龄<=18 ORDER BY '年龄' ASC INTO TABLE WS  
SELECT*FROM s WHERE 性别=′女′AND年龄<=18 ORDER BY 4 DESC INTO TABLE WS  SELECT * FROM S WHERE性别=′女′AND年龄<=18 ORDER BY年龄 INTO TABLE WS  SELECT * FROM S WHERE性别=′女′AND年龄<=18 ORDER BY ′年龄′ DESC INTO TABLE WS  SELECT * FROM S WHERE性别=′女′OR年龄<=1 8 ORDER BY′年龄′ ASC INTO TARLE WS  
SELECT姓名性别,年龄FROM学生WHERE年龄<22  SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)as年龄FROM学生 WHERE YEAR(出生日期)<22  SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)as年龄FROM学生 WHERE;YEAR(DATE()).YEAR(出生日期)<22  SELECT姓名,性别,年龄=YEAR(DATE())-YEAR(出生日期)FROM学生 WHERE YEAR(DATE())-YEAR(出生日期)<22  
SELECT* FROM S
WHERE 性别='女' AND 年龄<=18 ORDER BY 4 DESC INTO TABLE WS  
SELECT* FROM S
WHERE 性别='女' AND 年龄<=18 ORDER BY 年龄 INTO TABLE WS  
SELECT* FROM S
WHERE 性别='女' AND 年龄<=18 ORDER BY '年龄' DESC INTO TABLE WS  
SELECT* FROM S
WHERE 性别='女' OR 年龄<=18 ORDER BY '年龄' ASC INTO TABLE WS  
SELECT * FROM S WHERE 性别='女' AND 年龄<=18 ORDER BY 4 DESC INTO TABLE WS  SELECT * FROM S WHERE 性别='女' AND 年龄<=18 ORDER BY 年龄 INTO TABLE WS  SELECT * FROM S WHERE 性别='女' AND 年龄<=18 ORDER BY '年龄' DESC INTO TABLE WS  SELECT * FROM S WHERE 性别='女' OR 年龄<=18 ORDER BY '年龄' ASC INTO TABLE WS  
CREATE TABLE 学生 (学号C(6) PRIMARY,姓名C(8),性别C(2),年龄I)  CREATE TABLE 学生 (学号C(6) FOREIGN,姓名C(8),性别C(2),年龄I)  CREATE TABLE 学生 (学号C(6) FOREIGN KEY,姓名C(8),性别C(2),年龄I)  CREATE TABLE 学生 (学号C(6) PRIMARY KEY,姓名C(8),性别C(2),年龄I)  
“课号”,“成绩”  “学号”,“成绩”  “学号”,“课号”  “学号”,“姓名”,“成绩”  

热门试题

更多