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,
赛事,
类别)
CREATE TABLE CBA总冠军... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 篮球队 (
词条id,
队名,
所属地区,
成立时间,
主场馆,
容纳人数,
主教练,
赞助商家)
CREATE TABLE 篮球运动员 (
词条id,
姓名,
国籍,
民族,
出生地,
出生日期,
身高,
体重,
所属球队id,
场上位置)
CREATE TABLE 运动员赛事记录 (
球员id,
赛事,
类别)
CREATE TABLE CBA总冠军... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 演员 (
词条id,
姓名,
民族,
星座,
血型,
身高,
体重,
出生地,
出生日期,
毕业院校)
CREATE TABLE 导演 (
词条id,
姓名,
出生地,
出生日期,
毕业院校)
CREATE TABLE 角色 (
词条id,
姓名,
饰演演员id,
配音演员id,
出场作品)
CREATE TABLE 电视剧 (
词条id,
剧名,
导演... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 理财公司 (
词条id,
公司名称,
创立时间,
官网,
所属集团)
CREATE TABLE 银行 (
词条id,
名称,
总部地点,
所属城市,
所属省份,
成立时间,
公司类型)
CREATE TABLE 理财公司合作银行 (
公司id,
银行id,
合作时间,
是否有电子银行)
CREATE TABLE 理财产品 (
产品,
公司id,
支持银行... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 理财公司 (
词条id,
公司名称,
创立时间,
官网,
所属集团)
CREATE TABLE 银行 (
词条id,
名称,
总部地点,
所属城市,
所属省份,
成立时间,
公司类型)
CREATE TABLE 理财公司合作银行 (
公司id,
银行id,
合作时间,
是否有电子银行)
CREATE TABLE 理财产品 (
产品,
公司id,
支持银行... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 理财公司 (
词条id,
公司名称,
创立时间,
官网,
所属集团)
CREATE TABLE 银行 (
词条id,
名称,
总部地点,
所属城市,
所属省份,
成立时间,
公司类型)
CREATE TABLE 理财公司合作银行 (
公司id,
银行id,
合作时间,
是否有电子银行)
CREATE TABLE 理财产品 (
产品,
公司id,
支持银行... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 代言明星 (
词条id,
姓名,
性别,
年龄,
所属国家,
职业,
财富排名)
CREATE TABLE 智能手机品牌 (
词条id,
名称,
所属国家,
世界500强排名,
出货量,
市场份额)
CREATE TABLE 手机代言明星 (
明星id,
品牌id,
开始年份,
代言年数,
代言费,
代言型号数量)
-- Using valid SQL... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 动物 (
词条id,
中文学名,
食性,
是否是人类朋友,
理由)
CREATE TABLE 动物的天敌 (
动物id,
天敌id,
克星原因)
CREATE TABLE 动物朋友 (
动物id,
朋友id)
-- Using valid SQLite, answer the following questions for the tables pro... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 篮球运动员 (
词条id,
中文名,
国籍,
出生地,
出生日期,
身高,
体重,
毕业院校,
场上位置)
CREATE TABLE 比赛场馆 (
词条id,
名称,
容纳人数)
CREATE TABLE 篮球俱乐部 (
词条id,
中文队名,
所属地区,
成立时间,
主场馆id,
赛区)
CREATE TABLE 俱乐部现役球员 (
球员id,
俱乐部... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 篮球运动员 (
词条id,
中文名,
国籍,
出生地,
出生日期,
身高,
体重,
毕业院校,
场上位置)
CREATE TABLE 比赛场馆 (
词条id,
名称,
容纳人数)
CREATE TABLE 篮球俱乐部 (
词条id,
中文队名,
所属地区,
成立时间,
主场馆id,
赛区)
CREATE TABLE 俱乐部现役球员 (
球员id,
俱乐部... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 (
词条id,
名称,
所属省份,
行政级别,
车牌代码)
CREATE TABLE 城市城建 (
年份,
城市id,
市区面积,
建成区面积,
城市建设用地面积,
本年征地面积,
建成区排名)
CREATE TABLE 城市外资吸引力 (
年份,
城市id,
工业总产值(亿),
内资(亿),
外资(亿),
省内排名)
CREATE TABLE 城... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 演职员 (
词条id,
姓名,
身高,
体重,
出生地,
出生日期,
毕业院校,
职业)
CREATE TABLE 电影 (
词条id,
电影名称,
制片地区,
制片成本,
片长,
导演,
上映时间,
票房,
类型)
CREATE TABLE 演员和电影 (
演员id,
电影id,
饰演角色,
片酬)
CREATE TABLE 电影平台 (
电影id,
... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 演员 (
词条id,
姓名,
民族,
星座,
血型,
身高,
体重,
出生地,
出生日期,
毕业院校)
CREATE TABLE 导演 (
词条id,
姓名,
出生地,
出生日期,
毕业院校)
CREATE TABLE 角色 (
词条id,
姓名,
饰演演员id,
配音演员id,
出场作品)
CREATE TABLE 电视剧 (
词条id,
剧名,
导演... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 演员 (
词条id,
姓名,
民族,
星座,
血型,
身高,
体重,
出生地,
出生日期,
毕业院校)
CREATE TABLE 导演 (
词条id,
姓名,
出生地,
出生日期,
毕业院校)
CREATE TABLE 角色 (
词条id,
姓名,
饰演演员id,
配音演员id,
出场作品)
CREATE TABLE 电视剧 (
词条id,
剧名,
导演... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 演员 (
词条id,
姓名,
民族,
星座,
血型,
身高,
体重,
出生地,
出生日期,
毕业院校)
CREATE TABLE 导演 (
词条id,
姓名,
出生地,
出生日期,
毕业院校)
CREATE TABLE 角色 (
词条id,
姓名,
饰演演员id,
配音演员id,
出场作品)
CREATE TABLE 电视剧 (
词条id,
剧名,
导演... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 省份 (
词条id,
名称,
南北区域,
东西区域,
5区域)
CREATE TABLE 平均身高和寿命 (
省份id,
性别,
平均身高,
平均寿命)
CREATE TABLE 各省美女比例 (
省份id,
评价者来自区域,
美女比例,
美女平均颜值分数)
CREATE TABLE 各省市容评分 (
省份id,
评价者来自区域,
市容评分,
市民素质评... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 八大行星 (
词条id,
名称,
距日距离,
表面积,
体积排名,
重量排名,
最高温度,
最低温度)
CREATE TABLE 行星相关电影 (
词条id,
影片名,
导演,
拍摄国家,
豆瓣评分,
关联行星id)
CREATE TABLE 火星探测国家 (
探测器,
发射时间,
国家,
结果)
CREATE TABLE 月球探测国家 (
飞行器,
时... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 八大行星 (
词条id,
名称,
距日距离,
表面积,
体积排名,
重量排名,
最高温度,
最低温度)
CREATE TABLE 行星相关电影 (
词条id,
影片名,
导演,
拍摄国家,
豆瓣评分,
关联行星id)
CREATE TABLE 火星探测国家 (
探测器,
发射时间,
国家,
结果)
CREATE TABLE 月球探测国家 (
飞行器,
时... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 国家 (
词条id,
名称,
所属洲,
注册公司数量,
上市公司数量)
CREATE TABLE 世界最赚钱公司 (
词条id,
名称,
所属国家id,
年利润,
世界排名)
CREATE TABLE 中国最赚钱公司 (
词条id,
名称,
位于城市,
所属省份,
年营业额,
国内排名,
世界排名)
-- Using valid SQLite, ans... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 比赛 (
词条id,
名称,
方向,
举办单位,
单位性质,
奖金数,
录取队伍数量,
比赛平台)
CREATE TABLE 参赛队伍 (
词条id,
队名,
人数)
CREATE TABLE 参赛学生 (
词条id,
姓名,
年龄,
学历,
学校)
CREATE TABLE 参赛成绩 (
学生id,
加入队伍id,
参加比赛id,
成绩)
-- U... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 事业群 (
词条id,
名称,
负责人,
员工数量,
目标营收,
成本支出)
CREATE TABLE 部门 (
词条id,
部门名称,
职责,
所属群id)
CREATE TABLE 员工 (
词条id,
姓名,
职称,
薪资,
年龄,
工龄,
所属部门id)
CREATE TABLE 部门人员 (
部门id,
年份,
员工数量,
离职人数,
招聘人数... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 事业群 (
词条id,
名称,
负责人,
员工数量,
目标营收,
成本支出)
CREATE TABLE 部门 (
词条id,
部门名称,
职责,
所属群id)
CREATE TABLE 员工 (
词条id,
姓名,
职称,
薪资,
年龄,
工龄,
所属部门id)
CREATE TABLE 部门人员 (
部门id,
年份,
员工数量,
离职人数,
招聘人数... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 旅行社 (
词条id,
名称,
级别,
出境游国家数量,
国内游城市数量,
出境游路线数量,
国内游路线数量,
亚洲排名,
接待海外游客数量,
境外公司数量,
控股子公司数量,
有业务关系的旅行商数量,
免税店数量)
CREATE TABLE 出境游路线 (
词条id,
路线名称,
旅行社id,
出发城市,
天数,
成人价格,
儿童价格,
国家数量,
景点数... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 旅行社 (
词条id,
名称,
级别,
出境游国家数量,
国内游城市数量,
出境游路线数量,
国内游路线数量,
亚洲排名,
接待海外游客数量,
境外公司数量,
控股子公司数量,
有业务关系的旅行商数量,
免税店数量)
CREATE TABLE 出境游路线 (
词条id,
路线名称,
旅行社id,
出发城市,
天数,
成人价格,
儿童价格,
国家数量,
景点数... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 旅行社 (
词条id,
名称,
级别,
出境游国家数量,
国内游城市数量,
出境游路线数量,
国内游路线数量,
亚洲排名,
接待海外游客数量,
境外公司数量,
控股子公司数量,
有业务关系的旅行商数量,
免税店数量)
CREATE TABLE 出境游路线 (
词条id,
路线名称,
旅行社id,
出发城市,
天数,
成人价格,
儿童价格,
国家数量,
景点数... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 北京小区 (
词条id,
名称,
所属区域,
楼栋数,
户数,
周边小学数量,
周边超市数量,
周边医院数量)
CREATE TABLE 小区各月成交量 (
小区id,
月份,
成交量,
成交量同比增长,
成交均价,
成交价同比增长)
CREATE TABLE 成交房屋 (
房屋编号id,
建筑面积,
使用面积,
卧室数量,
厅数量,
总价,
单价,
所属... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 北京小区 (
词条id,
名称,
所属区域,
楼栋数,
户数,
周边小学数量,
周边超市数量,
周边医院数量)
CREATE TABLE 小区各月成交量 (
小区id,
月份,
成交量,
成交量同比增长,
成交均价,
成交价同比增长)
CREATE TABLE 成交房屋 (
房屋编号id,
建筑面积,
使用面积,
卧室数量,
厅数量,
总价,
单价,
所属... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 (
词条id,
名称,
气候地带,
所属国家,
所属洲)
CREATE TABLE 动物 (
词条id,
中文学名,
所属纲,
所属科,
食性,
濒危级别,
保护级别)
CREATE TABLE 动物分布城市 (
动物id,
城市id,
现存数量)
CREATE TABLE 动物电影 (
词条id,
影片名,
动物id,
拍摄国家,
类型)
CR... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 运动员 (
词条id,
姓名,
性别,
国籍,
体育项目)
CREATE TABLE 劳伦斯提名名单 (
年份,
提名人id,
提名奖项,
提名理由)
CREATE TABLE 劳伦斯获奖名单 (
年份,
奖项,
获奖人id)
CREATE TABLE 劳伦斯获奖国家名单 (
国家,
获奖人性别,
获奖人数,
所占比例)
-- Using valid... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 作者 (
词条id,
姓名,
国籍,
毕业院校,
民族)
CREATE TABLE 文集 (
词条id,
名称,
作者id,
页数,
定价,
出版社,
出版时间,
开本)
-- Using valid SQLite, answer the following questions for the tables provided above.
--如果作者... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 华语电影奖 (
词条id,
名称,
创办时间,
颁奖周期,
颁奖地点)
CREATE TABLE 演员 (
词条id,
姓名,
性别,
年龄,
主演电影数,
出演电影数,
获得提名数,
获奖次数)
CREATE TABLE 电影 (
词条id,
名称,
上映时间,
片长,
票房,
获奖次数)
CREATE TABLE 华语电影奖提名名单 (
年份,
届数... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 北京学校 (
词条id,
名称,
所属地区,
创办时间,
类别,
学校人数,
教职工人数,
教学班数量)
CREATE TABLE 小升初升学率 (
年份,
学校id,
毕业人数,
重点中学升学率,
top10中学升学率)
CREATE TABLE 教师 (
词条id,
姓名,
职称,
任教学校id)
CREATE TABLE 分校 (
分校名称,
所属... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 (
词条id,
名称,
所属省份,
市区面积)
CREATE TABLE IMAX电影院 (
词条id,
影院名称,
所在城市id,
开业时间,
屏幕宽,
屏幕高,
屏幕面积,
座位数)
CREATE TABLE 影院放映电影数量 (
年份,
影院id,
电影数量,
营收)
-- Using valid SQLite, answer the fo... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 代言明星 (
词条id,
姓名,
性别,
年龄,
所属国家,
职业,
财富排名)
CREATE TABLE 智能手机品牌 (
词条id,
名称,
所属国家,
世界500强排名,
出货量,
市场份额)
CREATE TABLE 手机代言明星 (
明星id,
品牌id,
开始年份,
代言年数,
代言费,
代言型号数量)
-- Using valid SQL... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 代言明星 (
词条id,
姓名,
性别,
年龄,
所属国家,
职业,
财富排名)
CREATE TABLE 智能手机品牌 (
词条id,
名称,
所属国家,
世界500强排名,
出货量,
市场份额)
CREATE TABLE 手机代言明星 (
明星id,
品牌id,
开始年份,
代言年数,
代言费,
代言型号数量)
-- Using valid SQL... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 银行总部 (
词条id,
名称,
总部地点,
成立时间,
公司类型)
CREATE TABLE 年营业额 (
年份,
银行id,
营业额,
员工数,
世界五百强排名)
CREATE TABLE 城市 (
词条id,
名称,
所属省份,
所属区域)
CREATE TABLE 银行服务网点 (
银行id,
城市id,
建成数量,
规划数量)
-- Usi... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 峰会 (
词条id,
名称,
主办单位,
举办时间,
历时天数,
举办地点,
分论坛数量,
门票价格,
门票数量,
报名人数,
直播观看人数)
CREATE TABLE 嘉宾 (
词条id,
姓名,
任职单位,
职位)
CREATE TABLE 峰会嘉宾 (
嘉宾id,
峰会id,
演讲主题,
论坛,
开始时间,
演讲时长)
CREATE TABLE 峰... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 峰会 (
词条id,
名称,
主办单位,
举办时间,
历时天数,
举办地点,
分论坛数量,
门票价格,
门票数量,
报名人数,
直播观看人数)
CREATE TABLE 嘉宾 (
词条id,
姓名,
任职单位,
职位)
CREATE TABLE 峰会嘉宾 (
嘉宾id,
峰会id,
演讲主题,
论坛,
开始时间,
演讲时长)
CREATE TABLE 峰... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 事业群 (
词条id,
名称,
负责人,
员工数量,
目标营收,
成本支出)
CREATE TABLE 部门 (
词条id,
部门名称,
职责,
所属群id)
CREATE TABLE 员工 (
词条id,
姓名,
职称,
薪资,
年龄,
工龄,
所属部门id)
CREATE TABLE 部门人员 (
部门id,
年份,
员工数量,
离职人数,
招聘人数... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 事业群 (
词条id,
名称,
负责人,
员工数量,
目标营收,
成本支出)
CREATE TABLE 部门 (
词条id,
部门名称,
职责,
所属群id)
CREATE TABLE 员工 (
词条id,
姓名,
职称,
薪资,
年龄,
工龄,
所属部门id)
CREATE TABLE 部门人员 (
部门id,
年份,
员工数量,
离职人数,
招聘人数... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 书籍 (
词条id,
名称,
作者,
作者国籍,
豆瓣评分,
评价人数,
5星占比,
1星占比)
CREATE TABLE 高分图书榜单 (
年份,
书籍id,
评分,
排名)
CREATE TABLE 最受关注图书榜单 (
年份,
书籍id,
关注数,
排名)
CREATE TABLE 最畅销图书榜单 (
年份,
书籍id,
购买数,
排名)
CRE... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 书籍 (
词条id,
名称,
作者,
作者国籍,
豆瓣评分,
评价人数,
5星占比,
1星占比)
CREATE TABLE 高分图书榜单 (
年份,
书籍id,
评分,
排名)
CREATE TABLE 最受关注图书榜单 (
年份,
书籍id,
关注数,
排名)
CREATE TABLE 最畅销图书榜单 (
年份,
书籍id,
购买数,
排名)
CRE... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 书籍 (
词条id,
名称,
作者,
作者国籍,
豆瓣评分,
评价人数,
5星占比,
1星占比)
CREATE TABLE 高分图书榜单 (
年份,
书籍id,
评分,
排名)
CREATE TABLE 最受关注图书榜单 (
年份,
书籍id,
关注数,
排名)
CREATE TABLE 最畅销图书榜单 (
年份,
书籍id,
购买数,
排名)
CRE... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 游戏公司 (
词条id,
名称,
国家,
公司性质,
年收益,
游戏数量)
CREATE TABLE 游戏 (
词条id,
名称,
注册玩家数量,
日在线玩家数量,
游戏画面评分,
游戏音乐评分,
游戏性评分,
游戏特色评分,
相关服务评分)
CREATE TABLE 公司和游戏 (
游戏id,
公司id,
发行形式,
收益额,
收益占公司比例)
--... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 文学奖 (
词条id,
名称,
设立时间,
设立原因,
举办间隔年限)
CREATE TABLE 文学奖项颁奖奖项 (
文学奖id,
奖项)
CREATE TABLE 文学作品 (
词条id,
名称,
作者,
创作年代,
首版时间,
字数)
CREATE TABLE 文学奖获奖名单 (
届数,
作品id,
作者,
出版社)
-- Using vali... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 文学奖 (
词条id,
名称,
设立时间,
设立原因,
举办间隔年限)
CREATE TABLE 文学奖项颁奖奖项 (
文学奖id,
奖项)
CREATE TABLE 文学作品 (
词条id,
名称,
作者,
创作年代,
首版时间,
字数)
CREATE TABLE 文学奖获奖名单 (
届数,
作品id,
作者,
出版社)
-- Using vali... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 文学奖 (
词条id,
名称,
设立时间,
设立原因,
举办间隔年限)
CREATE TABLE 文学奖项颁奖奖项 (
文学奖id,
奖项)
CREATE TABLE 文学作品 (
词条id,
名称,
作者,
创作年代,
首版时间,
字数)
CREATE TABLE 文学奖获奖名单 (
届数,
作品id,
作者,
出版社)
-- Using vali... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 酒店 (
词条id,
名称,
地址,
距火车站距离,
距机场距离,
距汽车站距离,
距市中心距离,
周围景点数,
周围饭店数量)
CREATE TABLE 酒店交通 (
酒店id,
地铁线路,
地铁站名称,
步行距离)
CREATE TABLE 酒店客房 (
酒店id,
房型,
早餐,
价格,
剩余房间数)
-- Using valid SQLite,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 酒店 (
词条id,
名称,
地址,
距火车站距离,
距机场距离,
距汽车站距离,
距市中心距离,
周围景点数,
周围饭店数量)
CREATE TABLE 酒店交通 (
酒店id,
地铁线路,
地铁站名称,
步行距离)
CREATE TABLE 酒店客房 (
酒店id,
房型,
早餐,
价格,
剩余房间数)
-- Using valid SQLite,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 诗人 (
词条id,
姓名,
性别,
所处朝代,
年龄,
作品数量,
称号)
CREATE TABLE 诗词 (
词条id,
诗词名,
作者id,
文学体裁,
传播度)
CREATE TABLE 做官的诗人 (
诗人id,
所处年号,
做官时间)
CREATE TABLE 纪念景点 (
词条id,
名称,
所属城市,
地址,
纪念人物id)
-- U... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 视频平台 (
词条id,
平台名称,
有无插件,
客户端大小,
会费,
好评率)
CREATE TABLE 各视频平台自制剧 (
词条id,
名称,
平台id,
播出年份,
类型,
观看量,
评分)
CREATE TABLE 体育赛事 (
词条id,
名称,
所属项目)
CREATE TABLE 赛事转播 (
赛事id,
平台id,
转播费)
-- ... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 视频平台 (
词条id,
平台名称,
有无插件,
客户端大小,
会费,
好评率)
CREATE TABLE 各视频平台自制剧 (
词条id,
名称,
平台id,
播出年份,
类型,
观看量,
评分)
CREATE TABLE 体育赛事 (
词条id,
名称,
所属项目)
CREATE TABLE 赛事转播 (
赛事id,
平台id,
转播费)
-- ... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 视频平台 (
词条id,
平台名称,
有无插件,
客户端大小,
会费,
好评率)
CREATE TABLE 各视频平台自制剧 (
词条id,
名称,
平台id,
播出年份,
类型,
观看量,
评分)
CREATE TABLE 体育赛事 (
词条id,
名称,
所属项目)
CREATE TABLE 赛事转播 (
赛事id,
平台id,
转播费)
-- ... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 笔记本公司 (
词条id,
名称,
创始人,
所属国家,
世界500强排名)
CREATE TABLE 笔记本产品 (
词条id,
名称,
代言人,
公司id)
CREATE TABLE 笔记本型号系列 (
词条id,
名称,
屏幕尺寸,
分辨率,
内存容量,
硬盘容量,
CPU主频,
CPU型号,
售价,
上市时间,
产品id)
CREATE TABL... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 笔记本公司 (
词条id,
名称,
创始人,
所属国家,
世界500强排名)
CREATE TABLE 笔记本产品 (
词条id,
名称,
代言人,
公司id)
CREATE TABLE 笔记本型号系列 (
词条id,
名称,
屏幕尺寸,
分辨率,
内存容量,
硬盘容量,
CPU主频,
CPU型号,
售价,
上市时间,
产品id)
CREATE TABL... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 酒店集团 (
词条id,
名称,
总部所在省,
上级主管部门,
酒店数量,
客房数量,
省排名,
中国500最具价值品牌排名,
全球酒店集团300强排名)
CREATE TABLE 酒店 (
词条id,
名称,
酒店地址,
开业时间,
酒店星级,
所属集团id,
客房数量,
大厅容纳人数)
CREATE TABLE 机场 (
词条id,
名称,
所属城市,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 酒店集团 (
词条id,
名称,
总部所在省,
上级主管部门,
酒店数量,
客房数量,
省排名,
中国500最具价值品牌排名,
全球酒店集团300强排名)
CREATE TABLE 酒店 (
词条id,
名称,
酒店地址,
开业时间,
酒店星级,
所属集团id,
客房数量,
大厅容纳人数)
CREATE TABLE 机场 (
词条id,
名称,
所属城市,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 (
词条id,
名称,
成立时间,
创始人,
所属省份)
CREATE TABLE 购物网 (
词条id,
网站名称,
所属公司id,
上线时间,
官网,
百度权重,
PR值,
反链数,
综合分数,
总排名,
所在省排名,
电商网站排名)
CREATE TABLE 活动日 (
词条id,
活动名称,
时间,
发明公司id)
CREATE TABLE... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 (
词条id,
名称,
所属省份,
餐饮收入,
同比增长)
CREATE TABLE 餐饮公司 (
词条id,
名称,
总部城市id,
所属集团,
上市股市,
经营范围,
经营年数)
CREATE TABLE 餐饮公司城市连锁 (
公司id,
城市id,
分店数量,
占地面积,
餐位数量,
员工数量)
CREATE TABLE 餐饮公司城市消费 (... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 (
词条id,
名称,
所属省份,
餐饮收入,
同比增长)
CREATE TABLE 餐饮公司 (
词条id,
名称,
总部城市id,
所属集团,
上市股市,
经营范围,
经营年数)
CREATE TABLE 餐饮公司城市连锁 (
公司id,
城市id,
分店数量,
占地面积,
餐位数量,
员工数量)
CREATE TABLE 餐饮公司城市消费 (... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国电视剧奖 (
词条id,
名称,
主办单位,
创办时间)
CREATE TABLE 演职员 (
词条id,
姓名,
出生地,
出生日期,
毕业院校,
职业)
CREATE TABLE 电视剧 (
词条id,
名称,
类型,
首播时间,
集数,
豆瓣评分)
CREATE TABLE 历届颁奖晚会 (
年份,
届数,
电视剧奖id,
颁奖地点)
CRE... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 学校 (
词条id,
名称,
类型,
所在城市,
所属省份,
是否985院校,
是否211院校,
2016届平均月薪,
2014届平均月薪,
2012届平均月薪)
CREATE TABLE 学校毕业人数 (
学校id,
学历,
2016届人数,
2014届人数,
2012届人数)
CREATE TABLE 专业 (
词条id,
名称,
学科类型,
冷热门)... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 学校 (
词条id,
名称,
类型,
所在城市,
所属省份,
是否985院校,
是否211院校,
2016届平均月薪,
2014届平均月薪,
2012届平均月薪)
CREATE TABLE 学校毕业人数 (
学校id,
学历,
2016届人数,
2014届人数,
2012届人数)
CREATE TABLE 专业 (
词条id,
名称,
学科类型,
冷热门)... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 学校 (
词条id,
名称,
类型,
所在城市,
所属省份,
是否985院校,
是否211院校,
2016届平均月薪,
2014届平均月薪,
2012届平均月薪)
CREATE TABLE 学校毕业人数 (
学校id,
学历,
2016届人数,
2014届人数,
2012届人数)
CREATE TABLE 专业 (
词条id,
名称,
学科类型,
冷热门)... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 篮球运动员 (
词条id,
中文名,
参加选秀年,
是否状元,
获得球队,
毕业院校)
CREATE TABLE MVP记录 (
赛季,
球员id,
国籍,
所属球队)
CREATE TABLE 球队 (
词条id,
中文队名,
赛区,
所属联盟,
夺冠次数)
CREATE TABLE NBA总冠军 (
赛季,
球队id,
总教练)
-- Using... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 笔记本公司 (
词条id,
名称,
创始人,
所属国家,
世界500强排名)
CREATE TABLE 笔记本产品 (
词条id,
名称,
代言人,
公司id)
CREATE TABLE 笔记本型号系列 (
词条id,
名称,
屏幕尺寸,
分辨率,
内存容量,
硬盘容量,
CPU主频,
CPU型号,
售价,
上市时间,
产品id)
CREATE TABL... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 台风 (
词条id,
名称,
登陆地点,
登陆时间,
登陆强度,
持续天数,
影响地区数,
死亡人数,
经济损失)
CREATE TABLE 台风影响的中国省份 (
台风id,
省份,
登陆强度,
死亡人数,
失踪人数)
CREATE TABLE 台风影响的国家 (
台风id,
国家,
经济损失)
-- Using valid SQLite, answ... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 省份 (
词条id,
省份名称,
985高校数量,
211高校数量,
2018年本科录取率,
2019年本科录取率)
CREATE TABLE 各省院士 (
年份,
籍贯id,
科学院院士数量,
工程院院士数量)
CREATE TABLE 高校 (
词条id,
学校名称,
院士校友人数,
学校排名,
星级,
办学层次)
CREATE TABLE 2019... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 各省中小学假期 (
省份,
年级,
寒假天数,
暑假天数)
CREATE TABLE 大学假期 (
学校,
所属省份,
寒假天数,
暑假天数)
-- Using valid SQLite, answer the following questions for the tables provided above.
--如果大学有寒假30天,或者暑假有小于... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 各省中小学假期 (
省份,
年级,
寒假天数,
暑假天数)
CREATE TABLE 大学假期 (
学校,
所属省份,
寒假天数,
暑假天数)
-- Using valid SQLite, answer the following questions for the tables provided above.
--如果大学有寒假不大于30的天数,或者... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 电商 (
词条id,
名称,
所属公司,
类型,
影响力指数,
排名,
上线国家数量)
CREATE TABLE 电商覆盖国家 (
电商id,
支持国家,
上线时间,
负责的分公司名称)
CREATE TABLE 商家 (
词条id,
名称,
所属国家,
主营类别,
网店覆盖国家数量,
实体店数量,
入驻电商数量)
CREATE TABLE 商家网点覆盖... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 旅行社 (
词条id,
名称,
级别,
出境游国家数量,
国内游城市数量,
出境游路线数量,
国内游路线数量,
亚洲排名,
接待海外游客数量,
境外公司数量,
控股子公司数量,
有业务关系的旅行商数量,
免税店数量)
CREATE TABLE 出境游路线 (
词条id,
路线名称,
旅行社id,
出发城市,
天数,
成人价格,
儿童价格,
国家数量,
景点数... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 旅行社 (
词条id,
名称,
级别,
出境游国家数量,
国内游城市数量,
出境游路线数量,
国内游路线数量,
亚洲排名,
接待海外游客数量,
境外公司数量,
控股子公司数量,
有业务关系的旅行商数量,
免税店数量)
CREATE TABLE 出境游路线 (
词条id,
路线名称,
旅行社id,
出发城市,
天数,
成人价格,
儿童价格,
国家数量,
景点数... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 旅行社 (
词条id,
名称,
级别,
出境游国家数量,
国内游城市数量,
出境游路线数量,
国内游路线数量,
亚洲排名,
接待海外游客数量,
境外公司数量,
控股子公司数量,
有业务关系的旅行商数量,
免税店数量)
CREATE TABLE 出境游路线 (
词条id,
路线名称,
旅行社id,
出发城市,
天数,
成人价格,
儿童价格,
国家数量,
景点数... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 (
词条id,
名称,
总部地点,
公司类型)
CREATE TABLE 学校 (
词条id,
学校名称,
成立时间,
所在城市,
所属省份,
所属国家)
CREATE TABLE 联合实验室 (
实验室名称,
所属学校id,
公司id,
联合方向,
开始时间,
合作年数,
论文产出数量)
CREATE TABLE 海外研究中心 (
研究中心,
所... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 八大行星 (
词条id,
名称,
距日距离,
表面积,
体积排名,
重量排名,
最高温度,
最低温度)
CREATE TABLE 行星相关电影 (
词条id,
影片名,
导演,
拍摄国家,
豆瓣评分,
关联行星id)
CREATE TABLE 火星探测国家 (
探测器,
发射时间,
国家,
结果)
CREATE TABLE 月球探测国家 (
飞行器,
时... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 空调品牌 (
词条id,
名称,
所属公司,
国家,
亚洲企业排名,
中国上市公司排名)
CREATE TABLE 空调型号 (
词条id,
名称,
毛重,
频数类型,
匹数,
类别,
用途,
制冷量,
制热量,
定价,
制冷剂,
品牌id)
CREATE TABLE 匹数对应面积 (
匹数,
最小面积,
最大面积)
CREATE TABLE 空调各季度... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 空调品牌 (
词条id,
名称,
所属公司,
国家,
亚洲企业排名,
中国上市公司排名)
CREATE TABLE 空调型号 (
词条id,
名称,
毛重,
频数类型,
匹数,
类别,
用途,
制冷量,
制热量,
定价,
制冷剂,
品牌id)
CREATE TABLE 匹数对应面积 (
匹数,
最小面积,
最大面积)
CREATE TABLE 空调各季度... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 明星 (
词条id,
姓名,
年龄,
毕业院校,
毕业时间)
CREATE TABLE 明星夫妻 (
明星id,
配偶id,
结婚时间,
子女数量)
CREATE TABLE 离异明星 (
明星id,
配偶id,
离异时间,
子女数量)
CREATE TABLE 明星好友 (
明星id,
好友id,
关系)
-- Using valid SQLite... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 省份 (
词条id,
省份名称,
985高校数量,
211高校数量,
2018年本科录取率,
2019年本科录取率)
CREATE TABLE 各省院士 (
年份,
籍贯id,
科学院院士数量,
工程院院士数量)
CREATE TABLE 高校 (
词条id,
学校名称,
院士校友人数,
学校排名,
星级,
办学层次)
CREATE TABLE 2019... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 省份 (
词条id,
省份名称,
985高校数量,
211高校数量,
2018年本科录取率,
2019年本科录取率)
CREATE TABLE 各省院士 (
年份,
籍贯id,
科学院院士数量,
工程院院士数量)
CREATE TABLE 高校 (
词条id,
学校名称,
院士校友人数,
学校排名,
星级,
办学层次)
CREATE TABLE 2019... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 电视机品牌 (
词条id,
名称,
所属公司,
国家,
市场份额)
CREATE TABLE 电视机型号 (
词条id,
名称,
产品定位,
屏幕尺寸,
屏幕比例,
分辨率,
背光灯寿命,
定价,
品牌id)
CREATE TABLE 电视机平台售卖 (
型号id,
平台,
售价,
最高价格,
最低价格,
售卖量,
用户评分)
CREATE TABLE ... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 电视机品牌 (
词条id,
名称,
所属公司,
国家,
市场份额)
CREATE TABLE 电视机型号 (
词条id,
名称,
产品定位,
屏幕尺寸,
屏幕比例,
分辨率,
背光灯寿命,
定价,
品牌id)
CREATE TABLE 电视机平台售卖 (
型号id,
平台,
售价,
最高价格,
最低价格,
售卖量,
用户评分)
CREATE TABLE ... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE G20峰会 (
词条id,
名称,
年份,
届次,
主办国,
主办城市,
参加国家数量)
CREATE TABLE 世界经济论坛 (
年份,
届次,
参加国家数量,
参加的元首人数,
参加总人数,
研讨会数量)
CREATE TABLE 世界物联网博览会 (
词条id,
名称,
年份,
高峰论坛数量,
参会嘉宾数,
参会企业数,
观展人数)
CREATE... |
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... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 各届金曲奖 (
词条id,
名称,
年份,
奖项数量,
主持人,
参赛作品数量,
入围作品数量)
CREATE TABLE 歌手 (
词条id,
姓名,
性别,
出生地,
专辑数量,
歌曲数量,
演唱会总场次,
粉丝总数,
红粉数量)
CREATE TABLE 歌手签约唱片公司 (
歌手id,
唱片公司,
签约时间)
CREATE TABLE 金曲奖提名... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 各届金曲奖 (
词条id,
名称,
年份,
奖项数量,
主持人,
参赛作品数量,
入围作品数量)
CREATE TABLE 歌手 (
词条id,
姓名,
性别,
出生地,
专辑数量,
歌曲数量,
演唱会总场次,
粉丝总数,
红粉数量)
CREATE TABLE 歌手签约唱片公司 (
歌手id,
唱片公司,
签约时间)
CREATE TABLE 金曲奖提名... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 朝代 (
词条id,
名称,
起始时间,
结束时间,
都城,
人口数量,
国土面积)
CREATE TABLE 皇帝 (
词条id,
中文名,
所处朝代id,
出生时间,
去世时间,
主要成就,
年号)
CREATE TABLE 各朝代皇帝 (
皇帝id,
朝代id,
登基时间,
在位时间,
第几位)
CREATE TABLE 年号 (
年号,
朝代id... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 朝代 (
词条id,
名称,
起始时间,
结束时间,
都城,
人口数量,
国土面积)
CREATE TABLE 皇帝 (
词条id,
中文名,
所处朝代id,
出生时间,
去世时间,
主要成就,
年号)
CREATE TABLE 各朝代皇帝 (
皇帝id,
朝代id,
登基时间,
在位时间,
第几位)
CREATE TABLE 年号 (
年号,
朝代id... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 民族 (
词条id,
名称,
人口,
语言,
宗教信仰)
CREATE TABLE 民族城市 (
民族id,
城市名称,
人口,
比例)
CREATE TABLE 民俗节日 (
节日,
民族id,
时间,
纪念)
-- Using valid SQLite, answer the following questions for the tables p... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 旅行社 (
词条id,
名称,
级别,
出境游国家数量,
国内游城市数量,
出境游路线数量,
国内游路线数量,
亚洲排名,
接待海外游客数量,
境外公司数量,
控股子公司数量,
有业务关系的旅行商数量,
免税店数量)
CREATE TABLE 出境游路线 (
词条id,
路线名称,
旅行社id,
出发城市,
天数,
成人价格,
儿童价格,
国家数量,
景点数... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 旅行社 (
词条id,
名称,
级别,
出境游国家数量,
国内游城市数量,
出境游路线数量,
国内游路线数量,
亚洲排名,
接待海外游客数量,
境外公司数量,
控股子公司数量,
有业务关系的旅行商数量,
免税店数量)
CREATE TABLE 出境游路线 (
词条id,
路线名称,
旅行社id,
出发城市,
天数,
成人价格,
儿童价格,
国家数量,
景点数... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 皇帝 (
词条id,
姓名,
年号,
所处朝代,
子女数量,
皇后数量,
妃子数量)
CREATE TABLE 皇后和妃子 (
词条id,
谥号,
夫君id,
年龄,
皇子数量,
公主数量)
CREATE TABLE 皇帝皇后合葬 (
皇帝id,
皇后id,
葬地)
CREATE TABLE 皇帝皇后影视形象 (
作品,
皇帝id,
皇帝饰演者,
皇后i... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 皇帝 (
词条id,
姓名,
年号,
所处朝代,
子女数量,
皇后数量,
妃子数量)
CREATE TABLE 皇后和妃子 (
词条id,
谥号,
夫君id,
年龄,
皇子数量,
公主数量)
CREATE TABLE 皇帝皇后合葬 (
皇帝id,
皇后id,
葬地)
CREATE TABLE 皇帝皇后影视形象 (
作品,
皇帝id,
皇帝饰演者,
皇后i... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 景区 (
词条id,
名称,
占地面积,
景点级别,
旺季门票价格,
淡季门票价格,
始建时间,
所属城市,
所属省份)
CREATE TABLE 景点 (
词条id,
名称,
地理位置)
CREATE TABLE 交通站 (
词条id,
名称,
类型,
景区id,
距离)
CREATE TABLE 景区景点 (
景点id,
景区id,
是否著名)
C... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 车展 (
词条id,
名称,
车展时间,
参展天数,
车展地点,
位于城市,
参展品牌数)
CREATE TABLE 汽车品牌 (
词条id,
名称,
所属公司,
最低价格,
最高价格,
代言人)
CREATE TABLE 车展参展品牌 (
品牌id,
车展id,
站台模特,
热度排名)
-- Using valid SQLite, answer th... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 车展 (
词条id,
名称,
车展时间,
参展天数,
车展地点,
位于城市,
参展品牌数)
CREATE TABLE 汽车品牌 (
词条id,
名称,
所属公司,
最低价格,
最高价格,
代言人)
CREATE TABLE 车展参展品牌 (
品牌id,
车展id,
站台模特,
热度排名)
-- Using valid SQLite, answer th... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 影院 (
词条id,
名称,
地址,
与当前距离,
用户评分)
CREATE TABLE 电影 (
词条id,
名称,
拍摄国家,
类型,
片长,
豆瓣评分)
CREATE TABLE 影院上映电影 (
电影id,
影院id,
上映时间,
票价,
余票数量)
-- Using valid SQLite, answer the following que... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 影院 (
词条id,
名称,
地址,
与当前距离,
用户评分)
CREATE TABLE 电影 (
词条id,
名称,
拍摄国家,
类型,
片长,
豆瓣评分)
CREATE TABLE 影院上映电影 (
电影id,
影院id,
上映时间,
票价,
余票数量)
-- Using valid SQLite, answer the following que... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 国家 (
词条id,
名称,
所属洲,
注册公司数量,
上市公司数量)
CREATE TABLE 世界最赚钱公司 (
词条id,
名称,
所属国家id,
年利润,
世界排名)
CREATE TABLE 中国最赚钱公司 (
词条id,
名称,
位于城市,
所属省份,
年营业额,
国内排名,
世界排名)
-- Using valid SQLite, ans... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.