赞
踩
国际足联世界杯(FIFA World Cup)
简单分析历届世界杯数据和本届世界前瞻,欢迎各位小伙伴留言聊球。
-- 历届决赛圈队伍表
create table y_team
(
game_year varchar(10),
final_team varchar(50)
)
;
-- 历届排名表
create table y_rank
(
game_year varchar(10),
host_country varchar(50),
champion_country varchar(50),
second_winner_country varchar(50),
third_winner_country varchar(50)
)
;
-- 历届进球数表
create table y_qty
(
game_year varchar(10),
begin_date date,
end_date date,
game_team_qty int,
game_qty int,
score_qty int,
max_score int
)
;
构建球员表和球员详细信息表
create table players
(
final_team varchar(10),
player_num varchar(50),
place varchar(50),
name varchar(50)
)
;
create table players_detail
(
final_team varchar(10),
player_num varchar(50),
player_height int,
player_weight int,
player_age int,
played_qty int,
shoot int,
score_qty int,
assist int,
guard int,
player_level int
)
;
详情表关联球员表,获取球员表中球员维度数据。
create table players_score
select
t1.final_team,
t1.player_num,
t2.name,
t2.place,
t1.player_height,
t1.player_weight,
t1.player_age,
t1.played_qty,
t1.shoot,
t1.score_qty,
t1.assist,
t1.guard,
t1.player_level
from
(
select
*
from players_detail
) t1
left outer join
(
select
*
from players
) t2
on t1.final_team = t2.final_team
and t1.player_num = t2.player_num
;
各位置实力对比发现,阿根廷前锋略强,法国中场和后卫线优于阿根廷。
国际足联世界杯(FIFA World Cup),简称“世界杯”,是由全世界国家级别球队参与,象征足球界最高荣誉,并具有最大知名度和影响力的足球赛事。世界杯全球电视转播观众超过35亿。世界杯每四年举办一次,任何国际足联会员国(地区)都可以派出代表队报名参加这项赛事。
整体实体看,法国略强于阿根廷,但阿根廷有梅西呀,大家觉得谁能夺冠呢?
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。