首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
学习生1
获赞
3
粉丝
0
关注
2
看过 TA
15
安徽信息工程学院
2027
Python
IP属地:安徽
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑学习生1吗?
发布(209)
评论
刷题
收藏
学习生1
关注TA,不错过内容更新
关注
2024-11-26 19:52
安徽信息工程学院 Python
题解 | #返回顾客名称和相关订单号#
select Customers.cust_name as cust_name, Orders.order_num as order_num from Customers inner join Orders on Customers.cust_id=Orders.cust_id order by cust_name,order_num;
0
点赞
评论
收藏
分享
2024-11-26 19:52
安徽信息工程学院 Python
题解 | #返回顾客名称和相关订单号#
select Customers.cust_name as cust_name, Orders.order_num as order_num from Customers inner join Orders on Customers.cust_id=Orders.cust_id order by cust_name,order_num;
0
点赞
评论
收藏
分享
2024-11-26 19:47
安徽信息工程学院 Python
Products表中检索所有的产品名称以及对应的销售总数
select Products.prod_name as prod_name, sum(OrderItems.quantity) as quant_sold from Products,OrderItems where Products.prod_id=OrderItems.prod_id group by prod_name;
0
点赞
评论
收藏
分享
2024-11-26 19:26
安徽信息工程学院 Python
题解 | #返回购买价格为 10 美元或以上产品的顾客列表#
select cust_id from Orders left join OrderItems on OrderItems.order_num = Orders.order_num where OrderItems.item_price >= 10;
0
点赞
评论
收藏
分享
2024-11-26 19:21
安徽信息工程学院 Python
题解 | #返回每个订单号各有多少行数#
select order_num, count(order_num) as order_lines from OrderItems group by order_num order by order_lines;
0
点赞
评论
收藏
分享
2024-11-25 21:50
安徽信息工程学院 Python
题解 | #确定已售出产品的总数#
select sum(quantity) as items_ordered from OrderItems; #sum()求和
0
点赞
评论
收藏
分享
2024-11-25 21:48
安徽信息工程学院 Python
返回2020年1月的所有订单的订单号和订单日期
select order_num, order_date from Orders where year(order_date)=2020 and month(order_date)=1 order by order_date;
0
点赞
评论
收藏
分享
2024-11-25 21:45
安徽信息工程学院 Python
题解 | #顾客登录名#
select cust_id, cust_name, upper(concat(substring(cust_contact,1,2),substring(cust_city,1,3))) as user_login from Customers;
0
点赞
评论
收藏
分享
2024-11-25 21:30
安徽信息工程学院 Python
题解 | #打折#
select prod_id, prod_price, prod_price*0.9 as sale_price from Products;
0
点赞
评论
收藏
分享
2024-11-25 21:27
安徽信息工程学院 Python
题解 | #别名#
select vend_id, vend_name as vname, vend_address as vaddress, vend_city as vcity from Vendors order by vname;
0
点赞
评论
收藏
分享
2024-11-25 21:22
安徽信息工程学院 Python
题解 | #检索产品名称和描述(四)#
select *from Products where prod_desc like '%toy%carrots%';
0
点赞
评论
收藏
分享
2024-11-25 21:21
安徽信息工程学院 Python
题解 | #检索产品名称和描述(三)#
select * from Products where prod_desc like '%toy%' and prod_desc like '%carrots%';
0
点赞
评论
收藏
分享
2024-11-25 21:16
安徽信息工程学院 Python
题解 | #检索产品名称和描述(二)#
select * from Products where prod_desc not like '%toy%' order by prod_name;
0
点赞
评论
收藏
分享
2024-11-25 21:14
安徽信息工程学院 Python
题解 | #检索产品名称和描述(一)#
select prod_name, prod_desc from Products where prod_desc like '%toy%';
0
点赞
评论
收藏
分享
2024-11-25 21:13
安徽信息工程学院 Python
题解 | #纠错2#
SELECT vend_name FROM Vendors WHERE vend_country = 'USA' AND vend_state = 'CA';
0
点赞
评论
收藏
分享
1
4
5
6
7
8
14
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务