jtjt520j/cspider_for_chinese_llama2_1.3b huggingface dataset:
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (rating VARCHAR, city VARCHAR, business_id VARCHAR, name VARCHAR)
user: “杭州”4.5分的“餐厅”的数量是多少？

assistant: SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  "杭州" AND t1.rating  =  4.5 AND t2.category_name  =  "餐厅";
Schema: CREATE TABLE tip (text VARCHAR, YEAR VARCHAR)
user: 写在2015年的评论有多少

assistant: SELECT COUNT ( DISTINCT text ) FROM tip WHERE YEAR  =  2015;
Schema: CREATE TABLE USER (name VARCHAR, user_id VARCHAR), CREATE TABLE tip (likes INTEGER, user_id VARCHAR)
user: “王岩”提示的总赞数是什么？

assistant: SELECT SUM ( t1.likes ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id  =  t1.user_id WHERE t2.name  =  "王岩";
Schema: CREATE TABLE tip (likes INTEGER, business_id VARCHAR), CREATE TABLE business (business_id VARCHAR, name VARCHAR)
user: 关于“星巴克”提示的总赞数是什么？

assistant: SELECT SUM ( t2.likes ) FROM tip AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.name  =  "星巴克";
Schema: CREATE TABLE tip (likes INTEGER, business_id VARCHAR, user_id VARCHAR), CREATE TABLE business (business_id VARCHAR, name VARCHAR), CREATE TABLE USER (name VARCHAR, user_id VARCHAR)
user: “王岩”关于“星巴克”提示的总赞数是什么？

assistant: SELECT SUM ( t2.likes ) FROM tip AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN USER AS t3 ON t3.user_id  =  t2.user_id WHERE t1.name  =  "星巴克" AND t3.name  =  "王岩";
Schema: CREATE TABLE USER (name VARCHAR, user_id VARCHAR), CREATE TABLE tip (year VARCHAR, text VARCHAR, user_id VARCHAR)
user: “米雪”在2010写了多少提示？

assistant: SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id  =  t1.user_id WHERE t1.year  =  2010 AND t2.name  =  "米雪";
Schema: CREATE TABLE USER (name VARCHAR, user_id VARCHAR), CREATE TABLE tip (year VARCHAR, text VARCHAR, user_id VARCHAR)
user: 返回2010“米雪”写的提示的数量。

assistant: SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id  =  t1.user_id WHERE t1.year  =  2010 AND t2.name  =  "米雪";
Schema: CREATE TABLE USER (name VARCHAR, user_id VARCHAR), CREATE TABLE tip (text VARCHAR, month VARCHAR, user_id VARCHAR)
user: “米雪”在“四月”写了多少提示？

assistant: SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id  =  t1.user_id WHERE t1.month  =  "四月" AND t2.name  =  "米雪";
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (business_id VARCHAR, name VARCHAR, state VARCHAR)
user: “云南”“餐馆”的数量是多少？

assistant: SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.state  =  "云南" AND t2.category_name  =  "餐厅";
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (city VARCHAR, business_id VARCHAR, name VARCHAR, rating INTEGER)
user: “成都”有多少“酒吧”的评分在3.5以上？

assistant: SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  "成都" AND t1.rating  >  3.5 AND t2.category_name  =  "酒吧";
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (city VARCHAR, business_id VARCHAR, name VARCHAR, rating INTEGER)
user: 在“成都”有多少间“酒吧”的评级在3.5以上？

assistant: SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  "成都" AND t1.rating  >  3.5 AND t2.category_name  =  "酒吧";
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (name VARCHAR, business_id VARCHAR, city VARCHAR, state VARCHAR), CREATE TABLE review (business_id VARCHAR, user_id VARCHAR), CREATE TABLE USER (name VARCHAR, user_id VARCHAR)
user: 有多少人评论了在“四川”“成都”的“小龙坎”“餐厅”？

assistant: SELECT COUNT ( DISTINCT t4.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN review AS t3 ON t3.business_id  =  t1.business_id JOIN USER AS t4 ON t4.user_id  =  t3.user_id WHERE t1.city  =  "成都" AND t1.name  =  "小龙坎" AND t1.state  =  "四川" AND t2.category_name  =  "餐厅";
Schema: CREATE TABLE review (year VARCHAR, business_id VARCHAR, user_id VARCHAR), CREATE TABLE business (business_id VARCHAR, name VARCHAR), CREATE TABLE USER (name VARCHAR, user_id VARCHAR)
user: 有多少人在2015年评论了“全聚德”？

assistant: SELECT COUNT ( DISTINCT t3.name ) FROM review AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN USER AS t3 ON t3.user_id  =  t2.user_id WHERE t1.name  =  "全聚德" AND t2.year  =  2015;
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (city VARCHAR, business_id VARCHAR, name VARCHAR), CREATE TABLE neighbourhood (neighbourhood_name VARCHAR, business_id VARCHAR)
user: “成都”“中心区”有多少家“餐厅”？

assistant: SELECT COUNT ( DISTINCT t1.name ) FROM category AS t3 JOIN business AS t1 ON t3.business_id  =  t1.business_id JOIN neighbourhood AS t2 ON t2.business_id  =  t1.business_id WHERE t1.city  =  "成都" AND t3.category_name  =  "餐厅" AND t2.neighbourhood_name  =  "中心区";
Schema: CREATE TABLE business (name VARCHAR, business_id VARCHAR, city VARCHAR, state VARCHAR)
user: “四川”“成都”有多少“星巴克”？

assistant: SELECT COUNT ( DISTINCT business_id ) FROM business WHERE city  =  "成都" AND name  =  "星巴克" AND state  =  "四川";
Schema: CREATE TABLE business (review_count VARCHAR, name VARCHAR)
user: “一点点”有多少评论？

assistant: SELECT review_count FROM business WHERE name  =  "一点点";
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (business_id VARCHAR, name VARCHAR), CREATE TABLE checkin (business_id VARCHAR, day VARCHAR, count INTEGER)
user: 查找“餐厅”“喜茶”每天的平均访问数量

assistant: SELECT AVG ( t3.count )  ,  t3.day FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN checkin AS t3 ON t3.business_id  =  t1.business_id WHERE t1.name  =  "喜茶" AND t2.category_name  =  "餐厅" GROUP BY t3.day;
Schema: CREATE TABLE neighbourhood (neighbourhood_name VARCHAR, business_id VARCHAR), CREATE TABLE business (city VARCHAR, business_id VARCHAR, name VARCHAR)
user: “成都”的“星巴克”附近有多少家企业？

assistant: SELECT COUNT ( DISTINCT t1.name ) FROM neighbourhood AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  "成都" AND t2.neighbourhood_name  =  "星巴克";
Schema: CREATE TABLE USER (name VARCHAR, user_id VARCHAR), CREATE TABLE review (text VARCHAR, user_id VARCHAR)
user: “忆安”写了多少评论？

assistant: SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN review AS t1 ON t2.user_id  =  t1.user_id WHERE t2.name  =  "忆安";
Schema: CREATE TABLE USER (name VARCHAR, user_id VARCHAR), CREATE TABLE review (year VARCHAR, text VARCHAR, month VARCHAR, user_id VARCHAR)
user: “米雪”在2014年“3月”写了多少评论？

assistant: SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN review AS t1 ON t2.user_id  =  t1.user_id WHERE t1.month  =  "3月" AND t1.year  =  2014 AND t2.name  =  "米雪";
Schema: CREATE TABLE review (year VARCHAR, business_id VARCHAR, user_id VARCHAR), CREATE TABLE business (business_id VARCHAR, name VARCHAR), CREATE TABLE USER (name VARCHAR, user_id VARCHAR)
user: “米雪”在2010评论了多少企业？

assistant: SELECT COUNT ( DISTINCT t1.name ) FROM review AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN USER AS t3 ON t3.user_id  =  t2.user_id WHERE t2.year  =  2010 AND t3.name  =  "米雪";
Schema: CREATE TABLE review (year VARCHAR, business_id VARCHAR, user_id VARCHAR), CREATE TABLE business (city VARCHAR, business_id VARCHAR, name VARCHAR), CREATE TABLE USER (name VARCHAR, user_id VARCHAR)
user: 2010年“忆安”评论了多少在“嘉兴”的企业？

assistant: SELECT COUNT ( DISTINCT t1.name ) FROM review AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN USER AS t3 ON t3.user_id  =  t2.user_id WHERE t1.city  =  "嘉兴" AND t2.year  =  2010 AND t3.name  =  "忆安";
Schema: CREATE TABLE business (name VARCHAR, business_id VARCHAR, city VARCHAR)
user: “厦门”有多少个“目标”？

assistant: SELECT COUNT ( DISTINCT business_id ) FROM business WHERE city  =  "厦门" AND name  =  "目标";
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (business_id VARCHAR, city VARCHAR), CREATE TABLE review (business_id VARCHAR, user_id VARCHAR), CREATE TABLE USER (name VARCHAR, user_id VARCHAR)
user: 有多少用户在评论了“成都”的“爱尔兰酒吧”？

assistant: SELECT COUNT ( DISTINCT t4.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN review AS t3 ON t3.business_id  =  t1.business_id JOIN USER AS t4 ON t4.user_id  =  t3.user_id WHERE t1.city  =  "成都" AND t2.category_name  =  "爱尔兰酒吧";
Schema: CREATE TABLE review (rating INTEGER, YEAR VARCHAR)
user: 2014年度的平均点评量是多少？

assistant: SELECT AVG ( rating ) FROM review WHERE YEAR  =  2014;
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (business_id VARCHAR, name VARCHAR), CREATE TABLE review (year VARCHAR, business_id VARCHAR, user_id VARCHAR), CREATE TABLE USER (name VARCHAR, user_id VARCHAR)
user: 有多少人在2010点评过“餐厅”“便宜坊”？

assistant: SELECT COUNT ( DISTINCT t4.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN review AS t3 ON t3.business_id  =  t1.business_id JOIN USER AS t4 ON t4.user_id  =  t3.user_id WHERE t1.name  =  "便宜坊" AND t2.category_name  =  "餐厅" AND t3.year  =  2010;
Schema: CREATE TABLE neighbourhood (neighbourhood_name VARCHAR, business_id VARCHAR), CREATE TABLE business (business_id VARCHAR), CREATE TABLE review (text VARCHAR, business_id VARCHAR)
user: 查找位于“便宜坊”附近的企业评论的数量

assistant: SELECT COUNT ( DISTINCT t3.text ) FROM neighbourhood AS t1 JOIN business AS t2 ON t1.business_id  =  t2.business_id JOIN review AS t3 ON t3.business_id  =  t2.business_id WHERE t1.neighbourhood_name  =  "便宜坊";
Schema: CREATE TABLE USER (name VARCHAR)
user: 查找名字为“米雪”的用户数

assistant: SELECT COUNT ( DISTINCT name ) FROM USER WHERE name  =  "米雪";
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (business_id VARCHAR, name VARCHAR)
user: 返回给我“餐馆”的企业数量。

assistant: SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t2.category_name  =  "餐馆";
Schema: CREATE TABLE business (name VARCHAR, city VARCHAR)
user: 返回给有“复兴号”的城市。

assistant: SELECT COUNT ( DISTINCT city ) FROM business WHERE name  =  "复兴号";
Schema: CREATE TABLE USER (name VARCHAR, user_id VARCHAR), CREATE TABLE tip (text VARCHAR, user_id VARCHAR)
user: 把“米雪”写的提示的数量。

assistant: SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id  =  t1.user_id WHERE t2.name  =  "米雪";
Schema: CREATE TABLE checkin (business_id VARCHAR, count INTEGER), CREATE TABLE business (business_id VARCHAR), CREATE TABLE neighbourhood (neighbourhood_name VARCHAR, business_id VARCHAR)
user: 找出“星巴克”附近的总访问数

assistant: SELECT SUM ( t3.count ) FROM checkin AS t3 JOIN business AS t1 ON t3.business_id  =  t1.business_id JOIN neighbourhood AS t2 ON t2.business_id  =  t1.business_id WHERE t2.neighbourhood_name  =  "星巴克";
Schema: CREATE TABLE review (MONTH VARCHAR, text VARCHAR)
user: 查找“3月”份撰写的评论总数

assistant: SELECT COUNT ( DISTINCT text ) FROM review WHERE MONTH  =  "3月";
Schema: CREATE TABLE tip (MONTH VARCHAR, text VARCHAR)
user: 找出每个月的提示数

assistant: SELECT COUNT ( DISTINCT text )  ,  MONTH FROM tip GROUP BY MONTH;
Schema: CREATE TABLE neighbourhood (neighbourhood_name VARCHAR, business_id VARCHAR), CREATE TABLE business (rating VARCHAR, business_id VARCHAR, city VARCHAR)
user: 在“成都”有多少个社区拥有评分是5的企业？

assistant: SELECT COUNT ( DISTINCT t1.neighbourhood_name ) FROM neighbourhood AS t1 JOIN business AS t2 ON t1.business_id  =  t2.business_id WHERE t2.city  =  "成都" AND t2.rating  =  5;
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (business_id VARCHAR, name VARCHAR, state VARCHAR)
user: 给我“云南”所有的“摩洛哥”“餐馆”

assistant: SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id WHERE t1.state  =  "云南" AND t2.category_name  =  "摩洛哥" AND t3.category_name  =  "餐厅";
Schema: CREATE TABLE checkin (business_id VARCHAR, count INTEGER), CREATE TABLE business (business_id VARCHAR, name VARCHAR)
user: 哪个企业访问的次数最多

assistant: SELECT t1.name FROM checkin AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id GROUP BY t1.name ORDER BY SUM ( t2.count ) DESC LIMIT 1;
Schema: CREATE TABLE neighbourhood (neighbourhood_name VARCHAR, business_id VARCHAR), CREATE TABLE business (name VARCHAR, business_id VARCHAR, city VARCHAR)
user: “成都”哪个街区的企业最多？

assistant: SELECT t1.neighbourhood_name FROM neighbourhood AS t1 JOIN business AS t2 ON t1.business_id  =  t2.business_id WHERE t2.city  =  "成都" GROUP BY t1.neighbourhood_name ORDER BY COUNT ( DISTINCT t2.name ) DESC LIMIT 1;
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (city VARCHAR, business_id VARCHAR, name VARCHAR, rating INTEGER)
user: 在“成都”找出评分至少是3.5的“墨西哥”“餐厅”

assistant: SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id WHERE t1.city  =  "成都" AND t1.rating  >  3.5 AND t2.category_name  =  "墨西哥" AND t3.category_name  =  "餐厅";
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (city VARCHAR, business_id VARCHAR, name VARCHAR, rating INTEGER)
user: 在“成都”找出评分超过3.5的“墨西哥”“餐厅”

assistant: SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id WHERE t1.city  =  "成都" AND t1.rating  >  3.5 AND t2.category_name  =  "墨西哥" AND t3.category_name  =  "餐厅";
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (city VARCHAR, business_id VARCHAR, name VARCHAR, state VARCHAR)
user: 在“四川”“成都”找出所有“代客服务”的“餐厅”

assistant: SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id WHERE t1.city  =  "成都" AND t1.state  =  "四川" AND t2.category_name  =  "代客服务" AND t3.category_name  =  "餐厅";
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (city VARCHAR, business_id VARCHAR, name VARCHAR), CREATE TABLE neighbourhood (neighbourhood_name VARCHAR, business_id VARCHAR)
user: 在“成都”的“星巴克”附近找出“意大利”“餐厅”

assistant: SELECT t1.name FROM category AS t3 JOIN business AS t1 ON t3.business_id  =  t1.business_id JOIN category AS t4 ON t4.business_id  =  t1.business_id JOIN neighbourhood AS t2 ON t2.business_id  =  t1.business_id WHERE t1.city  =  "成都" AND t3.category_name  =  "意大利" AND t4.category_name  =  "餐厅" AND t2.neighbourhood_name  =  "星巴克";
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (business_id VARCHAR, rating INTEGER, name VARCHAR, city VARCHAR, review_count INTEGER)
user: 在“厦门”找出所有拥有至少30条评论且平均评级高于3分的“酒吧”

assistant: SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  "厦门" AND t1.rating  >  3 AND t1.review_count  >  30 AND t2.category_name  =  "酒吧";
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (city VARCHAR, business_id VARCHAR, name VARCHAR)
user: “武汉”有多少家“埃及”“餐馆”？

assistant: SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id WHERE t1.city  =  "武汉" AND t2.category_name  =  "餐厅" AND t3.category_name  =  "埃及";
Schema: CREATE TABLE USER (name VARCHAR, user_id VARCHAR), CREATE TABLE review (rating INTEGER, user_id VARCHAR)
user: 找出平均评论分数低于3的用户

assistant: SELECT t2.name FROM USER AS t2 JOIN review AS t1 ON t2.user_id  =  t1.user_id GROUP BY t2.name HAVING AVG ( t1.rating )  <  3;
Schema: CREATE TABLE review (text VARCHAR, business_id VARCHAR, month VARCHAR), CREATE TABLE business (business_id VARCHAR, name VARCHAR)
user: 找出在“四月”最多的商业评论

assistant: SELECT t1.name FROM review AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t2.month  =  "四月" GROUP BY t1.name ORDER BY COUNT ( DISTINCT t2.text ) DESC LIMIT 1;
Schema: CREATE TABLE category (business_id VARCHAR, category_name VARCHAR), CREATE TABLE business (business_id VARCHAR, name VARCHAR)
user: 查找最多数量类别的业务

assistant: SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id GROUP BY t1.name ORDER BY COUNT ( DISTINCT t2.category_name ) DESC LIMIT 1;
Schema: CREATE TABLE journal (homepage VARCHAR, name VARCHAR)
user: 返回“PVLDB”的主页。

assistant: SELECT homepage FROM journal WHERE name  =  "PVLDB";
Schema: CREATE TABLE author (homepage VARCHAR, name VARCHAR)
user: 返回“李政道”的主页。

assistant: SELECT homepage FROM author WHERE name  =  "李政道";
Schema: CREATE TABLE publication (title VARCHAR, abstract VARCHAR)
user: 返回文章“使数据库可用”的摘要。

assistant: SELECT abstract FROM publication WHERE title  =  "使数据库可用";
Schema: CREATE TABLE publication (title VARCHAR, YEAR VARCHAR)
user: 返回文章“使数据库可用”的发行年份

assistant: SELECT YEAR FROM publication WHERE title  =  "使数据库可用";
Schema: CREATE TABLE publication (title VARCHAR, YEAR VARCHAR)
user: 返回文章“使数据库可用”发行年。

assistant: SELECT YEAR FROM publication WHERE title  =  "使数据库可用";
Schema: CREATE TABLE publication (title VARCHAR, YEAR INTEGER)
user: 返回2000年以后的论文。

assistant: SELECT title FROM publication WHERE YEAR  >  2000;
Schema: CREATE TABLE conference (homepage VARCHAR, name VARCHAR)
user: 返回“VLDB”会议的主页。

assistant: SELECT homepage FROM conference WHERE name  =  "VLDB";
Schema: CREATE TABLE keyword (keyword VARCHAR)
user: 返回所有的关键词。

assistant: SELECT keyword FROM keyword;
Schema: CREATE TABLE organization (name VARCHAR)
user: 返回所有的组织的名字。

assistant: SELECT name FROM organization;
Schema: CREATE TABLE organization (continent VARCHAR, name VARCHAR)
user: 返回“中国北方”的所有组织。

assistant: SELECT name FROM organization WHERE continent  =  "中国北方";
Schema: CREATE TABLE organization (homepage VARCHAR, name VARCHAR)
user: 返回“北京理工大学”的网站主页。

assistant: SELECT homepage FROM organization WHERE name  =  "北京理工大学";
Schema: CREATE TABLE publication (title VARCHAR, reference_num VARCHAR)
user: 返回论文“使数据库可用”的参考资料数量。

assistant: SELECT reference_num FROM publication WHERE title  =  "使数据库可用";
Schema: CREATE TABLE publication (title VARCHAR, reference_num VARCHAR)
user: 返回论文“使数据库可用”的参考资料。

assistant: SELECT reference_num FROM publication WHERE title  =  "使数据库可用";
Schema: CREATE TABLE publication (title VARCHAR, citation_num VARCHAR)
user: 返回论文“使数据库可用”的引用数量。

assistant: SELECT citation_num FROM publication WHERE title  =  "使数据库可用";
Schema: CREATE TABLE publication (title VARCHAR, citation_num VARCHAR)
user: 返回论文“使数据库可用”的引用。

assistant: SELECT citation_num FROM publication WHERE title  =  "使数据库可用";
Schema: CREATE TABLE publication (title VARCHAR, citation_num INTEGER)
user: 返回有200个以上引用的论文。

assistant: SELECT title FROM publication WHERE citation_num  >  200;
Schema: CREATE TABLE publication (year VARCHAR, jid VARCHAR, pid VARCHAR), CREATE TABLE journal (name VARCHAR, jid VARCHAR), CREATE TABLE writes (aid VARCHAR, pid VARCHAR), CREATE TABLE author (aid VARCHAR, name VARCHAR)
user: 返回那些在“PVLDB” 2010中有论文的作者。

assistant: SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  "PVLDB" AND t4.year  =  2010;
Schema: CREATE TABLE publication (year INTEGER, jid VARCHAR, pid VARCHAR), CREATE TABLE journal (name VARCHAR, jid VARCHAR), CREATE TABLE writes (aid VARCHAR, pid VARCHAR), CREATE TABLE author (aid VARCHAR, name VARCHAR)
user: 返回2010年后在“PVLDB”会议上发表过论文的作者。

assistant: SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  "PVLDB" AND t4.year  >  2010;
Schema: CREATE TABLE publication (year VARCHAR, cid VARCHAR, pid VARCHAR), CREATE TABLE conference (cid VARCHAR, name VARCHAR), CREATE TABLE writes (aid VARCHAR, pid VARCHAR), CREATE TABLE author (aid VARCHAR, name VARCHAR)
user: 返回在2002年的“VLDB”会议上有发表论文的作者。

assistant: SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  "VLDB" AND t4.year  =  2002;
Schema: CREATE TABLE publication (cid VARCHAR, year INTEGER, pid VARCHAR), CREATE TABLE conference (cid VARCHAR, name VARCHAR), CREATE TABLE writes (aid VARCHAR, pid VARCHAR), CREATE TABLE author (aid VARCHAR, name VARCHAR)
user: 返回在2002年前在“VLDB”会议上有论文的作者。

assistant: SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  "VLDB" AND t4.year  <  2002;
Schema: CREATE TABLE publication (cid VARCHAR, year INTEGER, pid VARCHAR), CREATE TABLE conference (cid VARCHAR, name VARCHAR), CREATE TABLE writes (aid VARCHAR, pid VARCHAR), CREATE TABLE author (aid VARCHAR, name VARCHAR)
user: 返回在1995年之后2002年之前“VLDB”会议上发表过论文的作者名字。

assistant: SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  "VLDB" AND t4.year  <  2002 AND t4.year  >  1995;
Schema: CREATE TABLE DOMAIN (name VARCHAR, did VARCHAR), CREATE TABLE domain_journal (jid VARCHAR, did VARCHAR), CREATE TABLE journal (name VARCHAR, jid VARCHAR)
user: 返回给我“PVLDB”的领域。

assistant: SELECT t3.name FROM DOMAIN AS t3 JOIN domain_journal AS t1 ON t3.did  =  t1.did JOIN journal AS t2 ON t2.jid  =  t1.jid WHERE t2.name  =  "PVLDB";
Schema: CREATE TABLE publication (jid VARCHAR, pid VARCHAR), CREATE TABLE journal (name VARCHAR, jid VARCHAR), CREATE TABLE writes (aid VARCHAR, pid VARCHAR), CREATE TABLE author (aid VARCHAR, name VARCHAR)
user: 返回在“PVLDB”有论文的作者名字。

assistant: SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  "PVLDB";
Schema: CREATE TABLE organization (name VARCHAR, oid VARCHAR), CREATE TABLE author (name VARCHAR, oid VARCHAR)
user: 返回“李政道”所在的机构。

assistant: SELECT t2.name FROM organization AS t2 JOIN author AS t1 ON t2.oid  =  t1.oid WHERE t1.name  =  "李政道";
Schema: CREATE TABLE publication (cid VARCHAR, pid VARCHAR), CREATE TABLE conference (cid VARCHAR, name VARCHAR), CREATE TABLE writes (aid VARCHAR, pid VARCHAR), CREATE TABLE author (aid VARCHAR, name VARCHAR)
user: 返回“李政道”的发表过论文的会议。

assistant: SELECT t2.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  "李政道";
Schema: CREATE TABLE publication (jid VARCHAR, pid VARCHAR), CREATE TABLE journal (name VARCHAR, jid VARCHAR), CREATE TABLE writes (aid VARCHAR, pid VARCHAR), CREATE TABLE author (aid VARCHAR, name VARCHAR)
user: 返回“李政道”的发表过论文的期刊。。

assistant: SELECT t2.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  "李政道";
Schema: CREATE TABLE domain_author (aid VARCHAR, did VARCHAR), CREATE TABLE author (aid VARCHAR, name VARCHAR), CREATE TABLE DOMAIN (name VARCHAR, did VARCHAR)
user: 返回“李政道”集中工作的领域。

assistant: SELECT t2.name FROM domain_author AS t3 JOIN author AS t1 ON t3.aid  =  t1.aid JOIN DOMAIN AS t2 ON t2.did  =  t3.did WHERE t1.name  =  "李政道";
Schema: CREATE TABLE writes (aid VARCHAR, pid VARCHAR), CREATE TABLE author (aid VARCHAR, name VARCHAR), CREATE TABLE publication (title VARCHAR, pid VARCHAR)
user: 返回“使数据库可用”的作者给我。

assistant: SELECT t1.name FROM writes AS t2 JOIN author AS t1 ON t2.aid  =  t1.aid JOIN publication AS t3 ON t2.pid  =  t3.pid WHERE t3.title  =  "使数据库可用";
Schema: CREATE TABLE publication (title VARCHAR, cid VARCHAR), CREATE TABLE conference (cid VARCHAR, name VARCHAR)
user: 返回发表了“使数据库可用”的会议。

assistant: SELECT t1.name FROM publication AS t2 JOIN conference AS t1 ON t2.cid  =  t1.cid WHERE t2.title  =  "使数据库可用";