jtjt520j/cspider_for_chinese_llama2_1.3b huggingface dataset:
Schema: CREATE TABLE election (Committee VARCHAR, Party VARCHAR), CREATE TABLE party (Party_ID VARCHAR, Party VARCHAR)
user: 哪些政党在“拨款”委员会和“经济问题”委员会都有代表？

assistant: SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T1.Committee  =  "拨款" INTERSECT SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T1.Committee  =  "经济问题"
Schema: CREATE TABLE election (Committee VARCHAR, Party VARCHAR), CREATE TABLE party (Party_ID VARCHAR, Party VARCHAR)
user: 哪个委员会有民主党和自由党的代表？

assistant: SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T2.Party  =  "民主" INTERSECT SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T2.Party  =  "自由"
Schema: CREATE TABLE election (Committee VARCHAR, Party VARCHAR), CREATE TABLE party (Party_ID VARCHAR, Party VARCHAR)
user: 找到有来自民主党和自由党的代表的委员会。

assistant: SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T2.Party  =  "民主" INTERSECT SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T2.Party  =  "自由"
Schema: CREATE TABLE journalist (Id VARCHAR)
user: 那儿有多少记者？

assistant: SELECT count(*) FROM journalist
Schema: CREATE TABLE journalist (Years_working VARCHAR, Name VARCHAR)
user: 按工作年份升序列出记者姓名。

assistant: SELECT Name FROM journalist ORDER BY Years_working ASC
Schema: CREATE TABLE journalist (Nationality VARCHAR, Age VARCHAR)
user: 记者的国籍和年龄是多少？

assistant: SELECT Nationality ,  Age FROM journalist
Schema: CREATE TABLE journalist (Nationality VARCHAR, Name VARCHAR)
user: 显示来自“英格兰”或“威尔士”的记者姓名。

assistant: SELECT Name FROM journalist WHERE Nationality  =  "英格兰" OR Nationality  =  "威尔士"
Schema: CREATE TABLE journalist (Years_working INTEGER)
user: 记者平均工作年限是多少？

assistant: SELECT avg(Years_working) FROM journalist
Schema: CREATE TABLE journalist (Years_working VARCHAR, Nationality VARCHAR)
user: 工作年限最长的记者的国籍是什么？

assistant: SELECT Nationality FROM journalist ORDER BY Years_working DESC LIMIT 1
Schema: CREATE TABLE journalist (Nationality VARCHAR)
user: 显示不同国籍和每个国家的记者人数。

assistant: SELECT Nationality ,  COUNT(*) FROM journalist GROUP BY Nationality
Schema: CREATE TABLE journalist (Nationality VARCHAR)
user: 显示有最多记者的国家。

assistant: SELECT Nationality FROM journalist GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1
Schema: CREATE TABLE journalist (Nationality VARCHAR, Years_working INTEGER)
user: 显示既拥有工作超过10年的新闻工作者，又拥有工作不到3年的新闻工作者的国家。

assistant: SELECT Nationality FROM journalist WHERE Years_working  >  10 INTERSECT SELECT Nationality FROM journalist WHERE Years_working  <  3
Schema: CREATE TABLE event (Event_Attendance VARCHAR, Date VARCHAR, Name VARCHAR, venue VARCHAR)
user: 按照出席人数的下降顺序显示活动的日期、地点和名称。

assistant: SELECT Date ,  Name ,  venue FROM event ORDER BY Event_Attendance DESC
Schema: CREATE TABLE news_report (Event_ID VARCHAR, journalist_ID VARCHAR), CREATE TABLE event (Date VARCHAR, Event_ID VARCHAR), CREATE TABLE journalist (journalist_ID VARCHAR, Name VARCHAR)
user: 显示记者的姓名和他们报道的事件的日期。

assistant: SELECT T3.Name ,  T2.Date FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID  =  T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID  =  T3.journalist_ID
Schema: CREATE TABLE news_report (Event_ID VARCHAR, journalist_ID VARCHAR), CREATE TABLE event (Event_Attendance VARCHAR, Event_ID VARCHAR, Name VARCHAR), CREATE TABLE journalist (journalist_ID VARCHAR, Name VARCHAR)
user: 按升序显示记者姓名和他们报道的事件的名称。

assistant: SELECT T3.Name ,  T2.Name FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID  =  T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID  =  T3.journalist_ID ORDER BY T2.Event_Attendance ASC
Schema: CREATE TABLE news_report (Event_ID VARCHAR, journalist_ID VARCHAR), CREATE TABLE event (Event_ID VARCHAR), CREATE TABLE journalist (journalist_ID VARCHAR, Name VARCHAR)
user: 显示记者的姓名和他们报道的事件数量。

assistant: SELECT T3.Name ,  COUNT(*) FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID  =  T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID  =  T3.journalist_ID GROUP BY T3.Name
Schema: CREATE TABLE news_report (Event_ID VARCHAR, journalist_ID VARCHAR), CREATE TABLE event (Event_ID VARCHAR), CREATE TABLE journalist (journalist_ID VARCHAR, Name VARCHAR)
user: 显示报道不止一个事件的记者的名字。

assistant: SELECT T3.Name FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID  =  T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID  =  T3.journalist_ID GROUP BY T3.Name HAVING COUNT(*)  >  1
Schema: CREATE TABLE journalist (journalist_ID VARCHAR, Name VARCHAR), CREATE TABLE news_report (journalist_ID VARCHAR, Name VARCHAR)
user: 列出没有报道任何事件的记者的名字。

assistant: SELECT Name FROM journalist WHERE journalist_ID NOT IN (SELECT journalist_ID FROM news_report)
Schema: CREATE TABLE event (Event_Attendance INTEGER)
user: 所有事件的平均和最大出席率是多少？

assistant: SELECT avg(Event_Attendance) ,  max(Event_Attendance) FROM event
Schema: CREATE TABLE journalist (age INTEGER, journalist_id VARCHAR), CREATE TABLE news_report (journalist_id VARCHAR, work_type VARCHAR)
user: 找出不同角色类型记者的平均年龄和工作经历。

assistant: SELECT avg(t1.age) ,  avg(Years_working) ,  t2.work_type FROM journalist AS t1 JOIN news_report AS t2 ON t1.journalist_id  =  t2.journalist_id GROUP BY t2.work_type
Schema: CREATE TABLE event (Event_Attendance VARCHAR, name VARCHAR, venue VARCHAR)
user: 列出参加人数最多的2个的活动的地点和名称。

assistant: SELECT venue ,  name FROM event ORDER BY Event_Attendance DESC LIMIT 2
Schema: CREATE TABLE Restaurant (ResName VARCHAR)
user: 给我看看所有的餐馆。

assistant: SELECT ResName FROM Restaurant;
Schema: CREATE TABLE Restaurant (Address VARCHAR, ResName VARCHAR)
user: “全聚德”餐厅地址是什么？

assistant: SELECT Address FROM Restaurant WHERE ResName = "全聚德";
Schema: CREATE TABLE Restaurant (Rating VARCHAR, ResName VARCHAR)
user: “全聚德”餐厅评分是多少？

assistant: SELECT Rating FROM Restaurant WHERE ResName = "全聚德";
Schema: CREATE TABLE Restaurant_Type (ResTypeName VARCHAR)
user: 列出所有餐厅类型。

assistant: SELECT ResTypeName FROM Restaurant_Type;
Schema: CREATE TABLE Restaurant_Type (ResTypeDescription VARCHAR, ResTypeName VARCHAR)
user: “烤鸭”类型餐厅的描述是什么？

assistant: SELECT ResTypeDescription FROM Restaurant_Type WHERE ResTypeName = "烤鸭";
Schema: CREATE TABLE Restaurant (Rating VARCHAR, ResName VARCHAR)
user: 哪家餐馆的评价最高？列出餐厅名称及其等级。

assistant: SELECT ResName , Rating FROM Restaurant ORDER BY Rating DESC LIMIT 1;
Schema: CREATE TABLE Student (Age VARCHAR, Lname VARCHAR, Fname VARCHAR)
user: “李” “琳”的年龄是多少？

assistant: SELECT Age FROM Student WHERE Fname = "李" AND Lname = "琳";
Schema: CREATE TABLE Student (Sex VARCHAR, Lname VARCHAR, Fname VARCHAR)
user: 学生“李” “琳”的性别是什么？

assistant: SELECT Sex FROM Student WHERE Fname = "李" AND Lname = "琳";
Schema: CREATE TABLE Student (Major VARCHAR, Lname VARCHAR, Fname VARCHAR)
user: 列出所有修600专业的学生的名字和姓氏。

assistant: SELECT Fname , Lname FROM Student WHERE Major  =  600;
Schema: CREATE TABLE Student (Lname VARCHAR, city_code VARCHAR, Fname VARCHAR)
user: 学生“李” “琳”住在哪个城市？

assistant: SELECT city_code FROM Student WHERE Fname = "李" AND Lname = "琳";
Schema: CREATE TABLE Student (Advisor VARCHAR)
user: 1121导师有多少学生？

assistant: SELECT count(*) FROM Student WHERE Advisor =  1121;
Schema: CREATE TABLE Student (Advisor VARCHAR)
user: 哪位导师的学生最多？列出导师和学生人数。

assistant: SELECT Advisor ,  count(*) FROM Student GROUP BY Advisor ORDER BY count(Advisor) DESC LIMIT 1;
Schema: CREATE TABLE Student (Major VARCHAR)
user: 哪个专业的学生最少？列出专业和学生人数。

assistant: SELECT Major ,  count(*) FROM Student GROUP BY Major ORDER BY count(Major) ASC LIMIT 1;
Schema: CREATE TABLE Student (Major VARCHAR)
user: 哪个专业有2到30名学生？列出专业和学生人数。

assistant: SELECT Major ,  count(*) FROM Student GROUP BY Major HAVING count(Major) BETWEEN 2 AND 30;
Schema: CREATE TABLE Student (Major VARCHAR, Lname VARCHAR, Age INTEGER, Fname VARCHAR)
user: 哪些学生年龄在18岁以上，主修600？列出每个学生的名和姓。

assistant: SELECT Fname , Lname FROM Student WHERE Age  >  18 AND Major = 600;
Schema: CREATE TABLE Student (Fname VARCHAR, Sex VARCHAR, Lname VARCHAR, Major VARCHAR, Age INTEGER)
user: 所有年龄在18岁以上，主修600的女学生。列出学生的名和姓氏。

assistant: SELECT Fname , Lname FROM Student WHERE Age  >  18 AND Major != 600 AND Sex = '女';
Schema: CREATE TABLE Restaurant (Id VARCHAR), CREATE TABLE Type_Of_Restaurant (Id VARCHAR), CREATE TABLE Restaurant_Type (Id VARCHAR)
user: “烤鸭”类型餐厅有多少家？

assistant: SELECT count(*) FROM Restaurant JOIN Type_Of_Restaurant ON Restaurant.ResID =  Type_Of_Restaurant.ResID JOIN Restaurant_Type ON Type_Of_Restaurant.ResTypeID = Restaurant_Type.ResTypeID GROUP BY Type_Of_Restaurant.ResTypeID HAVING Restaurant_Type.ResTypeName = '烤鸭'
Schema: CREATE TABLE Student (Spent INTEGER), CREATE TABLE Visits_Restaurant (Spent INTEGER)
user: 学生“李” “琳”在餐厅花了多长时间？

assistant: SELECT sum(Spent) FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID WHERE Student.Fname = "李" AND Student.Lname = "琳";
Schema: CREATE TABLE Student (Id VARCHAR), CREATE TABLE Visits_Restaurant (Id VARCHAR), CREATE TABLE Restaurant (Id VARCHAR)
user: 学生“李” “琳”去过几次“全聚德”？

assistant: SELECT count(*) FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID WHERE Student.Fname = "李" AND Student.Lname = "琳" AND Restaurant.ResName = "全聚德";
Schema: CREATE TABLE Student (TIME VARCHAR), CREATE TABLE Visits_Restaurant (TIME VARCHAR), CREATE TABLE Restaurant (TIME VARCHAR)
user: “李” “琳”什么时候去“全聚德”的？

assistant: SELECT TIME FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID WHERE Student.Fname = "李" AND Student.Lname = "琳" AND Restaurant.ResName = "全聚德";
Schema: CREATE TABLE Visits_Restaurant (Id VARCHAR), CREATE TABLE Restaurant (Id VARCHAR)
user: 学生们在哪家餐厅花费最少的时间？列出餐厅和学生的总花费时间。

assistant: SELECT Restaurant.ResName ,  sum(Visits_Restaurant.Spent) FROM Visits_Restaurant JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID GROUP BY Restaurant.ResID ORDER BY sum(Visits_Restaurant.Spent) ASC LIMIT 1;
Schema: CREATE TABLE Student (Id VARCHAR), CREATE TABLE Visits_Restaurant (Id VARCHAR)
user: 哪个学生去餐厅的次数最多？列出学生的名和姓氏。

assistant: SELECT Student.Fname , Student.Lname FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID GROUP BY Student.StuID ORDER BY count(*) DESC LIMIT 1;
Schema: CREATE TABLE actual_orders (actual_order_id VARCHAR, order_status_code VARCHAR)
user: 找出订单的ID，其状态是“成功”。

assistant: SELECT actual_order_id FROM actual_orders WHERE order_status_code  =  '成功'
Schema: CREATE TABLE products (product_id VARCHAR, product_name VARCHAR, product_price VARCHAR), CREATE TABLE regular_order_products (product_id VARCHAR)
user: 查找订购次数最多的产品的名称和价格。

assistant: SELECT t1.product_name ,   t1.product_price FROM products AS t1 JOIN regular_order_products AS t2 ON t1.product_id  =  t2.product_id GROUP BY t2.product_id ORDER BY count(*) DESC LIMIT 1
Schema: CREATE TABLE customers (Id VARCHAR)
user: 找到客户总数。

assistant: SELECT count(*) FROM customers
Schema: CREATE TABLE customers (payment_method VARCHAR)
user: 有多少种不同的支付方式？

assistant: SELECT count(DISTINCT payment_method) FROM customers
Schema: CREATE TABLE trucks (truck_licence_number VARCHAR, truck_details VARCHAR)
user: 按牌照号码的顺序显示所有卡车的细节。

assistant: SELECT truck_details FROM trucks ORDER BY truck_licence_number
Schema: CREATE TABLE products (product_name VARCHAR, product_price VARCHAR)
user: 找出最昂贵产品的名称。

assistant: SELECT product_name FROM products ORDER BY product_price DESC LIMIT 1
Schema: CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR), CREATE TABLE customer_addresses (address_id VARCHAR, customer_id VARCHAR), CREATE TABLE addresses (address_id VARCHAR, state_province_county VARCHAR)
user: 找到那些不住在“浙江”州的客户的名字。

assistant: SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id  =  t2.customer_id JOIN addresses AS t3 ON t2.address_id  =  t3.address_id WHERE t3.state_province_county  =  '浙江'
Schema: CREATE TABLE customers (payment_method VARCHAR, customer_name VARCHAR, customer_email VARCHAR)
user: 列出由“信用卡”卡支付的客户的姓名和电子邮件。

assistant: SELECT customer_email ,  customer_name FROM customers WHERE payment_method  =  '信用卡'
Schema: CREATE TABLE customers (customer_phone VARCHAR, customer_name VARCHAR, customer_id VARCHAR), CREATE TABLE customer_addresses (address_id VARCHAR, customer_id VARCHAR), CREATE TABLE addresses (address_id VARCHAR, state_province_county VARCHAR)
user: 查找居住在“浙江”州的客户的姓名和电话号码。

assistant: SELECT t1.customer_name ,  t1.customer_phone FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id  =  t2.customer_id JOIN addresses AS t3 ON t2.address_id  =  t3.address_id WHERE t3.state_province_county  =  '浙江'
Schema: CREATE TABLE addresses (address_id VARCHAR, state_province_county VARCHAR, employee_address_id VARCHAR), CREATE TABLE Employees (address_id VARCHAR, state_province_county VARCHAR, employee_address_id VARCHAR)
user: 发现没有任何雇员在他们的记录中的状态。

assistant: SELECT state_province_county FROM addresses WHERE address_id NOT IN (SELECT employee_address_id FROM Employees)
Schema: CREATE TABLE Customers (customer_phone VARCHAR, customer_name VARCHAR, date_became_customer VARCHAR, customer_email VARCHAR)
user: 列出所有客户的姓名、电话号码和电子邮件，按照成为客户的日期进行排序。

assistant: SELECT customer_name ,  customer_phone ,  customer_email FROM Customers ORDER BY date_became_customer
Schema: CREATE TABLE Customers (customer_name VARCHAR, date_became_customer VARCHAR)
user: 查找前5名客户的姓名。

assistant: SELECT customer_name FROM Customers ORDER BY date_became_customer LIMIT 5
Schema: CREATE TABLE Customers (payment_method VARCHAR)
user: 找到最常用的支付方法。

assistant: SELECT payment_method FROM Customers GROUP BY payment_method ORDER BY count(*) DESC LIMIT 1
Schema: CREATE TABLE Delivery_Routes (route_name VARCHAR)
user: 按字母顺序列出所有路线的名称。

assistant: SELECT route_name FROM Delivery_Routes ORDER BY route_name
Schema: CREATE TABLE Delivery_Routes (route_id VARCHAR, route_name VARCHAR), CREATE TABLE Delivery_Route_Locations (route_id VARCHAR)
user: 查找具有最高交付次数的线路的名称。

assistant: SELECT t1.route_name FROM Delivery_Routes AS t1 JOIN Delivery_Route_Locations AS t2 ON t1.route_id  =  t2.route_id GROUP BY t1.route_id ORDER BY count(*) DESC LIMIT 1
Schema: CREATE TABLE customer_addresses (address_id VARCHAR), CREATE TABLE addresses (address_id VARCHAR, state_province_county VARCHAR)
user: 列出每个州的名字和居住人数。

assistant: SELECT t2.state_province_county ,  count(*) FROM customer_addresses AS t1 JOIN addresses AS t2 ON t1.address_id  =  t2.address_id GROUP BY t2.state_province_county
Schema: CREATE TABLE authors (Id VARCHAR)
user: 有多少作者？

assistant: SELECT count(*) FROM authors
Schema: CREATE TABLE authors (Id VARCHAR)
user: 统计作者的数量。

assistant: SELECT count(*) FROM authors
Schema: CREATE TABLE inst (Id VARCHAR)
user: 有多少机构？

assistant: SELECT count(*) FROM inst
Schema: CREATE TABLE inst (Id VARCHAR)
user: 统计机构数量。

assistant: SELECT count(*) FROM inst
Schema: CREATE TABLE papers (Id VARCHAR)
user: 一共发表了多少篇论文？

assistant: SELECT count(*) FROM papers
Schema: CREATE TABLE papers (Id VARCHAR)
user: 统计总论文数。

assistant: SELECT count(*) FROM papers
Schema: CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR), CREATE TABLE papers (title VARCHAR, paperid VARCHAR)
user: “刘” “珍”发表论文的题目是什么？

assistant: SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE  t1.fname  =  "刘" AND t1.lname  =  "珍"
Schema: CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR), CREATE TABLE papers (title VARCHAR, paperid VARCHAR)
user: 找到“刘” “珍”所有论文的标题。

assistant: SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE  t1.fname  =  "刘" AND t1.lname  =  "珍"
Schema: CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR), CREATE TABLE papers (title VARCHAR, paperid VARCHAR)
user: 找到所有由“周” “志华”发表的论文。

assistant: SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE  t1.fname  =  "周" AND t1.lname  =  "志华"
Schema: CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR), CREATE TABLE papers (title VARCHAR, paperid VARCHAR)
user: 找到“周” “志华”所有论文的标题。

assistant: SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE  t1.fname  =  "周" AND t1.lname  =  "志华"
Schema: CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR), CREATE TABLE papers (paperid VARCHAR)
user: “李” “航”发表了多少篇论文？

assistant: SELECT count(*) FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE  t1.fname  =  "李" AND t1.lname  =  "航"
Schema: CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR), CREATE TABLE papers (paperid VARCHAR)
user: “李” “航”有多少篇论文？

assistant: SELECT count(*) FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE  t1.fname  =  "李" AND t1.lname  =  "航"
Schema: CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (instid VARCHAR, authid VARCHAR), CREATE TABLE inst (name VARCHAR, instid VARCHAR)
user: “李” “牧”所属的机构名称是什么？

assistant: SELECT DISTINCT t3.name FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t1.fname  =  "李" AND t1.lname  =  "牧"
Schema: CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (instid VARCHAR, authid VARCHAR), CREATE TABLE inst (name VARCHAR, instid VARCHAR)
user: 作者“李” “牧”属于哪个机构？给我这个机构的名字。

assistant: SELECT DISTINCT t3.name FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t1.fname  =  "李" AND t1.lname  =  "牧"
Schema: CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (instid VARCHAR, authid VARCHAR), CREATE TABLE inst (name VARCHAR, instid VARCHAR)
user: “陈” “十一”属于哪一个机构？

assistant: SELECT DISTINCT t3.name FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t1.fname  =  "陈" AND t1.lname  =  "十一"
Schema: CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (instid VARCHAR, authid VARCHAR), CREATE TABLE inst (name VARCHAR, instid VARCHAR)
user: 作者“陈” “十一”所属的机构名称是什么？

assistant: SELECT DISTINCT t3.name FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t1.fname  =  "陈" AND t1.lname  =  "十一"
Schema: CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (instid VARCHAR, authid VARCHAR), CREATE TABLE inst (name VARCHAR, instid VARCHAR)
user: 谁属于“清华大学”这一机构？显示名和姓氏。

assistant: SELECT DISTINCT t1.fname ,  t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  "清华大学"
Schema: CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (instid VARCHAR, authid VARCHAR), CREATE TABLE inst (name VARCHAR, instid VARCHAR)
user: 查找作者的名和姓氏，并且作者的机构隶属是“清华大学”。

assistant: SELECT DISTINCT t1.fname ,  t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  "清华大学"
Schema: CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (instid VARCHAR, authid VARCHAR), CREATE TABLE inst (name VARCHAR, instid VARCHAR)
user: 哪些作者属于“百度”机构？显示名和姓氏。

assistant: SELECT DISTINCT t1.fname ,  t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  "百度"
Schema: CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (instid VARCHAR, authid VARCHAR), CREATE TABLE inst (name VARCHAR, instid VARCHAR)
user: 查找那些隶属于““百度””机构的作者的名和姓氏。

assistant: SELECT DISTINCT t1.fname ,  t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  "百度"
Schema: CREATE TABLE authors (lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR), CREATE TABLE papers (title VARCHAR, paperid VARCHAR)
user: 论文标题为“转基因蛋白酶”的作者的姓氏是什么？

assistant: SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE t3.title  =  "转基因蛋白酶"
Schema: CREATE TABLE authors (lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR), CREATE TABLE papers (title VARCHAR, paperid VARCHAR)
user: 谁是题为“转基因蛋白酶”的论文的作者？给我姓氏。

assistant: SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE t3.title  =  "转基因蛋白酶"
Schema: CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR), CREATE TABLE papers (title VARCHAR, paperid VARCHAR)
user: 找到写论文“注意力模型”的作者的姓氏。

assistant: SELECT t1.fname ,  t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE t3.title  =  "注意力模型"
Schema: CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR), CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR), CREATE TABLE papers (title VARCHAR, paperid VARCHAR)
user: 发表论文“注意力模型”的作者的姓氏是什么？

assistant: SELECT t1.fname ,  t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE t3.title  =  "注意力模型"
Schema: CREATE TABLE papers (title VARCHAR, paperid VARCHAR), CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR), CREATE TABLE inst (name VARCHAR, instid VARCHAR)
user: “中南大学”发表的论文有哪些？

assistant: SELECT DISTINCT t1.title FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid  =  t2.paperid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  "中南大学"
Schema: CREATE TABLE papers (title VARCHAR, paperid VARCHAR), CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR), CREATE TABLE inst (name VARCHAR, instid VARCHAR)
user: 列出来自“中南大学”机构的作者的论文标题。

assistant: SELECT DISTINCT t1.title FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid  =  t2.paperid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  "中南大学"
Schema: CREATE TABLE papers (title VARCHAR, paperid VARCHAR), CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR), CREATE TABLE inst (name VARCHAR, instid VARCHAR)
user: 找到“百度”出版的所有论文。

assistant: SELECT DISTINCT t1.title FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid  =  t2.paperid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  "百度"
Schema: CREATE TABLE papers (title VARCHAR, paperid VARCHAR), CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR), CREATE TABLE inst (name VARCHAR, instid VARCHAR)
user: “百度”的作者写了哪些论文？

assistant: SELECT DISTINCT t1.title FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid  =  t2.paperid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  "百度"
Schema: CREATE TABLE papers (title VARCHAR, paperid VARCHAR), CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR), CREATE TABLE inst (name VARCHAR, instid VARCHAR)
user: “福州大学”机构发表了多少篇论文？

assistant: SELECT count(DISTINCT t1.title) FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid  =  t2.paperid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  "福州大学"