题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2023-12-03 18:02:51

[单选题]现有订单表orders, 包含数据如下表。若查询既订购了产品P01,又订购了产品P02的顾客编号,可以执行以下( )sql语句(选一项) cid (顾客编号) Pid (产品编号) C01 P01 C01 P02 C02 P01 C03 P02
A.select distinct(cid) from orders o1 where o1.pid in ('p01','p02')
B.select distinct(cid) from orders o1 where o1.pid='p01' and o1.pid='p02'
C.select distinct(cid) from orders o1 where pid='p01' and exists (select * from orders where pid ='p02' and cid=o1.cid)
D.select distinct(cid) from orders o1,orders o2 where o1.pid='p01' and o2.pid='p02'

更多"[单选题]现有订单表orders, 包含数据如下表。若查询既订购了产品"的相关试题:

[多选题]现有订单表orders, 包含数据如下表。若查询既订购了产品P01,又订购了产品P02的顾客编号,可以执行以下哪两个sql语句? cid (顾客编号) Pid (产品编号) C01 P01 C01 P02 C02 P01 C03 P02
A.select distinct(cid) from orders o1 where o1.pid in ('p01','p02')
B.select distinct(cid) from orders o1,orders o2 where o1.pid='p01' and o2.pid='p02' and o1.cid=o2.cid
C. select distinct(cid) from orders o1 where pid='p01' and cid in (select cid from orders where pid ='p02')
D.elect distinct(cid) from orders o1,orders o2 where o1.pid='p01' and o2.pid='p02'
[单选题]现有订单表orders,其中包括列customername(客户姓名),amount(订单金额),orderid(订单编号)以下能够查询客户张洪涛订单数量以及金额的SQL是()。
A.select count(*) 订单数,sum(amount) 金额 from orders where customername='张洪涛'
B.select sum(*) 订单数,sum(amount) 金额 from orders where customername='张洪涛'
C.select count(*) 订单数,count(amount) 金额 from orders where customername='张洪涛'
D.select count(*) 订单数,sum(amount) 金额 from orders where customername is '张洪涛'
[单选题]现有订单表orders,包含用户信息userid, 产品信息 productid, 以下( )语句能够返回至少被订购过两回的productid(选一项)
A.select productid from orders where count(productid)>1
B.select productid from orders where max(productid)>1
C.select productid from orders where having count(productid)>1 group by productid
D.select productid from orders group by productid having count(productid)>1
[单选题]现有客户表customers(主键:客户编号cid),包含10行数据,订单表orders(外键:客户编号cid),包含6条数据。执行sql语句:select * from customers right outer join orders on customers.cid=orders.cid。最多返回(b)条记录。(
A.10
B.6
C.4
D.0
[单选题]订单表Orders中有主键O_Id ,订单日期OrderDate, 订单价格OrderPrice ,客户名称CustomerName,下列SQL语句()能够找出订单金额最大的订单信息。
A.SELECT TOP 1 (OrderPrice) AS LargestOrderPrice FROM Orders
B.SELECT COUNT(OrderPrice) AS LargestOrderPrice FROM Orders
C.SELECT MAX(OrderPrice) AS LargestOrderPrice FROM Orders
D.SELECT SUM(OrderPrice) AS LargestOrderPrice FROM Orders
[单选题]在SQL Server 2005 中,假设订单表orders用来存储订单信息,cid代表客户编号,现要查询每个客户的次数以及客户编号,以下语句正确的是(选一项)
A.select count(cid), cid from orders
B.select count(cid), cid from orders order by cid
C.select count(cid), cid from orders having count(cid)>0
D.select count(cid), cid from orders group by cid
[简答题]简述化肥公司300P01吊装工器具的使用及吊装过程。
[多选题] CRH380B型动车组端车P01 储压罐向( )供给压缩空气。
A. 塞拉门
B. 风笛
C. 盥洗室
D. 车端连接装置
[单选题]下列关于10GV2设备5.10.04.37P01版本的升级描述错误的是()。
A.从5.10.02.30P03升级到5.10.04.37P01主机时,必须按照升级“主机――SLQ4――交叉板――其它线路板”的顺序,否则可能会出现单板不对齐,导致业务中断;
B.升级前一定要检查网关网元的IP地址是否为192.168.X.X,如果是则需要修改到非192.168.X.X网段的IP地址;
C.升级过程中,如果有AXCS/EXCS升级到AMXS或者EMXS交叉板,一定要注意检查AMXS/EMXS与之配合的线路板的版本,根据版本配套情况确定升级顺序。
D.升级单板软件和FPGA时,可以先加载单板软件再加
[多选题]CPS上送到采集服务器的海量数据如()等按数据类型进行分类,提供不同的数据入库优化流程
A.A、告警信息;
B.遥控信息;
C.模拟量;
D.状态量。
[单选题]若查询出来的户号已被户主认证,则需要经过户主同意或() 才能绑定。
A.家人同意
B.供电公司直接更改
C.租户同意
D.更名过户
[多选题]《架空输电线路无人机巡检技术》中,地面站自检正常,各项回传数据如()
等参数应满足飞行要求。
A.发动机/电机状态
B.GPS 坐标
C.卫星数量
D.电池电压
E.无人机姿态
[简答题]某项目的三个方案A,B,C均能满足同样的需要。其费用数据如表。基准折现率10%,试用费用现值法确定最优方案。(结果保留两位小数,计算过程写上学号姓名后拍照以图片上传)(复利系数:(P/A,10%,10)=6.146)
[单选题]《中石化双重预防机制管理规定》低风险应当执行现有管理程序和保持现有安全措施完好有效,防止风险( )。
A.导致事故发生
B.损害人身健康
C.财产损失
D.进一步升级

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

截图扫码使用小程序[完全免费查看答案]
请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码