jtjt520j/CSpider_for_Qwen huggingface dataset:
问题: 列出未被任何公司雇用的人的姓名

SQL: SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM employment)
问题: 按销售额和利润的降序列出销售量超过200的公司的名称。

SQL: SELECT name FROM company WHERE Sales_in_Billion  >  200 ORDER BY Sales_in_Billion ,  Profits_in_Billion DESC
问题: 有多少部电影？

SQL: SELECT count(*) FROM film
问题: 计算电影的数量。

SQL: SELECT count(*) FROM film
问题: 列出所有电影的不同导演。

SQL: SELECT DISTINCT Director FROM film
问题: 不同的电影导演有哪些？

SQL: SELECT DISTINCT Director FROM film
问题: 电影票房的平均销售总额是多少？

SQL: SELECT avg(Gross_in_dollar) FROM film
问题: 返回所有电影的平均总销售额。

SQL: SELECT avg(Gross_in_dollar) FROM film
问题: 电影市场的高估计和低估计是什么？

SQL: SELECT Low_Estimate ,  High_Estimate FROM film_market_estimation
问题: 返回为所有电影市场估计的低值和高值。

SQL: SELECT Low_Estimate ,  High_Estimate FROM film_market_estimation
问题: 1995年度电影市场估计的类型是什么？

SQL: SELECT TYPE FROM film_market_estimation WHERE YEAR  =  1995
问题: 返回1995年电影市场的估计类型。

SQL: SELECT TYPE FROM film_market_estimation WHERE YEAR  =  1995
问题: 在所有市场中，城市的最大和最小数量是多少？

SQL: SELECT max(Number_cities) ,  min(Number_cities) FROM market
问题: 返回所有市场中城市的最大和最小数量。

SQL: SELECT max(Number_cities) ,  min(Number_cities) FROM market
问题: 有多少市场中的城市数量少于300？

SQL: SELECT count(*) FROM market WHERE Number_cities  <  300
问题: 统计城市数量少于300的市场数量。

SQL: SELECT count(*) FROM market WHERE Number_cities  <  300
问题: 按字母顺序排列所有国家的市场。

SQL: SELECT Country FROM market ORDER BY Country ASC
问题: 按字母顺序排列的每个市场的国家是什么？

SQL: SELECT Country FROM market ORDER BY Country ASC
问题: 以城市数量递减的顺序列出所有市场国家。

SQL: SELECT Country FROM market ORDER BY Number_cities DESC
问题: 按城市数量递减排列的每个市场的国家有哪些？

SQL: SELECT Country FROM market ORDER BY Number_cities DESC
问题: 请展示电影的名称和市场估计的类型。

SQL: SELECT T1.Title ,  T2.Type FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID  =  T2.Film_ID
问题: 电影的标题和市场估计的相应类型是什么？

SQL: SELECT T1.Title ,  T2.Type FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID  =  T2.Film_ID
问题: 显示1995年度不同市场预估的电影导演。

SQL: SELECT DISTINCT T1.Director FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID  =  T2.Film_ID WHERE T2.Year  =  1995
问题: 1995年度不同市场预估的电影导演是谁？

SQL: SELECT DISTINCT T1.Director FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID  =  T2.Film_ID WHERE T2.Year  =  1995
问题: 电影市场低估值高于10000的平均城市数量是多少？

SQL: SELECT avg(T2.Number_cities) FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID  =  T2.Market_ID WHERE T1.Low_Estimate  >  10000
问题: 给出电影市场低估值高于10000的平均城市数量。

SQL: SELECT avg(T2.Number_cities) FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID  =  T2.Market_ID WHERE T1.Low_Estimate  >  10000
问题: 请列出电影市场估计的国家和年份。

SQL: SELECT T2.Country ,  T1.Year FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID  =  T2.Market_ID
问题: 什么是市场相关的国家及其相应的市场估计年？

SQL: SELECT T2.Country ,  T1.Year FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID  =  T2.Market_ID
问题: 请按年份降序列出国家名为“日本”的电影市场估计的年份。

SQL: SELECT T1.Year FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID  =  T2.Market_ID WHERE T2.Country  =  "日本" ORDER BY T1.Year DESC
问题: 按年份降序的“日本”的电影市场估计年份是多少？

SQL: SELECT T1.Year FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID  =  T2.Market_ID WHERE T2.Country  =  "日本" ORDER BY T1.Year DESC
问题: 列出每一部电影的制片厂和该电影制片厂制作的电影数量。

SQL: SELECT Studio ,  COUNT(*) FROM film GROUP BY Studio
问题: 每个工作室如何制作电影？

SQL: SELECT Studio ,  COUNT(*) FROM film GROUP BY Studio
问题: 列出制作电影数量最多的电影制片厂的名字。

SQL: SELECT Studio FROM film GROUP BY Studio ORDER BY COUNT(*) DESC LIMIT 1
问题: 制作最多电影的工作室的名字是什么？

SQL: SELECT Studio FROM film GROUP BY Studio ORDER BY COUNT(*) DESC LIMIT 1
问题: 列出至少有两部电影的工作室名称。

SQL: SELECT Studio FROM film GROUP BY Studio HAVING COUNT(*)  >=  2
问题: 制作两部或更多部电影的工作室名称是什么？

SQL: SELECT Studio FROM film GROUP BY Studio HAVING COUNT(*)  >=  2
问题: 列出没有任何市场估计的电影的标题。

SQL: SELECT Title FROM film WHERE Film_ID NOT IN (SELECT Film_ID FROM film_market_estimation)
问题: 没有电影市场估计的电影的片名是什么？

SQL: SELECT Title FROM film WHERE Film_ID NOT IN (SELECT Film_ID FROM film_market_estimation)
问题: 显示与导演“姜文”和“李安”一起制作电影的制片厂。

SQL: SELECT Studio FROM film WHERE Director  =  "姜文" INTERSECT SELECT Studio FROM film WHERE Director  =  "李安"
问题: 与“姜文”和“李安”合作拍摄电影的工作室叫什么名字？

SQL: SELECT Studio FROM film WHERE Director  =  "姜文" INTERSECT SELECT Studio FROM film WHERE Director  =  "李安"
问题: 找一些包含“华谊”这个词的电影制片厂制作的电影的片名和制片厂。

SQL: SELECT title ,  Studio FROM film WHERE Studio LIKE "华谊"
问题: 由名字包含“华谊”的电影制片厂制作的电影的片名和制片厂是什么？

SQL: SELECT title ,  Studio FROM film WHERE Studio LIKE "华谊"
问题: 展示没有导演“李安”导演的电影制片厂。

SQL: SELECT Studio FROM film EXCEPT SELECT Studio FROM film WHERE Director  =  "李安"
问题: 哪些工作室从未与导演“李安”合作过？

SQL: SELECT Studio FROM film EXCEPT SELECT Studio FROM film WHERE Director  =  "李安"
问题: 列出平均票房收益在450万以上的工作室。

SQL: SELECT Studio FROM film GROUP BY Studio HAVING avg(Gross_in_dollar)  >=  4500000
问题: 哪家电影公司的平均票房总收益超过450万？

SQL: SELECT Studio FROM film GROUP BY Studio HAVING avg(Gross_in_dollar)  >=  4500000
问题: 有最高市场估计的电影的标题是什么。

SQL: SELECT t1.title FROM film AS T1 JOIN film_market_estimation AS T2  ON T1.Film_ID  =  T2.Film_ID ORDER BY high_estimate DESC LIMIT 1
问题: 返回有最高市场估计的电影的标题.

SQL: SELECT t1.title FROM film AS T1 JOIN film_market_estimation AS T2  ON T1.Film_ID  =  T2.Film_ID ORDER BY high_estimate DESC LIMIT 1
问题: 从未在“中国”上映过的电影的名字和导演的名字是什么？

SQL: SELECT title ,  director FROM film WHERE film_id NOT IN (SELECT film_id FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.market_id  =  T2.Market_ID WHERE country  =  '中国')
问题: 从未在“中国”上映过的电影的名字和导演的名字。

SQL: SELECT title ,  director FROM film WHERE film_id NOT IN (SELECT film_id FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.market_id  =  T2.Market_ID WHERE country  =  '中国')
问题: 我们有多少日历项目？

SQL: SELECT count(*) FROM Ref_calendar
问题: 计算所有日历条目的数量。

SQL: SELECT count(*) FROM Ref_calendar
问题: 显示所有日历日期和日期号码。

SQL: SELECT calendar_date ,  day_Number FROM Ref_calendar
问题: 所有日历日期和日期号码是什么？

SQL: SELECT calendar_date ,  day_Number FROM Ref_calendar
问题: 显示文档类型的数量。

SQL: SELECT count(*) FROM Ref_document_types
问题: 有多少种文档类型？

SQL: SELECT count(*) FROM Ref_document_types
问题: 列出所有的文档类型代码和文档类型名称。

SQL: SELECT document_type_code ,  document_type_name FROM Ref_document_types
问题: 所有的文档类型代码和文档类型名称是什么？

SQL: SELECT document_type_code ,  document_type_name FROM Ref_document_types
问题: 文档类型代码是“RV”的文档名称和描述是什么？

SQL: SELECT document_type_name ,  document_type_description FROM Ref_document_types WHERE document_type_code  =  "RV"
问题: 给我文档类型代码是“RV”的文档名称和描述。

SQL: SELECT document_type_name ,  document_type_description FROM Ref_document_types WHERE document_type_code  =  "RV"
问题: 文档类型是“论文”的文档类型代码是什么？

SQL: SELECT document_type_code FROM Ref_document_types WHERE document_type_name  =  "论文"
问题: 查找文档类型是“论文”的文档类型代码。

SQL: SELECT document_type_code FROM Ref_document_types WHERE document_type_name  =  "论文"
问题: 显示文档类型代码是“简历”或“通知”的文档数量。

SQL: SELECT count(*) FROM All_documents WHERE document_type_code  =  "简历" OR document_type_code  =  "通知"
问题: 文档类型代码是“简历”或“通知”的文档数量有多少？

SQL: SELECT count(*) FROM All_documents WHERE document_type_code  =  "简历" OR document_type_code  =  "通知"
问题: “马丽的简历”被保存的日期是什么时候？

SQL: SELECT date_stored FROM All_documents WHERE Document_name  =  "马丽的简历"
问题: 什么时候保存的文件“马丽的简历”？返回保存的日期。

SQL: SELECT date_stored FROM All_documents WHERE Document_name  =  "马丽的简历"
问题: 所有的天数和文件的日期是什么？

SQL: SELECT T2.day_Number ,  T1.Date_Stored FROM All_documents AS T1 JOIN Ref_calendar AS T2 ON T1.date_stored  =  T2.calendar_date
问题: 返回所有文件的的天数和存储日期。

SQL: SELECT T2.day_Number ,  T1.Date_Stored FROM All_documents AS T1 JOIN Ref_calendar AS T2 ON T1.date_stored  =  T2.calendar_date
问题: 文件名为“怎样阅读一本书”的文档类型名称是什么？

SQL: SELECT T2.document_type_name FROM All_documents AS T1 JOIN Ref_document_types AS T2 ON T1.document_type_code  =  T2.document_type_code WHERE T1.document_name  =  "怎样阅读一本书"
问题: 查找名为“怎样阅读一本书”的文档类型名称。

SQL: SELECT T2.document_type_name FROM All_documents AS T1 JOIN Ref_document_types AS T2 ON T1.document_type_code  =  T2.document_type_code WHERE T1.document_name  =  "怎样阅读一本书"
问题: 显示位置的数目。

SQL: SELECT count(*) FROM Ref_locations
问题: 数据库中列出了多少个位置？

SQL: SELECT count(*) FROM Ref_locations
问题: 列出所有的位置代码和位置名称。

SQL: SELECT location_code ,  location_name FROM Ref_locations
问题: 所有的位置代码和位置名称是什么？

SQL: SELECT location_code ,  location_name FROM Ref_locations
问题: 代码为“粤”的位置名称和描述是什么？

SQL: SELECT location_name ,  location_description FROM Ref_locations WHERE location_code  =  "粤"
问题: 给出代码为“粤”的位置名称和描述。

SQL: SELECT location_name ,  location_description FROM Ref_locations WHERE location_code  =  "粤"
问题: 国家“加拿大”的位置代码是什么？

SQL: SELECT location_code FROM Ref_locations WHERE location_name  =  "加拿大"
问题: 显示国家“加拿大”的位置代码。

SQL: SELECT location_code FROM Ref_locations WHERE location_name  =  "加拿大"
问题: 有多少角色？

SQL: SELECT count(*) FROM ROLES
问题: 计算列出的角色总数。

SQL: SELECT count(*) FROM ROLES
问题: 列出所有角色代码、角色名和角色描述。

SQL: SELECT role_code ,  role_name ,  role_description FROM ROLES
问题: 所有的角色代码、角色名称和角色描述是什么？

SQL: SELECT role_code ,  role_name ,  role_description FROM ROLES
问题: 角色代码是“经理”的名称和描述是什么？

SQL: SELECT role_name ,  role_description FROM ROLES WHERE role_code  =  "经理"
问题: 找出角色代码是“经理”的名称和描述。

SQL: SELECT role_name ,  role_description FROM ROLES WHERE role_code  =  "经理"
问题: 显示角色名称是“校对员”的描述。

SQL: SELECT role_description FROM ROLES WHERE role_name  =  "校对员"
问题: “校对员”角色的描述是什么？

SQL: SELECT role_description FROM ROLES WHERE role_name  =  "校对员"
问题: 我们有多少员工？

SQL: SELECT count(*) FROM Employees
问题: 找出我们拥有的员工数量。

SQL: SELECT count(*) FROM Employees
问题: 显示名为“琦琦”的雇员的姓名、角色代码和出生日期。

SQL: SELECT employee_name ,  role_code ,  date_of_birth FROM Employees WHERE employee_Name  =  '琦琦'
问题: 名为“琦琦”的员工的姓名、职务代码和出生日期是什么？

SQL: SELECT employee_name ,  role_code ,  date_of_birth FROM Employees WHERE employee_Name  =  '琦琦'
问题: 名字叫“琳琳”的员工的id是什么？

SQL: SELECT employee_ID FROM Employees WHERE employee_name  =  "琳琳"
问题: 显示名为“琳琳”的雇员的id。

SQL: SELECT employee_ID FROM Employees WHERE employee_name  =  "琳琳"
问题: 显示所有角色是“人力资源”的员工的姓名。

SQL: SELECT employee_name FROM Employees WHERE role_code  =  "人力资源"
问题: 哪些员工的角色代码是“人力资源”？找出他们的名字。

SQL: SELECT employee_name FROM Employees WHERE role_code  =  "人力资源"
问题: 显示所有角色代码和每个角色中的雇员数量。

SQL: SELECT role_code ,  count(*) FROM Employees GROUP BY role_code
问题: 每个角色的代码及其对应的的员工数量是多少？

SQL: SELECT role_code ,  count(*) FROM Employees GROUP BY role_code
问题: 员工人数最多的角色代码是什么？

SQL: SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) DESC LIMIT 1
问题: 找出具有最多雇员的角色代码。

SQL: SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) DESC LIMIT 1
问题: 显示至少有3名员工的所有角色代码。

SQL: SELECT role_code FROM Employees GROUP BY role_code HAVING count(*)  >=  3
问题: 有三个或更多员工的角色的角色代码是什么？。

SQL: SELECT role_code FROM Employees GROUP BY role_code HAVING count(*)  >=  3
问题: 显示最少的雇员的角色代码。

SQL: SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) ASC LIMIT 1
问题: 员工数最少的角色是什么？找出其角色代码。

SQL: SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) ASC LIMIT 1
问题: 雇员名为“琳琳”的角色名和角色描述是什么？

SQL: SELECT T2.role_name ,  T2.role_description FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code  =  T2.role_code WHERE T1.employee_name  =  "琳琳"
问题: 显示名为“琳琳”的雇员的角色名和角色描述。

SQL: SELECT T2.role_name ,  T2.role_description FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code  =  T2.role_code WHERE T1.employee_name  =  "琳琳"
问题: 显示角色名称是“编辑”的员工的姓名。

SQL: SELECT T1.employee_name FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code  =  T2.role_code WHERE T2.role_name  =  "编辑"
问题: 查找所有角色名称为“编辑”的雇员的姓名。

SQL: SELECT T1.employee_name FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code  =  T2.role_code WHERE T2.role_name  =  "编辑"
问题: 显示所有角色名称是“人力资源”或“经理”的员工的ID。

SQL: SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code  =  T2.role_code WHERE T2.role_name  =  "人力资源" OR T2.role_name  =  "经理"
问题: 角色名称是“人力资源”或“经理”的员工的ID是什么？

SQL: SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code  =  T2.role_code WHERE T2.role_name  =  "人力资源" OR T2.role_name  =  "经理"
问题: 文档的位置代码有什么不同？

SQL: SELECT DISTINCT location_code FROM Document_locations
问题: 给我所有的文件的不同位置代码。

SQL: SELECT DISTINCT location_code FROM Document_locations
问题: 显示文件“罗超的简历”的位置名称。

SQL: SELECT T3.location_name FROM All_documents AS T1 JOIN Document_locations AS T2 ON T1.document_id  =  T2.document_id JOIN Ref_locations AS T3 ON T2.location_code  =  T3.location_code WHERE T1.document_name  =  "罗超的简历"
问题: “罗超的简历”文件的位置名称是什么？

SQL: SELECT T3.location_name FROM All_documents AS T1 JOIN Document_locations AS T2 ON T1.document_id  =  T2.document_id JOIN Ref_locations AS T3 ON T2.location_code  =  T3.location_code WHERE T1.document_name  =  "罗超的简历"
问题: 显示所有文档的位置代码、起始日期和结束数据所在位置。

SQL: SELECT location_code ,  date_in_location_from ,  date_in_locaton_to FROM Document_locations
问题: 每个文档的位置代码、起始日期和结束数据所在位置都是什么？

SQL: SELECT location_code ,  date_in_location_from ,  date_in_locaton_to FROM Document_locations
问题: 名称为“罗超的简历”的文档的“起始位置日期”和“最终位置日期”是什么？

SQL: SELECT T1.date_in_location_from ,  T1.date_in_locaton_to FROM Document_locations AS T1 JOIN All_documents AS T2 ON T1.document_id  =  T2.document_id WHERE T2.document_name  =  "罗超的简历"
问题: 找出名为“罗超的简历”的文档起始日期和结束数据所在位置。

SQL: SELECT T1.date_in_location_from ,  T1.date_in_locaton_to FROM Document_locations AS T1 JOIN All_documents AS T2 ON T1.document_id  =  T2.document_id WHERE T2.document_name  =  "罗超的简历"
问题: 显示每个位置的位置代码和文档数量。

SQL: SELECT location_code ,  count(*) FROM Document_locations GROUP BY location_code
问题: 每个位置的代码和那个位置对应的文档数量是多少？

SQL: SELECT location_code ,  count(*) FROM Document_locations GROUP BY location_code
问题: 最多的文件的位置代码是什么？

SQL: SELECT location_code FROM Document_locations GROUP BY location_code ORDER BY count(*) DESC LIMIT 1
问题: 查找拥有最大数量的文档的位置代码。

SQL: SELECT location_code FROM Document_locations GROUP BY location_code ORDER BY count(*) DESC LIMIT 1
问题: 显示至少3个文件的位置代码。

SQL: SELECT location_code FROM Document_locations GROUP BY location_code HAVING count(*)  >=  3
问题: 至少有三个文件的位置代码是什么？

SQL: SELECT location_code FROM Document_locations GROUP BY location_code HAVING count(*)  >=  3
问题: 显示最少的文档所在位置名称和代码。

SQL: SELECT T2.location_name ,  T1.location_code FROM Document_locations AS T1 JOIN Ref_locations AS T2 ON T1.location_code  =  T2.location_code GROUP BY T1.location_code ORDER BY count(*) ASC LIMIT 1
问题: 文档数量最少的地点的名称和代码是什么？

SQL: SELECT T2.location_name ,  T1.location_code FROM Document_locations AS T1 JOIN Ref_locations AS T2 ON T1.location_code  =  T2.location_code GROUP BY T1.location_code ORDER BY count(*) ASC LIMIT 1
问题: 授权销毁的雇员和销毁相应文件的雇员的名字是什么？

SQL: SELECT T2.employee_name ,  T3.employee_name FROM Documents_to_be_destroyed AS T1 JOIN Employees AS T2 ON T1.Destruction_Authorised_by_Employee_ID = T2.employee_id JOIN Employees AS T3 ON T1.Destroyed_by_Employee_ID = T3.employee_id;
问题: 列出授权销毁文件的雇员和销毁相应文件的雇员的姓名。

SQL: SELECT T2.employee_name ,  T3.employee_name FROM Documents_to_be_destroyed AS T1 JOIN Employees AS T2 ON T1.Destruction_Authorised_by_Employee_ID = T2.employee_id JOIN Employees AS T3 ON T1.Destroyed_by_Employee_ID = T3.employee_id;
问题: 显示每个雇员的id以及该雇员授权销毁文件的数量。

SQL: SELECT Destruction_Authorised_by_Employee_ID ,  count(*) FROM Documents_to_be_destroyed GROUP BY Destruction_Authorised_by_Employee_ID
问题: 每个雇员的id和授权销毁文件的数量是多少？

SQL: SELECT Destruction_Authorised_by_Employee_ID ,  count(*) FROM Documents_to_be_destroyed GROUP BY Destruction_Authorised_by_Employee_ID
问题: 显示员工的ID和每个员工对应销毁的文件数量。

SQL: SELECT Destroyed_by_Employee_ID ,  count(*) FROM Documents_to_be_destroyed GROUP BY Destroyed_by_Employee_ID
问题: 每个员工的id和销毁的文件数量是多少？

SQL: SELECT Destroyed_by_Employee_ID ,  count(*) FROM Documents_to_be_destroyed GROUP BY Destroyed_by_Employee_ID
问题: 显示没有授权销毁任何文档的雇员的ID。

SQL: SELECT employee_id FROM Employees EXCEPT SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed
问题: 哪些雇员没有授权销毁任何文件？列出他们的员工ID。

SQL: SELECT employee_id FROM Employees EXCEPT SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed
问题: 显示所有授权销毁文件的员工的ID。

SQL: SELECT DISTINCT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed
问题: 授权文件销毁的所有员工的id是什么？

SQL: SELECT DISTINCT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed
问题: 显示所有销毁文件的雇员的ID。

SQL: SELECT DISTINCT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed
问题: 所有销毁文件的员工的ID是什么？

SQL: SELECT DISTINCT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed
问题: 显示所有没有销毁过任何文件的雇员的ID。

SQL: SELECT employee_id FROM Employees EXCEPT SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed
问题: 哪些员工没有销毁过任何文件？找到他们的雇员ID。

SQL: SELECT employee_id FROM Employees EXCEPT SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed
问题: 显示销毁文档或授权进行此操作的所有员工的ID。

SQL: SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed UNION SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed
问题: 哪些员工销毁了文件或授权其他员工销毁文件？返回他们的雇员ID。

SQL: SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed UNION SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed
问题: 统计俱乐部总数。

SQL: SELECT count(*) FROM club
问题: 所有俱乐部的名字是什么？

SQL: SELECT clubname FROM club
问题: 给我每个俱乐部的名字。

SQL: SELECT clubname FROM club
问题: 那儿有多少学生？

SQL: SELECT count(*) FROM student
问题: 统计学生总数。

SQL: SELECT count(*) FROM student
问题: 所有学生的名字是什么？

SQL: SELECT DISTINCT fname FROM student
问题: 找出每个学生的名字。

SQL: SELECT DISTINCT fname FROM student
问题: 找出“赛车”俱乐部所有成员的姓氏。

SQL: SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "赛车"
问题: “赛车”俱乐部的成员的姓氏是什么？

SQL: SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "赛车"
问题: “北大创业俱乐部”俱乐部的成员都有谁？显示他们的姓氏。

SQL: SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "北大创业俱乐部"
问题: 返回名为“北大创业俱乐部”的俱乐部成员的姓氏。

SQL: SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "北大创业俱乐部"
问题: “网球俱乐部”有多少会员？

SQL: SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "网球俱乐部"
问题: 统计俱乐部“网球俱乐部”的成员数。

SQL: SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "网球俱乐部"
问题: 找出“文学”会员的数量。

SQL: SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "文学"
问题: 有多少人拥有俱乐部“文学”的会员资格？

SQL: SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "文学"
问题: “天天”“帅”属于多少家俱乐部？

SQL: SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.fname  =  "天天" AND t3.lname  =  "帅"
问题: “天天”“帅”有多少家俱乐部的会员？

SQL: SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.fname  =  "天天" AND t3.lname  =  "帅"
问题: 找到“金” “洋”拥有的俱乐部成员的数量。

SQL: SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.fname  =  "金" AND t3.lname  =  "洋"
问题: “金” “洋”是多少俱乐部的会员？

SQL: SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.fname  =  "金" AND t3.lname  =  "洋"
问题: 找出“赛车”俱乐部的所有“女性”成员的名字和姓氏。

SQL: SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "赛车" AND t3.sex  =  "F"
问题: 在“赛车”俱乐部所有“女性”成员的名字和姓氏是什么。

SQL: SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "赛车" AND t3.sex  =  "F"
问题: 找到“北大创业俱乐部”俱乐部的所有“男性”成员的姓名和姓氏。

SQL: SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "北大创业俱乐部" AND t3.sex  =  "男"
问题: “北大创业俱乐部”俱乐部每个“男性”成员的名字和姓氏是什么？

SQL: SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "北大创业俱乐部" AND t3.sex  =  "男"
问题: 找出所有专业是“600”的“赛车”的成员的姓名和姓氏。

SQL: SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "赛车" AND t3.major  =  "600"
问题: 所有专业是“600”的“赛车”的成员的姓名和姓氏是什么。

SQL: SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "赛车" AND t3.major  =  "600"
问题: 哪一个俱乐部拥有最多主修“600”的会员？

SQL: SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.major  =  "600" GROUP BY t1.clubname ORDER BY count(*) DESC LIMIT 1
问题: 找出主修“600”课程的会员最多的俱乐部。

SQL: SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.major  =  "600" GROUP BY t1.clubname ORDER BY count(*) DESC LIMIT 1
问题: 找到拥有最多“女性”学生的俱乐部的名字。

SQL: SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.sex  =  "F" GROUP BY t1.clubname ORDER BY count(*) DESC LIMIT 1
问题: 哪一个俱乐部的“女性”学生最多？给我这个俱乐部的名字。

SQL: SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.sex  =  "F" GROUP BY t1.clubname ORDER BY count(*) DESC LIMIT 1
问题: 对“网球俱乐部”的描述是什么？

SQL: SELECT clubdesc FROM club WHERE clubname  =  "网球俱乐部"
问题: 找一个叫做“网球俱乐部”的俱乐部的描述。

SQL: SELECT clubdesc FROM club WHERE clubname  =  "网球俱乐部"
问题: 找出俱乐部“文学”的描述。

SQL: SELECT clubdesc FROM club WHERE clubname  =  "文学"
问题: “文学”俱乐部的描述是什么？

SQL: SELECT clubdesc FROM club WHERE clubname  =  "文学"
问题: 名字叫“网球俱乐部”的俱乐部所在位置是什么？

SQL: SELECT clublocation FROM club WHERE clubname  =  "网球俱乐部"
问题: 我们叫“网球俱乐部”的俱乐部在哪里？

SQL: SELECT clublocation FROM club WHERE clubname  =  "网球俱乐部"
问题: 找到俱乐部“文学”的位置。

SQL: SELECT clublocation FROM club WHERE clubname  =  "文学"
问题: “文学”俱乐部在哪里？

SQL: SELECT clublocation FROM club WHERE clubname  =  "文学"
问题: “北大创业俱乐部”俱乐部在哪里？

SQL: SELECT clublocation FROM club WHERE clubname  =  "北大创业俱乐部"
问题: 告诉我俱乐部“北大创业俱乐部”的位置。

SQL: SELECT clublocation FROM club WHERE clubname  =  "北大创业俱乐部"
问题: 找出所有在“济南”的俱乐部的名字。

SQL: SELECT clubname FROM club WHERE clublocation  =  "济南"
问题: 哪些俱乐部位于“济南”？返回俱乐部名称。

SQL: SELECT clubname FROM club WHERE clublocation  =  "济南"
问题: “杭州”有多少家俱乐部？

SQL: SELECT count(*) FROM club WHERE clublocation  =  "杭州"
问题: 统计“杭州”俱乐部的数量。

SQL: SELECT count(*) FROM club WHERE clublocation  =  "杭州"
问题: “赛车”俱乐部主席的名字和姓氏是什么？

SQL: SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "赛车" AND t2.position  =  "主席"
问题: 谁是“赛车”的主席？给出其名字和姓氏。

SQL: SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "赛车" AND t2.position  =  "主席"
问题: “北大创业俱乐部”俱乐部的“CTO”的姓名和姓氏是什么？

SQL: SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "北大创业俱乐部" AND t2.position  =  "CTO"
问题: 找出“北大创业俱乐部”俱乐部的“CTO”的姓名和姓氏。

SQL: SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  "北大创业俱乐部" AND t2.position  =  "CTO"
问题: 在“赛车”俱乐部中有多少不同的角色？

SQL: SELECT count(DISTINCT t2.position) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid WHERE t1.clubname  =  "赛车"
问题: 统计在俱乐部“赛车”的不同位置的数量。

SQL: SELECT count(DISTINCT t2.position) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid WHERE t1.clubname  =  "赛车"