text2SQL
stringlengths
192
7.27k
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 电商 ( 词条id, 名称, 所属公司, 类型, 影响力指数, 排名, 上线国家数量) CREATE TABLE 电商覆盖国家 ( 电商id, 支持国家, 上线时间, 负责的分公司名称) CREATE TABLE 商家 ( 词条id, 名称, 所属国家, 主营类别, 网店覆盖国家数量, 实体店数量, 入驻电商数量) CREATE TABLE 商家网点覆盖...
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 主持人 ( 词条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, 姓名, 毕业院校, 代表作品) 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, 名称, 演出时长, 剧目亮点, 演出团队, 导演, VIP票余量, 888票价余量, 688票价余量, 488票价余量, 288票价余量, 188票价余量, 100票价余量) 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, 名称, 演出时长, 剧目亮点, 演出团队, 导演, VIP票余量, 888票价余量, 688票价余量, 488票价余量, 288票价余量, 188票价余量, 100票价余量) 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, 名称, 演出时长, 剧目亮点, 演出团队, 导演, VIP票余量, 888票价余量, 688票价余量, 488票价余量, 288票价余量, 188票价余量, 100票价余量) 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, 名称, 演出时长, 剧目亮点, 演出团队, 导演, VIP票余量, 888票价余量, 688票价余量, 488票价余量, 288票价余量, 188票价余量, 100票价余量) 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, 名称, 演出时长, 剧目亮点, 演出团队, 导演, VIP票余量, 888票价余量, 688票价余量, 488票价余量, 288票价余量, 188票价余量, 100票价余量) 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, 名称, 演出时长, 剧目亮点, 演出团队, 导演, VIP票余量, 888票价余量, 688票价余量, 488票价余量, 288票价余量, 188票价余量, 100票价余量) 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, 名称, 演出时长, 剧目亮点, 演出团队, 导演, VIP票余量, 888票价余量, 688票价余量, 488票价余量, 288票价余量, 188票价余量, 100票价余量) 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, 名称, 演出时长, 剧目亮点, 演出团队, 导演, VIP票余量, 888票价余量, 688票价余量, 488票价余量, 288票价余量, 188票价余量, 100票价余量) 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, 名称, 演出时长, 剧目亮点, 演出团队, 导演, VIP票余量, 888票价余量, 688票价余量, 488票价余量, 288票价余量, 188票价余量, 100票价余量) 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 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, 姓名, 毕业院校, 代表作品) 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, 姓名, 毕业院校, 代表作品) 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, 姓名, 毕业院校, 代表作品) 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, 姓名, 毕业院校, 代表作品) 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 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, 名称, 方向, 举办单位, 单位性质, 奖金数, 录取队伍数量, 比赛平台) 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, 名称, 届数, 播放频道, 在线播放平台, 主持人, 主持人数量, 收视率, 歌舞节目数量, 语言节目数量, 魔术节目数量) 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, 姓名, 毕业院校, 代表作品) 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, 姓名, 毕业院校, 代表作品) 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, 姓名, 毕业院校, 代表作品) 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, 姓名, 毕业院校, 代表作品) 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 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, 中文名, 参加选秀年, 是否状元, 获得球队, 毕业院校) 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, 中文名, 参加选秀年, 是否状元, 获得球队, 毕业院校) 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, 中文名, 参加选秀年, 是否状元, 获得球队, 毕业院校) 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, 中文名, 参加选秀年, 是否状元, 获得球队, 毕业院校) 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, 名称, 方向, 举办单位, 单位性质, 奖金数, 录取队伍数量, 比赛平台) 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, 名称, 方向, 举办单位, 单位性质, 奖金数, 录取队伍数量, 比赛平台) 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, 名称, 方向, 举办单位, 单位性质, 奖金数, 录取队伍数量, 比赛平台) 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, 名称, 方向, 举办单位, 单位性质, 奖金数, 录取队伍数量, 比赛平台) 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, 名称, 方向, 举办单位, 单位性质, 奖金数, 录取队伍数量, 比赛平台) 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, 中文名, 国籍, 出生地, 出生日期, 身高, 体重, 专业特点, 场上位置, 惯用脚) 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 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, 资源所占面积, 储量, 已开采量) -- 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, 互补食物id, 同食益处, 推荐做法) -- Using valid SQLite, answer the following questions for the tables...
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 followi...
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, 站台模特, 热度排名) -- 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, 相克食物id, 原因, 是否致命) CREATE TABLE 互补食物 ( 食物id, 互补食物id, 同食益处, 推荐做法) -- Using valid SQLite, answer the following questions for the tables...
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 各国获奖名单 ...
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, 名称, 作者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, 唱片公司, 签约时间) 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, 名称, 所属省份, 气候条件, 景点数量, 5A级景点数量) 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, 终点国家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, 行业, 进口额,...
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, 基本月薪, 发放月数, 浮动幅度, 招聘人数) -- Using valid SQLite, a...
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 人口来源城市 ( 城市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, 到达站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, 姓名, 饰演演员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, 年份, 场次) -- Using valid SQLit...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 2018年宜居城市 ( 城市, 所属省份, 分数, 空气指数, 蓝天数量) CREATE TABLE 2017年宜居城市 ( 城市, 所属省份, 分数, 空气指数, 蓝天数量) CREATE TABLE 2016年宜居城市 ( 城市, 所属省份, 分数, 空气指数, 蓝天数量) -- Using valid SQLite, answer the fol...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE 国家卫生城市 ( 词条id, 名称, 所属省份, 下辖区县数量, 入选次数) CREATE TABLE 国家旅游城市 ( 词条id, 名称, 所属省份, 气候条件, 景点数量, 5A级景点数量) 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 金曲奖提名...
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 夏季奥运会 ( 届数, 奥运会, 举办国家, 举办城市, 口号) CREATE TABLE 冬季奥运会 ( 届数, 奥运会, 举办国家, 举办城市) CREATE TABLE 奥运会申办国家 ( 届数, 奥运会, 申办国家, 申办城市, 是否成功) -- Using valid SQLite, answer the following question...
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, 名称, 所属省份, 气候条件, 景点数量, 5A级景点数量) 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, 菜名, 口味, 月销售量, 必点比例) -- Using valid SQLite, answer the following questions for the tables provided ...
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, 公司名称, 总部地点, 成立时间, IATA代码, ICAO...
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, 名称, 特性, 适合季节, 每100克热量, 每100克水分) CREATE TABLE 省份 ( 词条id, 名称, 气候, 所属区域) CREATE TABLE 水果产地 ( 水果id, 省份id, 是否特产, 年平均产量, 销售形式) CREATE TABLE 水果销售城市 ( 水果id, 原产省份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, 书名, 作者, 页数, 出版社, 出版时间) CREATE TABLE 名人传记 ( 传记id, 人物id, 记录时间) -- Using valid SQLite, answer the following questions for the t...
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 t...
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, 名称, 起送价格, 送达用时, 评分, 月售单数) 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, 合作时间, 是否有电子银行) 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, 参加比赛id, 成绩) -- U...