全唐诗数据集
文件列表(压缩包大小 5.71M)
免费
概述
内容 有两张表,一张作者,一张古诗
%load_ext sql
%sql mysql+pymysql://root:12345678@127.0.0.1/tang_poetry
'Connected: root@tang_poetry'
%sql SHOW tables;
* mysql+pymysql://root:***@127.0.0.1/tang_poetry
2 rows affected.
例子 查看唐朝写诗歌最多的人
%%sql
SELECT
poets.name,
COUNT(poetries.id) AS poetries_count
FROM
poetries
LEFT JOIN poets ON poets.id = poetries.poet_id
GROUP BY
poets.id
ORDER BY
poetries_count
DESC
LIMIT 10
* mysql+pymysql://root:***@127.0.0.1/tang_poetry
10 rows affected.
如果遇到文件不能下载或其他产品问题,请添加管理员微信:ligongku001,并备注:产品反馈
评论(0)