- 博客(2)
- 收藏
- 关注
原创 SQL实习日志-Day 2
SQL实习日志 Day 2 SQLZOO-JOIN Join函数是用来连接两个表的函数 select * from a join b on(a.id = b.matchid) 上述语句的意思是,在表a和表b的合并表中筛选出所有列,合并表的行列范围是表a中的id列信息和表b中的matchid列一致的行列,即最后呈现的表格中的一行代表同一个id/matchid的客体在表a和表b中的所有信息。括号里的列标题前面的a.或b.如果省去不造成异议,则可以省去。 ...
2021-01-19 14:01:28
461
原创 SQL学习日志-Day 1
SQL学习日志-Day 1 SQL ZOO-Sum and count 1.For each continent show the continent and number of countries with populations of at least 10 million. select continent, count(name) from world where population > 100000000 group by continent 可以看到,group by的语法顺序在whe
2021-01-13 14:15:40
165
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人