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,
名称,
所属国家,
经营范围,
母公司,
主要车系数量,
世界500强排名,
主要荣誉)
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,
名称,
所属国家,
经营范围,
母公司,
主要车系数量,
世界500强排名,
主要荣誉)
CREATE TABLE 汽车公司中国事业部 (
公司id,
中国事业部名称,
位于城市,
所属省份,
总投资金额,
负责产品数量,
主要产品)
CREATE TABLE 汽车产品 (
词条id,
名称,
推出时间,
车型,
车款数量,
保值... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 (
词条id,
名称,
主要产品,
广告投入成本,
广告投入成本占比)
CREATE TABLE 广告平台 (
词条id,
名称,
广告收入,
广告收入占比)
CREATE TABLE 公司在平台投入广告 (
公司id,
平台id,
购买关键词数量,
点击率,
转换率)
-- Using valid SQLite, answer the foll... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 (
词条id,
名称,
主要产品,
广告投入成本,
广告投入成本占比)
CREATE TABLE 广告平台 (
词条id,
名称,
广告收入,
广告收入占比)
CREATE TABLE 公司在平台投入广告 (
公司id,
平台id,
购买关键词数量,
点击率,
转换率)
-- Using valid SQLite, answer the foll... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 (
词条id,
名称,
成立时间,
负责人,
排名)
CREATE TABLE 电影 (
词条id,
影片名,
上映时间,
票房)
CREATE TABLE 影视公司拍摄的电影 (
公司id,
电影id,
投资比例)
-- Using valid SQLite, answer the following questions for the tab... |
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 tab... |
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,
名称,
热度,
商业价值,
影响力)
CREATE TABLE 2018年具体赛事 (
赛事名称,
赛事类型id,
场馆id,
时间,
观众人数)
CREATE TABLE 2018年演唱会 (
词条id,
名称,
歌手,
场馆id,
... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 体育场 (
词条id,
名称,
面积,
容纳人数,
所在城市)
CREATE TABLE 中国体育赛事 (
词条id,
名称,
热度,
商业价值,
影响力)
CREATE TABLE 2018年具体赛事 (
赛事名称,
赛事类型id,
场馆id,
时间,
观众人数)
CREATE TABLE 2018年演唱会 (
词条id,
名称,
歌手,
场馆id,
... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 北京小区 (
词条id,
名称,
所属区域,
楼栋数,
户数,
周边小学数量,
周边超市数量,
周边医院数量)
CREATE TABLE 小区各月成交量 (
小区id,
月份,
成交量,
成交量同比增长,
成交均价,
成交价同比增长)
CREATE TABLE 成交房屋 (
房屋编号id,
建筑面积,
使用面积,
卧室数量,
厅数量,
总价,
单价,
所属... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 北京小区 (
词条id,
名称,
所属区域,
楼栋数,
户数,
周边小学数量,
周边超市数量,
周边医院数量)
CREATE TABLE 小区各月成交量 (
小区id,
月份,
成交量,
成交量同比增长,
成交均价,
成交价同比增长)
CREATE TABLE 成交房屋 (
房屋编号id,
建筑面积,
使用面积,
卧室数量,
厅数量,
总价,
单价,
所属... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 事业群 (
词条id,
名称,
负责人,
员工数量,
目标营收,
成本支出)
CREATE TABLE 部门 (
词条id,
部门名称,
职责,
所属群id)
CREATE TABLE 员工 (
词条id,
姓名,
职称,
薪资,
年龄,
工龄,
所属部门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,
名称,
课程数量,
合作学校数量,
是否免费)
CREATE TABLE 平台合作学校 (
平台id,
学校id,
合作课程数量)
CREATE TABLE 学校的... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 学校 (
词条id,
名称,
类型,
国家,
世界排名)
CREATE TABLE 课程 (
词条id,
名称,
所属专业,
适合学者类型)
CREATE TABLE 平台 (
词条id,
名称,
课程数量,
合作学校数量,
是否免费)
CREATE TABLE 平台合作学校 (
平台id,
学校id,
合作课程数量)
CREATE TABLE 学校的... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 汽车公司 (
词条id,
名称,
所属国家,
经营范围,
母公司,
主要车系数量,
世界500强排名,
主要荣誉)
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,
名称,
所属国家,
经营范围,
母公司,
主要车系数量,
世界500强排名,
主要荣誉)
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,
名称,
总部所在省,
上级主管部门,
酒店数量,
客房数量,
省排名,
中国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,
到达站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,
到达站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 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,
名称,
南北区域,
东西区域,
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,
名称,
南北区域,
东西区域,
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,
名称,
类型)
CREATE TABLE 商家入驻商场 (
商家id,
商场id,
楼层,
占地面积)
-- Using valid SQLite, answer the following questions for the tables provide... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 商场 (
词条id,
名称,
地址,
开业时间)
CREATE TABLE 商家 (
词条id,
名称,
类型)
CREATE TABLE 商家入驻商场 (
商家id,
商场id,
楼层,
占地面积)
-- Using valid SQLite, answer the following questions for the tables provide... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 学校 (
词条id,
名称,
所在省份,
类型,
是否985,
是否211)
CREATE TABLE 省份 (
词条id,
省名,
2018年考生数量,
985高校数量,
211高校数量)
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,
名称,
所在省份,
类型,
是否985,
是否211)
CREATE TABLE 省份 (
词条id,
省名,
2018年考生数量,
985高校数量,
211高校数量)
CREATE TABLE 各省高校招生计划 (
学校id,
省份id,
招生人数)
CREATE TABLE 专业 (
词条id,
专业名称,
学科类型,
学制)
... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 书籍 (
词条id,
名称,
作者,
作者国籍,
豆瓣评分,
评价人数,
5星占比,
1星占比)
CREATE TABLE 高分图书榜单 (
年份,
书籍id,
评分,
排名)
CREATE TABLE 最受关注图书榜单 (
年份,
书籍id,
关注数,
排名)
CREATE TABLE 最畅销图书榜单 (
年份,
书籍id,
购买数,
排名)
CRE... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 书籍 (
词条id,
名称,
作者,
作者国籍,
豆瓣评分,
评价人数,
5星占比,
1星占比)
CREATE TABLE 高分图书榜单 (
年份,
书籍id,
评分,
排名)
CREATE TABLE 最受关注图书榜单 (
年份,
书籍id,
关注数,
排名)
CREATE TABLE 最畅销图书榜单 (
年份,
书籍id,
购买数,
排名)
CRE... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 快递公司 (
词条id,
名称,
总部地点,
成立时间,
员工数量,
运输车辆数,
覆盖城市数量,
网点数量)
CREATE TABLE 省份 (
词条id,
名称,
所属区域)
CREATE TABLE 快递费 (
快递公司id,
区域,
起步价格,
起步公斤数,
每公斤价格)
CREATE TABLE 包邮范围 (
快递公司id,
发货区域,
包邮区... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 快递公司 (
词条id,
名称,
总部地点,
成立时间,
员工数量,
运输车辆数,
覆盖城市数量,
网点数量)
CREATE TABLE 省份 (
词条id,
名称,
所属区域)
CREATE TABLE 快递费 (
快递公司id,
区域,
起步价格,
起步公斤数,
每公斤价格)
CREATE TABLE 包邮范围 (
快递公司id,
发货区域,
包邮区... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 (
词条id,
名称,
行业,
校招人数)
CREATE TABLE 学校 (
词条id,
名称,
所在城市,
毕业人数)
CREATE TABLE 学校各专业 (
学校id,
专业,
毕业人数,
专业全国排名,
平均薪资)
CREATE TABLE 公司对口专业 (
公司id,
专业,
对应岗位,
拟招聘人数,
基本工资,
工资幅度)
CREA... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 (
词条id,
名称,
行业,
校招人数)
CREATE TABLE 学校 (
词条id,
名称,
所在城市,
毕业人数)
CREATE TABLE 学校各专业 (
学校id,
专业,
毕业人数,
专业全国排名,
平均薪资)
CREATE TABLE 公司对口专业 (
公司id,
专业,
对应岗位,
拟招聘人数,
基本工资,
工资幅度)
CREA... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 学校 (
词条id,
名称,
所在省份,
类型,
是否985,
是否211)
CREATE TABLE 省份 (
词条id,
省名,
2018年考生数量,
985高校数量,
211高校数量)
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,
名称,
所在省份,
类型,
是否985,
是否211)
CREATE TABLE 省份 (
词条id,
省名,
2018年考生数量,
985高校数量,
211高校数量)
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,
页数,
定价,
出版社,
出版时间,
开本)
-- Using valid SQLite, answer the following questions for the tables provided above.
--哪个作者... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 作者 (
词条id,
姓名,
国籍,
毕业院校,
民族)
CREATE TABLE 文集 (
词条id,
名称,
作者id,
页数,
定价,
出版社,
出版时间,
开本)
-- 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 社交APP (
词条id,
app名称,
软件大小,
注册用户量,
日活跃用户量,
母公司id)
CREATE TABLE 功能 (
词条id,
名称,
简介)
CREATE TABLE APP支持的功能 (
功能id,
appid,
是否主要功能)
-- Using v... |
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 v... |
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,
年龄,
皇子数量,
公主数量)
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,
实施时间,
分类体系,
最低罚款数,
最高罚款数,
厨余垃圾运输车辆,
有害垃圾运输车辆,
覆盖家庭比例,
志愿者数量)
-- U... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 城市 (
词条id,
名称,
所属省份,
垃圾产出量(万吨),
垃圾场数量)
CREATE TABLE 城市垃圾来源 (
城市id,
来源,
产出吨数,
总量占比)
CREATE TABLE 垃圾分类的城市 (
城市id,
实施时间,
分类体系,
最低罚款数,
最高罚款数,
厨余垃圾运输车辆,
有害垃圾运输车辆,
覆盖家庭比例,
志愿者数量)
-- U... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 山峰 (
词条id,
名称,
所属山系,
海拔,
首次登顶时间,
排名)
CREATE TABLE 国家 (
词条id,
名称,
所属洲)
CREATE TABLE 山峰的国家 (
山峰id,
起点国家id,
终点国家id,
走向)
CREATE TABLE 景点 (
词条id,
名称,
山峰id,
门票价格,
游玩季节)
-- Using vali... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 山峰 (
词条id,
名称,
所属山系,
海拔,
首次登顶时间,
排名)
CREATE TABLE 国家 (
词条id,
名称,
所属洲)
CREATE TABLE 山峰的国家 (
山峰id,
起点国家id,
终点国家id,
走向)
CREATE TABLE 景点 (
词条id,
名称,
山峰id,
门票价格,
游玩季节)
-- Using vali... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 央视春节晚会 (
词条id,
名称,
届数,
播放频道,
在线播放平台,
主持人,
主持人数量,
收视率,
歌舞节目数量,
语言节目数量,
魔术节目数量)
CREATE TABLE 主持人 (
词条id,
姓名,
毕业院校,
代表作品)
CREATE TABLE 中秋晚会 (
词条id,
名称,
播出时间,
主会场地址,
分会场数量)
CREATE TA... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 央视春节晚会 (
词条id,
名称,
届数,
播放频道,
在线播放平台,
主持人,
主持人数量,
收视率,
歌舞节目数量,
语言节目数量,
魔术节目数量)
CREATE TABLE 主持人 (
词条id,
姓名,
毕业院校,
代表作品)
CREATE TABLE 中秋晚会 (
词条id,
名称,
播出时间,
主会场地址,
分会场数量)
CREATE TA... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 诗人 (
词条id,
姓名,
性别,
所处朝代,
年龄,
作品数量,
称号)
CREATE TABLE 诗词 (
词条id,
诗词名,
作者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)
-- U... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 银行总部 (
词条id,
名称,
总部地点,
成立时间,
公司类型)
CREATE TABLE 年营业额 (
年份,
银行id,
营业额,
员工数,
世界五百强排名)
CREATE TABLE 城市 (
词条id,
名称,
所属省份,
所属区域)
CREATE TABLE 银行服务网点 (
银行id,
城市id,
建成数量,
规划数量)
-- Usi... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 银行总部 (
词条id,
名称,
总部地点,
成立时间,
公司类型)
CREATE TABLE 年营业额 (
年份,
银行id,
营业额,
员工数,
世界五百强排名)
CREATE TABLE 城市 (
词条id,
名称,
所属省份,
所属区域)
CREATE TABLE 银行服务网点 (
银行id,
城市id,
建成数量,
规划数量)
-- Usi... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 酒店集团 (
词条id,
名称,
总部所在省,
上级主管部门,
酒店数量,
客房数量,
省排名,
中国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,
评分,
评价人数,
字数,
点击数,
类型)
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)
CREATE TABLE 电视机平台售卖 (
型号id,
平台,
售价,
最高价格,
最低价格,
售卖量,
用户评分)
CREATE TABLE ... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 电视机品牌 (
词条id,
名称,
所属公司,
国家,
市场份额)
CREATE TABLE 电视机型号 (
词条id,
名称,
产品定位,
屏幕尺寸,
屏幕比例,
分辨率,
背光灯寿命,
定价,
品牌id)
CREATE TABLE 电视机平台售卖 (
型号id,
平台,
售价,
最高价格,
最低价格,
售卖量,
用户评分)
CREATE TABLE ... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 文学奖 (
词条id,
名称,
设立时间,
设立原因,
举办间隔年限)
CREATE TABLE 文学奖项颁奖奖项 (
文学奖id,
奖项)
CREATE TABLE 文学作品 (
词条id,
名称,
作者,
创作年代,
首版时间,
字数)
CREATE 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,
中文队名,
所属地区,
成立时间,
主场馆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 峰... |
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 景区景点 (
景点id,
景区id,
是否著名)
C... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 景区 (
词条id,
名称,
占地面积,
景点级别,
旺季门票价格,
淡季门票价格,
始建时间,
所属城市,
所属省份)
CREATE TABLE 景点 (
词条id,
名称,
地理位置)
CREATE TABLE 交通站 (
词条id,
名称,
类型,
景区id,
距离)
CREATE TABLE 景区景点 (
景点id,
景区id,
是否著名)
C... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 诺贝尔奖项 (
词条id,
名称,
领域,
第一次颁奖时间,
获奖者最大年龄,
获奖者最小年龄,
获奖者平均年龄)
CREATE TABLE 高校 (
词条id,
名称,
所属国家,
世界排名,
独立科研机构数量,
重点学科数量)
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 匹数对应面积 (
匹数,
最小面积,
最大面积)
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 中国地铁 (
年份,
总里程,
开通城市数量)
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 中国地铁 (
年份,
总里程,
开通城市数量)
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,
名称,
所在省份,
类型,
是否985,
是否211)
CREATE TABLE 省份 (
词条id,
省名,
2018年考生数量,
985高校数量,
211高校数量)
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,
名称,
所在省份,
类型,
是否985,
是否211)
CREATE TABLE 省份 (
词条id,
省名,
2018年考生数量,
985高校数量,
211高校数量)
CREATE TABLE 各省高校招生计划 (
学校id,
省份id,
招生人数)
CREATE TABLE 专业 (
词条id,
专业名称,
学科类型,
学制)
... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 电视剧 (
词条id,
剧名,
首播时间,
集数)
CREATE TABLE 小说 (
词条id,
小说名,
作者,
字数,
状态)
CREATE TABLE 改编的电视剧 (
小说id,
电视剧id,
评分)
-- Using valid SQLite, answer the following questions for the tables pr... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 电视剧 (
词条id,
剧名,
首播时间,
集数)
CREATE TABLE 小说 (
词条id,
小说名,
作者,
字数,
状态)
CREATE TABLE 改编的电视剧 (
小说id,
电视剧id,
评分)
-- Using valid SQLite, answer the following questions for the tables pr... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 汉字 (
词条id,
汉字,
部首,
笔画)
CREATE TABLE 姓氏 (
姓氏id,
源自姓氏id,
人口,
占比)
CREATE TABLE 姓氏分布区域 (
姓氏id,
区域,
人口占比)
-- Using valid SQLite, answer the following questions for the tables provide... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 汉字 (
词条id,
汉字,
部首,
笔画)
CREATE TABLE 姓氏 (
姓氏id,
源自姓氏id,
人口,
占比)
CREATE TABLE 姓氏分布区域 (
姓氏id,
区域,
人口占比)
-- Using valid SQLite, answer the following questions for the tables provide... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 北京小区 (
词条id,
名称,
所属区域,
楼栋数,
户数,
周边小学数量,
周边超市数量,
周边医院数量)
CREATE TABLE 小区各月成交量 (
小区id,
月份,
成交量,
成交量同比增长,
成交均价,
成交价同比增长)
CREATE TABLE 成交房屋 (
房屋编号id,
建筑面积,
使用面积,
卧室数量,
厅数量,
总价,
单价,
所属... |
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,
名称,
南北区域,
东西区域,
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,
名称,
南北区域,
东西区域,
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,
中文学名,
所属纲,
所属科,
食性,
濒危级别,
保护级别)
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,
城市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... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 航空公司 (
词条id,
名称,
国内通航城市数量,
国际通航城市数量,
机队规模,
运送旅客人数,
飞机餐用户满意度)
CREATE TABLE 机场 (
词条id,
名称,
所属地区,
机位数量,
跑道长度,
跑道数量,
国内航线数量,
国际航线数量,
通航城市,
旅客吞量,
航站楼数量)
CREATE TABLE 航空公司主运营基地 (
航空公司id... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 篮球队 (
词条id,
队名,
所属地区,
成立时间,
主场馆,
容纳人数,
主教练,
赞助商家)
CREATE TABLE 篮球运动员 (
词条id,
姓名,
国籍,
民族,
出生地,
出生日期,
身高,
体重,
所属球队id,
场上位置)
CREATE TABLE 运动员赛事记录 (
球员id,
赛事,
类别)
CREATE TABLE CBA总冠军... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 篮球队 (
词条id,
队名,
所属地区,
成立时间,
主场馆,
容纳人数,
主教练,
赞助商家)
CREATE TABLE 篮球运动员 (
词条id,
姓名,
国籍,
民族,
出生地,
出生日期,
身高,
体重,
所属球队id,
场上位置)
CREATE TABLE 运动员赛事记录 (
球员id,
赛事,
类别)
CREATE TABLE CBA总冠军... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国地铁 (
年份,
总里程,
开通城市数量)
CREATE TABLE 城市 (
词条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 中国地铁 (
年份,
总里程,
开通城市数量)
CREATE TABLE 城市 (
词条id,
城市名称,
所属省份)
CREATE TABLE 城市地铁里程 (
城市id,
地铁运营里程,
在建里程,
规划里程,
已运营线路数)
CREATE TABLE 城市地铁日均客运量 (
城市id,
日均客运量(万人次),
每日每公里客运量(万人次),
每公里运... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 皇帝 (
词条id,
姓名,
年号,
所处朝代,
子女数量,
皇后数量,
妃子数量)
CREATE TABLE 皇后和妃子 (
词条id,
谥号,
夫君id,
年龄,
皇子数量,
公主数量)
CREATE TABLE 皇帝皇后合葬 (
皇帝id,
皇后id,
葬地)
CREATE TABLE 皇帝皇后影视形象 (
作品,
皇帝id,
皇帝饰演者,
皇后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,
部门名称,
职责,
所属群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,
年份,
员工数量,
离职人数,
招聘人数... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.