凯心丿
凯心丿
全部文章
题解
归档
标签
去牛客网
登录
/
注册
joyful
全部文章
/ 题解
(共2篇)
题解 | #列出供应商及其可供产品的数量#
select v.vend_id, count(p.prod_id) from Vendors v left join Products p on v.vend_id = p.vend_id group by v.vend_id order by vend_id
Mysql
2022-06-28
0
199
题解 | #将两个 SELECT 语句结合起来(二)#
两条 select select prod_id,quantity from OrderItems where quantity = 100 union select prod_id,quantity from OrderItems where prod_id like "BNBG%...
Mysql
2022-06-28
2
301