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, 交通枢纽站, 所属城市id, 所属省份, 平均拥堵指数, 周边路网平均速度(千米/时), 拥堵排名) CREATE TABLE 旅游景点 ( 词条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, 交通枢纽站, 所属城市id, 所属省份, 平均拥堵指数, 周边路网平均速度(千米/时), 拥堵排名) CREATE TABLE 旅游景点 ( 词条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, 唱片公司, 签约时间) 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 旅游景点 ( 词条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, 部门名称, 职责, 所属群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 旅游景点 ( 词条i...
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, 皇后id, 葬地) 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, 唱片公司, 签约时间) 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, 毕业人数, 重点中学升学率, top10中学升学率) 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, 毕业人数, 重点中学升学率, top10中学升学率) 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 各省份报名人数 ( 省份, 岗位数, 招考人数, 报名人数, 0报名职位数量, 合格人数, 0合格职位数量, 竞争比) CREATE TABLE 各职位报名人数 ( 职位名称, 部门名称, 所属地区, 招考人数, 报考人数, 合格人数) CREATE TABLE 各国野鸡大学数量 ( 国家, 大学数量, 野鸡大学数量) CREATE TABLE 中国各城...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 各省份报名人数 ( 省份, 岗位数, 招考人数, 报名人数, 0报名职位数量, 合格人数, 0合格职位数量, 竞争比) CREATE TABLE 各职位报名人数 ( 职位名称, 部门名称, 所属地区, 招考人数, 报考人数, 合格人数) 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, 交通枢纽站, 所属城市id, 所属省份, 平均拥堵指数, 周边路网平均速度(千米/时), 拥堵排名) CREATE TABLE 旅游景点 ( 词条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, 唱片公司, 签约时间) 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 金曲奖提名...
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 旅游景点 ( 词条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, 交通枢纽站, 所属城市id, 所属省份, 平均拥堵指数, 周边路网平均速度(千米/时), 拥堵排名) CREATE TABLE 旅游景点 ( 词条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, 交通枢纽站, 所属城市id, 所属省份, 平均拥堵指数, 周边路网平均速度(千米/时), 拥堵排名) CREATE TABLE 旅游景点 ( 词条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, 交通枢纽站, 所属城市id, 所属省份, 平均拥堵指数, 周边路网平均速度(千米/时), 拥堵排名) CREATE TABLE 旅游景点 ( 词条i...
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 中国城市供水生产能力 ( 年份, 供水生成能力, 供水管道长度, 供水总量, 供水量增长率, 生活用水供水量, 生产用水供水量, 用水人口, 用水人口同比增长, 人均日生活用水量, 人均用水量同比增长) CREATE TABLE 中国发电量及电力消费量 ( 年份, 发电量, 电力消费) 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 中国电力结构及发电量 ( 年份, 发电类型,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国城市供水生产能力 ( 年份, 供水生成能力, 供水管道长度, 供水总量, 供水量增长率, 生活用水供水量, 生产用水供水量, 用水人口, 用水人口同比增长, 人均日生活用水量, 人均用水量同比增长) CREATE TABLE 中国发电量及电力消费量 ( 年份, 发电量, 电力消费) 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 中国电力结构及发电量 ( 年份, 发电类型,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国城市供水生产能力 ( 年份, 供水生成能力, 供水管道长度, 供水总量, 供水量增长率, 生活用水供水量, 生产用水供水量, 用水人口, 用水人口同比增长, 人均日生活用水量, 人均用水量同比增长) 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, 姓名, 所属经纪公司id, 加入时间, 解约时间) CREATE TABLE 经纪人 ( 词条id, 姓名, 出生地, 出生日期) CREATE TABLE 明星与经纪人 ( 明星id, 经纪人id, 合作年数) -- Using valid...
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 明星与经纪人 ( 明星id, 经纪人id, 合作年数) -- Using valid...
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 明星与经纪人 ( 明星id, 经纪人id, 合作年数) -- Using valid...
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 明星与经纪人 ( 明星id, 经纪人id, 合作年数) -- Using valid...
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 明星与经纪人 ( 明星id, 经纪人id, 合作年数) -- Using valid...
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 明星与经纪人 ( 明星id, 经纪人id, 合作年数) -- Using valid...
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 provid...
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 provid...
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 provid...
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 provid...
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 provid...
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 provid...
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 provid...
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 provid...
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 provid...
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 provid...
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 provid...
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 provid...
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 provid...
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 provid...
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 provid...
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 provid...
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 provid...
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 provid...
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, an...
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, an...
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, an...
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, 唱片公司, 签约时间) 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 金曲奖提名...
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 provid...
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 provid...
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 provid...
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, answer the following questi...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国城市供水生产能力 ( 年份, 供水生成能力, 供水管道长度, 供水总量, 供水量增长率, 生活用水供水量, 生产用水供水量, 用水人口, 用水人口同比增长, 人均日生活用水量, 人均用水量同比增长) CREATE TABLE 中国发电量及电力消费量 ( 年份, 发电量, 电力消费) 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 中国电力结构及发电量 ( 年份, 发电类型,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国城市供水生产能力 ( 年份, 供水生成能力, 供水管道长度, 供水总量, 供水量增长率, 生活用水供水量, 生产用水供水量, 用水人口, 用水人口同比增长, 人均日生活用水量, 人均用水量同比增长) CREATE TABLE 中国发电量及电力消费量 ( 年份, 发电量, 电力消费) 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 中国电力结构及发电量 ( 年份, 发电类型,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国城市供水生产能力 ( 年份, 供水生成能力, 供水管道长度, 供水总量, 供水量增长率, 生活用水供水量, 生产用水供水量, 用水人口, 用水人口同比增长, 人均日生活用水量, 人均用水量同比增长) CREATE TABLE 中国发电量及电力消费量 ( 年份, 发电量, 电力消费) 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 中国电力结构及发电量 ( 年份, 发电类型,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国城市供水生产能力 ( 年份, 供水生成能力, 供水管道长度, 供水总量, 供水量增长率, 生活用水供水量, 生产用水供水量, 用水人口, 用水人口同比增长, 人均日生活用水量, 人均用水量同比增长) CREATE TABLE 中国发电量及电力消费量 ( 年份, 发电量, 电力消费) 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 中国电力结构及发电量 ( 年份, 发电类型,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国城市供水生产能力 ( 年份, 供水生成能力, 供水管道长度, 供水总量, 供水量增长率, 生活用水供水量, 生产用水供水量, 用水人口, 用水人口同比增长, 人均日生活用水量, 人均用水量同比增长) CREATE TABLE 中国发电量及电力消费量 ( 年份, 发电量, 电力消费) 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 中国电力结构及发电量 ( 年份, 发电类型,...
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, answer the following questi...
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 金曲奖提名...
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 金曲奖提名...
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 金曲奖提名...
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 金曲奖提名...
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 provid...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国城市供水生产能力 ( 年份, 供水生成能力, 供水管道长度, 供水总量, 供水量增长率, 生活用水供水量, 生产用水供水量, 用水人口, 用水人口同比增长, 人均日生活用水量, 人均用水量同比增长) CREATE TABLE 中国发电量及电力消费量 ( 年份, 发电量, 电力消费) 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 中国电力结构及发电量 ( 年份, 发电类型,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国城市供水生产能力 ( 年份, 供水生成能力, 供水管道长度, 供水总量, 供水量增长率, 生活用水供水量, 生产用水供水量, 用水人口, 用水人口同比增长, 人均日生活用水量, 人均用水量同比增长) 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, 名称, 发布时间, 研发公司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, 唱片公司, 签约时间) 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 中国电力结构及发电量 ( 年份, 发电类型,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国城市供水生产能力 ( 年份, 供水生成能力, 供水管道长度, 供水总量, 供水量增长率, 生活用水供水量, 生产用水供水量, 用水人口, 用水人口同比增长, 人均日生活用水量, 人均用水量同比增长) CREATE TABLE 中国发电量及电力消费量 ( 年份, 发电量, 电力消费) 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 中国电力结构及发电量 ( 年份, 发电类型,...
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, 名称, 地理位置) CREATE TABLE 交通站 ( 词条id, 名称, 类型, 景区id, 距离) CREATE TABLE 景区景点 ( 景点id, 景区id, 是否著名) C...
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 旅游景点 ( 词条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, 交通枢纽站, 所属城市id, 所属省份, 平均拥堵指数, 周边路网平均速度(千米/时), 拥堵排名) CREATE TABLE 旅游景点 ( 词条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, 交通枢纽站, 所属城市id, 所属省份, 平均拥堵指数, 周边路网平均速度(千米/时), 拥堵排名) CREATE TABLE 旅游景点 ( 词条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, 名称, 成立时间, 成立地点) CREATE TABLE 书籍出版信息 ( 书籍id, 译者id, 出版社id, 出版册数, 出版时间) -- Using v...
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 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 明星与经纪人 ( 明星id, 经纪人id, 合作年数) -- Using valid...
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, 年份, 员工数量, 离职人数, 招聘人数...