text2SQL stringlengths 192 7.27k |
|---|
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 体育场 (
词条id,
名称,
面积,
容纳人数,
所在城市)
CREATE TABLE 中国体育赛事 (
词条id,
名称,
热度,
商业价值,
影响力)
CREATE TABLE 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 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,
名称,
成立时间,
所属公司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,
建筑面积,
使用面积,
卧室数量,
厅数量,
总价,
单价,
所属... |
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 各省中小学假期 (
省份,
年级,
寒假天数,
暑假天数)
CREATE TABLE 大学假期 (
学校,
所属省份,
寒假天数,
暑假天数)
-- Using valid SQLite, answer the following questions for the tables provided above.
--哪些省份大学生有5个以上的假期,寒假... |
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.
--哪些省份的大学假期有5个以上,寒假不... |
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,
公司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 海外研究中心 (
研究中心,
所... |
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,
名称,
负责人,
员工数量,
目标营收,
成本支出)
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,
年份,
员工数量,
离职人数,
招聘人数... |
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 2018年奖牌榜 (
排名,
国家,
金牌数,
银牌数,
铜牌数,
奖牌总数)
-- Using valid SQLite, an... |
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年奖牌榜 (
排名,
国家,
金牌数,
银牌数,
铜牌数,
奖牌总数)
-- Using valid SQLite, an... |
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年奖牌榜 (
排名,
国家,
金牌数,
银牌数,
铜牌数,
奖牌总数)
-- Using valid SQLite, an... |
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,
2017年出货量,
2017年市场占比,
2018年出货量,
2018年市场占比,
占比提升幅度)
CREATE TABLE 智能手机部署国家 (
公司id,
部署国家,
部署年份,
销售量排名)
-- Us... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 智能手机公司 (
词条id,
名称,
所属国家,
年营业额,
年利润,
世界排名)
CREATE TABLE 智能手机全球出货量 (
公司id,
2017年出货量,
2017年市场占比,
2018年出货量,
2018年市场占比,
占比提升幅度)
CREATE TABLE 智能手机部署国家 (
公司id,
部署国家,
部署年份,
销售量排名)
-- Us... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 智能手机公司 (
词条id,
名称,
所属国家,
年营业额,
年利润,
世界排名)
CREATE TABLE 智能手机全球出货量 (
公司id,
2017年出货量,
2017年市场占比,
2018年出货量,
2018年市场占比,
占比提升幅度)
CREATE TABLE 智能手机部署国家 (
公司id,
部署国家,
部署年份,
销售量排名)
-- Us... |
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,
名称,
发布时间,
研发公司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 TABL... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 足球运动员 (
词条id,
中文名,
国籍,
出生地,
出生日期,
身高,
体重,
专业特点,
场上位置,
惯用脚)
CREATE TABLE 欧冠赛事 (
赛季,
球员id,
所属球队,
出场次数,
进球次数,
助攻次数)
CREATE TABLE 欧冠最佳球员 (
届数,
年份,
最佳球员id,
国家,
场上位置,
球队成绩)
CREATE 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,
名称,
产品定位,
屏幕尺寸,
屏幕比例,
分辨率,
背光灯寿命,
定价,
品牌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,
车展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,
国家,
年份,
消费额,
消费额占比)
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,
发行形式,
收益额,
收益占公司比例)
--... |
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,
名称,
所属城市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,
季度,
销售量,
销售量增长)
-- Using valid SQLite, answer the following questi... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 (
词条id,
名称,
所属国家,
智能音箱款数,
排名)
CREATE TABLE 音箱产品 (
词条id,
名称,
所属公司id,
售价,
排名,
上升名次)
CREATE TABLE 产品销售 (
产品id,
季度,
销售量,
销售量增长)
-- Using valid SQLite, answer the following questi... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 公司 (
词条id,
名称,
行业,
校招人数)
CREATE TABLE 学校 (
词条id,
名称,
所在城市,
毕业人数)
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,
名称,
成立时间,
公司类型,
年营业额)
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,
场馆,
场馆所属国家,
排名,
占比面积,
参观人数)
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)
CREATE TABLE 将军影视形象 (
将军id,
影视剧,
饰演者)
CREATE TABL... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 省份 (
词条id,
名称,
南北区域,
东西区域,
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 各国获奖名单 ... |
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,
姓名,
年龄,
学历,
学校)
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,
队名,
人数)
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,
名称,
所属国家,
经营范围,
母公司,
主要车系数量,
世界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,
房型,
早餐,
价格,
剩余房间数)
-- 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,
金融业增加值,
增长率,
金融机构数量,
外币存款余额,
存款余额增长率,
贷款余额,
贷款余额增长率)
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,
人口去向省份,
流出人口占比,
排名)
CREATE TABLE 流动人口年龄 (
年份,
年龄段,
占比)
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 流动人口年龄 (
年份,
年龄段,
占比)
CR... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 作者 (
词条id,
姓名,
国籍,
毕业院校,
民族)
CREATE TABLE 文集 (
词条id,
名称,
作者id,
页数,
定价,
出版社,
出版时间,
开本)
-- 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 电视机型号 (
词条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 金曲奖提名... |
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 2019年房地产企业500强 (
集团id,
总排名,
发展潜力排名,
成长速度排名,
综合发展排名,
创新能力排名)
CREATE TABLE 2019年房地产企... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 期刊 (
词条id,
名称,
语言,
类别,
主办单位,
创刊时间,
国家,
出版刊数)
CREATE TABLE 期刊文献 (
年份,
期刊id,
统计平台,
出版文献数,
被下载数量,
被引数量,
复合影响因子,
综合影响因子)
CREATE TABLE 封面人物 (
词条id,
姓名,
职业)
CREATE TABLE 期刊封面人物 (
人物id,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 期刊 (
词条id,
名称,
语言,
类别,
主办单位,
创刊时间,
国家,
出版刊数)
CREATE TABLE 期刊文献 (
年份,
期刊id,
统计平台,
出版文献数,
被下载数量,
被引数量,
复合影响因子,
综合影响因子)
CREATE TABLE 封面人物 (
词条id,
姓名,
职业)
CREATE TABLE 期刊封面人物 (
人物id,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 期刊 (
词条id,
名称,
语言,
类别,
主办单位,
创刊时间,
国家,
出版刊数)
CREATE TABLE 期刊文献 (
年份,
期刊id,
统计平台,
出版文献数,
被下载数量,
被引数量,
复合影响因子,
综合影响因子)
CREATE TABLE 封面人物 (
词条id,
姓名,
职业)
CREATE TABLE 期刊封面人物 (
人物id,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 期刊 (
词条id,
名称,
语言,
类别,
主办单位,
创刊时间,
国家,
出版刊数)
CREATE TABLE 期刊文献 (
年份,
期刊id,
统计平台,
出版文献数,
被下载数量,
被引数量,
复合影响因子,
综合影响因子)
CREATE TABLE 封面人物 (
词条id,
姓名,
职业)
CREATE TABLE 期刊封面人物 (
人物id,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 皇帝 (
词条id,
姓名,
年号,
所处朝代,
子女数量,
皇后数量,
妃子数量)
CREATE TABLE 皇后和妃子 (
词条id,
谥号,
夫君id,
年龄,
皇子数量,
公主数量)
CREATE TABLE 皇帝皇后合葬 (
皇帝id,
皇后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,
人口去向省份,
流出人口占比,
排名)
CREATE TABLE 流动人口年龄 (
年份,
年龄段,
占比)
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 流动人口年龄 (
年份,
年龄段,
占比)
CR... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国城市供水生产能力 (
年份,
供水生成能力,
供水管道长度,
供水总量,
供水量增长率,
生活用水供水量,
生产用水供水量,
用水人口,
用水人口同比增长,
人均日生活用水量,
人均用水量同比增长)
CREATE TABLE 中国发电量及电力消费量 (
年份,
发电量,
电力消费)
CREATE TABLE 中国电力结构及发电量 (
年份,
发电类型,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 中国城市供水生产能力 (
年份,
供水生成能力,
供水管道长度,
供水总量,
供水量增长率,
生活用水供水量,
生产用水供水量,
用水人口,
用水人口同比增长,
人均日生活用水量,
人均用水量同比增长)
CREATE TABLE 中国发电量及电力消费量 (
年份,
发电量,
电力消费)
CREATE TABLE 中国电力结构及发电量 (
年份,
发电类型,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 商家 (
词条id,
名称,
起送价格,
送达用时,
评分,
月售单数)
CREATE TABLE 平台 (
词条id,
名称,
入驻商家数量,
市场占比)
CREATE TABLE 商家平台活动 (
商家id,
平台id,
优惠活动,
配送费)
-- Using valid SQLite, answer the following questions... |
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... |
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,
银牌... |
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,
银牌... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.