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, 名称, 所属国家, 经营范围, 母公司, 主要车系数量, 世界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, 名称, 所属公司, 最低价格, 最高价格, 代言人) 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 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, 饰演角色, 片酬) 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, 名称, 所属城市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, 姓名, 领兵出战次数, 胜数, 败数) 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, 奖项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, 姓名, 年龄, 学历, 学校) 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, 名称, 所属省份, 地区生产总值, 生产总值增长率, 第一产业总值, 第二产业总值, 第三产业总值) 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, 名称, 地理位置) 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, 名称, 类型, 景区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, 唱片公司, 签约时间) 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, 赛事, 类别) 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 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, 名称, 类型, 始发站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, 法定代表人, 注册资本) 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, 出发城市, 天数, 成人价格, 儿童价格, 国家数量, 景点数...
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, 名称, 时间, 地点, 级别, 会期, 主题, 场馆数...
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, 名称, 所属国家, 主营类别, 网店覆盖国家数量, 实体店数量, 入驻电商数量) 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, 城市, 演出时间, 售出票数, 最高票价, 最低票价) -- 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, 来源, 产出吨数, 总量占比) 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, 车展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, 名称, 成立时间, 所属公司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 获奖国家名单 ( 年份, 影片拍摄国家, 获奖次数) 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, 名称, 类型, 始发站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, 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, 名称, 主频尺寸, 像素, 内存容量, 操作系统, 解锁方式, 售价, 售出量, 品牌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, 人物id, 记录时间) -- Using valid SQLite, answer the following questions for the 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, 人物id, 记录时间) -- Using valid SQLite, answer the following questions for the t...
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, 名称, 总部所在省, 上级主管部门, 酒店数量, 客房数量, 省排名, 中国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, 转账银行id, 同省手续费, 跨省手续费, 单笔最高转账金额) 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, 名称, 所属公司, 年化收益率, 存储时间) 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...
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, 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, 姓名, 国籍, 民族, 出生地, 出生日期, 身高, 体重, 所属球队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 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 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, 银行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, 名称, 所属国家, 世界500强排名, 出货量, 市场份额) CREATE TABLE 手机代言明星 ( 明星id, 品牌id, 开始年份, 代言年数, 代言费, 代言型号数量) -- Using valid SQL...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 代言明星 ( 词条id, 姓名, 性别, 年龄, 所属国家, 职业, 财富排名) CREATE TABLE 智能手机品牌 ( 词条id, 名称, 所属国家, 世界500强排名, 出货量, 市场份额) CREATE TABLE 手机代言明星 ( 明星id, 品牌id, 开始年份, 代言年数, 代言费, 代言型号数量) -- Using valid SQL...
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, 电影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, 名称, 所属国家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, 部门名称, 职责, 所属群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, 出发城市, 天数, 成人价格, 儿童价格, 国家数量, 景点数...
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 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) -- 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, 月份, 成交量, 成交量同比增长, 成交均价, 成交价同比增长) 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, 合作时间, 是否有电子银行) 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, 名称, 上映时间, 片长, 票房, 获奖次数) 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, 名称, 所属国家, 世界500强排名, 出货量, 市场份额) CREATE TABLE 手机代言明星 ( 明星id, 品牌id, 开始年份, 代言年数, 代言费, 代言型号数量) -- Using valid SQL...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 代言明星 ( 词条id, 姓名, 性别, 年龄, 所属国家, 职业, 财富排名) CREATE TABLE 智能手机品牌 ( 词条id, 名称, 所属国家, 世界500强排名, 出货量, 市场份额) CREATE TABLE 手机代言明星 ( 明星id, 品牌id, 开始年份, 代言年数, 代言费, 代言型号数量) -- Using valid SQL...