jtjt520j/CSpider_for_Qwen huggingface dataset:
问题: 名为“ALA合酶”的酶和名为“阿立哌唑”的药物的相互作用类型是什么？

SQL: SELECT T1.interaction_type FROM medicine_enzyme_interaction AS T1 JOIN medicine AS T2 ON T1.medicine_id  =  T2.id JOIN enzyme AS T3 ON T1.enzyme_id  =  T3.id WHERE T3.name  =  'ALA合酶' AND T2.name  =  '阿立哌唑'
问题: 酶和药物之间最常见的相互作用类型是什么？有多少？

SQL: SELECT interaction_type ,  count(*) FROM medicine_enzyme_interaction GROUP BY interaction_type ORDER BY count(*) DESC LIMIT 1
问题: 酶和药物之间最常见的相互作用类型是什么，有多少种？

SQL: SELECT interaction_type ,  count(*) FROM medicine_enzyme_interaction GROUP BY interaction_type ORDER BY count(*) DESC LIMIT 1
问题: FDA批准状态为“没有”的药物有多少种？

SQL: SELECT count(*) FROM medicine WHERE FDA_approved  =  '没有'
问题: FDA没有批准多少药物？

SQL: SELECT count(*) FROM medicine WHERE FDA_approved  =  '没有'
问题: 多少酶没有任何相互作用？

SQL: SELECT count(*) FROM enzyme WHERE id NOT IN ( SELECT enzyme_id FROM medicine_enzyme_interaction );
问题: 没有相互作用的酶的数量是多少？

SQL: SELECT count(*) FROM enzyme WHERE id NOT IN ( SELECT enzyme_id FROM medicine_enzyme_interaction );
问题: 这些与至少3种酶相互作用的药物的ID和商品名是什么？

SQL: SELECT T1.id ,  T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id GROUP BY T1.id HAVING COUNT(*)  >=  3
问题: 可以与至少3种酶相互作用的药物ID和商标名称是什么？

SQL: SELECT T1.id ,  T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id GROUP BY T1.id HAVING COUNT(*)  >=  3
问题: 有任一“抑制剂”相互作用的酶的不同名称、位置和产品是什么？

SQL: SELECT DISTINCT T1.name ,  T1.location ,  T1.product FROM enzyme AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.enzyme_id  =  T1.id WHERE T2.interaction_type  =  '抑制剂'
问题: 包含“抑制剂”相互作用的酶的不同名称、位置和产品是什么？

SQL: SELECT DISTINCT T1.name ,  T1.location ,  T1.product FROM enzyme AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.enzyme_id  =  T1.id WHERE T2.interaction_type  =  '抑制剂'
问题: 列出可以与酶进行“抑制剂”和“催化剂”相互作用药物名称和商标名称。

SQL: SELECT T1.name ,  T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id WHERE interaction_type  =  '抑制剂' INTERSECT SELECT T1.name ,  T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id WHERE interaction_type  =  '催化剂'
问题: 可以作为“抑制剂”和“催化剂”与酶相互作用药物名称和商标名称是什么？

SQL: SELECT T1.name ,  T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id WHERE interaction_type  =  '抑制剂' INTERSECT SELECT T1.name ,  T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id WHERE interaction_type  =  '催化剂'
问题: 显示不能与产物为“生物酶”的酶相互作用的药品名称和商品名。

SQL: SELECT name ,  trade_name FROM medicine EXCEPT SELECT T1.name ,  T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id JOIN enzyme AS T3 ON T3.id  =  T2.enzyme_id WHERE T3.product  =  '生物酶'
问题: 不能与产物为“生物酶”的酶相互作用的药物名称和商标名称？

SQL: SELECT name ,  trade_name FROM medicine EXCEPT SELECT T1.name ,  T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id JOIN enzyme AS T3 ON T3.id  =  T2.enzyme_id WHERE T3.product  =  '生物酶'
问题: 药品有多少种不同的FDA批准状态？

SQL: SELECT count(DISTINCT FDA_approved) FROM medicine
问题: 哪些酶名称有子链“ALA”？

SQL: SELECT name FROM enzyme WHERE name LIKE "物"
问题: 包含“ALA”的酶的名称是什么？

SQL: SELECT name FROM enzyme WHERE name LIKE "物"
问题: 找找每笔交易提供的药品数量。

SQL: SELECT trade_name ,  count(*) FROM medicine GROUP BY trade_name
问题: 每个交易名提供多少药？

SQL: SELECT trade_name ,  count(*) FROM medicine GROUP BY trade_name
问题: 按成立年的顺序列出所有学校和他们的绰号。

SQL: SELECT school ,  nickname FROM university ORDER BY founded
问题: 根据建校年排序，不同的学校和它们的昵称是什么？

SQL: SELECT school ,  nickname FROM university ORDER BY founded
问题: 列出所有公立学校及其所在地。

SQL: SELECT school ,  LOCATION FROM university WHERE affiliation  =  '公立'
问题: 公立学校有哪些，他们的位置是什么？

SQL: SELECT school ,  LOCATION FROM university WHERE affiliation  =  '公立'
问题: 招生最大的学校是什么时候成立的？

SQL: SELECT founded FROM university ORDER BY enrollment DESC LIMIT 1
问题: 返回招生规模最大学校的成立年。

SQL: SELECT founded FROM university ORDER BY enrollment DESC LIMIT 1
问题: 查找最新的非公立学校成立年。

SQL: SELECT founded FROM university WHERE affiliation != '公立' ORDER BY founded DESC LIMIT 1
问题: 最近成立的非公立学校创办年份是哪一年？

SQL: SELECT founded FROM university WHERE affiliation != '公立' ORDER BY founded DESC LIMIT 1
问题: 有多少学校有篮球比赛？

SQL: SELECT count(DISTINCT school_id) FROM basketball_match
问题: 统计有篮球比赛的学校的数量。

SQL: SELECT count(DISTINCT school_id) FROM basketball_match
问题: 比赛中最高的ACC得分比是什么？

SQL: SELECT acc_percent FROM basketball_match ORDER BY acc_percent DESC LIMIT 1
问题: 返回在所有篮球比赛中最高ACC得分比。

SQL: SELECT acc_percent FROM basketball_match ORDER BY acc_percent DESC LIMIT 1
问题: 在比赛中ACC得分比最低的学校的初级会议是什么？

SQL: SELECT t1.Primary_conference FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id  =  t2.school_id ORDER BY t2.acc_percent LIMIT 1
问题: 返回最低的acc百分比的学校的初级会议。

SQL: SELECT t1.Primary_conference FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id  =  t2.school_id ORDER BY t2.acc_percent LIMIT 1
问题: 创建时间最长的学校的队名和常规赛成绩是多少？

SQL: SELECT t2.team_name ,  t2.ACC_Regular_Season FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id  =  t2.school_id ORDER BY t1.founded LIMIT 1
问题: 返回最早成立的学校的球队名称和在常规赛期间的ACC。

SQL: SELECT t2.team_name ,  t2.ACC_Regular_Season FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id  =  t2.school_id ORDER BY t1.founded LIMIT 1
问题: 查找以“暨南大学”为队名的学校的位置和所有比赛得分。

SQL: SELECT t2.All_Games ,  t1.location FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id  =  t2.school_id WHERE team_name  =  '暨南大学'
问题: 叫“暨南大学”的学校的所有比赛分数和地点是什么？

SQL: SELECT t2.All_Games ,  t1.location FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id  =  t2.school_id WHERE team_name  =  '暨南大学'
问题: 1850年以前建立的大学的平均招生人数是多少？

SQL: SELECT avg(enrollment) FROM university WHERE founded  <  1850
问题: 返回1850年以前成立的大学的平均招生人数。

SQL: SELECT avg(enrollment) FROM university WHERE founded  <  1850
问题: 展示最古老学院的招生和初级会议。

SQL: SELECT enrollment ,  primary_conference FROM university ORDER BY founded LIMIT 1
问题: 最早建立的那所大学的招生和初级会议是什么？

SQL: SELECT enrollment ,  primary_conference FROM university ORDER BY founded LIMIT 1
问题: 所有学校的招生总数是多少？

SQL: SELECT sum(enrollment) ,  min(enrollment) FROM university
问题: 返回所有学校的总入学人数和最少入学人数。

SQL: SELECT sum(enrollment) ,  min(enrollment) FROM university
问题: 查找不同附属类型学校的入学学生总数。

SQL: SELECT sum(enrollment) ,  affiliation FROM university GROUP BY affiliation
问题: 每个附属类型的大学的总入学人数是多少？

SQL: SELECT sum(enrollment) ,  affiliation FROM university GROUP BY affiliation
问题: 有多少学校不参加篮球比赛？

SQL: SELECT count(*) FROM university WHERE school_id NOT IN (SELECT school_id FROM basketball_match)
问题: 统计不参加篮球比赛的大学数量。

SQL: SELECT count(*) FROM university WHERE school_id NOT IN (SELECT school_id FROM basketball_match)
问题: 找到那些在1850年之后成立或公立的学校。

SQL: SELECT school FROM university WHERE founded  >  1850 OR affiliation  =  '公立'
问题: 在1850之前或是公立的学校是什么？

SQL: SELECT school FROM university WHERE founded  >  1850 OR affiliation  =  '公立'
问题: 找到有多少不同的附属类型。

SQL: SELECT count(DISTINCT affiliation) FROM university
问题: 统计不同附属类型的数量。

SQL: SELECT count(DISTINCT affiliation) FROM university
问题: 找到多少学校的位置含有“上海”。

SQL: SELECT count(*) FROM university WHERE LOCATION LIKE "上海"
问题: 有多少大学的地址有包含“上海”？

SQL: SELECT count(*) FROM university WHERE LOCATION LIKE "上海"
问题: 查找那些入学人数小于平均入学人数的大学的队伍名称。

SQL: SELECT t2.team_name FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id  =  t2.school_id WHERE enrollment  <  (SELECT avg(enrollment) FROM university)
问题: 招生人数低于平均水平的大学球队的名称是什么？

SQL: SELECT t2.team_name FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id  =  t2.school_id WHERE enrollment  <  (SELECT avg(enrollment) FROM university)
问题: 查找每个附属机构类型有比20000多的入学人数的大学的数量。

SQL: SELECT count(*) ,  affiliation FROM university WHERE enrollment  >  20000 GROUP BY affiliation
问题: 有多少不同的附属类型？每种类型有20000以上入学人数的不同的附属学校有多少？

SQL: SELECT count(*) ,  affiliation FROM university WHERE enrollment  >  20000 GROUP BY affiliation
问题: 找出在1850年后建立的每个附属类型的学院的入学学生总数。

SQL: SELECT sum(Enrollment) ,  affiliation FROM university WHERE founded  >  1850 GROUP BY affiliation
问题: 有哪些不同的附属形式，每种类型在1850年后建立的学校的总招生人数是多少，？

SQL: SELECT sum(Enrollment) ,  affiliation FROM university WHERE founded  >  1850 GROUP BY affiliation
问题: 所有学校最大的招生人数是多少？

SQL: SELECT max(Enrollment) FROM university
问题: 返回所有学校的最大入学人数。

SQL: SELECT max(Enrollment) FROM university
问题: 列出所有关于篮球比赛的信息。

SQL: SELECT * FROM basketball_match
问题: 篮球比赛的全部信息是什么？

SQL: SELECT * FROM basketball_match
问题: 列出篮球比赛中所有球队的名字，按主场得分的顺序递减排列。

SQL: SELECT team_name FROM basketball_match ORDER BY All_Home DESC
问题: 按篮球比赛主场得分降序排列，所有球队的名字是什么？

SQL: SELECT team_name FROM basketball_match ORDER BY All_Home DESC
问题: 2002到2004年间推出的模型名称。

SQL: SELECT Model_name FROM chip_model WHERE Launch_year BETWEEN 2002 AND 2004;
问题: 哪种型号的RAM最少？列出模型名称和RAM的数量。

SQL: SELECT Model_name ,  RAM_MiB FROM chip_model ORDER BY RAM_MiB ASC LIMIT 1;
问题: 硬件型号为“LG-P760”的手机的芯片型号和屏幕模式是什么？

SQL: SELECT chip_model ,  screen_mode FROM phone WHERE Hardware_Model_name = "LG-P760";
问题: “小米”生产了多少款手机硬件？

SQL: SELECT count(*) FROM phone WHERE Company_name = "小米";
问题: “小米”生产的手机最大和最小RAM尺寸是多少？

SQL: SELECT max(T1.RAM_MiB) ,  min(T1.RAM_MiB) FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name  =  T2.chip_model WHERE T2.Company_name = "小米";
问题: “小米”生产的手机的平均ROM尺寸是多少？

SQL: SELECT avg(T1.ROM_MiB) FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name  =  T2.chip_model WHERE T2.Company_name = "小米";
问题: 列出所有在2002年推出或RAM大于32的手机的硬件型号名称和公司名称。

SQL: SELECT T2.Hardware_Model_name ,  T2.Company_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name  =  T2.chip_model WHERE T1.Launch_year = 2002 OR T1.RAM_MiB  >  32;
问题: 查找在其认证类型中有“全权”字样的所有手机。列出硬件模型名称和公司名称。

SQL: SELECT Hardware_Model_name ,  Company_name FROM phone WHERE Accreditation_type LIKE '全权';
问题: 查找硬件型号为“LG-P760”的电话屏幕的Char单元、像素和硬件颜色。

SQL: SELECT T1.Char_cells ,  T1.Pixels ,  T1.Hardware_colours FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T2.Hardware_Model_name = "LG-P760";
问题: 列出屏幕模式类型为“图像”的电话的硬件型号名称和公司名称。

SQL: SELECT T2.Hardware_Model_name ,  T2.Company_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.Type  =  "图像";
问题: 查找手机型号最少的公司名称。列出该公司生产的手机型号和公司名称。

SQL: SELECT Company_name ,  count(*) FROM phone GROUP BY Company_name ORDER BY count(*) ASC LIMIT 1;
问题: 列出生产一个以上手机型号的公司的名称。

SQL: SELECT Company_name FROM phone GROUP BY Company_name HAVING count(*)  >  1;
问题: 列出屏幕模式中使用的KB的最大、最小和平均数。

SQL: SELECT max(used_kb) , min(used_kb) , avg(used_kb) FROM screen_mode;
问题: 列出2002年推出的具有最高RAM大小的手机型号的名称。

SQL: SELECT T2.Hardware_Model_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name  =  T2.chip_model WHERE T1.Launch_year = 2002 ORDER BY T1.RAM_MiB DESC LIMIT 1;
问题: 名为“LG-P760”的硬件模型的WiFi和屏幕模式类型？

SQL: SELECT T1.WiFi , T3.Type FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name  =  T2.chip_model JOIN screen_mode AS T3 ON T2.screen_mode = T3.Graphics_mode WHERE T2.Hardware_Model_name = "LG-P760";
问题: 列出屏幕模式类型为“文本”或RAM大于32的手机的硬件型号名称。

SQL: SELECT T2.Hardware_Model_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name  =  T2.chip_model JOIN screen_mode AS T3 ON T2.screen_mode = T3.Graphics_mode WHERE T3.Type = "文本" OR T1.RAM_MiB  >  32;
问题: 列出“小米”生产的或屏幕模式类型为“图像”的手机的硬件型号名称。

SQL: SELECT DISTINCT T2.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.Type  =  "图像" OR t2.Company_name  =  "小米"
问题: 列出“小米”生产但是其屏幕模式类型不是“文本”的电话的硬件型号名称。

SQL: SELECT DISTINCT T2.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE t2.Company_name  =  "小米" AND T1.Type != "文本";
问题: 列出屏幕使用在10到15KB之间的手机的硬件型号和公司名称。

SQL: SELECT DISTINCT T2.Hardware_Model_name , T2.Company_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.used_kb BETWEEN 10 AND 15;
问题: 查找每个认证类型的电话数量。

SQL: SELECT Accreditation_type ,  count(*) FROM phone GROUP BY Accreditation_type
问题: 每种认证类型有多少手机？

SQL: SELECT Accreditation_type ,  count(*) FROM phone GROUP BY Accreditation_type
问题: 找到超过3部手机使用的认证级别。

SQL: SELECT Accreditation_level FROM phone GROUP BY Accreditation_level HAVING count(*)  >  3
问题: 找到所有芯片模型的信息。

SQL: SELECT * FROM chip_model
问题: 有多少型号没有WiFi功能？

SQL: SELECT count(*) FROM chip_model WHERE wifi  =  '没有'
问题: 统计没有WiFi的芯片模型的数量。

SQL: SELECT count(*) FROM chip_model WHERE wifi  =  '没有'
问题: 按照他们推出年度顺序列出所有型号名称。

SQL: SELECT model_name FROM chip_model ORDER BY launch_year
问题: 查找从未被任何手机使用的芯片模型的平均ram大小。

SQL: SELECT avg(RAM_MiB) FROM chip_model WHERE model_name NOT IN (SELECT chip_model FROM phone)
问题: 查找未被任何具有完全认证类型的手机使用的芯片型号的名称。

SQL: SELECT model_name FROM chip_model EXCEPT SELECT chip_model FROM phone WHERE Accreditation_type  =  '全权'
问题: 查找具有完全认证类型的电话和具有临时认证类型的电话所使用的屏幕模式的像素。

SQL: SELECT t1.pixels FROM screen_mode AS t1 JOIN phone AS t2 ON t1.Graphics_mode  =  t2.screen_mode WHERE t2.Accreditation_type  =  '临时' INTERSECT SELECT t1.pixels FROM screen_mode AS t1 JOIN phone AS t2 ON t1.Graphics_mode  =  t2.screen_mode WHERE t2.Accreditation_type  =  '全权'
问题: 一共有多少个国家？

SQL: SELECT count(*) FROM country
问题: 统计国家的数量。

SQL: SELECT count(*) FROM country
问题: 显示所有国家的国家名称和首都。

SQL: SELECT Country_name ,  Capital FROM country
问题: 每个国家的名字和首都是什么？

SQL: SELECT Country_name ,  Capital FROM country
问题: 显示包含"英语"一词的所有官方母语。

SQL: SELECT Official_native_language FROM country WHERE Official_native_language LIKE "英语"
问题: 什么官方的母语包含字符串"英语"？

SQL: SELECT Official_native_language FROM country WHERE Official_native_language LIKE "英语"
问题: 显示所有不同地方的比赛。

SQL: SELECT DISTINCT POSITION FROM match_season
问题: 有什么不同的地方的赛季？

SQL: SELECT DISTINCT POSITION FROM match_season
问题: 显示来自“浙江大学”的球员。

SQL: SELECT Player FROM match_season WHERE College  =  "浙江大学"
问题: 来自“浙江大学”的球员是谁？

SQL: SELECT Player FROM match_season WHERE College  =  "浙江大学"
问题: 显示来自“浙江大学”或“武汉大学”大学的球员的不同位置。

SQL: SELECT DISTINCT POSITION FROM match_season WHERE College  =  "浙江大学" OR College  =  "武汉大学"
问题: 来自“浙江大学”或“武汉大学”学院的球员有什么不同的位置？

SQL: SELECT DISTINCT POSITION FROM match_season WHERE College  =  "浙江大学" OR College  =  "武汉大学"
问题: 显示位置是后卫的球员的选秀号码和选秀类别。

SQL: SELECT Draft_Pick_Number ,  Draft_Class FROM match_season WHERE POSITION  =  "后卫"
问题: 后卫位置球员的选秀号码和选秀类别是什么？

SQL: SELECT Draft_Pick_Number ,  Draft_Class FROM match_season WHERE POSITION  =  "后卫"
问题: 有多少个不同的球队参与赛季？

SQL: SELECT count(DISTINCT Team) FROM match_season
问题: 统计赛季不同球队的数量。

SQL: SELECT count(DISTINCT Team) FROM match_season
问题: 显示球员和参加的年份。

SQL: SELECT Player ,  Years_Played FROM player
问题: 不同的球员是谁，他们参加了多少年？

SQL: SELECT Player ,  Years_Played FROM player
问题: 显示所有球队名称。

SQL: SELECT Name FROM Team
问题: 所有球队的名字是什么？

SQL: SELECT Name FROM Team
问题: 显示赛季、球员和球员所属国家的名称。

SQL: SELECT T2.Season ,  T2.Player ,  T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country
问题: 对于每个球员，他们的名字、赛季和所来自的国家是什么？

SQL: SELECT T2.Season ,  T2.Player ,  T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country
问题: 哪些球员来自“印度尼西亚”？

SQL: SELECT T2.Player FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T1.Country_name  =  "印度尼西亚"
问题: 来自“印度尼西亚”的球员是谁？

SQL: SELECT T2.Player FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T1.Country_name  =  "印度尼西亚"
问题: 来自首都为“都柏林”的国家的球员有什么不同的位置？

SQL: SELECT DISTINCT T2.Position FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T1.Capital  =  "都柏林"
问题: 给出为首都为“都柏林”的国家效力的球员的不同位置。

SQL: SELECT DISTINCT T2.Position FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T1.Capital  =  "都柏林"
问题: “同济”或“武汉大学”大学的球员所在国家的官方语言是什么？

SQL: SELECT T1.Official_native_language FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.College  =  "同济" OR T2.College  =  "武汉大学"
问题: 返回那些有“同济”或“武汉大学”大学球员的国家的官方母语。

SQL: SELECT T1.Official_native_language FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.College  =  "同济" OR T2.College  =  "武汉大学"
问题: 在防守位置的球员所在的国家中，有多少种不同的官方语言？

SQL: SELECT count(DISTINCT T1.Official_native_language) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.Position  =  "后卫"
问题: 计算后卫位置的球员所属国家的不同官方语言的数量。

SQL: SELECT count(DISTINCT T1.Official_native_language) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.Position  =  "后卫"
问题: 显示球员的赛季、球员和球队的名字。

SQL: SELECT T1.Season ,  T1.Player ,  T2.Name FROM match_season AS T1 JOIN team AS T2 ON T1.Team  =  T2.Team_id
问题: 不同的球员是谁，他们参与什么赛季，他们所在的球队叫什么名字？

SQL: SELECT T1.Season ,  T1.Player ,  T2.Name FROM match_season AS T1 JOIN team AS T2 ON T1.Team  =  T2.Team_id
问题: 显示用“杭州绿城”为队名的队员的位置。

SQL: SELECT T1.Position FROM match_season AS T1 JOIN team AS T2 ON T1.Team  =  T2.Team_id WHERE T2.Name  =  "杭州绿城"
问题: 返回“杭州绿城”球队的队员的位置。

SQL: SELECT T1.Position FROM match_season AS T1 JOIN team AS T2 ON T1.Team  =  T2.Team_id WHERE T2.Name  =  "杭州绿城"
问题: 来自“重庆力帆”球队的球员来自多少不同的学院？

SQL: SELECT count(DISTINCT T1.College) FROM match_season AS T1 JOIN team AS T2 ON T1.Team  =  T2.Team_id WHERE T2.Name  =  "重庆力帆"
问题: 计算为“重庆力帆”队效力的球员不同学院的数量。

SQL: SELECT count(DISTINCT T1.College) FROM match_season AS T1 JOIN team AS T2 ON T1.Team  =  T2.Team_id WHERE T2.Name  =  "重庆力帆"
问题: 显示为“重庆力帆”队的球员和效力年份。

SQL: SELECT T1.Player , T1.Years_Played FROM player AS T1 JOIN team AS T2 ON T1.Team  =  T2.Team_id WHERE T2.Name  =  "重庆力帆"
问题: 为“重庆力帆”队效力的球员有哪些？每人效力多少年？

SQL: SELECT T1.Player , T1.Years_Played FROM player AS T1 JOIN team AS T2 ON T1.Team  =  T2.Team_id WHERE T2.Name  =  "重庆力帆"
问题: 显示球员的位置和相应的球员数量。

SQL: SELECT POSITION ,  COUNT(*) FROM match_season GROUP BY POSITION
问题: 每个位置有多少球员？

SQL: SELECT POSITION ,  COUNT(*) FROM match_season GROUP BY POSITION
问题: 显示国家名称和相应的球员数量。

SQL: SELECT Country_name ,  COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country GROUP BY T1.Country_name
问题: 每个国家有多少球员？

SQL: SELECT Country_name ,  COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country GROUP BY T1.Country_name
问题: 按学院的字母顺序排列，返回所有球员。

SQL: SELECT player FROM match_season ORDER BY College ASC
问题: 按照学院的字母顺序排列，在赛季参赛的的运动员都是哪些？

SQL: SELECT player FROM match_season ORDER BY College ASC
问题: 显示球员在赛季中最常见的位置。

SQL: SELECT POSITION FROM match_season GROUP BY POSITION ORDER BY count(*) DESC LIMIT 1
问题: 在赛季球员最常见的位置是什么？

SQL: SELECT POSITION FROM match_season GROUP BY POSITION ORDER BY count(*) DESC LIMIT 1
问题: 显示赛季中前3最常见学院的球员。

SQL: SELECT College FROM match_season GROUP BY College ORDER BY count(*) DESC LIMIT 3
问题: 拥有最多队员的三所学院是什么？

SQL: SELECT College FROM match_season GROUP BY College ORDER BY count(*) DESC LIMIT 3
问题: 显示至少有两名球员的学院名称。

SQL: SELECT College FROM match_season GROUP BY College HAVING count(*)  >=  2
问题: 有两个或两个以上球员的所有学院的名字是什么？

SQL: SELECT College FROM match_season GROUP BY College HAVING count(*)  >=  2
问题: 按照字母顺序显示至少有两个球员的学院名称。

SQL: SELECT College FROM match_season GROUP BY College HAVING count(*)  >=  2 ORDER BY College DESC
问题: 按字母顺序降序排列的拥有两个或更多玩家的大学的名称是什么？

SQL: SELECT College FROM match_season GROUP BY College HAVING count(*)  >=  2 ORDER BY College DESC
问题: 没有比赛记录的球队名称是什么？

SQL: SELECT Name FROM team WHERE Team_id NOT IN (SELECT Team FROM match_season)
问题: 返回没有比赛季节记录的球队的名字。

SQL: SELECT Name FROM team WHERE Team_id NOT IN (SELECT Team FROM match_season)
问题: 哪些国家既有前锋球员又有后卫球员？

SQL: SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.Position  =  "前锋" INTERSECT SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.Position  =  "后卫"
问题: 返回具有前锋位置的球员以及后卫位置的球员的国家名称。

SQL: SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.Position  =  "前锋" INTERSECT SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.Position  =  "后卫"
问题: 哪所学校有中场球员和后卫球员？

SQL: SELECT College FROM match_season WHERE POSITION  =  "中场" INTERSECT SELECT College FROM match_season WHERE POSITION  =  "后卫"
问题: 返回那些拥有中场球员和后卫球员的学校。

SQL: SELECT College FROM match_season WHERE POSITION  =  "中场" INTERSECT SELECT College FROM match_season WHERE POSITION  =  "后卫"
问题: 那儿有多少登山者？

SQL: SELECT count(*) FROM climber
问题: 计算登山者的数量。

SQL: SELECT count(*) FROM climber
问题: 按降序列出登山者名字。

SQL: SELECT Name FROM climber ORDER BY Points DESC
问题: 按降序排列，登山者的名字是什么？

SQL: SELECT Name FROM climber ORDER BY Points DESC
问题: 列出那些不是“瑞士”的登山者的名字。

SQL: SELECT Name FROM climber WHERE Country != "瑞士"
问题: 不是来自“瑞士”国家的登山者的名字是什么？

SQL: SELECT Name FROM climber WHERE Country != "瑞士"
问题: 英国登山者的最大点数是什么？

SQL: SELECT max(Points) FROM climber WHERE Country  =  "英国"
问题: 返回来自英国的登山者的最大点数。

SQL: SELECT max(Points) FROM climber WHERE Country  =  "英国"
问题: 登山者来自多少不同的国家？

SQL: SELECT COUNT(DISTINCT Country) FROM climber
问题: 计算登山者来自的不同国家的数量。

SQL: SELECT COUNT(DISTINCT Country) FROM climber
问题: 按字母上升顺序的山脉名称是什么？

SQL: SELECT Name FROM mountain ORDER BY Name ASC
问题: 按字母顺序，给出山的名字。

SQL: SELECT Name FROM mountain ORDER BY Name ASC
问题: 高度大于5000的山所属于的国家是什么？

SQL: SELECT Country FROM mountain WHERE Height  >  5000
问题: 返回高度大于5000的山的国家。

SQL: SELECT Country FROM mountain WHERE Height  >  5000
问题: 最高的山叫什么名字？

SQL: SELECT Name FROM mountain ORDER BY Height DESC LIMIT 1
问题: 返回最高的山的名字。

SQL: SELECT Name FROM mountain ORDER BY Height DESC LIMIT 1
问题: 列出前3声望最高山的不同山脉。

SQL: SELECT DISTINCT Range FROM mountain ORDER BY Prominence DESC LIMIT 3
问题: 3个突出最高的山有什么不同的山脉？

SQL: SELECT DISTINCT Range FROM mountain ORDER BY Prominence DESC LIMIT 3
问题: 显示登山者的名字和山的名字。

SQL: SELECT T1.Name ,  T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID
问题: 登山者的名字和他们所攀登的山的对应名字是什么？

SQL: SELECT T1.Name ,  T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID
问题: 显示登山者的名字和他们攀登的高山的高度。

SQL: SELECT T1.Name ,  T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID
问题: 登山者的名字和他们所攀登的山的相应高度是什么？

SQL: SELECT T1.Name ,  T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID
问题: 显示分数最好的登山者攀登的最大高度。

SQL: SELECT T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID ORDER BY T1.Points DESC LIMIT 1
问题: 分数最高的登山者所爬的山的高度是多少？

SQL: SELECT T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID ORDER BY T1.Points DESC LIMIT 1
问题: 展示来自“德国”国家的登山者所攀登的山的不同名称。

SQL: SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID WHERE T1.Country  =  "德国"
问题: 来自“德国”国家的登山者登上的不同山叫什么名字？

SQL: SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID WHERE T1.Country  =  "德国"
问题: 显示登山者在“乌干达”爬山所用的时间。

SQL: SELECT T1.Time FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID WHERE T2.Country  =  "乌干达"
问题: 在“乌干达”，爬山的登山者使用的时间是多少？

SQL: SELECT T1.Time FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID WHERE T2.Country  =  "乌干达"
问题: 请显示国家和各国的登山者人数。

SQL: SELECT Country ,  COUNT(*) FROM climber GROUP BY Country
问题: 每个国家有多少登山者？

SQL: SELECT Country ,  COUNT(*) FROM climber GROUP BY Country
问题: 列出拥有一座以上山的国家。

SQL: SELECT Country FROM mountain GROUP BY Country HAVING COUNT(*)  >  1
问题: 哪些国家拥有一座以上的山？

SQL: SELECT Country FROM mountain GROUP BY Country HAVING COUNT(*)  >  1
问题: 列出没有登山者的山的名字。

SQL: SELECT Name FROM mountain WHERE Mountain_ID NOT IN (SELECT Mountain_ID FROM climber)
问题: 没有登山者攀爬的山是什么名字？

SQL: SELECT Name FROM mountain WHERE Mountain_ID NOT IN (SELECT Mountain_ID FROM climber)
问题: 展示那些高度有超过5600和低于5200的高山的国家。

SQL: SELECT Country FROM mountain WHERE Height  >  5600 INTERSECT SELECT Country FROM mountain WHERE Height  <  5200
问题: 哪些国家有高于5600的山和低于5200的山？

SQL: SELECT Country FROM mountain WHERE Height  >  5600 INTERSECT SELECT Country FROM mountain WHERE Height  <  5200
问题: 显示山数量最多的山脉。

SQL: SELECT Range FROM mountain GROUP BY Range ORDER BY COUNT(*) DESC LIMIT 1
问题: 哪一个山脉包含最多的山？

SQL: SELECT Range FROM mountain GROUP BY Range ORDER BY COUNT(*) DESC LIMIT 1
问题: 显示高度超过5000或突出超过1000的山名。

SQL: SELECT Name FROM mountain WHERE Height  >  5000 OR Prominence  >  1000
问题: 有超过5000的高度或超过1000的突出的山叫什么名字？

SQL: SELECT Name FROM mountain WHERE Height  >  5000 OR Prominence  >  1000
问题: 有多少健美运动员？

SQL: SELECT count(*) FROM body_builder
问题: 按升序列出健美运动员的总分。

SQL: SELECT Total FROM body_builder ORDER BY Total ASC