SQL在线练习网址:SQL在线练习
Review Lesson:复习 SELECT 查询
基本语法
SELECT column, another_column, …
FROM mytable
WHERE condition(s)
ORDER BY column ASC/DESC
LIMIT num_limit OFFSET num_offset;
练习要点:
- latitudes在赤道以北是正数,以南是负数
- longitudes在子午线东部是正数,以西是负数
实践练习
新建的一张表格(table): North_american_cities
City | Country | Population | Latitude | Longitude |
---|---|---|---|---|
Guadalaja |