搜题
章节测试答案
学历考试
继续教育
网课答案
网课答案全集
登录
注册
请在
下方输入
要搜索的题目:
搜 索
立 即 搜 题
查询出所有学生的姓名,性别,年龄降序排列语句为:Select 姓名,性别from student order by 年龄desc
性别
姓名
降序
发布时间:
2024-06-03 09:31:58
首页
知道智慧树
推荐参考答案
(
由 搜题小帮手 官方老师解答 )
联系客服
答案:
以下文字与答案无关
提示:有些试题内容 显示不完整,文字错误 或者 答案显示错误等问题,这是由于我们在扫描录入过程中 机器识别错误导致,人工逐条矫正总有遗漏,所以恳请 广大网友理解。
查看参考答案
相关试题
1.
针对学生表student(sno,sname,ssex,sage,sdept),其中sno为学号,sname为姓名,ssex为性别,sage为年龄,sdept为系别。查询学生的姓名sname,系别sdept和年龄sage,显示时按系别升序排列,系别相同的再按年龄降序排列。( )选项: A:select sname, sdept, sage from student order by sdept desc , sage; B:select * from student order by sdept , sage; C:select sname, sdept, sage from student order by sdept , sage desc; D:select * from student order by sdept desc, sage
2.
针对学生表student(sno,sname,ssex,sage,sdept),其中sno为学号,sname为姓名,ssex为性别,sage为年龄,sdept为系别。查询学生的姓名sname,系别sdept和年龄sage,显示时按系别升序排列,系别相同的再按年龄降序排列。( )选项: A: select sname, sdept, sage from student order by sdept , sage desc;; B: select * from student order by sdept , sage;; C:select sname, sdept, sage from student order by sdept desc , sage;; D:select * from student order by sdept desc, sage;
3.
单选题]针对学生表(student(sno,sname,ssex,sage,sdept)),其中sno为学号,sname为姓名,ssex为性别,sage为年龄,sdept为系别。查询学生的姓名sname,系别sdept和年龄sage,显示时按系别升序排列,系别相同的再按年龄降序排列,以下哪条语句合适( )? 选项: A:select sname, sdept, sage from student order by sdept, sage desc B:select * from student order by sdept, sage C:select * from student order by sdept desc, sage D:select sname, sdept, sage from student order by sdept desc, sage
4.
【单选题】针对学生表student(sno,sname,ssex,sage,sdept),其中sno为学号,sname为姓名,ssex为性别,sage为年龄,sdept为系别。查询学生的姓名sname,系别sdept和年龄sage,显示时按系别升序排列,系别相同的再按年龄降序排列。()A. select * from student order by sdept , sageB. select sname, sdept, sage from student order by sdept , sage descC. select sname, sdept, sage from student order by sdept desc , sageD. select * from student order by sdept desc, sage
5.
查询学生的姓名,系别和年龄,显示时按系别降序排列,系别相同的再按年龄升序排列。( ) 选项: A: select * from student order by sdept , sage B: select sname, sdept, sage from student order by sdept , sage C: select sname, sdept, sage from student order by sdept desc , sage D: select * from student order by sdept desc, sage
6.
查询学生的姓名,系别和年龄,显示时按系别降序排列,系别相同的再按年龄升序排列。( )选项: A:select * from student order by sdept , sage; B:select sname, sdept, sage from student order by sdept , sage; C:select sname, sdept, sage from student order by sdept desc , sage; D:select * from student order by sdept desc, sage
7.
查询学生的姓名,系别和年龄,显示时按系别降序排列,系别相同的再按年龄升序排列。( )选项: A:select sname, sdept, sage from student order by sdept desc , sage; B:select * from student order by sdept , sage; C:select sname, sdept, sage from student order by sdept , sage; D:select * from student order by sdept desc, sage
8.
从学生表查询学生的姓名,系别和年龄,显示时按系别降序排列,系别相同的再按年龄升序排列。( ) 选项: A、select * from student order by sdept , sage B、select sname, sdept, sage from student order by sdept , sage C、select sname, sdept, sage from student order by sdept desc , sage D、select * from student order by sdept desc, sage
9.
从student表中查询学生姓名、年龄和成绩,结果按照年龄降序排序,年龄相同的按照成绩升序排序,下面SQL语句正确的是: 选项: A、select name, age, score from student order by age desc , score; B、select name, age, score from student order by age , score asc; C、select name, age, score from student order by 2 desc , 3 asc; D、select name, age, score from student order by 1 desc , 2;
10.
从student表中查询学生姓名、年龄和成绩,结果按照年龄降序排序,年龄相同的按照成绩升序排序,下面SQL语句正确的是( )?选项: A:select name, age, score from student order by age desc , score;; B:select name, age, score from student order by age , score asc;; C:select name, age, score from student order by 2 desc , 3 asc;; D:select name, age, score from student order by 1 desc , 2 ;
11.
从student表中查询学生姓名、年龄和成绩,结果按照年龄降序排序,年龄相同的按照成绩升序排序,下面SQL语句正确的是( )?选项: A:select name, age, score from student order by age desc , score;; B:select name, age, score from student order by age , score asc;; C:select name, age, score from student order by 2 desc , 3 asc;; D:select name, age, score from student order by 1 desc , 2 ;
12.
有学生表,其结构为: student(学号, 姓名, 性别, 年龄),查询所有年龄小于等于18岁的女同学、并按年龄降序排序生成新的表stud,正确的SQL命令是______。选项: A:CREATE TABLE stud AS SELECT * FROM student WHERE 性别='女' AND 年龄 B:CREATE TABLE stud AS SELECT * FROM student WHERE 性别='女' AND 年龄 C:CREATE TABLE stud AS SELECT * FROM student WHERE 性别='女' AND 年龄 D:CREATE TABLE stud AS SELECT * FROM student WHERE 性别='女' AND 年龄
13.
查询student(学号,姓名,性别,年龄)表中男女生的人数,用select 性别,count(*) from student;
14.
从学生表StInfo(学号,姓名,性别,年龄)查询年龄小于20岁的男学生信息,正确的SQL语句是()。 选项: A、SELECT * FROM StInfo WHERE 性别='男' OR 年龄<20 B、SELECT * FROM StInfo WHERE 性别='男' OR 年龄 C、SELECT * FROM StInfo WHERE 性别=男 AND 年龄 D、SELECT * FROM StInfo WHERE 性别='男' AND 年龄<20
15.
从学生表StInfo(学号,姓名,性别,年龄)查询年龄小于20岁的男学生信息,正确的SQL语句是( )。 选项: A、SELECT * FROM StInfo WHERE 性别='男' OR 年龄<20 B、SELECT * FROM StInfo WHERE 性别='男' OR 年龄<'20' C、SELECT * FROM StInfo WHERE 性别=男 AND 年龄<'20' D、SELECT * FROM StInfo WHERE 性别='男' AND 年龄<20
16.
从学生表StInfo(学号,姓名,性别,年龄)查询年龄小于20岁的男学生信息,正确的SQL语句是( )。 选项: A、SELECT * FROM StInfo WHERE 性别='男' OR 年龄<20 B、SELECT * FROM StInfo WHERE 性别='男' OR 年龄<'20' C、SELECT * FROM StInfo WHERE 性别=男 AND 年龄<'20' D、SELECT * FROM StInfo WHERE 性别='男' AND 年龄<20
17.
下列从student表中查询学号、姓名、性别字段信息的SELECT语句是( )。 选项:A、select 学号 姓名 from studentB、select * from studentC、select 学号,姓名,性别 from studentD、以上都对
18.
设有学生表student(sno,sname,sage,smajor),字段含义分别为学生学号、姓名、年龄、专业。现有语句: SELECT sno,sname,sage,smajor FROM student ORDER BY smajor,sage DESC 执行上述语句,其检索结果()。 选项: A、按smajor升序、sage降序排列 B、按smajor降序、sage升序排列 C、按smajor及sage的降序排列 D、按smajor及sage的升序排列
19.
查询STUDENT表中所有学生的信息,查询结果按专业名升序排列,同一个专业的学生按照年龄升序排列(即按照出生年份降序排列)。A、Select * from STUDENT orderB、y 专业名, 生年份降序 desc;
20.
现有学生关系Student(学号,姓名,性别,年龄,所在院系),查询所有年龄小于20岁的学生信息的关系代数为( )。 选项:A、π年龄<20(Student)B、π4<20(Student)C、σ4<20(Student)D、σ年龄<20(Student)
用户中心
登录
没有账号?
点我注册
热门标签
时疫
皮肤科医生
离子通道
实学
球磨
贫富悬殊
牛脂
签批
不眠
电话网
登录 - 搜题小帮手
登录
立即注册
已购买搜题包,但忘记账号密码?
登录即同意
《服务协议》
及
《隐私政策》
注册 - 搜题小帮手
确认注册
立即登录
登录即同意
《服务协议》
及
《隐私政策》
购买搜题卡查看答案
购买前请仔细阅读
《购买须知》
体验
30天体验包
¥
5.99
无赠送,体验一下
查看100次答案
推荐
半年基础包
¥
9.99
畅享300次搜题
查看300次答案
随心用
超值包一年
¥
29.99
超值包,一万次搜题
查看10000次答案
月卡
月卡
¥
19.99
30天无限搜题
查看30天答案
请选择支付方式
已有帐号 点我登陆
微信支付
支付宝扫码
请输入您的手机号码:
点击支付即表示同意并接受了
《服务协议》
和
《购买须知》
填写手机号码系统自动为您注册
立即支付
我们不保证100%有您要找的试题及正确答案!请确保接受后再支付!
联系客服
找回账号密码
微信支付
订单号:
1111
遇到问题请
联系客服
恭喜您,购买搜题卡成功
系统为您生成的账号密码如下:
账号
密码
重要提示:
请勿将账号共享给其他人使用,违者账号将被封禁。
保存账号查看答案
请不要关闭本页面,支付完成后请点击【支付完成】按钮
支付完成
取消支付
遇到问题请联系
在线客服