首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
讲文明的小龙虾在努力
获赞
0
粉丝
0
关注
1
看过 TA
5
IP属地:陕西
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑讲文明的小龙虾在努力吗?
发布(83)
评论
刷题
收藏
讲文明的小龙虾在努力
关注TA,不错过内容更新
关注
2024-02-05 17:54
题解 | #返回购买价格为 10 美元或以上产品的顾客列表#
select cust_id from Orders where order_num in (select order_num from OrderItems group by order_num having sum(item_price)>=10 )
0
点赞
评论
收藏
分享
2024-02-01 14:09
题解 | #纠错3#
select order_num,count(order_num)as items from OrderItems group by order_num having items>=3 order by order_num;
0
点赞
评论
收藏
分享
2024-02-01 13:56
题解 | #计算总和#
select order_num, sum(item_price*quantity)as total_price from OrderItems group by order_num having total_price>=1000 order by order_num;
0
点赞
评论
收藏
分享
2024-02-01 13:09
题解 | #返回订单数量总和不小于100的所有订单的订单号#
select order_num from OrderItems where quantity>=100 order by order_num;
0
点赞
评论
收藏
分享
2024-02-01 11:48
题解 | #每个供应商成本最低的产品#
select vend_id,min(prod_price) as cheapest_item from Products group by vend_id order by cheapest_item;
0
点赞
评论
收藏
分享
2024-02-01 11:37
题解 | #返回每个订单号各有多少行数#
select order_num,count(order_num) as order_lines from OrderItems group by order_num order by order_lines;
0
点赞
评论
收藏
分享
2024-02-01 11:25
题解 | #确定已售出产品项 BR01 的总数#
select sum(quantity) as items_ordered from OrderItems where prod_id='BR01';
0
点赞
评论
收藏
分享
2024-02-01 11:17
题解 | #确定已售出产品的总数#
select sum(quantity) as items_ordered from OrderItems;
0
点赞
评论
收藏
分享
2024-01-31 17:44
题解 | #顾客登录名#
select cust_id,cust_name, upper(concat(substring(cust_contact,1,2),substring(cust_city,1,3))) as user_login from Customers;
0
点赞
评论
收藏
分享
2024-01-31 17:29
题解 | #打折#
select prod_id,prod_price,prod_price *0.9 as sale_price from Products;
0
点赞
评论
收藏
分享
2024-01-31 17:25
题解 | #别名#
select vend_id,vend_name as vname,vend_address as vaddress,vend_city as vcity from Vendors order by vend_name;
0
点赞
评论
收藏
分享
2024-01-31 17:20
题解 | #检索产品名称和描述(四)#
select prod_name,prod_desc from Products where prod_desc like '%toy%carrots%';
0
点赞
评论
收藏
分享
2024-01-31 17:14
题解 | #检索产品名称和描述(三)#
select prod_name,prod_desc from Products where prod_desc like '%toy%' and prod_desc like '%carrots%';
0
点赞
评论
收藏
分享
2024-01-31 17:11
题解 | #检索产品名称和描述(二)#
select prod_name,prod_desc from Products where prod_desc not like '%toy%' order by prod_name;
0
点赞
评论
收藏
分享
2024-01-31 17:05
题解 | #检索产品名称和描述(一)#
select prod_name,prod_desc from Products where prod_desc like '%toy%';
0
点赞
评论
收藏
分享
1
2
3
4
5
6
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务