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, 奖项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, 合作课程数量) 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, 专业, 对应岗位, 拟招聘人数, 基本工资, 工资幅度) 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, 平台, 售价, 服务费比例) -- 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, 姓名, 年龄, 学历, 学校) CREATE TABLE 参赛成绩 ( 学生id, 加入队伍id, 参加比赛id, 成绩) -- U...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 比赛 ( 词条id, 名称, 方向, 举办单位, 单位性质, 奖金数, 录取队伍数量, 比赛平台) CREATE TABLE 参赛队伍 ( 词条id, 队名, 人数) CREATE TABLE 参赛学生 ( 词条id, 姓名, 年龄, 学历, 学校) CREATE TABLE 参赛成绩 ( 学生id, 加入队伍id, 参加比赛id, 成绩) -- U...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 作者 ( 词条id, 姓名, 年龄, 出版作品数, 网络作品数) CREATE TABLE 出版图书 ( 词条id, 书名, 作者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 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, 名称, 所属国家, 经营范围, 母公司, 主要车系数量, 世界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, 姓名, 所属经纪公司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, 场馆, 场馆所属国家, 排名, 占比面积, 参观人数) 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, 年龄段, 购买人数, 人数占比, 消费额, 消费额占比) 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, 城市, 演出时间, 售出票数, 最高票价, 最低票价) -- 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, 区域, 起步价格, 起步公斤数, 每公斤价格) 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, 发货区域, 包邮区...
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 TA...
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...
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, 国家, 数量) 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 普利兹克奖获奖名单 ( 年份, 届数, 获奖人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,...
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, a...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 ( 词条id, 名称, 总部地点, 成立时间, 创始人, 首席执行官, 年营业额, 员工数) CREATE TABLE 品牌 ( 词条id, 名称, 成立时间, 所属公司id, 法定代表人, 注册资本) CREATE TABLE 公司品牌历年收入 ( 年份, 品牌id, 营收, 利润, 营收同比增长, 利润同比增长) CREATE TABLE 公司...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 外文书籍 ( 词条id, 名称, 英文名, 原著作者, 字数) CREATE TABLE 译者 ( 词条id, 姓名, 国籍, 翻译作品数量) CREATE TABLE 出版社 ( 词条id, 名称, 成立时间, 成立地点) CREATE TABLE 书籍出版信息 ( 书籍id, 译者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, 译者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, 奖项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, 诗词名, 作者id, 文学体裁, 传播度) CREATE TABLE 做官的诗人 ( 诗人id, 所处年号, 做官时间) CREATE TABLE 纪念景点 ( 词条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, 诗词名, 作者id, 文学体裁, 传播度) CREATE TABLE 做官的诗人 ( 诗人id, 所处年号, 做官时间) CREATE TABLE 纪念景点 ( 词条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, 名称, 产品定位, 屏幕尺寸, 屏幕比例, 分辨率, 背光灯寿命, 定价, 品牌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, 名称, 总部所在省, 上级主管部门, 酒店数量, 客房数量, 省排名, 中国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, 名称, 特性, 适合季节, 每100克热量, 每100克水分) CREATE TABLE 省份 ( 词条id, 名称, 气候, 所属区域) CREATE TABLE 水果产地 ( 水果id, 省份id, 是否特产, 年平均产量, 销售形式) CREATE TABLE 水果销售城市 ( 水果id, 原产省份id, 销往省份id, 年销...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 火车站 ( 词条id, 名称, 所属城市, 是否有地铁站, 距机场距离, 距汽车站距离, 距市中心距离) CREATE TABLE 列车 ( 词条id, 名称, 类型, 始发站id, 到达站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, 名称, 平台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, 名称, 类型, 所在城市, 所属省份, 是否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 世界园博会 ( 词条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, 时间, 收购方式, 收购资金) CREATE TABLE 投资的公司 ( 公司id, 被投资公司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, 中文队名, 所属地区, 成立时间, 主场馆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, 城市, 所属省份, 城市人口, 城市面积, 汽车保有量级别(辆), 通勤高峰拥堵指数, 通勤高峰实际速度(千米/时), 拥堵排名) 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, 平台, 售价, 最高价格, 最低价格, 售卖量, 用户评分) CREATE TABLE ...
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, 名称, 代言人, 公司id) CREATE TABLE 笔记本型号系列 ( 词条id, 名称, 屏幕尺寸, 分辨率, 内存容量, 硬盘容量, CPU主频, CPU型号, 售价, 上市时间, 产品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 TABLE 必读榜单 ( 图书id, 推荐人数) -- Usin...
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, 推荐人数) -- Usin...
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 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 旅游景点 ( 词条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...
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 CBA总冠军...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 学校 ( 词条id, 名称, 类型, 国家, 世界排名) CREATE TABLE 课程 ( 词条id, 名称, 所属专业, 适合学者类型) CREATE TABLE 平台 ( 词条id, 名称, 课程数量, 合作学校数量, 是否免费) CREATE TABLE 平台合作学校 ( 平台id, 学校id, 合作课程数量) 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, 配音演员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, 配音演员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, 名称, 所属国家, 世界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, 影名, 语言, 类型, 豆瓣评分, 评价人数, 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, 平台id, 购买关键词数量, 点击率, 转换率) -- Using valid SQLite, answer the foll...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 单位 ( 词条id, 名称, 类别) CREATE TABLE 进制换算 ( 单位id, 转换单位id, 进制) -- Using valid SQLite, answer the following questions for the tables provided above. --找出类别不是温度的单位以及类别 SELECT### Respons...
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, 配音演员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 火星探测国家 ( 探测器, 发射时间, 国家, 结果) 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, 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, 学校名称, 成立时间, 所在城市, 所属省份, 所属国家) 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, 影片名, 导演, 拍摄国家, 豆瓣评分, 关联行星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 员工 ( 词条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 演唱会 ( 词条id, 演唱会名称, 时间, 场馆id, 歌手id) CREATE TABLE 演唱会记录 ( 歌手id, 年份, 场次) -- Using valid SQLit...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 歌手 ( 词条id, 姓名, 出生日期, 出生地, 演唱会场次) CREATE TABLE 场馆 ( 词条id, 名称, 容纳人数, 所属城市) CREATE TABLE 演唱会 ( 词条id, 演唱会名称, 时间, 场馆id, 歌手id) CREATE TABLE 演唱会记录 ( 歌手id, 年份, 场次) -- Using valid SQLit...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 演唱会 ( 词条id, 名称, 歌手, 演出场次, 单场演出时长, 演出曲目) CREATE TABLE 场馆 ( 词条id, 名称, 城市, 容纳人数, 占地面积) CREATE TABLE 演唱会场馆 ( 演唱会id, 场馆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, 区域, 人口占比) -- Using valid SQLite, answer the following questions for the tables provide...
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 questions for the tables provide...
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 普利兹克奖获奖名单 ( 年份, 届数, 获奖人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, 国籍) ...
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 城市 ( 词条id, 名称, 所属省份, 市区面积) CREATE TABLE IMAX电影院 ( 词条id, 影院名称, 所在城市id, 开业时间, 屏幕宽, 屏幕高, 屏幕面积, 座位数) CREATE TABLE 影院放映电影数量 ( 年份, 影院id, 电影数量, 营收) -- Using valid SQLite, answer the fo...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 ( 词条id, 名称, 所属省份, 市区面积) CREATE TABLE IMAX电影院 ( 词条id, 影院名称, 所在城市id, 开业时间, 屏幕宽, 屏幕高, 屏幕面积, 座位数) CREATE TABLE 影院放映电影数量 ( 年份, 影院id, 电影数量, 营收) -- Using valid SQLite, answer the fo...
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...