2 Star 8 Fork 41

19级软件1班 / 力扣刷题

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
大的国家.sql 589 Bytes
一键复制 编辑 原始数据 按行查看 历史
姚振鑫 提交于 2020-05-12 10:37 . sql
Create Table World
(
Id int primary key identity(1,1) not null,
Name varchar(255) not null,
Continent varchar(255) not null,
area int not null,
[population] int not null,
gdp int not null,
)
insert into World(Name,Continent,area,[population],gdp) values ('Afghanistan','Asia',652230,25500100,20343000 ),
('Albania','Europe',28748, 2831741,12960000),('Algeria','Africa', 2381741,37100000,188681000),
('Andorra','Europe',468,78115,3712000),('Angola','Africa',1246700,20609294,100990000)
select l1.Name,l1.[population],l1.area from World l1 where [population]>25000000 or area>3000000
SQL
1
https://gitee.com/grade19_soft_class1/leet_code_sql.git
git@gitee.com:grade19_soft_class1/leet_code_sql.git
grade19_soft_class1
leet_code_sql
力扣刷题
master

搜索帮助