暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
sql++学习之q7.txt
75
1页
5次
2022-12-11
免费下载
USE geo;
select country_code,country_name,seas
from (
select joined.country_name , joined.car_code country_code, count(*) as cnt,
(select VALUE g.joined.sea_name from g) as seas
from (select y.name as country_name, {'sea':s.name} sea_name, y.`-car_code` as
car_code
from world x, x.mondial.country y, x.mondial.sea s, split(s.`-country`, "
") cc_list
where cc_list = y.`-car_code`) joined
group by joined.country_name, joined.car_code
group as g) T
where cnt >= 2
order by cnt desc;
--Duration of all jobs: 0.582 sec
of 1
免费下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

关注
最新上传
暂无内容,敬请期待...
下载排行榜
Top250 周榜 月榜