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 景区景点 ( 景点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, 名称, 所属省份, 气候条件, 景点数量, 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 2019年房地产企业500强 ( 集团id, 总排名, 发展潜力排名, 成长速度排名, 综合发展排名, 创新能力排名) CREATE TABLE 2019年房地产企...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 地产集团 ( 词条id, 名称, 位于城市, 所属省份, 年销售额, 销售额同比增长, 销售额市场占比, 商品房销售面积, 销售面积同比增长, 销售面积, 市场占比) CREATE TABLE 2019年房地产企业500强 ( 集团id, 总排名, 发展潜力排名, 成长速度排名, 综合发展排名, 创新能力排名) CREATE TABLE 2019年房地产企...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 学校 ( 词条id, 名称, 类型, 国家, 世界排名) CREATE TABLE 课程 ( 词条id, 名称, 所属专业, 适合学者类型) CREATE TABLE 平台 ( 词条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, 名称, 所属省份, 气候条件, 景点数量, 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, 菜名, 口味, 月销售量, 必点比例) -- 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, 城市id, 建成数量, 规划数量) -- Usi...
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, 建成数量, 规划数量) -- Usi...
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, 名称, 特性, 适合季节, 每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, 名称, 特性, 适合季节, 每100克热量, 每100克水分) CREATE TABLE 省份 ( 词条id, 名称, 气候, 所属区域) CREATE TABLE 水果产地 ( 水果id, 省份id, 是否特产, 年平均产量, 销售形式) CREATE TABLE 水果销售城市 ( 水果id, 原产省份id, 销往省份id, 年销...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 ( 词条id, 名称, 创始人, 所属国家, 年营业额) CREATE TABLE 手机品牌 ( 词条id, 名称, 发布时间, 研发公司id) CREATE TABLE 手机型号 ( 词条id, 名称, 主频尺寸, 像素, 内存容量, 操作系统, 解锁方式, 售价, 售出量, 品牌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, 名称, 所属公司, 国家, 市场份额) 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, 峰会id, 演讲主题, 论坛, 开始时间, 演讲时长) CREATE TABLE 峰...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 电影 ( 词条id, 名称, 片长, 类型, 拍摄国家, 排名, 影评数, 评分) CREATE TABLE 影院 ( 词条id, 名称, 地址, 会员费, 影厅数, 评分) CREATE TABLE 电影上映 ( 电影id, 影院id, 播放日期, 播放时间, 票价, 会员票价, 余票) -- Using valid SQLite, answer 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 t...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 篮球运动员 ( 词条id, 中文名, 参加选秀年, 是否状元, 获得球队, 毕业院校) CREATE TABLE MVP记录 ( 赛季, 球员id, 国籍, 所属球队) CREATE TABLE 球队 ( 词条id, 中文队名, 赛区, 所属联盟, 夺冠次数) CREATE TABLE NBA总冠军 ( 赛季, 球队id, 总教练) -- Using...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 篮球运动员 ( 词条id, 中文名, 参加选秀年, 是否状元, 获得球队, 毕业院校) CREATE TABLE MVP记录 ( 赛季, 球员id, 国籍, 所属球队) CREATE TABLE 球队 ( 词条id, 中文队名, 赛区, 所属联盟, 夺冠次数) CREATE TABLE NBA总冠军 ( 赛季, 球队id, 总教练) -- Using...
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...
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...
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, 加入队伍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, 影名, 语言, 类型, 豆瓣评分, 评价人数, 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 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,...
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,...
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 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, 城市, 饮食) -- 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 房龄影响 ( 城市, 房龄, 交易占比) CREATE TABLE 电梯影响 ( 城市, 是否带电梯, 平均成交周期, 平均带看次数) CREATE TABLE 月供分布 ( 城市, 月供段, 占比) CREATE TABLE 购房者年龄分布 ( 城市, 购房者年龄段, 占比) CREATE TABLE 购房者性别分布 ( 城市, 购房者性别, 占比)...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 房龄影响 ( 城市, 房龄, 交易占比) CREATE TABLE 电梯影响 ( 城市, 是否带电梯, 平均成交周期, 平均带看次数) CREATE TABLE 月供分布 ( 城市, 月供段, 占比) CREATE TABLE 购房者年龄分布 ( 城市, 购房者年龄段, 占比) CREATE TABLE 购房者性别分布 ( 城市, 购房者性别, 占比)...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 国家历史 ( 词条id, 书名, 讲述国家, 讲述时代) CREATE TABLE 中国朝代历史 ( 词条id, 书名, 讲述朝代) CREATE TABLE 战争历史 ( 词条id, 书名, 描述战事) 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, 书名, 描述战事) 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 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, 名称, 演出时长, 剧目亮点, 演出团队, 导演, VIP票余量, 888票价余量, 688票价余量, 488票价余量, 288票价余量, 188票价余量, 100票价余量) 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, 名称, 演出时长, 剧目亮点, 演出团队, 导演, VIP票余量, 888票价余量, 688票价余量, 488票价余量, 288票价余量, 188票价余量, 100票价余量) 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 劳伦斯获奖国家名单 ( 国家, 获奖人性别, 获奖人数, 所占比例) -- 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) CREATE TABLE 劳伦斯获奖国家名单 ( 国家, 获奖人性别, 获奖人数, 所占比例) -- 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, 名称, 课程数量, 合作学校数量, 是否免费) 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, 名称, 总部所在省, 上级主管部门, 酒店数量, 客房数量, 省排名, 中国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, 名称, 作者, 作者国籍, 豆瓣评分, 评价人数, 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, 支持国家, 上线时间, 负责的分公司名称) 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, 名称, 机场类型, 地区管理, 航站楼面积, 机位数量, 客运航线, 跑道长度, 省份, 通航日期) CREATE TABLE 火车站 ( 词条id, 名称, 投用日期, 建筑面积, 站台规模, 地址, 省份, 投用日期) CREATE TABLE 航空公司 ( 词条id, 公司名称, 总部地点, 成立时间, IATA代码, ICAO...
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, 公司名称, 总部地点, 成立时间, IATA代码, ICAO...
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, 会员性别, 25~30岁会员数量, 31~35岁会员数量, 36~40岁会员数量, 41~45岁会员数量, 45~55岁会...
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, 上线时间, 官网, 百度权重, PR值, 反链数, 综合分数, 总排名, 所在省排名, 电商网站排名) 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, 上线时间, 官网, 百度权重, PR值, 反链数, 综合分数, 总排名, 所在省排名, 电商网站排名) CREATE TABLE 活动日 ( 词条id, 活动名称, 时间, 发明公司id) CREATE TABLE...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 电视剧 ( 词条id, 剧名, 首播时间, 集数) CREATE TABLE 小说 ( 词条id, 小说名, 作者, 字数, 状态) CREATE TABLE 改编的电视剧 ( 小说id, 电视剧id, 评分) -- Using valid SQLite, answer the following questions for the tables pr...
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 tables pr...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 台风 ( 词条id, 名称, 登陆地点, 登陆时间, 登陆强度, 持续天数, 影响地区数, 死亡人数, 经济损失) CREATE TABLE 台风影响的中国省份 ( 台风id, 省份, 登陆强度, 死亡人数, 失踪人数) CREATE TABLE 台风影响的国家 ( 台风id, 国家, 经济损失) -- Using valid SQLite, answ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国电视剧奖 ( 词条id, 名称, 主办单位, 创办时间) CREATE TABLE 演职员 ( 词条id, 姓名, 出生地, 出生日期, 毕业院校, 职业) CREATE TABLE 电视剧 ( 词条id, 名称, 类型, 首播时间, 集数, 豆瓣评分) CREATE TABLE 历届颁奖晚会 ( 年份, 届数, 电视剧奖id, 颁奖地点) CRE...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国电视剧奖 ( 词条id, 名称, 主办单位, 创办时间) CREATE TABLE 演职员 ( 词条id, 姓名, 出生地, 出生日期, 毕业院校, 职业) CREATE TABLE 电视剧 ( 词条id, 名称, 类型, 首播时间, 集数, 豆瓣评分) CREATE TABLE 历届颁奖晚会 ( 年份, 届数, 电视剧奖id, 颁奖地点) CRE...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 学校 ( 词条id, 名称, 类型, 所在城市, 所属省份, 是否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 篮球俱乐部 ( 词条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, 演出日期, 开始时间, 票数, 售出数量, 最低票价, 最高票价) -- 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, 年龄段, 购买人数, 人数占比, 消费额, 消费额占比) 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 2018年奖牌榜 ( 排名, 国家, 金牌数, 银牌数, 铜牌数, 奖牌总数) -- 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 2018年奖牌榜 ( 排名, 国家, 金牌数, 银牌数, 铜牌数, 奖牌总数) -- 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, 名称, 创始人, 所属国家, 世界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, 名称, 创始人, 所属国家, 世界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, 配偶id, 结婚时间, 子女数量) CREATE TABLE 离异明星 ( 明星id, 配偶id, 离异时间, 子女数量) CREATE TABLE 明星好友 ( 明星id, 好友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, 配偶id, 离异时间, 子女数量) CREATE TABLE 明星好友 ( 明星id, 好友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, 所属球队, 出场次数, 进球次数, 助攻次数) 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,...
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, 发行形式, 收益额, 收益占公司比例) --...
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, 发行形式, 收益额, 收益占公司比例) --...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 ( 词条id, 名称, 所属国家, 智能音箱款数, 排名) CREATE TABLE 音箱产品 ( 词条id, 名称, 所属公司id, 售价, 排名, 上升名次) CREATE TABLE 产品销售 ( 产品id, 季度, 销售量, 销售量增长) -- Using valid SQLite, answer the following questi...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 ( 词条id, 名称, 所属国家, 智能音箱款数, 排名) CREATE TABLE 音箱产品 ( 词条id, 名称, 所属公司id, 售价, 排名, 上升名次) CREATE TABLE 产品销售 ( 产品id, 季度, 销售量, 销售量增长) -- Using valid SQLite, answer the following questi...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 ( 词条id, 名称, 行业, 校招人数) CREATE TABLE 学校 ( 词条id, 名称, 所在城市, 毕业人数) CREATE TABLE 学校各专业 ( 学校id, 专业, 毕业人数, 专业全国排名, 平均薪资) CREATE TABLE 公司对口专业 ( 公司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, 费用) -- 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 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, 影片名, 导演, 拍摄国家, 豆瓣评分, 关联行星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, 姓名, 歌曲数量, 关注数量) 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 2018年奖牌榜 ( 排名, 国家, 金牌数, 银牌数, 铜牌数, 奖牌总数) -- 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 2018年奖牌榜 ( 排名, 国家, 金牌数, 银牌数, 铜牌数, 奖牌总数) -- 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, 同食益处, 推荐做法) -- Using valid SQLite, answer the following questions for the tables...