【SQL】6.SQLZOO练习1--SELECT basics

题目链接:https://sqlzoo.net/wiki/SELECT_basics

【SQL】6.SQLZOO练习1--SELECT basics_第1张图片
select basics 1
SELECT population FROM world
WHERE name = 'Germany'
【SQL】6.SQLZOO练习1--SELECT basics_第2张图片
select basics 2
select name,population from world
where name in ('Sweden', 'Norway', 'Denmark')
【SQL】6.SQLZOO练习1--SELECT basics_第3张图片
select basics 3
SELECT name, area FROM world
WHERE area BETWEEN 200000 AND 250000

你可能感兴趣的:(【SQL】6.SQLZOO练习1--SELECT basics)