text2SQL
stringlengths
192
7.27k
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 外文书籍 ( 词条id, 名称, 英文名, 原著作者, 字数) CREATE TABLE 译者 ( 词条id, 姓名, 国籍, 翻译作品数量) CREATE TABLE 出版社 ( 词条id, 名称, 成立时间, 成立地点) CREATE TABLE 书籍出版信息 ( 书籍id, 译者id, 出版社id, 出版册数, 出版时间) -- Using valid SQLite, answer the following questions for the tables provided above. --按出版社成立时间倒序排列,都有哪些出版社? SELECT### Response: select 名称 from 出版社 order by 成立时间 asc.
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, 人数) CREATE TABLE 科学家 ( 词条id, 姓名, 性别, 国籍, 出生日期, 职业) CREATE TABLE 毕业院校 ( 科学家id, 高校id, 获得学位) CREATE TABLE 诺贝尔奖科学家名单 ( 年份, 奖项id, 科学家id, 理由) -- Using valid SQLite, answer the following questions for the tables provided above. --按获奖者最大年龄升序排列,都有哪些经纪人? SELECT### Response: select 名称 from 诺贝尔奖项 order by 获奖者最大年龄 asc.
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 SQLite, answer the following questions for the tables provided above. --按成立时间倒序排列,都有哪些经纪公司? SELECT### Response: select 公司名称 from 经纪公司 order by 成立时间 asc.
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 SQLite, answer the following questions for the tables provided above. --按诗词传播度降序排列,都有哪些诗词? SELECT### Response: select 诗词名 from 诗词 order by 传播度 desc.
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 华语电影奖获奖名单 ( 年份, 届数, 电影奖id, 具体奖项, 获奖人id, 电影id) -- Using valid SQLite, answer the following questions for the tables provided above. --按年龄升序排列,对应的演员都有哪些? SELECT### Response: select 姓名 from 演员 order by 年龄 asc.
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 各城市电视机售卖 ( 城市, 所属省份, 电视机售卖量, 观看电视日平均用时) -- Using valid SQLite, answer the following questions for the tables provided above. --按市场份额降序排列,对应的电视剧品牌都有哪些? SELECT### Response: select 名称 from 电视机品牌 order by 市场份额 desc.
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 following questions for the tables provided above. --按成立年数升序排列,对应的在线英语教学平台都有哪些? SELECT### Response: select 名称 from 平台 order by 成立年数 asc.
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 各国医疗支出占比 ( 国家, 医疗支出占GDP比重) -- Using valid SQLite, answer the following questions for the tables provided above. --按产假总天数升序排列,各国的产假福利及法规都是什么? SELECT### Response: select 国家 from 各国产假 order by 产假总天数 asc.
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, answer the following questions for the tables provided above. --按距机场距离降序排列,对应的火车站都有哪些? SELECT### Response: select 名称 from 火车站 order by 距机场距离 desc.
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 各城市各月平均降水量mm ( 城市, 一月, 二月, 三月, 四月, 五月, 六月, 七月, 八月, 九月, 十月, 十一月, 十二月) -- Using valid SQLite, answer the following questions for the tables provided above. --按极端天气出现日期倒序排列,都有城市出现极端高温天气? SELECT### Response: select 城市 from 各城市极端高温 order by 出现日期 asc.
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, 名称, 学科类型, 冷热门) CREATE TABLE 学校专业 ( 专业id, 学校id, 是否重点专业) CREATE TABLE 专业就业情况 ( 专业id, 2016届平均月薪, 2014届平均月薪, 2012届平均月薪, 2016届就业率, 2014届就业率, 2012届就业率) -- Using valid SQLite, answer the following questions for the tables provided above. --按2016届毕业生平均月薪升序排列,都有哪些学校? SELECT### Response: select 名称 from 学校 order by 2016届平均月薪 asc.
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 SQLite, answer the following questions for the tables provided above. --按时间倒序排列,对应的世博会都有哪些? SELECT### Response: select 名称 from 世博会 order by 时间 asc.
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, 人群, 使用占比) -- Using valid SQLite, answer the following questions for the tables provided above. --按年营业额升序排列,都有哪些手机公司? SELECT### Response: select 名称 from 公司 order by 年营业额 asc.
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, 日均接待游客数量, 日均外省游客数量, 热度排名) CREATE TABLE 热门出境游城市 ( 城市, 所在国家, 国内游客数量, 排名) -- Using valid SQLite, answer the following questions for the tables provided above. --按城市平均拥堵指数降序排列,都有哪些旅游景点? SELECT### Response: select 景点名称 from 旅游景点 order by 平均拥堵指数 desc.
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, answer the following questions for the tables provided above. --按员工数量降序排列,都有哪些公司? SELECT### Response: select 名称 from 公司 order by 员工数量 desc.
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 provided above. --按页数降序排列,都有哪些经纪人? SELECT### Response: select 书名 from 传记 order by 页数 desc.
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, 名称, 所属城市, 类型) CREATE TABLE 火车站 ( 词条id, 名称, 所属城市, 类型) CREATE TABLE 酒店距离机场路程 ( 酒店id, 机场id, 距离, 打车费用, 高峰用时, 平时用时) CREATE TABLE 酒店距离火车站路程 ( 酒店id, 火车站id, 公交线路数, 地铁线路数, 地铁用时) CREATE TABLE 酒店活动费用 ( 酒店id, 活动类型, 人数规模, 费用) -- Using valid SQLite, answer the following questions for the tables provided above. --按酒店数量降序排列,都是哪些酒店集团? SELECT### Response: select 名称 from 酒店集团 order by 酒店数量 desc.
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 各城市电视机售卖 ( 城市, 所属省份, 电视机售卖量, 观看电视日平均用时) -- Using valid SQLite, answer the following questions for the tables provided above. --按观看电视日平均用时降序排列,对应的都是哪些城市? SELECT### Response: select 城市 from 各城市电视机售卖 order by 观看电视日平均用时 desc.
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, 推荐人数) -- Using valid SQLite, answer the following questions for the tables provided above. --按榜单评分升序排列,都有哪些图书? SELECT### Response: select 书名 from 图书 order by 评分 asc.
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, 年销售量) -- Using valid SQLite, answer the following questions for the tables provided above. --按水果每100克热量降序排列,水果的名称都是什么? SELECT### Response: select 名称 from 水果 order by 每100克热量 desc.
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, 上一年号, 下一年号) CREATE TABLE 大臣 ( 词条id, 姓名, 所处朝代id, 出生时间, 去世时间, 职业) CREATE TABLE 大臣辅佐的皇帝 ( 大臣id, 皇帝id, 辅佐时间) -- Using valid SQLite, answer the following questions for the tables provided above. --按出生时间倒序排列,都是哪些朝代的哪些皇帝? SELECT### Response: select 中文名 from 皇帝 order by 出生时间 asc.
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, 获奖时国籍, 获奖时俱乐部) -- Using valid SQLite, answer the following questions for the tables provided above. --获得足球奖项的运动员按年龄降序排列,都有哪足球运动员? SELECT### Response: select 中文名 from 足球运动员 order by 年龄 desc.
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, 周排名, 月排名, 总排名) CREATE TABLE 收藏榜 ( 网络小说id, 周排名, 月排名, 总排名) -- Using valid SQLite, answer the following questions for the tables provided above. --按网易云阅读评分升序排列,都有哪些出版图书? SELECT### Response: select 书名 from 出版图书 order by 评分 asc.
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. --按年销量升序排列,对应的品牌都有哪些? SELECT### Response: select 品牌名 from 品牌 order by 年销量 asc.
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, 日均接待游客数量, 日均外省游客数量, 热度排名) CREATE TABLE 热门出境游城市 ( 城市, 所在国家, 国内游客数量, 排名) -- Using valid SQLite, answer the following questions for the tables provided above. --按城市平均拥堵指数升序排列,都有哪些交通枢纽站? SELECT### Response: select 交通枢纽站 from 全国交通枢纽 order by 平均拥堵指数 asc.
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, 飞机型号, 数量) CREATE TABLE 航班信息 ( 日期, 出发机场id, 到达机场id, 起飞时间, 航班号, 航空公司id, 机龄, 经济舱价格, 头等舱价格, 经济舱余票, 头等舱余票, 历经时间) -- Using valid SQLite, answer the following questions for the tables provided above. --按机位数量升序排列,都有哪些机场? SELECT### Response: select 名称 from 机场 order by 机位数量 asc.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 游泳泳姿 ( 词条id, 名称, 发明时间, 加入奥运会时间) CREATE TABLE 各泳姿参赛项目 ( 泳姿id, 50米, 100米, 200米, 400米, 800米, 1500米, 5000米, 10000米, 赛事) CREATE TABLE 泳坛名将 ( 词条id, 姓名, 性别, 国籍, 身高, 体重, 专业特点id) CREATE TABLE 赛事记录 ( 泳姿id, 长度, 赛事类型, 运动员id, 用时, 破记录年份) -- Using valid SQLite, answer the following questions for the tables provided above. --按身高降序排列,都有哪些游泳名将? SELECT### Response: select 姓名 from 泳坛名将 order by 身高 desc.
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总冠军 ( 赛季, 冠军球队id, 亚军球队id) CREATE TABLE 最有价值球员 ( 赛季, 球员id, 球队id) -- Using valid SQLite, answer the following questions for the tables provided above. --按成立时间倒序排列,都有哪些篮球队? SELECT### Response: select 队名 from 篮球队 order by 成立时间 asc.
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 provided above. --按成立时间倒序排列,都有哪些影视公司? SELECT### Response: select 名称 from 公司 order by 成立时间 asc.
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 学校的开源课程 ( 词条id, 开源课程名称, 课程id, 学校id, 课时, 主讲教师) CREATE TABLE 平台课程 ( 开源课程id, 平台id, 是否直播, 课程时长, 价格) -- Using valid SQLite, answer the following questions for the tables provided above. --按课时降序排列,都有哪些开源课程? SELECT### Response: select 开源课程名称 from 学校的开源课程 order by 课时 desc.
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 valid SQLite, answer the following questions for the tables provided above. --按夺冠次数降序排列,球队的名称都是什么? SELECT### Response: select 中文队名 from 球队 order by 夺冠次数 desc.
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, 国家, 场上位置) -- Using valid SQLite, answer the following questions for the tables provided above. --按欧洲杯球员出生日期倒序排列,都有哪些足球运动员? SELECT### Response: select 中文名 from 足球运动员 order by 出生日期 asc.
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, 年化收益率, 期限, 起投金额) -- Using valid SQLite, answer the following questions for the tables provided above. --按成立时间倒序排列,都有哪些银行? SELECT### Response: select 名称 from 银行 order by 成立时间 asc.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE G20峰会 ( 词条id, 名称, 年份, 届次, 主办国, 主办城市, 参加国家数量) CREATE TABLE 世界经济论坛 ( 年份, 届次, 参加国家数量, 参加的元首人数, 参加总人数, 研讨会数量) CREATE TABLE 世界物联网博览会 ( 词条id, 名称, 年份, 高峰论坛数量, 参会嘉宾数, 参会企业数, 观展人数) CREATE TABLE 中国国际进口博览会 ( 词条id, 名称, 年份, 参加企业数, 意向成交额, 成交额增长率) -- Using valid SQLite, answer the following questions for the tables provided above. --按年份倒序排列,世界经济峰会中都有哪些中国国际进口博览会 SELECT### Response: select 名称 from 中国国际进口博览会 order by 年份 asc.
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 SQLite, answer the following questions for the tables provided above. --按出货量升序排列,都有哪些智能有手机品牌 SELECT### Response: select 名称 from 智能手机品牌 order by 出货量 asc.
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, 时间, 最低票价) -- Using valid SQLite, answer the following questions for the tables provided above. --按最低票价升序排列,中国体育馆2018年都有哪些演出会? SELECT### Response: select 名称 from 2018年演唱会 order by 最低票价 asc.
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 provided above. --按加入奥运会年份倒序排列,都有哪些运动项目? SELECT### Response: select 名称 from 运动项目 order by 加入奥运会年份 asc.
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, answer the following questions for the tables provided above. --按上映时间倒序排列,对应的电影都有哪些? SELECT### Response: select 电影名称 from 电影 order by 上映时间 asc.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 ( 词条id, 名称, 成立时间, 位于城市) CREATE TABLE 社交APP ( 词条id, app名称, 软件大小, 注册用户量, 日活跃用户量, 母公司id) CREATE TABLE 功能 ( 词条id, 名称, 简介) CREATE TABLE APP支持的功能 ( 功能id, appid, 是否主要功能) -- Using valid SQLite, answer the following questions for the tables provided above. --按注册用户量降序排列,都有哪些社交app? SELECT### Response: select app名称 from 社交APP order by 注册用户量 desc.
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 空调各季度售卖 ( 型号id, 季度, 售价, 最高价格, 最低价格, 售卖量) CREATE TABLE 空调各城市售卖 ( 城市, 空调售卖量, 空调日平均用时) -- Using valid SQLite, answer the following questions for the tables provided above. --按空调售卖量升序排列,都是哪些城市? SELECT### Response: select 城市 from 空调各城市售卖 order by 空调售卖量 asc.
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 月球探测国家 ( 飞行器, 时间, 国家, 有无航天员, 探测目的) CREATE TABLE 载人飞船 ( 飞船名称, 发射时间, 发射数量, 国家, 航天员数量, 航天员出舱时间) -- Using valid SQLite, answer the following questions for the tables provided above. --按时间倒序排列,各国家月球探测飞行器都有哪些? SELECT### Response: select 飞行器 from 月球探测国家 order by 时间 asc.
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 provided above. --按注册公司数量降序排列,对应国家都有哪些? SELECT### Response: select 名称 from 国家 order by 注册公司数量 desc.
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, 是否著名) CREATE TABLE 临近景区 ( 景区id, 相邻景区id, 距离) CREATE TABLE 博物馆 ( 词条id, 名称, 占地面积, 开馆时间, 所属城市, 票价) CREATE TABLE 重点文物保护单位 ( 词条id, 名称, 门票价格, 保护级别, 所属城市, 评定年份) CREATE TABLE 动物园 ( 词条id, 名称, 占地面积, 竣工时间, 门票价格, 动物种类, 所属城市) CREATE TABLE 馆藏动物 ( 动物名称, 动物园id, 数量) CREATE TABLE 游乐园 ( 词条id, 名称, 占地面积, 门票价格, 总投资, 所属城市) CREATE TABLE 娱乐项目 ( 项目名称, 游乐园id, 季节, 排名) -- Using valid SQLite, answer the following questions for the tables provided above. --按开馆时间倒序排列,博物馆的名称都是什么? SELECT### Response: select 名称 from 博物馆 order by 开馆时间 asc.
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 月球探测国家 ( 飞行器, 时间, 国家, 有无航天员, 探测目的) CREATE TABLE 载人飞船 ( 飞船名称, 发射时间, 发射数量, 国家, 航天员数量, 航天员出舱时间) -- Using valid SQLite, answer the following questions for the tables provided above. --按豆瓣评分升序排列,行星相关的电影都有哪些? SELECT### Response: select 影片名 from 行星相关电影 order by 豆瓣评分 asc.
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 valid SQLite, answer the following questions for the tables provided above. --按年龄降序排列,学术比赛的参赛学生都叫什么? SELECT### Response: select 姓名 from 参赛学生 order by 年龄 desc.
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, 年份, 员工数量, 离职人数, 招聘人数) -- Using valid SQLite, answer the following questions for the tables provided above. --按薪资降序排列,x公司都有哪些员工? SELECT### Response: select 姓名 from 员工 order by 薪资 desc.
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 月球探测国家 ( 飞行器, 时间, 国家, 有无航天员, 探测目的) CREATE TABLE 载人飞船 ( 飞船名称, 发射时间, 发射数量, 国家, 航天员数量, 航天员出舱时间) -- Using valid SQLite, answer the following questions for the tables provided above. --按航天员数量降序排列,载人飞船都有哪些? SELECT### Response: select 飞船名称 from 载人飞船 order by 航天员数量 desc.
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 provided above. --按统治时间降序排列,分别是什么朝代? SELECT### Response: select 名称 from 朝代 order by 统治时间 desc.
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, 名称, 推出时间, 车型, 车款数量, 保值率, 生产公司id) CREATE TABLE 车型 ( 词条id, 名称, 排量, 油耗, 售价, 所属产品id, 关注指数, 累计销量, 安全排行, 性能排行, 油耗排行, 空间排行, 舒适排行) -- Using valid SQLite, answer the following questions for the tables provided above. --按排量降序排列,都有哪些车型? SELECT### Response: select 名称 from 车型 order by 排量 desc.
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 SQLite, answer the following questions for the tables provided above. --按出生日期倒序排列,都有哪些歌手? SELECT### Response: select 姓名 from 歌手 order by 出生日期 asc.
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, 时间, 最低票价) -- Using valid SQLite, answer the following questions for the tables provided above. --按面积升序排列,都有哪些体育场? SELECT### Response: select 名称 from 体育场 order by 面积 asc.
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 provided above. --按出生日期倒序排列,都有哪些运动员? SELECT### Response: select 姓名 from 运动员 order by 出生日期 asc.
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 provided above. --按笔画升序排列,都有哪些汉字? SELECT### Response: select 汉字 from 汉字 order by 笔画 asc.
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, 名称, 门店数量, 房屋经纪人数量, 覆盖城市数量, 购房成交总量, 租房成交总量, 成交排名, 评分) CREATE TABLE 中介成交 ( 中介id, 小区id, 年份, 购房成交量, 成交量占比) -- Using valid SQLite, answer the following questions for the tables provided above. --按楼栋数降序排列,都有哪些北京小区? SELECT### Response: select 名称 from 北京小区 order by 楼栋数 desc.
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年院士任职学校 ( 词条id, 院士姓名, 年龄, 专业, 院士类型, 工作单位id) -- Using valid SQLite, answer the following questions for the tables provided above. --按院士校友人数降序排列,对应的都是哪些高校? SELECT### Response: select 学校名称 from 高校 order by 院士校友人数 desc.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 学校 ( 词条id, 名称, 所在省份, 类型, 是否985, 是否211) CREATE TABLE 省份 ( 词条id, 省名, 2018年考生数量, 985高校数量, 211高校数量) CREATE TABLE 各省高校招生计划 ( 学校id, 省份id, 招生人数) CREATE TABLE 专业 ( 词条id, 专业名称, 学科类型, 学制) CREATE TABLE 清华大学招生计划 ( 专业id, 省份id, 招考类型, 学费, 招生人数) -- Using valid SQLite, answer the following questions for the tables provided above. --按2018年考生数量降序排列,对应的省份有哪些? SELECT### Response: select 省名 from 省份 order by 2018年考生数量 desc.
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 SQLite, answer the following questions for the tables provided above. --按时间倒序排列,对应哪些演唱会? SELECT### Response: select 演唱会名称 from 演唱会 order by 时间 asc.
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 provided above. --按节日时间倒序排列,都有哪些传统节日? SELECT### Response: select 名称 from 传统节日 order by 节日时间 asc.
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, 是否重点, 是否研究中心) -- Using valid SQLite, answer the following questions for the tables provided above. --按职工数量升序排列,医院的名称都是什么? SELECT### Response: select 名称 from 医院 order by 职工数量 asc.
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, 名称, 门店数量, 房屋经纪人数量, 覆盖城市数量, 购房成交总量, 租房成交总量, 成交排名, 评分) CREATE TABLE 中介成交 ( 中介id, 小区id, 年份, 购房成交量, 成交量占比) -- Using valid SQLite, answer the following questions for the tables provided above. --按门店数量降序排列,房屋中介都有哪些? SELECT### Response: select 名称 from 房屋中介 order by 门店数量 desc.
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 provided above. --按售价升序排列,都有哪些音响产品? SELECT### Response: select 名称 from 音箱产品 order by 售价 asc.
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, 年化收益率, 期限, 起投金额) -- Using valid SQLite, answer the following questions for the tables provided above. --按创立时间倒序排列,都有哪些理财公司? SELECT### Response: select 公司名称 from 理财公司 order by 创立时间 asc.
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 华语电影奖获奖名单 ( 年份, 届数, 电影奖id, 具体奖项, 获奖人id, 电影id) -- Using valid SQLite, answer the following questions for the tables provided above. --按片长降序排列,华语电影都叫什么? SELECT### Response: select 名称 from 电影 order by 片长 desc.
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年院士任职学校 ( 词条id, 院士姓名, 年龄, 专业, 院士类型, 工作单位id) -- Using valid SQLite, answer the following questions for the tables provided above. --按年龄降序排列,对应得2019年院士任职学校都有哪些?都是什么专业? SELECT### Response: select 院士姓名 , 专业 from 2019年院士任职学校 order by 年龄 desc.
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 SQLite, answer the following questions for the tables provided above. --按首播时间倒序排列,对应有哪些综艺?制作公司是哪家? SELECT### Response: select 综艺名称 , 制作公司 from 综艺节目 order by 首播时间 asc.
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 各城市电视机售卖 ( 城市, 所属省份, 电视机售卖量, 观看电视日平均用时) -- Using valid SQLite, answer the following questions for the tables provided above. --按背光灯寿命升序排列,电视机型号和产品定位都是什么? SELECT### Response: select 名称 , 产品定位 from 电视机型号 order by 背光灯寿命 asc.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE G20峰会 ( 词条id, 名称, 年份, 届次, 主办国, 主办城市, 参加国家数量) CREATE TABLE 世界经济论坛 ( 年份, 届次, 参加国家数量, 参加的元首人数, 参加总人数, 研讨会数量) CREATE TABLE 世界物联网博览会 ( 词条id, 名称, 年份, 高峰论坛数量, 参会嘉宾数, 参会企业数, 观展人数) CREATE TABLE 中国国际进口博览会 ( 词条id, 名称, 年份, 参加企业数, 意向成交额, 成交额增长率) -- Using valid SQLite, answer the following questions for the tables provided above. --按世界经济峰会参加国家数量升序排列,对应的G20峰会都有哪些?主办国是哪里? SELECT### Response: select 名称 , 主办国 from G20峰会 order by 参加国家数量 asc.
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 金曲奖获奖名单 ( 奖届id, 奖项名称, 获奖歌手id, 歌手唱片公司) -- Using valid SQLite, answer the following questions for the tables provided above. --按年份倒序排列,各届金曲奖名称都是什么?主持人都是谁? SELECT### Response: select 名称 , 主持人 from 各届金曲奖 order by 年份 asc.
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, 成立时间, 公司类型, 领域分类, 年营业额, 员工数, 注册资本, 500强排名) -- Using valid SQLite, answer the following questions for the tables provided above. --按成立时间倒序排列,都有什么企业?企业的公司类型是什么? SELECT### Response: select 名称 , 公司类型 from 企业 order by 成立时间 asc.
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, 上一年号, 下一年号) CREATE TABLE 大臣 ( 词条id, 姓名, 所处朝代id, 出生时间, 去世时间, 职业) CREATE TABLE 大臣辅佐的皇帝 ( 大臣id, 皇帝id, 辅佐时间) -- Using valid SQLite, answer the following questions for the tables provided above. --按人口数量降序排列,对应的都是哪些朝代?都城在哪? SELECT### Response: select 名称 , 都城 from 朝代 order by 人口数量 desc.
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, 出发城市, 天数, 预售价格, 参团价格, 起团人数, 个人价格, 景点数) CREATE TABLE 邮轮路线 ( 词条id, 路线名称, 旅行社id, 出发城市, 天数, 内舱房价格, 海景房价格, 阳台房价格, 航行区域, 邮轮公司) -- Using valid SQLite, answer the following questions for the tables provided above. --按成人价格升序排列,出游路线都有哪些?出发城市是哪? SELECT### Response: select 路线名称 , 出发城市 from 出境游路线 order by 成人价格 asc.
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, answer the following questions for the tables provided above. --按子女数量降序排列,对应的都是哪些皇帝?年号什么? SELECT### Response: select 姓名 , 年号 from 皇帝 order by 子女数量 desc.
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, 是否著名) CREATE TABLE 临近景区 ( 景区id, 相邻景区id, 距离) CREATE TABLE 博物馆 ( 词条id, 名称, 占地面积, 开馆时间, 所属城市, 票价) CREATE TABLE 重点文物保护单位 ( 词条id, 名称, 门票价格, 保护级别, 所属城市, 评定年份) CREATE TABLE 动物园 ( 词条id, 名称, 占地面积, 竣工时间, 门票价格, 动物种类, 所属城市) CREATE TABLE 馆藏动物 ( 动物名称, 动物园id, 数量) CREATE TABLE 游乐园 ( 词条id, 名称, 占地面积, 门票价格, 总投资, 所属城市) CREATE TABLE 娱乐项目 ( 项目名称, 游乐园id, 季节, 排名) -- Using valid SQLite, answer the following questions for the tables provided above. --按竣工时间倒序排列,都有哪些动物园?所在什么城市? SELECT### Response: select 名称 , 所属城市 from 动物园 order by 竣工时间 asc.
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 华语电影奖获奖名单 ( 年份, 届数, 电影奖id, 具体奖项, 获奖人id, 电影id) -- Using valid SQLite, answer the following questions for the tables provided above. --按创办时间倒序排列,都有哪些华语电影奖?颁奖地点在哪? SELECT### Response: select 名称 , 颁奖地点 from 华语电影奖 order by 创办时间 asc.
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, 名称, 推出时间, 车型, 车款数量, 保值率, 生产公司id) CREATE TABLE 车型 ( 词条id, 名称, 排量, 油耗, 售价, 所属产品id, 关注指数, 累计销量, 安全排行, 性能排行, 油耗排行, 空间排行, 舒适排行) -- Using valid SQLite, answer the following questions for the tables provided above. --按主要车系数量降序排列,都有哪些汽车公司?所属什么国家? SELECT### Response: select 名称 , 所属国家 from 汽车公司 order by 主要车系数量 desc.
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 provided above. --按最低价格降序排列,对应的汽车品牌都有哪些所属什么公司 SELECT### Response: select 名称 , 所属公司 from 汽车品牌 order by 最低价格 desc.
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 provided above. --按片长升序排列,都有什么电影?哪个国家拍摄的? SELECT### Response: select 名称 , 拍摄国家 from 电影 order by 片长 asc.
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 provided above. --按年营业额升序排列,中国最赚钱公司都有哪些?地址在哪个城市? SELECT### Response: select 名称 , 位于城市 from 中国最赚钱公司 order by 年营业额 asc.
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, answer the following questions for the tables provided above. --按出生日期倒序排列,对应的都有哪些演职员?他们的出生地在哪? SELECT### Response: select 姓名 , 出生地 from 演职员 order by 出生日期 asc.
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, 是否重点, 是否研究中心) -- Using valid SQLite, answer the following questions for the tables provided above. --按三甲医院数量降序排列,都有哪些城市?所属什么省份? SELECT### Response: select 名称 , 所属省份 from 城市 order by 三甲医院数量 desc.
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 各学部院士分布 ( 年份, 学部, 院士人数, 所占比例) -- Using valid SQLite, answer the following questions for the tables provided above. --按院士人数降序排列,两院院士学校名单的学校有哪些?所在什么省份? SELECT### Response: select 学校 , 所在省市 from 两院院士学校名单 order by 院士人数 desc.
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, 上一年号, 下一年号) CREATE TABLE 大臣 ( 词条id, 姓名, 所处朝代id, 出生时间, 去世时间, 职业) CREATE TABLE 大臣辅佐的皇帝 ( 大臣id, 皇帝id, 辅佐时间) -- Using valid SQLite, answer the following questions for the tables provided above. --按出生时间倒序排列,都有哪些皇帝?分别有什么主要成就 SELECT### Response: select 中文名 , 主要成就 from 皇帝 order by 出生时间 asc.
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 SQLite, answer the following questions for the tables provided above. --按年营业额降序排列,银行名称分别是什么?公司类型是什么? SELECT### Response: select 名称 , 公司类型 from 银行 order by 年营业额 desc.
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, 赢方将军id, 赢方兵力, 败方将军id, 败方兵力) -- Using valid SQLite, answer the following questions for the tables provided above. --按历时时间升序排列,都有哪些战役?所处什么朝代? SELECT### Response: select 名称 , 朝代 from 战役 order by 历时时间 asc.
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, answer the following questions for the tables provided above. --按经营年数升序排列,都有哪些餐饮公司?总部在哪个城市? SELECT### Response: select 名称 , 总部城市id from 餐饮公司 order by 经营年数 asc.
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 valid SQLite, answer the following questions for the tables provided above. --按字数降序排列,都有哪些外文书籍,书籍的英文名称是什么? SELECT### Response: select 名称 , 英文名 from 外文书籍 order by 字数 desc.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 40城消费力排名 ( 城市, 所在省份, 社消总额(亿), 总额排名, 增速, 增速排名, 人均社消(万), 总GDP(亿), 人均GDP(万), 常住人口(万), 参考房价) CREATE TABLE 各城市消费结构 ( 城市, 人均可支配收入, 餐饮消费占比, 奢侈品消费占比, 旅游占比, 人均网购消费额, 电子产品消费占比) CREATE TABLE 生态文明消费 ( 环保消费品, 增长率) CREATE TABLE 品牌消费 ( 品牌, 类型, 销量占比, 销量排名) CREATE TABLE 商品种类消费增速 ( 种类, 2013年增速, 2015年增速, 2017年增速) -- Using valid SQLite, answer the following questions for the tables provided above. --按社消总额(亿)升序排列,40城消费力排名城市有哪些?所在什么省份? SELECT### Response: select 城市 , 所在省份 from 40城消费力排名 order by 社消总额(亿) asc.
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, 人数) CREATE TABLE 科学家 ( 词条id, 姓名, 性别, 国籍, 出生日期, 职业) CREATE TABLE 毕业院校 ( 科学家id, 高校id, 获得学位) CREATE TABLE 诺贝尔奖科学家名单 ( 年份, 奖项id, 科学家id, 理由) -- Using valid SQLite, answer the following questions for the tables provided above. --按独立科研机构数量升序排列,都有哪些高校?所属哪个国家 SELECT### Response: select 名称 , 所属国家 from 高校 order by 独立科研机构数量 asc.
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 valid SQLite, answer the following questions for the tables provided above. --按奖金数升序排列,都有哪些学术比赛?学术比赛方向是什么? SELECT### Response: select 名称 , 方向 from 比赛 order by 奖金数 asc.
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, 名称, 推出时间, 车型, 车款数量, 保值率, 生产公司id) CREATE TABLE 车型 ( 词条id, 名称, 排量, 油耗, 售价, 所属产品id, 关注指数, 累计销量, 安全排行, 性能排行, 油耗排行, 空间排行, 舒适排行) -- Using valid SQLite, answer the following questions for the tables provided above. --按车款数量升序排列,都有哪些汽车产品?车型有什么? SELECT### Response: select 名称 , 车型 from 汽车产品 order by 车款数量 asc.
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. --按引用量降序排列,对应的论文名称是什么?会议名称是什么? SELECT### Response: select 名称 , 会议名称 from 论文 order by 引用量 desc.
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, 学校id, 宣讲时间, 拟招聘人数, 参加笔试人数, 参加面试人数, 实际招聘人数) -- Using valid SQLite, answer the following questions for the tables provided above. --按校招人数升序排列,都有什么公司?所属什么行业? SELECT### Response: select 名称 , 行业 from 公司 order by 校招人数 asc.
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 provided above. --按广告投入成本升序排列,都有哪些公司,公司主要产品是什么? SELECT### Response: select 名称 , 主要产品 from 公司 order by 广告投入成本 asc.
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 SQLite, answer the following questions for the tables provided above. --按展园数量降序排列,都是哪届中国花卉园博会?举办城市在哪? SELECT### Response: select 届数 , 举办城市 from 中国花卉园博会 order by 展园数量 desc.
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, 场上位置, 球衣号码, 是否主力) CREATE TABLE 运动员转会 ( 运动员id, 俱乐部id, 加入日期, 服役时间, 号码, 薪资) CREATE TABLE 教练 ( 词条id, 中文名, 国籍, 毕业院校, 执教时长, 年薪) CREATE TABLE 俱乐部教练 ( 教练id, 俱乐部id, 加入日期, 身份) -- Using valid SQLite, answer the following questions for the tables provided above. --按年薪升序排列,nba篮球教练有哪些?教练国籍是什么? SELECT### Response: select 中文名 , 国籍 from 教练 order by 年薪 asc.
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, answer the following questions for the tables provided above. --按毕业时间倒序排列,对应的明星有哪些?毕业院校是哪? SELECT### Response: select 姓名 , 毕业院校 from 明星 order by 毕业时间 asc.
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 following questions for the tables provided above. --按地区生产总值降序排列,对应的城市有哪些?所属什么省份? SELECT### Response: select 名称 , 所属省份 from 城市 order by 地区生产总值 desc.
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, 日均接待游客数量, 日均外省游客数量, 热度排名) CREATE TABLE 热门出境游城市 ( 城市, 所在国家, 国内游客数量, 排名) -- Using valid SQLite, answer the following questions for the tables provided above. --按城市面积升序排列,对应的城市有哪些?所属什么省份? SELECT### Response: select 城市 , 所属省份 from 城市 order by 城市面积 asc.
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### Response: select 名称 , 出版社 from 文集 order by 页数 desc.
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, 是否著名) CREATE TABLE 临近景区 ( 景区id, 相邻景区id, 距离) CREATE TABLE 博物馆 ( 词条id, 名称, 占地面积, 开馆时间, 所属城市, 票价) CREATE TABLE 重点文物保护单位 ( 词条id, 名称, 门票价格, 保护级别, 所属城市, 评定年份) CREATE TABLE 动物园 ( 词条id, 名称, 占地面积, 竣工时间, 门票价格, 动物种类, 所属城市) CREATE TABLE 馆藏动物 ( 动物名称, 动物园id, 数量) CREATE TABLE 游乐园 ( 词条id, 名称, 占地面积, 门票价格, 总投资, 所属城市) CREATE TABLE 娱乐项目 ( 项目名称, 游乐园id, 季节, 排名) -- Using valid SQLite, answer the following questions for the tables provided above. --按评定年份倒序排列,重点文物保护单位名称都是什么?保护级别是什么? SELECT### Response: select 名称 , 保护级别 from 重点文物保护单位 order by 评定年份 asc.