自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 Using Null------sqlzoo个人笔记

1.List the teachers who have NULL for their department. select teacher.name from teacher left join dept on teacher.dept = dept.id where dept is null 2.Note the INNER JOIN misses the teachers with no department and the departments with no teacher. select t

2020-12-16 10:06:34 66

原创 More JOIN operations------sqlzoo个人笔记

1.List the films where the yr is 1962 [Show id, title] More JOIN operations 2.Give year of ‘Citizen Kane’. select yr from movie where title = 'Citizen Kane' 3.List all of the Star Trek movies, include the id, title and yr (all of these movies include th.

2020-12-06 22:01:20 105

原创 The JOIN operation------sqlzoo个人笔记

4.Show the team1, team2 and player for every goal scored by a player called Mario player LIKE ‘Mario%’ select team1 ,team2 ,player from game join goal on game.id=goal.matchid where goal.player like 'Mario%' 6.List the dates of the matches and the name of.

2020-12-06 11:04:04 67

原创 SUM and COUNT------sqlzoo个人笔记

SUM and COUNT------sqlzoo个人笔记 1.Show the total population of the world. select sum(population) from world 2.List all the continents - just once each. select distinct continent from world 3.Give the total GDP of Africa select sum(GDP) from world where con

2020-12-03 21:48:08 49

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除