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, 所属省份, 平均拥堵指数, 周边路网平均速度(千米/时), 拥堵排名) CREATE TABLE 旅游景点 ( 词条id, 景点名称, 所属城市id, 平均拥堵指数, 周边路网平均速度(千米/时), 拥堵排名) CREATE TABLE 全国热门景点 ( 景点id, 日均接待游客数量, 日均外省游客数量, 热度排名) CREATE TABLE 热门出境游城市 ( 城市, 所在国家, 国内游客数量, 排名) -- Using valid SQLite, answer the following questions for the tables provided above. --城市的数量最少的省份,城市的城市面积的最小值 SELECT### Response: select 所属省份 , min ( 城市面积 ) from 城市 group by 所属省份 order by count ( * ) asc limit 1.
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 所属省份 , max ( 城市面积 ) from 城市 group by 所属省份 order by count ( * ) desc limit 1.
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 出版社 , max ( 定价 ) from 文集 group by 出版社 order by avg ( 页数 ) desc limit 1.
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 出版社 , avg ( 页数 ) from 文集 group by 出版社 order by count ( * ) desc limit 1.
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 赛事类型 , sum ( 用时 ) from 赛事记录 group by 赛事类型 order by count ( * ) desc limit 1.
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 赛事类型 , max ( 用时 ) from 赛事记录 group by 赛事类型 order by count ( * ) asc limit 1.
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, 名称, 广告收入, 广告收入占比) 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, 名称, 所属洲) 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 首次登顶时间 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 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, 名称, 级别, 出境游国家数量, 国内游城市数量, 出境游路线数量, 国内游路线数量, 亚洲排名, 接待海外游客数量, 境外公司数量, 控股子公司数量, 有业务关系的旅行商数量, 免税店数量) 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, 朝代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, 时间, 纪念) -- 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, 出发城市, 天数, 预售价格, 参团价格, 起团人数, 个人价格, 景点数) 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, 皇后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, 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 发明时间 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, 是否著名) 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, 名称, 省份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, 名称, 所属国家, 经营范围, 母公司, 主要车系数量, 世界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, 名称, 所属公司, 最低价格, 最高价格, 代言人) 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, 电视剧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 旅游消费 ( 消费段, 占比) CREATE TABLE 出游次数 ( 出游数量段, 占比) 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, 排名, 接待病患数量(万人次), 手术数量) 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 各学部院士分布 ( 年份, 学部, 院士人数, 所占比例) -- 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, 名称, 作者, 作者国籍, 豆瓣评分, 评价人数, 5星占比, 1星占比) 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, 名称, 所属国家, 世界排名, 独立科研机构数量, 重点学科数量) 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, 公司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, 姓名, 领兵出战次数, 胜数, 败数) 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, 城市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, 出版社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 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. --按社消总额对30城消费力降序排列 SELECT### Response: select 城市 from 40城消费力排名 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, 人数) 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 奖金数 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, 名称, 作者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 课程数量 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, 专业, 对应岗位, 拟招聘人数, 基本工资, 工资幅度) 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, 配音演员id, 出场作品) CREATE TABLE 电视剧 ( 词条id, 剧名, 导演, 编剧, 制片人, 集数, 类型) CREATE TABLE 演员及导演作品 ( 演员id, 导演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, 平台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 历届马拉松纪录 ( 年份, 城市, 参赛者最小年龄, 参赛者最大年龄, 全程最少时间) -- 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. --教练年薪升序排列,教练依次叫什么名字? 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, 国家, 实体店数量, 年平均营业额) 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, 行业, 进口额, 进口额增长率, 出口额, 出口额增长率) CREATE TABLE 城市第一产业 ( 城市id, 产业类型, 收入, 收入增长率, 产量, 产量增长率) -- Using valid SQLite, answer the following questions for the tables provided above. --按GDP升序排序,给出相应城市的名称 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, 页数, 定价, 出版社, 出版时间, 开本) -- 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, 是否著名) 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, 名称, 类型, 景区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 中国花卉园博会 ( 时间, 届数, 举办城市, 地点, 展园数量, 参与机构数量) -- 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, 次数) -- 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, 年份, 国家, 提交数量占比) CREATE TABLE 2019年会议各方向分布 ( 方向名称, 会议id, 长文提交量, 长文录取率, 短文提交量, 短文录取率) -- Using valid SQLite, answer the following questions for the tables provided above. --按照建立时间的倒序排列,对应的nlp会议有哪些? 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, 出发城市, 天数, 预售价格, 参团价格, 起团人数, 个人价格, 景点数) 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 客房数量 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 票房 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, 名称, 类型, 首播时间, 集数, 豆瓣评分) CREATE TABLE 历届颁奖晚会 ( 年份, 届数, 电视剧奖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 出生日期 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, 名称, 所属地区, 机位数量, 跑道长度, 跑道数量, 国内航线数量, 国际航线数量, 通航城市, 旅客吞量, 航站楼数量) 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 国内通航城市数量 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, 公司名称, 总部地点, 成立时间, IATA代码, ICAO代码, 年营业额, 员工数) 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 各省份报名人数 ( 省份, 岗位数, 招考人数, 报名人数, 0报名职位数量, 合格人数, 0合格职位数量, 竞争比) 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, 名称, 所属公司, 年化收益率, 存储时间) 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 各省份报名人数 ( 省份, 岗位数, 招考人数, 报名人数, 0报名职位数量, 合格人数, 0合格职位数量, 竞争比) 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, 名称, 主频尺寸, 像素, 内存容量, 操作系统, 解锁方式, 售价, 售出量, 品牌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, 参加比赛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, 冠军数量) CREATE TABLE 羽毛球球员 ( 词条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 比赛间隔年 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, 平台, 售价, 服务费比例) -- 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. --按消费增长率降序排列,生态文明环保消费品都有哪些? 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, 到达站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 收藏榜 ( 网络小说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, 下载量, 评价人数, 好评数) -- 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 2019年房地产企业500强 ( 集团id, 总排名, 发展潜力排名, 成长速度排名, 综合发展排名, 创新能力排名) CREATE TABLE 2019年房地产企业运营100强 ( 集团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 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 高峰论坛数量 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, 季军队id) CREATE TABLE 中国队奥运会成绩 ( 年份, 奥运会名称, 名次, 主帅) 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, 经纪人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 展园数量 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 起送价格 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 奢侈品用户在意维度分布 ( 年龄段, 看中维度, 人数占比) -- 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 CBA总冠军 ( 赛季, 冠军球队id, 亚军球队id) CREATE TABLE 最有价值球员 ( 赛季, 球员id, 球队id) -- Using valid SQLite, answer the following questions for the tables provided above. --按cba篮球运动员出生日期倒序排列,都有哪些人? 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, 会员性别, 25~30岁会员数量, 31~35岁会员数量, 36~40岁会员数量, 41~45岁会员数量, 45~55岁会员数量) 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, 名称, 位于城市, 所属省份, 年营业额, 国内排名, 世界排名) -- 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, 城市, 演出时间, 售出票数, 最高票价, 最低票价) -- 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 首版时间 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, 名称, 所属区域) 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) 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, 费用) -- 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, 名称, 所属公司, 最低价格, 最高价格, 代言人) 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, 菜名, 口味, 月销售量, 必点比例) -- 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, 国籍) 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, 颁奖地点) 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 创办时间 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.