Sql
文章平均质量分 68
Nosfy
这个作者很懒,什么都没留下…
展开
-
SQLZOO 9+COVID 19
9+ COVID 191.Introducing the covid table2.Introducing the LAG function3.Number of new cases4.Weekly changes5.LAG using a JOIN6.RANK()7.Infection rate8.Turning the corner练习题链接 https://sqlzoo.net/wiki/Window_LAG1.Introducing the covid tableSELECT name原创 2021-01-08 03:10:33 · 539 阅读 · 0 评论 -
SQLZOO 9-Window function
9-Window function1.Warming up2.Who won?3.PARTITION BY4.Edinburgh Constituency5.Winners Only6.Scottish seats练习题链接:https://sqlzoo.net/wiki/Window_functions1.Warming upSELECT lastName ,party ,votesFROM geWHERE constituency = 'S14000024'原创 2021-01-07 18:43:53 · 143 阅读 · 0 评论 -
SQLZOO练习题
SQLZOO练习题写在前面0 SELECT 基礎1 SELECT name2 SELECT from World3 SELECT from Nobel4 子查詢5 群組函數6 合拼兩個表格7 更多的合拼操作8 NULL值9 自我合拼写在前面这篇博客主要用于记录SQLZOO的练习题,一些过于简单的题目只是为了目录完整,犹豫SQL不区分大小写,所以写的时候不会特意去区分他,语句中诸如‘AS’之类的也会省略,所以格式强迫症的小伙伴可以去百度其它答案。0 SELECT 基礎1 SELECT name2 S原创 2021-01-07 00:28:17 · 445 阅读 · 0 评论