text2SQL
stringlengths
192
7.27k
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 作者 ( 词条id, 姓名, 国籍, 毕业院校, 民族) CREATE TABLE 文集 ( 词条id, 名称, 作者id, 页数, 定价, 出版社, 出版时间, 开本) -- 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, 中文名, 所处朝代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) -- 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, 实施时间, 分类体系, 最低罚款数, 最高罚款数, 厨余垃圾运输车辆, 有害垃圾运输车辆, 覆盖家庭比例, 志愿者数量) -- 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, 资源所占面积, 储量, 已开采量) -- 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, 名称, 总部所在省, 上级主管部门, 酒店数量, 客房数量, 省排名, 中国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, 影院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, 路线名称, 旅行社id, 出发城市, 天数, 成人价格, 儿童价格, 国家数量, 景点数...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 ( 词条id, 名称, 所属省份, 地区生产总值, 生产总值增长率, 第一产业总值, 第二产业总值, 第三产业总值) CREATE TABLE 城市金融产业 ( 城市id, 金融业增加值, 增长率, 金融机构数量, 外币存款余额, 存款余额增长率, 贷款余额, 贷款余额增长率) CREATE TABLE 城市贸易产业 ( 城市id, 行业, 进口额,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 ( 词条id, 名称, 所属省份, 三甲医院数量, 人口数量, 老年人口占比) CREATE TABLE 医院 ( 词条id, 名称, 所属城市id, 医院等级, 职工数量, 院士数量, 科室数量, 重点专科数量) CREATE TABLE 医院排名 ( 年份, 医院id, 排名, 接待病患数量(万人次), 手术数量) CREATE TABLE 特...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 足球运动员 ( 词条id, 中文名, 国籍, 年龄, 俱乐部) CREATE TABLE 世界杯金球奖 ( 年份, 世界杯名称, 金球奖运动员id, 银球奖运动员id, 铜球奖运动员id) CREATE TABLE 欧洲杯金球奖 ( 赛季, 运动员id, 国籍, 俱乐部, 进球数) CREATE TABLE FIFA金球奖 ( 年度, 运动员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 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, 亚军队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 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, 国家, 经济损失) -- 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, 中文名, 国籍, 创建品牌id) CREATE TABLE 运动员的代言 ( 明星id, 代言品牌id, 年份, 代言费) -- Using valid SQLite, answer the following questions 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, 名称, 类型) CREATE TABLE 商家入驻商场 ( 商家id, 商场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 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, 名称, 广告收入, 广告收入占比) 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, 中文学名, 所属纲, 所属科, 食性, 濒危级别, 保护级别) CREATE TABLE 动物分布城市 ( 动物id, 城市id, 现存数量) CREATE TABLE 动物电影 ( 词条id, 影片名, 动物id, 拍摄国家, 类型) CR...
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, 名称, 总部所在省, 上级主管部门, 酒店数量, 客房数量, 省排名, 中国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, 名称, 课程数量, 合作学校数量, 是否免费) 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 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, 排...
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, 合作时间, 是否有电子银行) 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, 名称, 山峰id, 门票价格, 游玩季节) -- Using vali...
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, 银牌...
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, 亚军队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, 季军队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, 营业额, 员工数, 世界五百强排名) 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, 名称, 地址, 距火车站距离, 距机场距离, 距汽车站距离, 距市中心距离, 周围景点数, 周围饭店数量) 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, 工业总产值(亿), 内资(亿), 外资(亿), 省内排名) CREATE TABLE 城...
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 最毒的动物 ( 动物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, 金融业增加值, 增长率, 金融机构数量, 外币存款余额, 存款余额增长率, 贷款余额, 贷款余额增长率) 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, 省份名称, 985高校数量, 211高校数量, 2018年本科录取率, 2019年本科录取率) CREATE TABLE 各省院士 ( 年份, 籍贯id, 科学院院士数量, 工程院院士数量) CREATE TABLE 高校 ( 词条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, 影院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, 名称, 成立时间, 成立地点) 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, 名称, 创始人, 所属国家, 世界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,...
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, 综艺节目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, 名称, 首都, 国土面积, 人口数量, 人口密度, 水域率, GDP总计, 人均GDP, 道路通行, 人类发展指数, 所属洲id) CREATE TABLE 最大都市 ( 城市名称, 国家id, 大洲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 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 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, 交通枢纽站, 所属城市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, 比例) -- 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, 影名, 语言, 类型, 豆瓣评分, 评价人数, 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, 综艺名称, 制作公司, 平台id, 期数, 首播时间, 每周播出时间, 播出状态) CREATE TABLE 艺人 ( 词条id, 姓名, 民族, 经纪公司, 职业) CREATE TABLE 节目阵容 ( 艺人id, 综艺节目i...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 足球运动员 ( 词条id, 中文名, 国籍, 年龄, 俱乐部) CREATE TABLE 世界杯金球奖 ( 年份, 世界杯名称, 金球奖运动员id, 银球奖运动员id, 铜球奖运动员id) CREATE TABLE 欧洲杯金球奖 ( 赛季, 运动员id, 国籍, 俱乐部, 进球数) CREATE TABLE FIFA金球奖 ( 年度, 运动员id, 获奖...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 ( 词条id, 名称, 所属省份, 地区生产总值, 生产总值增长率, 第一产业总值, 第二产业总值, 第三产业总值) CREATE TABLE 城市金融产业 ( 城市id, 金融业增加值, 增长率, 金融机构数量, 外币存款余额, 存款余额增长率, 贷款余额, 贷款余额增长率) CREATE TABLE 城市贸易产业 ( 城市id, 行业, 进口额,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 电视机品牌 ( 词条id, 名称, 所属公司, 国家, 市场份额) CREATE TABLE 电视机型号 ( 词条id, 名称, 产品定位, 屏幕尺寸, 屏幕比例, 分辨率, 背光灯寿命, 定价, 品牌id) CREATE TABLE 电视机平台售卖 ( 型号id, 平台, 售价, 最高价格, 最低价格, 售卖量, 用户评分) CREATE TABLE ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 代言明星 ( 词条id, 姓名, 性别, 年龄, 所属国家, 职业, 财富排名) CREATE TABLE 智能手机品牌 ( 词条id, 名称, 所属国家, 世界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 平台 ( 词条id, 名称, 课程数量, 合作学校数量, 是否免费) CREATE TABLE 平台合作学校 ( 平台id, 学校id, 合作课程数量) CREATE TABLE 学校的...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 ( 词条id, 名称, 总部地点, 公司类型) CREATE TABLE 学校 ( 词条id, 学校名称, 成立时间, 所在城市, 所属省份, 所属国家) CREATE TABLE 联合实验室 ( 实验室名称, 所属学校id, 公司id, 联合方向, 开始时间, 合作年数, 论文产出数量) CREATE TABLE 海外研究中心 ( 研究中心, 所...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 山峰 ( 词条id, 名称, 所属山系, 海拔, 首次登顶时间, 排名) CREATE TABLE 国家 ( 词条id, 名称, 所属洲) CREATE TABLE 山峰的国家 ( 山峰id, 起点国家id, 终点国家id, 走向) CREATE TABLE 景点 ( 词条id, 名称, 山峰id, 门票价格, 游玩季节) -- Using vali...
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, 姓名, 国籍, 民族, 出生地, 出生日期, 身高, 体重, 所属球队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, 中文队名, 所属地区, 成立时间, 主场馆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, 年份, 场次) -- Using valid SQLit...
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, 月份, 成交量, 成交量同比增长, 成交均价, 成交价同比增长) 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 歌手 ( 词条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 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, 信仰人口) 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, 名称, 所属公司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 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, 互补食物id, 同食益处, 推荐做法) -- Using valid SQLite, answer the following questions for the tables...
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, 菜名, 口味, 月销售量, 必点比例) -- 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 2018年财富排名 ( 明星id, 排名, 资产) CREATE TABLE 2017年财富排名 ( 明星id, 排名, 资产) -- Using valid SQLite, answer the following questions for th...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 各届金曲奖 ( 词条id, 名称, 年份, 奖项数量, 主持人, 参赛作品数量, 入围作品数量) CREATE TABLE 歌手 ( 词条id, 姓名, 性别, 出生地, 专辑数量, 歌曲数量, 演唱会总场次, 粉丝总数, 红粉数量) CREATE TABLE 歌手签约唱片公司 ( 歌手id, 唱片公司, 签约时间) CREATE TABLE 金曲奖提名...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 ( 词条id, 名称, 气候地带, 所属国家, 所属洲) CREATE TABLE 动物 ( 词条id, 中文学名, 所属纲, 所属科, 食性, 濒危级别, 保护级别) CREATE TABLE 动物分布城市 ( 动物id, 城市id, 现存数量) CREATE TABLE 动物电影 ( 词条id, 影片名, 动物id, 拍摄国家, 类型) CR...
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, 国籍, 俱乐部, 进球数) CREATE TABLE FIFA金球奖 ( 年度, 运动员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, 国籍, 俱乐部, 进球数) CREATE TABLE FIFA金球奖 ( 年度, 运动员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, 国籍, 俱乐部, 进球数) CREATE TABLE FIFA金球奖 ( 年度, 运动员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, 国籍, 俱乐部, 进球数) CREATE TABLE FIFA金球奖 ( 年度, 运动员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, 国籍, 俱乐部, 进球数) CREATE TABLE FIFA金球奖 ( 年度, 运动员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, 姓名, 国籍, 民族, 出生地, 出生日期, 身高, 体重, 所属球队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, 姓名, 国籍, 民族, 出生地, 出生日期, 身高, 体重, 所属球队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 城市温度 ( 城市, 夏季平均温度, 冬季平均温度, 年平均温度) 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, 银牌...
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, 名称, 所属国家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, 名称, 所属洲, 注册公司数量, 上市公司数量) 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 城市温度 ( 城市, 夏季平均温度, 冬季平均温度, 年平均温度) CREATE TABLE 各城市极端高温 ( 城市, 极端高温, 出现日期) CREATE TABLE 各城市极端低温 ( 城市, 极端低温, 出现日期) CREATE TABLE 各城市各月平均气温 ( 城市, 一月, 二月, 三月, 四月, 五月, 六月, 七月, 八月, 九月, 十...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 篮球运动队 ( 词条id, 队名, 所属国家, 成立时间, 主教练, 奥运会冠军数量, 世锦赛冠军数量, 世界排名) CREATE TABLE 奥运会冠亚军记录 ( 年份, 奥运会名称, 冠军队id, 亚军队id, 季军队id) CREATE TABLE 中国队奥运会成绩 ( 年份, 奥运会名称, 名次, 主帅) CREATE TABLE 中国队交手记录...