jtjt520j/cspider_for_chinese_llama2_1.3b huggingface dataset:
Schema: CREATE TABLE entrepreneur (Company VARCHAR, Money_Requested VARCHAR)
user: 按照要求的资金顺序列出企业家的公司。

assistant: SELECT Company FROM entrepreneur ORDER BY Money_Requested DESC
Schema: CREATE TABLE entrepreneur (Company VARCHAR, Money_Requested VARCHAR)
user: 按金额减少的顺序，企业家的公司是什么？

assistant: SELECT Company FROM entrepreneur ORDER BY Money_Requested DESC
Schema: CREATE TABLE entrepreneur (Company VARCHAR, Investor VARCHAR)
user: 列出企业家的公司和投资者。

assistant: SELECT Company ,  Investor FROM entrepreneur
Schema: CREATE TABLE entrepreneur (Company VARCHAR, Investor VARCHAR)
user: 与每个企业家相对应的公司和投资者是什么？

assistant: SELECT Company ,  Investor FROM entrepreneur
Schema: CREATE TABLE entrepreneur (Money_Requested INTEGER)
user: 所有企业家的平均资金是多少？

assistant: SELECT avg(Money_Requested) FROM entrepreneur
Schema: CREATE TABLE entrepreneur (Money_Requested INTEGER)
user: 返回所有企业家的平均资金。

assistant: SELECT avg(Money_Requested) FROM entrepreneur
Schema: CREATE TABLE People (Name VARCHAR, Weight VARCHAR)
user: 按体重的上升顺序排列的人的名字是什么？

assistant: SELECT Name FROM People ORDER BY Weight ASC
Schema: CREATE TABLE People (Name VARCHAR, Weight VARCHAR)
user: 按重量排序上升返回的人的姓名。

assistant: SELECT Name FROM People ORDER BY Weight ASC
Schema: CREATE TABLE entrepreneur (People_ID VARCHAR), CREATE TABLE people (People_ID VARCHAR, Name VARCHAR)
user: 企业家的名字是什么？

assistant: SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID
Schema: CREATE TABLE entrepreneur (People_ID VARCHAR), CREATE TABLE people (People_ID VARCHAR, Name VARCHAR)
user: 返回企业家的名字。

assistant: SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID
Schema: CREATE TABLE entrepreneur (People_ID VARCHAR, Investor VARCHAR), CREATE TABLE people (People_ID VARCHAR, Name VARCHAR)
user: 那些投资者不是““马云””的企业家的名字是什么？

assistant: SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Investor != "马云"
Schema: CREATE TABLE entrepreneur (People_ID VARCHAR, Investor VARCHAR), CREATE TABLE people (People_ID VARCHAR, Name VARCHAR)
user: 返回没有投资者“马云”的企业家的名字。

assistant: SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Investor != "马云"
Schema: CREATE TABLE people (Height VARCHAR, Weight VARCHAR)
user: 最矮的人的体重是多少？

assistant: SELECT Weight FROM people ORDER BY Height ASC LIMIT 1
Schema: CREATE TABLE people (Height VARCHAR, Weight VARCHAR)
user: 返回最矮的人的体重。

assistant: SELECT Weight FROM people ORDER BY Height ASC LIMIT 1
Schema: CREATE TABLE entrepreneur (People_ID VARCHAR), CREATE TABLE people (People_ID VARCHAR, Name VARCHAR, Weight VARCHAR)
user: 最重的企业家的名字是什么？

assistant: SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Weight DESC LIMIT 1
Schema: CREATE TABLE entrepreneur (People_ID VARCHAR), CREATE TABLE people (People_ID VARCHAR, Name VARCHAR, Weight VARCHAR)
user: 返回最重的企业家的名字。

assistant: SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Weight DESC LIMIT 1
Schema: CREATE TABLE entrepreneur (People_ID VARCHAR, Money_Requested INTEGER), CREATE TABLE people (People_ID VARCHAR, Height INTEGER)
user: 身高超过1.85的企业家的申请资金总额是多少？

assistant: SELECT sum(T1.Money_Requested) FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Height  >  1.85
Schema: CREATE TABLE entrepreneur (People_ID VARCHAR, Money_Requested INTEGER), CREATE TABLE people (People_ID VARCHAR, Height INTEGER)
user: 给出高于1.85的企业家的总申请金额。

assistant: SELECT sum(T1.Money_Requested) FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Height  >  1.85
Schema: CREATE TABLE entrepreneur (People_ID VARCHAR, Investor VARCHAR), CREATE TABLE people (Date_of_Birth VARCHAR, People_ID VARCHAR)
user: 名字是“马化腾”或“李彦宏”的企业家的出生日期是什么？

assistant: SELECT T2.Date_of_Birth FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Investor  =  "马化腾" OR T1.Investor  =  "李彦宏"
Schema: CREATE TABLE entrepreneur (People_ID VARCHAR, Investor VARCHAR), CREATE TABLE people (Date_of_Birth VARCHAR, People_ID VARCHAR)
user: 返回名字是“马化腾”或“李彦宏”的企业家的出生日期。

assistant: SELECT T2.Date_of_Birth FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Investor  =  "马化腾" OR T1.Investor  =  "李彦宏"
Schema: CREATE TABLE entrepreneur (People_ID VARCHAR, Money_Requested VARCHAR), CREATE TABLE people (People_ID VARCHAR, Weight VARCHAR)
user: 按金额降序排列，企业家的重量是什么？

assistant: SELECT T2.Weight FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Money_Requested DESC
Schema: CREATE TABLE entrepreneur (People_ID VARCHAR, Money_Requested VARCHAR), CREATE TABLE people (People_ID VARCHAR, Weight VARCHAR)
user: 按要求的申请金额降序排列返回企业家的重量。

assistant: SELECT T2.Weight FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Money_Requested DESC
Schema: CREATE TABLE entrepreneur (Investor VARCHAR)
user: 企业家的投资者有哪些？每个投资者投资的企业家人数是多少？

assistant: SELECT Investor ,  COUNT(*) FROM entrepreneur GROUP BY Investor
Schema: CREATE TABLE entrepreneur (Investor VARCHAR)
user: 每个投资者对应着多少企业家？

assistant: SELECT Investor ,  COUNT(*) FROM entrepreneur GROUP BY Investor
Schema: CREATE TABLE entrepreneur (Investor VARCHAR)
user: 投资最多企业家的投资者是谁？

assistant: SELECT Investor FROM entrepreneur GROUP BY Investor ORDER BY COUNT(*) DESC LIMIT 1
Schema: CREATE TABLE entrepreneur (Investor VARCHAR)
user: 返回那些投资最多企业家的投资者。

assistant: SELECT Investor FROM entrepreneur GROUP BY Investor ORDER BY COUNT(*) DESC LIMIT 1
Schema: CREATE TABLE entrepreneur (Investor VARCHAR)
user: 投资至少两位企业家的投资者是什么？

assistant: SELECT Investor FROM entrepreneur GROUP BY Investor HAVING COUNT(*)  >=  2
Schema: CREATE TABLE entrepreneur (Investor VARCHAR)
user: 返回投资两个或更多企业家的投资者。

assistant: SELECT Investor FROM entrepreneur GROUP BY Investor HAVING COUNT(*)  >=  2
Schema: CREATE TABLE entrepreneur (Company VARCHAR, Money_Requested VARCHAR, People_ID VARCHAR), CREATE TABLE people (People_ID VARCHAR, Name VARCHAR)
user: 按申请资金的降序列出企业家及其公司的名字。

assistant: SELECT T2.Name ,  T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Money_Requested
Schema: CREATE TABLE entrepreneur (Company VARCHAR, Money_Requested VARCHAR, People_ID VARCHAR), CREATE TABLE people (People_ID VARCHAR, Name VARCHAR)
user: 按申请金额降序排列的企业家及其相应的投资者的姓名是什么？

assistant: SELECT T2.Name ,  T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Money_Requested
Schema: CREATE TABLE people (People_ID VARCHAR, Name VARCHAR), CREATE TABLE entrepreneur (People_ID VARCHAR, Name VARCHAR)
user: 列出不是企业家的人的名字。

assistant: SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM entrepreneur)
Schema: CREATE TABLE people (People_ID VARCHAR, Name VARCHAR), CREATE TABLE entrepreneur (People_ID VARCHAR, Name VARCHAR)
user: 那些不是企业家的人的名字是什么？

assistant: SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM entrepreneur)
Schema: CREATE TABLE entrepreneur (Investor VARCHAR, Money_Requested INTEGER)
user: 展示申请超过14万的企业家和申请不到12万的企业家所共有的投资者。

assistant: SELECT Investor FROM entrepreneur WHERE Money_Requested  >  140000 INTERSECT SELECT Investor FROM entrepreneur WHERE Money_Requested  <  120000
Schema: CREATE TABLE entrepreneur (Investor VARCHAR, Money_Requested INTEGER)
user: 对申请超过14万的企业家和申请不到12万的企业家都进行投资的投资者是什么？

assistant: SELECT Investor FROM entrepreneur WHERE Money_Requested  >  140000 INTERSECT SELECT Investor FROM entrepreneur WHERE Money_Requested  <  120000
Schema: CREATE TABLE entrepreneur (Company VARCHAR)
user: 有多少家不同的公司？

assistant: SELECT count(DISTINCT Company) FROM entrepreneur
Schema: CREATE TABLE entrepreneur (Company VARCHAR)
user: 统计不同公司的数量。

assistant: SELECT count(DISTINCT Company) FROM entrepreneur
Schema: CREATE TABLE entrepreneur (Company VARCHAR, People_ID VARCHAR), CREATE TABLE people (People_ID VARCHAR, Height VARCHAR)
user: 显示身高最高的企业家的公司。

assistant: SELECT T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Height DESC LIMIT 1
Schema: CREATE TABLE entrepreneur (Company VARCHAR, People_ID VARCHAR), CREATE TABLE people (People_ID VARCHAR, Height VARCHAR)
user: 哪家公司是由最高身高的企业家创办的？

assistant: SELECT T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Height DESC LIMIT 1
Schema: CREATE TABLE perpetrator (Id VARCHAR)
user: 有多少犯罪者在那里？

assistant: SELECT count(*) FROM perpetrator
Schema: CREATE TABLE perpetrator (Date VARCHAR, Killed VARCHAR)
user: 按死亡人数的降序列出犯罪者的日期。

assistant: SELECT Date FROM perpetrator ORDER BY Killed DESC
Schema: CREATE TABLE perpetrator (Injured VARCHAR)
user: 以受伤人数的升序列出犯罪者伤害的人数。

assistant: SELECT Injured FROM perpetrator ORDER BY Injured ASC
Schema: CREATE TABLE perpetrator (Injured INTEGER)
user: 所有犯罪者伤害的平均人数是多少？

assistant: SELECT avg(Injured) FROM perpetrator
Schema: CREATE TABLE perpetrator (LOCATION VARCHAR, Killed VARCHAR)
user: 有着最大死亡人数的犯罪者地点是什么？

assistant: SELECT LOCATION FROM perpetrator ORDER BY Killed DESC LIMIT 1
Schema: CREATE TABLE People (Height VARCHAR, Name VARCHAR)
user: 按身高的上升顺序列出的人的名字是什么？

assistant: SELECT Name FROM People ORDER BY Height ASC
Schema: CREATE TABLE people (People_ID VARCHAR, Name VARCHAR), CREATE TABLE perpetrator (People_ID VARCHAR)
user: 犯罪者的名字是什么？

assistant: SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID
Schema: CREATE TABLE people (People_ID VARCHAR, Name VARCHAR), CREATE TABLE perpetrator (People_ID VARCHAR, Country VARCHAR)
user: 那些国家不是“中国”的犯罪者的名字是什么？

assistant: SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Country != "中国"
Schema: CREATE TABLE people (People_ID VARCHAR, Name VARCHAR, Weight VARCHAR), CREATE TABLE perpetrator (People_ID VARCHAR)
user: 体重最大的犯罪者的名字是什么？

assistant: SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Weight DESC LIMIT 1
Schema: CREATE TABLE people (People_ID VARCHAR, Height INTEGER), CREATE TABLE perpetrator (People_ID VARCHAR, Killed INTEGER)
user: 身高超过1.84的犯罪者的总杀害的人数是什么。

assistant: SELECT sum(T2.Killed) FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Height  >  1.84
Schema: CREATE TABLE people (People_ID VARCHAR, Name VARCHAR), CREATE TABLE perpetrator (People_ID VARCHAR, Country VARCHAR)
user: 国家是“中国”或“日本”的犯罪者姓名是什么？

assistant: SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Country  =  "中国" OR T2.Country  =  "日本"
Schema: CREATE TABLE people (People_ID VARCHAR, Height VARCHAR), CREATE TABLE perpetrator (People_ID VARCHAR, Injured VARCHAR)
user: 按照他们受伤人数的下降顺序，犯罪者的身高是多少？

assistant: SELECT T1.Height FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Injured DESC
Schema: CREATE TABLE perpetrator (Country VARCHAR)
user: 犯罪者的国家是什么？显示每个国家和相应的犯罪者数量。

assistant: SELECT Country ,  COUNT(*) FROM perpetrator GROUP BY Country
Schema: CREATE TABLE perpetrator (Country VARCHAR)
user: 哪个国家的犯罪分子最多？

assistant: SELECT Country ,  COUNT(*) FROM perpetrator GROUP BY Country ORDER BY COUNT(*) DESC LIMIT 1
Schema: CREATE TABLE perpetrator (Country VARCHAR)
user: 哪些国家至少有两个犯罪者？

assistant: SELECT Country ,  COUNT(*) FROM perpetrator GROUP BY Country HAVING COUNT(*)  >=  2
Schema: CREATE TABLE people (People_ID VARCHAR, Name VARCHAR), CREATE TABLE perpetrator (People_ID VARCHAR, Year VARCHAR)
user: 按年份降序列出犯罪者的姓名。

assistant: SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Year DESC
Schema: CREATE TABLE people (People_ID VARCHAR, Name VARCHAR), CREATE TABLE perpetrator (People_ID VARCHAR, Name VARCHAR)
user: 列出那些不是犯罪者的人的名字。

assistant: SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM perpetrator)
Schema: CREATE TABLE perpetrator (Country VARCHAR, Injured INTEGER)
user: 显示那些既有50多人受伤的犯罪者，又有少于20人受伤的犯罪者所在的国家。

assistant: SELECT Country FROM perpetrator WHERE Injured  >  50 INTERSECT SELECT Country FROM perpetrator WHERE Injured  <  20
Schema: CREATE TABLE perpetrator (LOCATION VARCHAR)
user: 犯罪者有几个不同的位置？

assistant: SELECT count(DISTINCT LOCATION) FROM perpetrator
Schema: CREATE TABLE people (People_ID VARCHAR, Height VARCHAR), CREATE TABLE perpetrator (People_ID VARCHAR, Date VARCHAR)
user: 显示身高最高犯罪者的犯罪日期。

assistant: SELECT T2.Date FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Height DESC LIMIT 1
Schema: CREATE TABLE perpetrator (YEAR INTEGER)
user: 最近的犯罪发生在哪一年？

assistant: SELECT max(YEAR) FROM perpetrator;
Schema: CREATE TABLE campuses (campus VARCHAR, county VARCHAR)
user: 报告“上海”市所有校区的名称。

assistant: SELECT campus FROM campuses WHERE county  =  "上海"
Schema: CREATE TABLE campuses (campus VARCHAR, county VARCHAR)
user: “上海”市有哪些校区？

assistant: SELECT campus FROM campuses WHERE county  =  "上海"
Schema: CREATE TABLE campuses (LOCATION VARCHAR, campus VARCHAR)
user: “武汉”所有校区的名称是什么？

assistant: SELECT campus FROM campuses WHERE LOCATION  =  "武汉"
Schema: CREATE TABLE campuses (LOCATION VARCHAR, campus VARCHAR)
user: “武汉”有哪些校区？

assistant: SELECT campus FROM campuses WHERE LOCATION  =  "武汉"
Schema: CREATE TABLE campuses (campus VARCHAR, YEAR VARCHAR)
user: 找到在1958开办的所有的校园。

assistant: SELECT campus FROM campuses WHERE YEAR  =  1958
Schema: CREATE TABLE campuses (campus VARCHAR, YEAR VARCHAR)
user: 在1958年开办的校园名称是什么？

assistant: SELECT campus FROM campuses WHERE YEAR  =  1958
Schema: CREATE TABLE campuses (campus VARCHAR, YEAR INTEGER)
user: 找到在1800年之前开办的校园名称。

assistant: SELECT campus FROM campuses WHERE YEAR  <  1800
Schema: CREATE TABLE campuses (campus VARCHAR, YEAR INTEGER)
user: 什么学校在1800年之前开办？

assistant: SELECT campus FROM campuses WHERE YEAR  <  1800
Schema: CREATE TABLE campuses (campus VARCHAR, YEAR INTEGER)
user: 在1935到1939年间创办了哪个学校？

assistant: SELECT campus FROM campuses WHERE YEAR  >=  1935 AND YEAR  <=  1939
Schema: CREATE TABLE campuses (campus VARCHAR, YEAR INTEGER)
user: 1935至1939年间开设了哪些学校？

assistant: SELECT campus FROM campuses WHERE YEAR  >=  1935 AND YEAR  <=  1939
Schema: CREATE TABLE campuses (LOCATION VARCHAR, campus VARCHAR, county VARCHAR)
user: 找到在“徐汇”、“上海”或“厦门”的校园名称。

assistant: SELECT campus FROM campuses WHERE LOCATION  =  "徐汇" AND county  =  "上海" UNION SELECT campus FROM campuses WHERE LOCATION  =  "厦门" AND county  =  "厦门"
Schema: CREATE TABLE campuses (LOCATION VARCHAR, campus VARCHAR, county VARCHAR)
user: 在“徐汇”、“上海”或“厦门”有哪些校区？

assistant: SELECT campus FROM campuses WHERE LOCATION  =  "徐汇" AND county  =  "上海" UNION SELECT campus FROM campuses WHERE LOCATION  =  "厦门" AND county  =  "厦门"
Schema: CREATE TABLE campuses (id VARCHAR), CREATE TABLE csu_fees (year VARCHAR)
user: 1996年度“湖南大学”州立大学的学费是多少？

assistant: SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id  =  t2.campus WHERE t1.campus  =  "湖南大学" AND T2.year  =  1996
Schema: CREATE TABLE campuses (id VARCHAR), CREATE TABLE csu_fees (year VARCHAR)
user: 在1996年，“湖南大学”的学费是多少？

assistant: SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id  =  t2.campus WHERE t1.campus  =  "湖南大学" AND T2.year  =  1996
Schema: CREATE TABLE campuses (id VARCHAR), CREATE TABLE csu_fees (year VARCHAR)
user: 1996年度“厦门大学”的所需要的学费是多少？

assistant: SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id  =  t2.campus WHERE t1.campus  =  "厦门大学" AND T2.year  =  1996
Schema: CREATE TABLE campuses (id VARCHAR), CREATE TABLE csu_fees (year VARCHAR)
user: 1996入学“厦门大学”需要的学费是多少？

assistant: SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id  =  t2.campus WHERE t1.campus  =  "厦门大学" AND T2.year  =  1996
Schema: CREATE TABLE csu_fees (campusfee INTEGER)
user: 查找校园费用高于平均校园费用的大学的数目。

assistant: SELECT count(*) FROM csu_fees WHERE campusfee  >  (SELECT avg(campusfee) FROM csu_fees)
Schema: CREATE TABLE csu_fees (campusfee INTEGER)
user: 有多少大学的学费高于平均水平？

assistant: SELECT count(*) FROM csu_fees WHERE campusfee  >  (SELECT avg(campusfee) FROM csu_fees)
Schema: CREATE TABLE csu_fees (campusfee INTEGER)
user: 查找高于平均校园费用大学的数目。

assistant: SELECT count(*) FROM csu_fees WHERE campusfee  >  (SELECT avg(campusfee) FROM csu_fees)
Schema: CREATE TABLE csu_fees (campusfee INTEGER)
user: 学费高于平均水平的大学有多少？

assistant: SELECT count(*) FROM csu_fees WHERE campusfee  >  (SELECT avg(campusfee) FROM csu_fees)
Schema: CREATE TABLE campuses (YEAR INTEGER, campus VARCHAR, county VARCHAR)
user: 哪所大学在“上海”市且在1950年以后开办？

assistant: SELECT campus FROM campuses WHERE county  =  "上海" AND YEAR  >  1950
Schema: CREATE TABLE campuses (YEAR INTEGER, campus VARCHAR, county VARCHAR)
user: 在1950年后开办的位于“上海”的学校在哪里？

assistant: SELECT campus FROM campuses WHERE county  =  "上海" AND YEAR  >  1950
Schema: CREATE TABLE degrees (degrees INTEGER, YEAR VARCHAR)
user: 哪一年授予了最多学位？

assistant: SELECT YEAR FROM degrees GROUP BY YEAR ORDER BY sum(degrees) DESC LIMIT 1
Schema: CREATE TABLE degrees (degrees INTEGER, YEAR VARCHAR)
user: 在哪一年被授予的学位的数量最多？

assistant: SELECT YEAR FROM degrees GROUP BY YEAR ORDER BY sum(degrees) DESC LIMIT 1
Schema: CREATE TABLE degrees (degrees INTEGER, campus VARCHAR)
user: 哪个学校的学位授予的次数最多？

assistant: SELECT campus FROM degrees GROUP BY campus ORDER BY sum(degrees) DESC LIMIT 1
Schema: CREATE TABLE degrees (degrees INTEGER, campus VARCHAR)
user: 什么大学的学位授予数最高？

assistant: SELECT campus FROM degrees GROUP BY campus ORDER BY sum(degrees) DESC LIMIT 1
Schema: CREATE TABLE campuses (campus VARCHAR, id VARCHAR), CREATE TABLE faculty (year VARCHAR, campus VARCHAR, faculty VARCHAR)
user: 哪一个大学在第2003年有最多的教师？

assistant: SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id  =  T2.campus WHERE T2.year  =  2003 ORDER BY T2.faculty DESC LIMIT 1
Schema: CREATE TABLE campuses (campus VARCHAR, id VARCHAR), CREATE TABLE faculty (year VARCHAR, campus VARCHAR, faculty VARCHAR)
user: 2003年那个学校教师人数最多？

assistant: SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id  =  T2.campus WHERE T2.year  =  2003 ORDER BY T2.faculty DESC LIMIT 1
Schema: CREATE TABLE csu_fees (campusfee INTEGER, YEAR VARCHAR)
user: 找出1996年CSU大学的平均费用。

assistant: SELECT avg(campusfee) FROM csu_fees WHERE YEAR  =  1996
Schema: CREATE TABLE csu_fees (campusfee INTEGER, YEAR VARCHAR)
user: 1996年度大学的平均CSU费用是多少？

assistant: SELECT avg(campusfee) FROM csu_fees WHERE YEAR  =  1996
Schema: CREATE TABLE csu_fees (campusfee INTEGER, YEAR VARCHAR)
user: 2005在校园的平均CSU费用是多少？

assistant: SELECT avg(campusfee) FROM csu_fees WHERE YEAR  =  2005
Schema: CREATE TABLE csu_fees (campusfee INTEGER, YEAR VARCHAR)
user: 2005年度高校的平均CSU费用是多少？

assistant: SELECT avg(campusfee) FROM csu_fees WHERE YEAR  =  2005
Schema: CREATE TABLE campuses (campus VARCHAR, id VARCHAR), CREATE TABLE degrees (degrees INTEGER, campus VARCHAR, year INTEGER)
user: 报告1998至2002年间授予的学位总数。

assistant: SELECT T1.campus ,  sum(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id  =  T2.campus WHERE T2.year  >=  1998 AND T2.year  <=  2002 GROUP BY T1.campus
Schema: CREATE TABLE campuses (campus VARCHAR, id VARCHAR), CREATE TABLE degrees (degrees INTEGER, campus VARCHAR, year INTEGER)
user: 1998到2002年之间授予多少学位？

assistant: SELECT T1.campus ,  sum(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id  =  T2.campus WHERE T2.year  >=  1998 AND T2.year  <=  2002 GROUP BY T1.campus
Schema: CREATE TABLE campuses (campus VARCHAR, id VARCHAR, county VARCHAR), CREATE TABLE degrees (degrees INTEGER, campus VARCHAR, year INTEGER)
user: 对于每一个“湖北”省的校园，找出其在2000年后学位授予的数量。

assistant: SELECT T1.campus ,  sum(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id  =  T2.campus WHERE T1.county  =  "湖北" AND T2.year  >=  2000 GROUP BY T1.campus
Schema: CREATE TABLE campuses (campus VARCHAR, id VARCHAR, county VARCHAR), CREATE TABLE degrees (degrees INTEGER, campus VARCHAR, year INTEGER)
user: 2000年后，每个“湖北”省的校园授予的学位总数是多少？

assistant: SELECT T1.campus ,  sum(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id  =  T2.campus WHERE T1.county  =  "湖北" AND T2.year  >=  2000 GROUP BY T1.campus
Schema: CREATE TABLE campuses (campus VARCHAR, id VARCHAR, county VARCHAR), CREATE TABLE faculty (year VARCHAR, campus VARCHAR)
user: 查找在2002年拥有比“湖北”省每个校园教职工都多的学院的校名。

assistant: SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id  =  T2.campus WHERE T2.year  =  2002 AND faculty  >  (SELECT max(faculty) FROM campuses AS T1 JOIN faculty AS T2 ON T1.id  =  T2.campus WHERE T2.year  =  2002 AND T1.county  =  "湖北")
Schema: CREATE TABLE campuses (campus VARCHAR, id VARCHAR, county VARCHAR), CREATE TABLE faculty (year VARCHAR, campus VARCHAR)
user: 在2002年，比“湖北”省的拥有比每个校园教职工都多的学院的校名名称是什么？

assistant: SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id  =  T2.campus WHERE T2.year  =  2002 AND faculty  >  (SELECT max(faculty) FROM campuses AS T1 JOIN faculty AS T2 ON T1.id  =  T2.campus WHERE T2.year  =  2002 AND T1.county  =  "湖北")
Schema: CREATE TABLE campuses (id VARCHAR), CREATE TABLE enrollments (year VARCHAR, campus VARCHAR)
user: 1956年，哪个学校的招生总数超过400人但全日制招生却超过200人？

assistant: SELECT T1.campus FROM campuses AS t1 JOIN enrollments AS t2 ON t1.id  =  t2.campus WHERE t2.year  =  1956 AND totalenrollment_ay  >  400 AND FTE_AY  >  200
Schema: CREATE TABLE campuses (id VARCHAR), CREATE TABLE enrollments (year VARCHAR, campus VARCHAR)
user: 什么校区始于1956年且有200多全日制学生和400多名学生入学？

assistant: SELECT T1.campus FROM campuses AS t1 JOIN enrollments AS t2 ON t1.id  =  t2.campus WHERE t2.year  =  1956 AND totalenrollment_ay  >  400 AND FTE_AY  >  200
Schema: CREATE TABLE campuses (county VARCHAR)
user: “上海”省有多少个校园？

assistant: SELECT count(*) FROM campuses WHERE county  =  "上海"
Schema: CREATE TABLE campuses (county VARCHAR)
user: “上海”的校区数是多少？

assistant: SELECT count(*) FROM campuses WHERE county  =  "上海"
Schema: CREATE TABLE campuses (campus VARCHAR, county VARCHAR)
user: 列出“上海”省的校区。

assistant: SELECT campus FROM campuses WHERE county  =  "上海"
Schema: CREATE TABLE campuses (campus VARCHAR, county VARCHAR)
user: “上海”省有哪些校区？

assistant: SELECT campus FROM campuses WHERE county  =  "上海"
Schema: CREATE TABLE campuses (Id VARCHAR), CREATE TABLE degrees (Id VARCHAR)
user: 2000年度"湖南大学"授予的学位数是多少？

assistant: SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id  =  t2.campus WHERE t1.campus  =  "湖南大学" AND t2.year  =  2000
Schema: CREATE TABLE campuses (Id VARCHAR), CREATE TABLE degrees (Id VARCHAR)
user: 2000在"湖南大学"授予了多少学位？

assistant: SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id  =  t2.campus WHERE t1.campus  =  "湖南大学" AND t2.year  =  2000
Schema: CREATE TABLE campuses (Id VARCHAR), CREATE TABLE degrees (Id VARCHAR)
user: 2001年“厦门大学”授予的学位是什么？

assistant: SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id  =  t2.campus WHERE t1.campus  =  "厦门大学" AND t2.year  =  2001
Schema: CREATE TABLE campuses (Id VARCHAR), CREATE TABLE degrees (Id VARCHAR)
user: “厦门大学”在2001年度授予了什么学位？

assistant: SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id  =  t2.campus WHERE t1.campus  =  "厦门大学" AND t2.year  =  2001
Schema: CREATE TABLE faculty (faculty INTEGER, YEAR VARCHAR)
user: 2002年度总共有多少教师？

assistant: SELECT sum(faculty) FROM faculty WHERE YEAR  =  2002
Schema: CREATE TABLE faculty (faculty INTEGER, YEAR VARCHAR)
user: 2002年的合计教师数量是多少？

assistant: SELECT sum(faculty) FROM faculty WHERE YEAR  =  2002
Schema: CREATE TABLE faculty (year VARCHAR, campus VARCHAR), CREATE TABLE campuses (campus VARCHAR, id VARCHAR)
user: 2002年“山东大学”的师资队伍有多少？

assistant: SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus  =  T2.id WHERE T1.year  =  2002 AND T2.campus  =  "山东大学"
Schema: CREATE TABLE faculty (year VARCHAR, campus VARCHAR), CREATE TABLE campuses (campus VARCHAR, id VARCHAR)
user: 2002年“山东大学”的教师人数是多少？

assistant: SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus  =  T2.id WHERE T1.year  =  2002 AND T2.campus  =  "山东大学"
Schema: CREATE TABLE faculty (year VARCHAR, campus VARCHAR), CREATE TABLE campuses (campus VARCHAR, id VARCHAR)
user: “厦门大学”2004年有多少教师队伍？

assistant: SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus  =  T2.id WHERE T1.year  =  2004 AND T2.campus  =  "厦门大学"