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, 唱片公司, 签约时间) 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, 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, 城市, 演出时间, 售出票数, 最高票价, 最低票价) -- 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, 城市, 演出时间, 售出票数, 最高票价, 最低票价) -- 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, 谥号, 夫君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, 谥号, 夫君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, 名称, 发布时间, 研发公司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, 名称, 所属省份, 气候条件, 景点数量, 5A级景点数量) 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, 名称, 所属省份, 气候条件, 景点数量, 5A级景点数量) 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, 唱片公司, 签约时间) 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 各省份报名人数 ( 省份, 岗位数, 招考人数, 报名人数, 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, 交通枢纽站, 所属城市id, 所属省份, 平均拥堵指数, 周边路网平均速度(千米/时), 拥堵排名) CREATE TABLE 旅游景点 ( 词条i...
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 ...
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 ...
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, 年龄, 皇子数量, 公主数量) 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, 谥号, 夫君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, 名称, 面积, 人口, 市花, 所属省id) CREATE TABLE 省生产总值 ( 年份, 省份id, GDP, 人均GDP) CREATE TABLE 市生产总值 ( 年份, 城市id, GDP, 人均GDP) ...
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, GDP, 人均GDP) CREATE TABLE 市生产总值 ( 年份, 城市id, GDP, 人均GDP) ...
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. --哪些省份的中小学假期平均最多 SEL...
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, 名称, 所属公司, 最低价格, 最高价格, 代言人) 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, 唱片公司, 签约时间) 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, 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, 实施时间, 分类体系, 最低罚款数, 最高罚款数, 厨余垃圾运输车辆, 有害垃圾运输车辆, 覆盖家庭比例, 志愿者数量) -- 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, 实施时间, 分类体系, 最低罚款数, 最高罚款数, 厨余垃圾运输车辆, 有害垃圾运输车辆, 覆盖家庭比例, 志愿者数量) -- 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...
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 匹数对应面积 ( 匹数, 最小面积, 最大面积) 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 匹数对应面积 ( 匹数, 最小面积, 最大面积) CREATE TABLE 空调各季度...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 书籍 ( 词条id, 名称, 作者, 作者国籍, 豆瓣评分, 评价人数, 5星占比, 1星占比) 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, 名称, 作者, 作者国籍, 豆瓣评分, 评价人数, 5星占比, 1星占比) 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, 中文名, 所处朝代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 将军影视形象 ( 将军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, 影名, 语言, 类型, 豆瓣评分, 评价人数, 5星占比) CREATE TABLE 一周口碑榜 ( 电影id, 名次, 名次变化) CREATE TABLE top10票房榜 ( 电影id, 上映日期, 总票房, 制作预算) CREATE TABLE top100电影 ( 电影id, 名次, 点赞次数) -- Using va...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 电影 ( 词条id, 影名, 语言, 类型, 豆瓣评分, 评价人数, 5星占比) CREATE TABLE 一周口碑榜 ( 电影id, 名次, 名次变化) CREATE TABLE top10票房榜 ( 电影id, 上映日期, 总票房, 制作预算) CREATE TABLE top100电影 ( 电影id, 名次, 点赞次数) -- Using va...
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 历届马拉松纪录 ( 年份, 城市, 参赛者最小年龄, 参赛者最大年龄, 全程最少时间) -- 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 历届马拉松纪录 ( 年份, 城市, 参赛者最小年龄, 参赛者最大年龄, 全程最少时间) -- 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, 专业, 毕业人数, 专业全国排名, 平均薪资) CREATE TABLE 公司对口专业 ( 公司id, 专业, 对应岗位, 拟招聘人数, 基本工资, 工资幅度) CREA...
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, 专业, 对应岗位, 拟招聘人数, 基本工资, 工资幅度) CREA...
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 电影平台 ( 电影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, 名称, 类型, 所在城市, 所属省份, 是否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, 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, 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, 名称, 类型, 所在城市, 所属省份, 是否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, 赛程, 公里数, 报名人数, 中签率) CREATE TABLE 历届马拉松纪录 ( 年份, 城市, 参赛者最小年龄, 参赛者最大年龄, 全程最少时间) -- 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 历届马拉松纪录 ( 年份, 城市, 参赛者最小年龄, 参赛者最大年龄, 全程最少时间) -- 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, 实施时间, 分类体系, 最低罚款数, 最高罚款数, 厨余垃圾运输车辆, 有害垃圾运输车辆, 覆盖家庭比例, 志愿者数量) -- 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, 实施时间, 分类体系, 最低罚款数, 最高罚款数, 厨余垃圾运输车辆, 有害垃圾运输车辆, 覆盖家庭比例, 志愿者数量) -- 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, 名称, 所属省份, 气候条件, 景点数量, 5A级景点数量) 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, 名称, 所属省份, 气候条件, 景点数量, 5A级景点数量) 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 滴滴打车出行 ( 季节, 是否工作日, 温度, 湿度, 风速, 日订单数量, 人均打车次数, 平均等待时间) CREATE TABLE 共享单车出行 ( 季节, 是否工作日, 温度, 湿度, 风速, 人均骑车次数, 人均骑车距离) -- Using valid SQLite, answer the following questions for the ...
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 ...
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 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, 国家, 所获金牌总数, 所获奖牌总数) 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, 国家, 所获金牌总数, 所获奖牌总数) 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, 国家, 所获金牌总数, 所获奖牌总数) 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, 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, 名称, 发明时间, 加入奥运会时间) 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, 名称, 所属区域, 楼栋数, 户数, 周边小学数量, 周边超市数量, 周边医院数量) 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, 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, 行业, 进口额,...
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, 平台, 售价, 服务费比例) -- 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, 平台, 售价, 服务费比例) -- 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, 月份, 成交量, 成交量同比增长, 成交均价, 成交价同比增长) 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 各省中小学假期 ( 省份, 年级, 寒假天数, 暑假天数) CREATE TABLE 大学假期 ( 学校, 所属省份, 寒假天数, 暑假天数) -- Using valid SQLite, answer the following questions for the tables provided above. --哪3个省份的所有大学平均寒暑假最长 ...
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. --哪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, 是否著名) C...