SQLZOO练习-Part1: SELECT basics

Part1: SELECT basics 

SQLZOO练习-Part1: SELECT basics

1.  Show the population of Germany.

SELECT population 
FROM world 
WHERE name = 'Germany'

2.Show the name and the population for 'Sweden', 'Norway' and 'Denmark'. 

SELECT name, population 
FROM world 
WHERE name IN ('Sweden', 'Norway' , 'Denmark')

3.Show the country and the area for countries with an area between 200,000 and 250,000.

SELECT name, area 
FROM world
WHERE area BETWEEN 200000 and 250000

上一篇:Phoenix实践 —— Phoenix SQL常用基本语法总结小记


下一篇:【SVM预测】基于风驱动算法改进SVM算法实现数据分类matlab源码