You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
p4fkfpicj/空白表.sql

72 lines
2.5 KiB

create database covid19;
use covid19;
create table province_daily_datas(
provinceName varchar(30),
provinceShortName varchar(10),
currentConfirmedCount int,
confirmedCount int,
suspectedCount int,
curedCount int,
deadCount int,
pub_time varchar(30)
);
create table city_daily_datas(
cityName varchar(30),
currentConfirmedCount int,
confirmedCount int,
suspectedCount int,
curedCount int,
deadCount int,
locationId int,
province varchar(30),
pub_time varchar(30)
);
create table country_daily_datas(
countryName varchar(30),
currentConfirmedCount int,
confirmedCount int,
confirmedCountRank int,
curedCount int,
deadCount int,
deadCountRank int,
deadRate float,
deadRateRank int,
pub_time varchar(30)
);
create table home_realtime_datas
(
curConfirm INT comment '现有确诊',
curConfirmRelative INT comment '较昨日新增确诊',
asymptomatic INT comment '无症状感染',
asymptomaticRelative INT comment '较昨日新增无症状感染',
unconfirmed INT comment '现有疑似',
unconfirmedRelative INT comment '较昨日疑似新增',
icu INT comment '现有重症',
icuRelative INT comment '较昨日重症病例新增',
confirmed INT comment '累计确诊',
confirmedRelative INT comment '较昨日累计确诊新增',
overseasInput INT comment '累计境外输入',
overseasInputRelative INT comment '较昨日累计境外输入新增',
cured INT comment '累计治愈',
curedRelative INT comment '较昨日累计治愈新增',
died INT comment '累计死亡',
diedRelative INT comment '较昨日累计死亡新增',
updatedTime VARCHAR(4000)comment'发布时间'
) comment'国内实时疫情概况 该表中只保留当前最新的一条数据记录';
create table outsideSummary_realtime_datas
(
currentConfirmedCount INT comment '现存确诊',
confirmedCount INT comment '累计确诊',
suspectedCount INT comment '现存疑似',
curedCount INT comment '累计治愈',
deadCount INT comment '累计死亡',
suspectedIncr INT comment '新增疑似病例',
currentConfirmedIncr INT comment '新增现存确诊',
confirmedIncr INT comment '新增累计确诊',
curedIncr INT comment '新增治愈',
deadIncr INT comment '新增死亡',
updatedTime VARCHAR(200) comment '更新时间'
) comment '国外疫情实时概况表';