text2SQL
stringlengths
192
7.27k
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 运动员 ( 词条id, 姓名, 性别, 国籍, 出生地, 出生日期, 体重) CREATE TABLE 举重世界记录 ( 公斤级别, 项目类型, 记录成绩, 运动员id, 破纪录时间) CREATE TABLE 举重奥运会冠军 ( 奥运会名称, 公斤级别, 运动员id) -- Using valid SQLite, answer the followi...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 运动员 ( 词条id, 姓名, 性别, 国籍, 出生地, 出生日期, 体重) CREATE TABLE 举重世界记录 ( 公斤级别, 项目类型, 记录成绩, 运动员id, 破纪录时间) CREATE TABLE 举重奥运会冠军 ( 奥运会名称, 公斤级别, 运动员id) -- Using valid SQLite, answer the followi...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 篮球队 ( 词条id, 队名, 所属地区, 成立时间, 主场馆, 容纳人数, 主教练, 赞助商家) CREATE TABLE 篮球运动员 ( 词条id, 姓名, 国籍, 民族, 出生地, 出生日期, 身高, 体重, 所属球队id, 场上位置) CREATE TABLE 运动员赛事记录 ( 球员id, 赛事, 类别) CREATE TABLE CBA总冠军...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 篮球队 ( 词条id, 队名, 所属地区, 成立时间, 主场馆, 容纳人数, 主教练, 赞助商家) CREATE TABLE 篮球运动员 ( 词条id, 姓名, 国籍, 民族, 出生地, 出生日期, 身高, 体重, 所属球队id, 场上位置) CREATE TABLE 运动员赛事记录 ( 球员id, 赛事, 类别) CREATE TABLE CBA总冠军...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 篮球队 ( 词条id, 队名, 所属地区, 成立时间, 主场馆, 容纳人数, 主教练, 赞助商家) CREATE TABLE 篮球运动员 ( 词条id, 姓名, 国籍, 民族, 出生地, 出生日期, 身高, 体重, 所属球队id, 场上位置) CREATE TABLE 运动员赛事记录 ( 球员id, 赛事, 类别) CREATE TABLE CBA总冠军...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 比赛 ( 词条id, 名称, 方向, 举办单位, 单位性质, 奖金数, 录取队伍数量, 比赛平台) CREATE TABLE 参赛队伍 ( 词条id, 队名, 人数) CREATE TABLE 参赛学生 ( 词条id, 姓名, 年龄, 学历, 学校) CREATE TABLE 参赛成绩 ( 学生id, 加入队伍id, 参加比赛id, 成绩) -- U...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 比赛 ( 词条id, 名称, 方向, 举办单位, 单位性质, 奖金数, 录取队伍数量, 比赛平台) CREATE TABLE 参赛队伍 ( 词条id, 队名, 人数) CREATE TABLE 参赛学生 ( 词条id, 姓名, 年龄, 学历, 学校) CREATE TABLE 参赛成绩 ( 学生id, 加入队伍id, 参加比赛id, 成绩) -- U...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 比赛 ( 词条id, 名称, 方向, 举办单位, 单位性质, 奖金数, 录取队伍数量, 比赛平台) CREATE TABLE 参赛队伍 ( 词条id, 队名, 人数) CREATE TABLE 参赛学生 ( 词条id, 姓名, 年龄, 学历, 学校) CREATE TABLE 参赛成绩 ( 学生id, 加入队伍id, 参加比赛id, 成绩) -- U...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 汽车公司 ( 词条id, 名称, 所属国家, 经营范围, 母公司, 主要车系数量, 世界500强排名, 主要荣誉) CREATE TABLE 汽车公司中国事业部 ( 公司id, 中国事业部名称, 位于城市, 所属省份, 总投资金额, 负责产品数量, 主要产品) CREATE TABLE 汽车产品 ( 词条id, 名称, 推出时间, 车型, 车款数量, 保值...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 汽车公司 ( 词条id, 名称, 所属国家, 经营范围, 母公司, 主要车系数量, 世界500强排名, 主要荣誉) CREATE TABLE 汽车公司中国事业部 ( 公司id, 中国事业部名称, 位于城市, 所属省份, 总投资金额, 负责产品数量, 主要产品) CREATE TABLE 汽车产品 ( 词条id, 名称, 推出时间, 车型, 车款数量, 保值...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 汽车公司 ( 词条id, 名称, 所属国家, 经营范围, 母公司, 主要车系数量, 世界500强排名, 主要荣誉) CREATE TABLE 汽车公司中国事业部 ( 公司id, 中国事业部名称, 位于城市, 所属省份, 总投资金额, 负责产品数量, 主要产品) CREATE TABLE 汽车产品 ( 词条id, 名称, 推出时间, 车型, 车款数量, 保值...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 智能手机公司 ( 词条id, 名称, 所属国家, 年营业额, 年利润, 世界排名) CREATE TABLE 智能手机全球出货量 ( 公司id, 2017年出货量, 2017年市场占比, 2018年出货量, 2018年市场占比, 占比提升幅度) CREATE TABLE 智能手机部署国家 ( 公司id, 部署国家, 部署年份, 销售量排名) -- Us...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 国家 ( 词条id, 名称, 所属洲, 注册公司数量, 上市公司数量) CREATE TABLE 世界最赚钱公司 ( 词条id, 名称, 所属国家id, 年利润, 世界排名) CREATE TABLE 中国最赚钱公司 ( 词条id, 名称, 位于城市, 所属省份, 年营业额, 国内排名, 世界排名) -- Using valid SQLite, ans...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 国家 ( 词条id, 名称, 所属洲, 注册公司数量, 上市公司数量) CREATE TABLE 世界最赚钱公司 ( 词条id, 名称, 所属国家id, 年利润, 世界排名) CREATE TABLE 中国最赚钱公司 ( 词条id, 名称, 位于城市, 所属省份, 年营业额, 国内排名, 世界排名) -- Using valid SQLite, ans...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 酒店集团 ( 词条id, 名称, 总部所在省, 上级主管部门, 酒店数量, 客房数量, 省排名, 中国500最具价值品牌排名, 全球酒店集团300强排名) CREATE TABLE 酒店 ( 词条id, 名称, 酒店地址, 开业时间, 酒店星级, 所属集团id, 客房数量, 大厅容纳人数) CREATE TABLE 机场 ( 词条id, 名称, 所属城市,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 诺贝尔奖项 ( 词条id, 名称, 领域, 第一次颁奖时间, 获奖者最大年龄, 获奖者最小年龄, 获奖者平均年龄) CREATE TABLE 高校 ( 词条id, 名称, 所属国家, 世界排名, 独立科研机构数量, 重点学科数量) CREATE TABLE 高校获奖名单 ( 高校id, 奖项id, 人数, 排名) CREATE TABLE 各国获奖名单 ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 诺贝尔奖项 ( 词条id, 名称, 领域, 第一次颁奖时间, 获奖者最大年龄, 获奖者最小年龄, 获奖者平均年龄) CREATE TABLE 高校 ( 词条id, 名称, 所属国家, 世界排名, 独立科研机构数量, 重点学科数量) CREATE TABLE 高校获奖名单 ( 高校id, 奖项id, 人数, 排名) CREATE TABLE 各国获奖名单 ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 诺贝尔奖项 ( 词条id, 名称, 领域, 第一次颁奖时间, 获奖者最大年龄, 获奖者最小年龄, 获奖者平均年龄) CREATE TABLE 高校 ( 词条id, 名称, 所属国家, 世界排名, 独立科研机构数量, 重点学科数量) CREATE TABLE 高校获奖名单 ( 高校id, 奖项id, 人数, 排名) CREATE TABLE 各国获奖名单 ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 车展 ( 词条id, 名称, 车展时间, 参展天数, 车展地点, 位于城市, 参展品牌数) CREATE TABLE 汽车品牌 ( 词条id, 名称, 所属公司, 最低价格, 最高价格, 代言人) CREATE TABLE 车展参展品牌 ( 品牌id, 车展id, 站台模特, 热度排名) -- Using valid SQLite, answer th...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 车展 ( 词条id, 名称, 车展时间, 参展天数, 车展地点, 位于城市, 参展品牌数) CREATE TABLE 汽车品牌 ( 词条id, 名称, 所属公司, 最低价格, 最高价格, 代言人) CREATE TABLE 车展参展品牌 ( 品牌id, 车展id, 站台模特, 热度排名) -- Using valid SQLite, answer th...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 车展 ( 词条id, 名称, 车展时间, 参展天数, 车展地点, 位于城市, 参展品牌数) CREATE TABLE 汽车品牌 ( 词条id, 名称, 所属公司, 最低价格, 最高价格, 代言人) CREATE TABLE 车展参展品牌 ( 品牌id, 车展id, 站台模特, 热度排名) -- Using valid SQLite, answer th...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 饭店 ( 词条id, 名称, 地址, 菜系, 口味评分, 环境评分, 服务评分, 人均价格, 包房最低消费) CREATE TABLE 特色菜 ( 饭店id, 菜名, 口味, 月销售量, 必点比例) -- Using valid SQLite, answer the following questions for the tables provided ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 饭店 ( 词条id, 名称, 地址, 菜系, 口味评分, 环境评分, 服务评分, 人均价格, 包房最低消费) CREATE TABLE 特色菜 ( 饭店id, 菜名, 口味, 月销售量, 必点比例) -- Using valid SQLite, answer the following questions for the tables provided ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 饭店 ( 词条id, 名称, 地址, 菜系, 口味评分, 环境评分, 服务评分, 人均价格, 包房最低消费) CREATE TABLE 特色菜 ( 饭店id, 菜名, 口味, 月销售量, 必点比例) -- Using valid SQLite, answer the following questions for the tables provided ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 ( 词条id, 名称, 创始人, 所属国家, 年营业额) CREATE TABLE 手机品牌 ( 词条id, 名称, 发布时间, 研发公司id) CREATE TABLE 手机型号 ( 词条id, 名称, 主频尺寸, 像素, 内存容量, 操作系统, 解锁方式, 售价, 售出量, 品牌id) CREATE TABLE 型号使用人群 ( 型号id, 人...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 ( 词条id, 名称, 创始人, 所属国家, 年营业额) CREATE TABLE 手机品牌 ( 词条id, 名称, 发布时间, 研发公司id) CREATE TABLE 手机型号 ( 词条id, 名称, 主频尺寸, 像素, 内存容量, 操作系统, 解锁方式, 售价, 售出量, 品牌id) CREATE TABLE 型号使用人群 ( 型号id, 人...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 ( 词条id, 名称, 创始人, 所属国家, 年营业额) CREATE TABLE 手机品牌 ( 词条id, 名称, 发布时间, 研发公司id) CREATE TABLE 手机型号 ( 词条id, 名称, 主频尺寸, 像素, 内存容量, 操作系统, 解锁方式, 售价, 售出量, 品牌id) CREATE TABLE 型号使用人群 ( 型号id, 人...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 世博会 ( 词条id, 名称, 时间, 地点, 种类, 举办天数, 主题, 参展方数量, 投资成本, 会场面积, 参观人数, 单日客流) CREATE TABLE 世博会场馆 ( 世博会id, 场馆, 场馆所属国家, 排名, 占比面积, 参观人数) CREATE TABLE 世界园博会 ( 词条id, 名称, 时间, 地点, 级别, 会期, 主题, 场馆数...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 世博会 ( 词条id, 名称, 时间, 地点, 种类, 举办天数, 主题, 参展方数量, 投资成本, 会场面积, 参观人数, 单日客流) CREATE TABLE 世博会场馆 ( 世博会id, 场馆, 场馆所属国家, 排名, 占比面积, 参观人数) CREATE TABLE 世界园博会 ( 词条id, 名称, 时间, 地点, 级别, 会期, 主题, 场馆数...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 世博会 ( 词条id, 名称, 时间, 地点, 种类, 举办天数, 主题, 参展方数量, 投资成本, 会场面积, 参观人数, 单日客流) CREATE TABLE 世博会场馆 ( 世博会id, 场馆, 场馆所属国家, 排名, 占比面积, 参观人数) CREATE TABLE 世界园博会 ( 词条id, 名称, 时间, 地点, 级别, 会期, 主题, 场馆数...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 影院 ( 词条id, 名称, 地址, 与当前距离, 用户评分) CREATE TABLE 电影 ( 词条id, 名称, 拍摄国家, 类型, 片长, 豆瓣评分) CREATE TABLE 影院上映电影 ( 电影id, 影院id, 上映时间, 票价, 余票数量) -- Using valid SQLite, answer the following que...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 影院 ( 词条id, 名称, 地址, 与当前距离, 用户评分) CREATE TABLE 电影 ( 词条id, 名称, 拍摄国家, 类型, 片长, 豆瓣评分) CREATE TABLE 影院上映电影 ( 电影id, 影院id, 上映时间, 票价, 余票数量) -- Using valid SQLite, answer the following que...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 影院 ( 词条id, 名称, 地址, 与当前距离, 用户评分) CREATE TABLE 电影 ( 词条id, 名称, 拍摄国家, 类型, 片长, 豆瓣评分) CREATE TABLE 影院上映电影 ( 电影id, 影院id, 上映时间, 票价, 余票数量) -- Using valid SQLite, answer the following que...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 地产集团 ( 词条id, 名称, 位于城市, 所属省份, 年销售额, 销售额同比增长, 销售额市场占比, 商品房销售面积, 销售面积同比增长, 销售面积, 市场占比) CREATE TABLE 2019年房地产企业500强 ( 集团id, 总排名, 发展潜力排名, 成长速度排名, 综合发展排名, 创新能力排名) CREATE TABLE 2019年房地产企...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 地产集团 ( 词条id, 名称, 位于城市, 所属省份, 年销售额, 销售额同比增长, 销售额市场占比, 商品房销售面积, 销售面积同比增长, 销售面积, 市场占比) CREATE TABLE 2019年房地产企业500强 ( 集团id, 总排名, 发展潜力排名, 成长速度排名, 综合发展排名, 创新能力排名) CREATE TABLE 2019年房地产企...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 地产集团 ( 词条id, 名称, 位于城市, 所属省份, 年销售额, 销售额同比增长, 销售额市场占比, 商品房销售面积, 销售面积同比增长, 销售面积, 市场占比) CREATE TABLE 2019年房地产企业500强 ( 集团id, 总排名, 发展潜力排名, 成长速度排名, 综合发展排名, 创新能力排名) CREATE TABLE 2019年房地产企...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 体育场 ( 词条id, 名称, 面积, 容纳人数, 所在城市) CREATE TABLE 中国体育赛事 ( 词条id, 名称, 热度, 商业价值, 影响力) CREATE TABLE 2018年具体赛事 ( 赛事名称, 赛事类型id, 场馆id, 时间, 观众人数) CREATE TABLE 2018年演唱会 ( 词条id, 名称, 歌手, 场馆id, ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 体育场 ( 词条id, 名称, 面积, 容纳人数, 所在城市) CREATE TABLE 中国体育赛事 ( 词条id, 名称, 热度, 商业价值, 影响力) CREATE TABLE 2018年具体赛事 ( 赛事名称, 赛事类型id, 场馆id, 时间, 观众人数) CREATE TABLE 2018年演唱会 ( 词条id, 名称, 歌手, 场馆id, ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 体育场 ( 词条id, 名称, 面积, 容纳人数, 所在城市) CREATE TABLE 中国体育赛事 ( 词条id, 名称, 热度, 商业价值, 影响力) CREATE TABLE 2018年具体赛事 ( 赛事名称, 赛事类型id, 场馆id, 时间, 观众人数) CREATE TABLE 2018年演唱会 ( 词条id, 名称, 歌手, 场馆id, ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 ( 词条id, 名称, 所属省份, 地区生产总值, 生产总值增长率, 第一产业总值, 第二产业总值, 第三产业总值) CREATE TABLE 城市金融产业 ( 城市id, 金融业增加值, 增长率, 金融机构数量, 外币存款余额, 存款余额增长率, 贷款余额, 贷款余额增长率) CREATE TABLE 城市贸易产业 ( 城市id, 行业, 进口额,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 ( 词条id, 名称, 所属省份, 地区生产总值, 生产总值增长率, 第一产业总值, 第二产业总值, 第三产业总值) CREATE TABLE 城市金融产业 ( 城市id, 金融业增加值, 增长率, 金融机构数量, 外币存款余额, 存款余额增长率, 贷款余额, 贷款余额增长率) CREATE TABLE 城市贸易产业 ( 城市id, 行业, 进口额,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 ( 词条id, 名称, 所属省份, 地区生产总值, 生产总值增长率, 第一产业总值, 第二产业总值, 第三产业总值) CREATE TABLE 城市金融产业 ( 城市id, 金融业增加值, 增长率, 金融机构数量, 外币存款余额, 存款余额增长率, 贷款余额, 贷款余额增长率) CREATE TABLE 城市贸易产业 ( 城市id, 行业, 进口额,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 ( 词条id, 名称, 总部地点, 成立时间, 创始人, 首席执行官, 年营业额, 员工数) CREATE TABLE 品牌 ( 词条id, 名称, 成立时间, 所属公司id, 法定代表人, 注册资本) CREATE TABLE 公司品牌历年收入 ( 年份, 品牌id, 营收, 利润, 营收同比增长, 利润同比增长) CREATE TABLE 公司...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 ( 词条id, 名称, 总部地点, 成立时间, 创始人, 首席执行官, 年营业额, 员工数) CREATE TABLE 品牌 ( 词条id, 名称, 成立时间, 所属公司id, 法定代表人, 注册资本) CREATE TABLE 公司品牌历年收入 ( 年份, 品牌id, 营收, 利润, 营收同比增长, 利润同比增长) CREATE TABLE 公司...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 ( 词条id, 名称, 总部地点, 成立时间, 创始人, 首席执行官, 年营业额, 员工数) CREATE TABLE 品牌 ( 词条id, 名称, 成立时间, 所属公司id, 法定代表人, 注册资本) CREATE TABLE 公司品牌历年收入 ( 年份, 品牌id, 营收, 利润, 营收同比增长, 利润同比增长) CREATE TABLE 公司...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 战役 ( 词条id, 名称, 历时时间, 地点, 朝代, 参战人数, 死亡人数) CREATE TABLE 将军 ( 词条id, 姓名, 领兵出战次数, 胜数, 败数) CREATE TABLE 纪念将军的诗词 ( 诗词, 作者, 朝代, 纪念将军id) CREATE TABLE 将军影视形象 ( 将军id, 影视剧, 饰演者) CREATE TABL...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 战役 ( 词条id, 名称, 历时时间, 地点, 朝代, 参战人数, 死亡人数) CREATE TABLE 将军 ( 词条id, 姓名, 领兵出战次数, 胜数, 败数) CREATE TABLE 纪念将军的诗词 ( 诗词, 作者, 朝代, 纪念将军id) CREATE TABLE 将军影视形象 ( 将军id, 影视剧, 饰演者) CREATE TABL...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 战役 ( 词条id, 名称, 历时时间, 地点, 朝代, 参战人数, 死亡人数) CREATE TABLE 将军 ( 词条id, 姓名, 领兵出战次数, 胜数, 败数) CREATE TABLE 纪念将军的诗词 ( 诗词, 作者, 朝代, 纪念将军id) CREATE TABLE 将军影视形象 ( 将军id, 影视剧, 饰演者) CREATE TABL...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 电影作品 ( 词条id, 影片名, 导演, 国家, 提名次数, 获奖次数) CREATE TABLE 获奖国家名单 ( 年份, 影片拍摄国家, 获奖次数) CREATE TABLE 各演员获奖次数 ( 姓名, 奖项, 提名次数, 获奖次数) CREATE TABLE 历届帝后影后名单 ( 年份, 帝后姓名, 帝后来自作品id, 影后姓名, 影后来自作品i...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 电影作品 ( 词条id, 影片名, 导演, 国家, 提名次数, 获奖次数) CREATE TABLE 获奖国家名单 ( 年份, 影片拍摄国家, 获奖次数) CREATE TABLE 各演员获奖次数 ( 姓名, 奖项, 提名次数, 获奖次数) CREATE TABLE 历届帝后影后名单 ( 年份, 帝后姓名, 帝后来自作品id, 影后姓名, 影后来自作品i...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 电影作品 ( 词条id, 影片名, 导演, 国家, 提名次数, 获奖次数) CREATE TABLE 获奖国家名单 ( 年份, 影片拍摄国家, 获奖次数) CREATE TABLE 各演员获奖次数 ( 姓名, 奖项, 提名次数, 获奖次数) CREATE TABLE 历届帝后影后名单 ( 年份, 帝后姓名, 帝后来自作品id, 影后姓名, 影后来自作品i...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 台风 ( 词条id, 名称, 登陆地点, 登陆时间, 登陆强度, 持续天数, 影响地区数, 死亡人数, 经济损失) CREATE TABLE 台风影响的中国省份 ( 台风id, 省份, 登陆强度, 死亡人数, 失踪人数) CREATE TABLE 台风影响的国家 ( 台风id, 国家, 经济损失) -- Using valid SQLite, answ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 台风 ( 词条id, 名称, 登陆地点, 登陆时间, 登陆强度, 持续天数, 影响地区数, 死亡人数, 经济损失) CREATE TABLE 台风影响的中国省份 ( 台风id, 省份, 登陆强度, 死亡人数, 失踪人数) CREATE TABLE 台风影响的国家 ( 台风id, 国家, 经济损失) -- Using valid SQLite, answ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 台风 ( 词条id, 名称, 登陆地点, 登陆时间, 登陆强度, 持续天数, 影响地区数, 死亡人数, 经济损失) CREATE TABLE 台风影响的中国省份 ( 台风id, 省份, 登陆强度, 死亡人数, 失踪人数) CREATE TABLE 台风影响的国家 ( 台风id, 国家, 经济损失) -- Using valid SQLite, answ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 北京小区 ( 词条id, 名称, 所属区域, 楼栋数, 户数, 周边小学数量, 周边超市数量, 周边医院数量) CREATE TABLE 小区各月成交量 ( 小区id, 月份, 成交量, 成交量同比增长, 成交均价, 成交价同比增长) CREATE TABLE 成交房屋 ( 房屋编号id, 建筑面积, 使用面积, 卧室数量, 厅数量, 总价, 单价, 所属...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 北京小区 ( 词条id, 名称, 所属区域, 楼栋数, 户数, 周边小学数量, 周边超市数量, 周边医院数量) CREATE TABLE 小区各月成交量 ( 小区id, 月份, 成交量, 成交量同比增长, 成交均价, 成交价同比增长) CREATE TABLE 成交房屋 ( 房屋编号id, 建筑面积, 使用面积, 卧室数量, 厅数量, 总价, 单价, 所属...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 北京小区 ( 词条id, 名称, 所属区域, 楼栋数, 户数, 周边小学数量, 周边超市数量, 周边医院数量) CREATE TABLE 小区各月成交量 ( 小区id, 月份, 成交量, 成交量同比增长, 成交均价, 成交价同比增长) CREATE TABLE 成交房屋 ( 房屋编号id, 建筑面积, 使用面积, 卧室数量, 厅数量, 总价, 单价, 所属...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 作者 ( 词条id, 姓名, 国籍, 毕业院校, 民族) CREATE TABLE 文集 ( 词条id, 名称, 作者id, 页数, 定价, 出版社, 出版时间, 开本) -- Using valid SQLite, answer the following questions for the tables provided above. --哪些文集...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 各省中小学假期 ( 省份, 年级, 寒假天数, 暑假天数) CREATE TABLE 大学假期 ( 学校, 所属省份, 寒假天数, 暑假天数) -- Using valid SQLite, answer the following questions for the tables provided above. --哪些大学假期的寒假天数大于等于所有重...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 各省中小学假期 ( 省份, 年级, 寒假天数, 暑假天数) CREATE TABLE 大学假期 ( 学校, 所属省份, 寒假天数, 暑假天数) -- Using valid SQLite, answer the following questions for the tables provided above. --哪些大学假期的寒假天数小于所有重庆省...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 ( 词条id, 名称, 所属省份, 三甲医院数量, 人口数量, 老年人口占比) CREATE TABLE 医院 ( 词条id, 名称, 所属城市id, 医院等级, 职工数量, 院士数量, 科室数量, 重点专科数量) CREATE TABLE 医院排名 ( 年份, 医院id, 排名, 接待病患数量(万人次), 手术数量) CREATE TABLE 特...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 ( 词条id, 名称, 所属省份, 三甲医院数量, 人口数量, 老年人口占比) CREATE TABLE 医院 ( 词条id, 名称, 所属城市id, 医院等级, 职工数量, 院士数量, 科室数量, 重点专科数量) CREATE TABLE 医院排名 ( 年份, 医院id, 排名, 接待病患数量(万人次), 手术数量) CREATE TABLE 特...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 ( 词条id, 名称, 所属省份, 三甲医院数量, 人口数量, 老年人口占比) CREATE TABLE 医院 ( 词条id, 名称, 所属城市id, 医院等级, 职工数量, 院士数量, 科室数量, 重点专科数量) CREATE TABLE 医院排名 ( 年份, 医院id, 排名, 接待病患数量(万人次), 手术数量) CREATE TABLE 特...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 事业群 ( 词条id, 名称, 负责人, 员工数量, 目标营收, 成本支出) CREATE TABLE 部门 ( 词条id, 部门名称, 职责, 所属群id) CREATE TABLE 员工 ( 词条id, 姓名, 职称, 薪资, 年龄, 工龄, 所属部门id) CREATE TABLE 部门人员 ( 部门id, 年份, 员工数量, 离职人数, 招聘人数...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 事业群 ( 词条id, 名称, 负责人, 员工数量, 目标营收, 成本支出) CREATE TABLE 部门 ( 词条id, 部门名称, 职责, 所属群id) CREATE TABLE 员工 ( 词条id, 姓名, 职称, 薪资, 年龄, 工龄, 所属部门id) CREATE TABLE 部门人员 ( 部门id, 年份, 员工数量, 离职人数, 招聘人数...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 事业群 ( 词条id, 名称, 负责人, 员工数量, 目标营收, 成本支出) CREATE TABLE 部门 ( 词条id, 部门名称, 职责, 所属群id) CREATE TABLE 员工 ( 词条id, 姓名, 职称, 薪资, 年龄, 工龄, 所属部门id) CREATE TABLE 部门人员 ( 部门id, 年份, 员工数量, 离职人数, 招聘人数...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 火车站 ( 词条id, 名称, 所属城市, 是否有地铁站, 距机场距离, 距汽车站距离, 距市中心距离) CREATE TABLE 列车 ( 词条id, 名称, 类型, 始发站id, 到达站id, 出发时间, 到达时间) CREATE TABLE 列车票价 ( 日期, 列车id, 车票类型, 票价, 余票) -- Using valid SQLite,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 火车站 ( 词条id, 名称, 所属城市, 是否有地铁站, 距机场距离, 距汽车站距离, 距市中心距离) CREATE TABLE 列车 ( 词条id, 名称, 类型, 始发站id, 到达站id, 出发时间, 到达时间) CREATE TABLE 列车票价 ( 日期, 列车id, 车票类型, 票价, 余票) -- Using valid SQLite,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 火车站 ( 词条id, 名称, 所属城市, 是否有地铁站, 距机场距离, 距汽车站距离, 距市中心距离) CREATE TABLE 列车 ( 词条id, 名称, 类型, 始发站id, 到达站id, 出发时间, 到达时间) CREATE TABLE 列车票价 ( 日期, 列车id, 车票类型, 票价, 余票) -- Using valid SQLite,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 旅行社 ( 词条id, 名称, 级别, 出境游国家数量, 国内游城市数量, 出境游路线数量, 国内游路线数量, 亚洲排名, 接待海外游客数量, 境外公司数量, 控股子公司数量, 有业务关系的旅行商数量, 免税店数量) CREATE TABLE 出境游路线 ( 词条id, 路线名称, 旅行社id, 出发城市, 天数, 成人价格, 儿童价格, 国家数量, 景点数...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 旅行社 ( 词条id, 名称, 级别, 出境游国家数量, 国内游城市数量, 出境游路线数量, 国内游路线数量, 亚洲排名, 接待海外游客数量, 境外公司数量, 控股子公司数量, 有业务关系的旅行商数量, 免税店数量) CREATE TABLE 出境游路线 ( 词条id, 路线名称, 旅行社id, 出发城市, 天数, 成人价格, 儿童价格, 国家数量, 景点数...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 旅行社 ( 词条id, 名称, 级别, 出境游国家数量, 国内游城市数量, 出境游路线数量, 国内游路线数量, 亚洲排名, 接待海外游客数量, 境外公司数量, 控股子公司数量, 有业务关系的旅行商数量, 免税店数量) CREATE TABLE 出境游路线 ( 词条id, 路线名称, 旅行社id, 出发城市, 天数, 成人价格, 儿童价格, 国家数量, 景点数...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国电视剧奖 ( 词条id, 名称, 主办单位, 创办时间) CREATE TABLE 演职员 ( 词条id, 姓名, 出生地, 出生日期, 毕业院校, 职业) CREATE TABLE 电视剧 ( 词条id, 名称, 类型, 首播时间, 集数, 豆瓣评分) CREATE TABLE 历届颁奖晚会 ( 年份, 届数, 电视剧奖id, 颁奖地点) CRE...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国电视剧奖 ( 词条id, 名称, 主办单位, 创办时间) CREATE TABLE 演职员 ( 词条id, 姓名, 出生地, 出生日期, 毕业院校, 职业) CREATE TABLE 电视剧 ( 词条id, 名称, 类型, 首播时间, 集数, 豆瓣评分) CREATE TABLE 历届颁奖晚会 ( 年份, 届数, 电视剧奖id, 颁奖地点) CRE...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国电视剧奖 ( 词条id, 名称, 主办单位, 创办时间) CREATE TABLE 演职员 ( 词条id, 姓名, 出生地, 出生日期, 毕业院校, 职业) CREATE TABLE 电视剧 ( 词条id, 名称, 类型, 首播时间, 集数, 豆瓣评分) CREATE TABLE 历届颁奖晚会 ( 年份, 届数, 电视剧奖id, 颁奖地点) CRE...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 篮球运动员 ( 词条id, 中文名, 国籍, 出生地, 出生日期, 身高, 体重, 毕业院校, 场上位置) CREATE TABLE 比赛场馆 ( 词条id, 名称, 容纳人数) CREATE TABLE 篮球俱乐部 ( 词条id, 中文队名, 所属地区, 成立时间, 主场馆id, 赛区) CREATE TABLE 俱乐部现役球员 ( 球员id, 俱乐部...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 篮球运动员 ( 词条id, 中文名, 国籍, 出生地, 出生日期, 身高, 体重, 毕业院校, 场上位置) CREATE TABLE 比赛场馆 ( 词条id, 名称, 容纳人数) CREATE TABLE 篮球俱乐部 ( 词条id, 中文队名, 所属地区, 成立时间, 主场馆id, 赛区) CREATE TABLE 俱乐部现役球员 ( 球员id, 俱乐部...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 篮球运动员 ( 词条id, 中文名, 国籍, 出生地, 出生日期, 身高, 体重, 毕业院校, 场上位置) CREATE TABLE 比赛场馆 ( 词条id, 名称, 容纳人数) CREATE TABLE 篮球俱乐部 ( 词条id, 中文队名, 所属地区, 成立时间, 主场馆id, 赛区) CREATE TABLE 俱乐部现役球员 ( 球员id, 俱乐部...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 航空公司 ( 词条id, 名称, 国内通航城市数量, 国际通航城市数量, 机队规模, 运送旅客人数, 飞机餐用户满意度) CREATE TABLE 机场 ( 词条id, 名称, 所属地区, 机位数量, 跑道长度, 跑道数量, 国内航线数量, 国际航线数量, 通航城市, 旅客吞量, 航站楼数量) CREATE TABLE 航空公司主运营基地 ( 航空公司id...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 航空公司 ( 词条id, 名称, 国内通航城市数量, 国际通航城市数量, 机队规模, 运送旅客人数, 飞机餐用户满意度) CREATE TABLE 机场 ( 词条id, 名称, 所属地区, 机位数量, 跑道长度, 跑道数量, 国内航线数量, 国际航线数量, 通航城市, 旅客吞量, 航站楼数量) CREATE TABLE 航空公司主运营基地 ( 航空公司id...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 航空公司 ( 词条id, 名称, 国内通航城市数量, 国际通航城市数量, 机队规模, 运送旅客人数, 飞机餐用户满意度) CREATE TABLE 机场 ( 词条id, 名称, 所属地区, 机位数量, 跑道长度, 跑道数量, 国内航线数量, 国际航线数量, 通航城市, 旅客吞量, 航站楼数量) CREATE TABLE 航空公司主运营基地 ( 航空公司id...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 地产集团 ( 词条id, 名称, 位于城市, 所属省份, 年销售额, 销售额同比增长, 销售额市场占比, 商品房销售面积, 销售面积同比增长, 销售面积, 市场占比) CREATE TABLE 2019年房地产企业500强 ( 集团id, 总排名, 发展潜力排名, 成长速度排名, 综合发展排名, 创新能力排名) CREATE TABLE 2019年房地产企...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 地产集团 ( 词条id, 名称, 位于城市, 所属省份, 年销售额, 销售额同比增长, 销售额市场占比, 商品房销售面积, 销售面积同比增长, 销售面积, 市场占比) CREATE TABLE 2019年房地产企业500强 ( 集团id, 总排名, 发展潜力排名, 成长速度排名, 综合发展排名, 创新能力排名) CREATE TABLE 2019年房地产企...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 地产集团 ( 词条id, 名称, 位于城市, 所属省份, 年销售额, 销售额同比增长, 销售额市场占比, 商品房销售面积, 销售面积同比增长, 销售面积, 市场占比) CREATE TABLE 2019年房地产企业500强 ( 集团id, 总排名, 发展潜力排名, 成长速度排名, 综合发展排名, 创新能力排名) CREATE TABLE 2019年房地产企...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 游泳泳姿 ( 词条id, 名称, 发明时间, 加入奥运会时间) CREATE TABLE 各泳姿参赛项目 ( 泳姿id, 50米, 100米, 200米, 400米, 800米, 1500米, 5000米, 10000米, 赛事) CREATE TABLE 泳坛名将 ( 词条id, 姓名, 性别, 国籍, 身高, 体重, 专业特点id) CREATE T...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 学校 ( 词条id, 名称, 类型, 所在城市, 所属省份, 是否985院校, 是否211院校, 2016届平均月薪, 2014届平均月薪, 2012届平均月薪) CREATE TABLE 学校毕业人数 ( 学校id, 学历, 2016届人数, 2014届人数, 2012届人数) CREATE TABLE 专业 ( 词条id, 名称, 学科类型, 冷热门)...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 学校 ( 词条id, 名称, 类型, 所在城市, 所属省份, 是否985院校, 是否211院校, 2016届平均月薪, 2014届平均月薪, 2012届平均月薪) CREATE TABLE 学校毕业人数 ( 学校id, 学历, 2016届人数, 2014届人数, 2012届人数) CREATE TABLE 专业 ( 词条id, 名称, 学科类型, 冷热门)...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 学校 ( 词条id, 名称, 类型, 所在城市, 所属省份, 是否985院校, 是否211院校, 2016届平均月薪, 2014届平均月薪, 2012届平均月薪) CREATE TABLE 学校毕业人数 ( 学校id, 学历, 2016届人数, 2014届人数, 2012届人数) CREATE TABLE 专业 ( 词条id, 名称, 学科类型, 冷热门)...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 电视机品牌 ( 词条id, 名称, 所属公司, 国家, 市场份额) CREATE TABLE 电视机型号 ( 词条id, 名称, 产品定位, 屏幕尺寸, 屏幕比例, 分辨率, 背光灯寿命, 定价, 品牌id) CREATE TABLE 电视机平台售卖 ( 型号id, 平台, 售价, 最高价格, 最低价格, 售卖量, 用户评分) CREATE TABLE ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 ( 词条id, 名称, 行政区划, 所属省份, 类型) CREATE TABLE 资源 ( 名称, 城市id, 资源所占面积, 储量, 已开采量) -- Using valid SQLite, answer the following questions for the tables provided above. --给出城市不到5个的行政区划...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 ( 词条id, 名称, 气候地带, 所属国家, 所属洲) CREATE TABLE 动物 ( 词条id, 中文学名, 所属纲, 所属科, 食性, 濒危级别, 保护级别) CREATE TABLE 动物分布城市 ( 动物id, 城市id, 现存数量) CREATE TABLE 动物电影 ( 词条id, 影片名, 动物id, 拍摄国家, 类型) CR...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 旅行社 ( 词条id, 名称, 级别, 出境游国家数量, 国内游城市数量, 出境游路线数量, 国内游路线数量, 亚洲排名, 接待海外游客数量, 境外公司数量, 控股子公司数量, 有业务关系的旅行商数量, 免税店数量) CREATE TABLE 出境游路线 ( 词条id, 路线名称, 旅行社id, 出发城市, 天数, 成人价格, 儿童价格, 国家数量, 景点数...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 学校 ( 词条id, 名称, 所在省份, 类型, 是否985, 是否211) CREATE TABLE 省份 ( 词条id, 省名, 2018年考生数量, 985高校数量, 211高校数量) CREATE TABLE 各省高校招生计划 ( 学校id, 省份id, 招生人数) CREATE TABLE 专业 ( 词条id, 专业名称, 学科类型, 学制) ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 水果 ( 词条id, 名称, 特性, 适合季节, 每100克热量, 每100克水分) CREATE TABLE 省份 ( 词条id, 名称, 气候, 所属区域) CREATE TABLE 水果产地 ( 水果id, 省份id, 是否特产, 年平均产量, 销售形式) CREATE TABLE 水果销售城市 ( 水果id, 原产省份id, 销往省份id, 年销...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 ( 词条id, 名称, 所属省份, 三甲医院数量, 人口数量, 老年人口占比) CREATE TABLE 医院 ( 词条id, 名称, 所属城市id, 医院等级, 职工数量, 院士数量, 科室数量, 重点专科数量) CREATE TABLE 医院排名 ( 年份, 医院id, 排名, 接待病患数量(万人次), 手术数量) CREATE TABLE 特...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 两院院士学校名单 ( 学校, 所在省市, 所在城市, 院士人数) CREATE TABLE 两院院士民族名单 ( 民族, 院士人数, 所占比例) CREATE TABLE 各国女院士比例 ( 国家, 女院士人数, 所占比例) CREATE TABLE 各学部院士分布 ( 年份, 学部, 院士人数, 所占比例) -- Using valid SQLit...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 国家历史 ( 词条id, 书名, 讲述国家, 讲述时代) CREATE TABLE 中国朝代历史 ( 词条id, 书名, 讲述朝代) CREATE TABLE 战争历史 ( 词条id, 书名, 描述战事) CREATE TABLE 人物历史 ( 词条id, 书名, 讲述名人) -- Using valid SQLite, answer the fol...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 朝代 ( 词条id, 名称, 起始时间, 结束时间, 都城, 人口数量, 国土面积) CREATE TABLE 皇帝 ( 词条id, 中文名, 所处朝代id, 出生时间, 去世时间, 主要成就, 年号) CREATE TABLE 各朝代皇帝 ( 皇帝id, 朝代id, 登基时间, 在位时间, 第几位) CREATE TABLE 年号 ( 年号, 朝代id...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 40城消费力排名 ( 城市, 所在省份, 社消总额(亿), 总额排名, 增速, 增速排名, 人均社消(万), 总GDP(亿), 人均GDP(万), 常住人口(万), 参考房价) CREATE TABLE 各城市消费结构 ( 城市, 人均可支配收入, 餐饮消费占比, 奢侈品消费占比, 旅游占比, 人均网购消费额, 电子产品消费占比) CREATE TABLE...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 戏剧 ( 词条id, 名称, 非遗级别, 发源地, 起源时间) CREATE TABLE 戏剧分布城市 ( 戏剧id, 城市, 受欢迎热度, 戏迷数量, 活动数量) CREATE TABLE 戏剧演出活动 ( 活动名称, 戏剧id, 城市, 演出时间, 售出票数, 最高票价, 最低票价) -- Using valid SQLite, answer th...