jtjt520j/CSpider_for_Qwen huggingface dataset:
问题: 在2011到2016年间有多少关于“问答”领域的论文？

SQL: SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  "问答" AND t3.year  >=  2011;
问题: 什么是最好的“NLP”会议？

SQL: SELECT DISTINCT COUNT ( DISTINCT t4.citingpaperid )  ,  t3.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid WHERE t1.keyphrasename  =  "NLP" GROUP BY t3.venueid ORDER BY COUNT ( DISTINCT t4.citingpaperid ) DESC;
问题: 每个作者的ACL会议

SQL: SELECT DISTINCT t2.paperid  ,  t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t3.venuename  =  "ACL";
问题: 引用超过10篇的论文

SQL: SELECT DISTINCT t2.citingpaperid FROM paper AS t1 JOIN cite AS t2 ON t1.paperid  =  t2.citedpaperid GROUP BY t2.citingpaperid HAVING COUNT ( DISTINCT t2.citedpaperid )  >  10;
问题: 哪些作者在2015年发表了论文？

SQL: SELECT DISTINCT t1.authorid FROM writes AS t1 JOIN paper AS t2 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2015;
问题: 谁在2015年写论文

SQL: SELECT DISTINCT t1.authorid FROM writes AS t1 JOIN paper AS t2 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2015;
问题: “布莱恩·德兰奇”的那个关键词来获得最多的引用？

SQL: SELECT DISTINCT t1.keyphrasename  ,  SUM ( t3.numcitedby ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  "布莱恩·德兰奇" GROUP BY t1.keyphrasename ORDER BY SUM ( t3.numcitedby ) DESC;
问题: “布莱恩·德兰奇”的主要主题

SQL: SELECT DISTINCT t1.keyphrasename  ,  SUM ( t3.numcitedby ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  "布莱恩·德兰奇" GROUP BY t1.keyphrasename ORDER BY SUM ( t3.numcitedby ) DESC;
问题: 至少有5篇论文的作者

SQL: SELECT DISTINCT COUNT ( t2.paperid )  ,  t1.authorid FROM writes AS t1 JOIN paper AS t2 ON t1.paperid  =  t2.paperid GROUP BY t1.authorid HAVING COUNT ( t2.paperid )  >=  5;
问题: 去年没有发表的论文

SQL: SELECT DISTINCT paperid FROM paper WHERE YEAR != 2015;
问题: “迈克尔·斯通布雷克”的“GIS数据”是什么时候发布的？

SQL: SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  "迈克尔·斯通布雷克" AND t5.keyphrasename  =  "GIS数据";
问题: “迈克尔·斯通布雷克”什么时候发布了他的“GIS数据”文件？

SQL: SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  "迈克尔·斯通布雷克" AND t5.keyphrasename  =  "GIS数据";
问题: “迈克尔·斯通布雷克”什么时候出版了“GIS数据”文件？

SQL: SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  "迈克尔·斯通布雷克" AND t5.keyphrasename  =  "GIS数据";
问题: 2010年什么期刊发表了关于“营养级联”的文章？

SQL: SELECT DISTINCT t3.journalid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  "营养级联" AND t3.year  =  2010 GROUP BY t3.journalid;
问题: 今年CVPR会议最流行的论文是什么？

SQL: SELECT DISTINCT t3.citedpaperid  ,  COUNT ( t3.citingpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2016 AND t2.venuename  =  "CVPR" GROUP BY t3.citedpaperid ORDER BY COUNT ( t3.citingpaperid ) DESC;
问题: “卢克·泽特莫耶尔”每一年有多少引用？

SQL: SELECT DISTINCT COUNT ( t4.citedpaperid )  ,  t3.year FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  "卢克·泽特莫耶尔" GROUP BY t3.year;
问题: ImageNet的作者

SQL: SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t1 ON t3.datasetid  =  t1.datasetid JOIN paper AS t4 ON t4.paperid  =  t3.paperid JOIN writes AS t2 ON t2.paperid  =  t4.paperid WHERE t1.datasetname  =  "ImageNet" GROUP BY t2.paperid;
问题: 自2006年以来，关于“提取液对癌症患者的影响”发表了哪些文章？

SQL: SELECT DISTINCT paperid  ,  title FROM paper WHERE title LIKE "%提取液对癌症患者的影响%" AND YEAR  >  2006;
问题: “埃里克·克拉甘”的“液体”相关的“Automatica”论文

SQL: SELECT DISTINCT t2.paperid FROM paperkeyphrase AS t5 JOIN keyphrase AS t3 ON t5.keyphraseid  =  t3.keyphraseid JOIN writes AS t4 ON t4.paperid  =  t5.paperid JOIN paper AS t2 ON t4.paperid  =  t2.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid JOIN venue AS t6 ON t6.venueid  =  t2.venueid WHERE t1.authorname  =  "埃里克·克拉甘" AND t3.keyphrasename  =  "液体" AND t6.venuename  =  "Automatica";
问题: “谢尔盖·莱文”在哪里发表了他的最后一篇论文？

SQL: SELECT DISTINCT t3.venueid  ,  t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  "谢尔盖·莱文" GROUP BY t3.venueid  ,  t3.year ORDER BY t3.year DESC;
问题: “丹·克莱因”在EMNLP论文中使用的关键词

SQL: SELECT DISTINCT t2.keyphraseid FROM paper AS t3 JOIN paperkeyphrase AS t2 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid JOIN writes AS t5 ON t5.paperid  =  t3.paperid JOIN author AS t1 ON t5.authorid  =  t1.authorid WHERE t1.authorname  =  "丹·克莱因" AND t4.venuename  =  "emnlp";
问题: 2012年“中和抗体”研究的主要研究者是谁？

SQL: SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t2.keyphrasename  =  "中和抗体" AND t4.year  =  2012 GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;
问题: 2014年使用ImageNet数据集的ECCV论文

SQL: SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.datasetname  =  "ImageNet" AND t3.year  =  2014 AND t4.venuename  =  "eccv";
问题: ECCV 2014中的哪些论文使用了ImageNet？

SQL: SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.datasetname  =  "ImageNet" AND t3.year  =  2014 AND t4.venuename  =  "eccv";
问题: 使用ImageNet的ECCV 2014会议的论文

SQL: SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.datasetname  =  "ImageNet" AND t3.year  =  2014 AND t4.venuename  =  "eccv";
问题: 引用发表在NIPS论文的关于“欧几里德距离”的论文

SQL: SELECT DISTINCT t5.citingpaperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN cite AS t5 ON t2.paperid  =  t5.citingpaperid JOIN paper AS t3 ON t3.paperid  =  t5.citedpaperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  "欧几里德距离" AND t4.venuename  =  "NIPS";
问题: 研究ImageNet的顶级作者

SQL: SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t4 ON t4.paperid  =  t2.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t1.datasetname  =  "ImageNet" GROUP BY t3.paperid ORDER BY COUNT ( t4.paperid ) DESC;
问题: 有多少ACL 2012的论文引用超过7次？

SQL: SELECT DISTINCT ( t1.paperid )  ,  COUNT ( t3.citingpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2012 AND t2.venuename  =  "ACL" GROUP BY t1.paperid HAVING COUNT ( t3.citingpaperid )  >  7;
问题: 2012年度EnnLL-CONLL最佳论文的题目是什么？

SQL: SELECT DISTINCT COUNT ( DISTINCT t4.citingpaperid )  ,  t1.keyphraseid  ,  t2.paperid FROM paper AS t2 JOIN cite AS t4 ON t2.paperid  =  t4.citedpaperid JOIN paperkeyphrase AS t1 ON t2.paperid  =  t1.paperid JOIN venue AS t3 ON t3.venueid  =  t2.venueid WHERE t2.year  =  2012 AND t3.venuename  =  "EMNLP-CoNLL" GROUP BY t2.paperid  ,  t1.keyphraseid ORDER BY COUNT ( DISTINCT t4.citingpaperid ) DESC;
问题: 自2009以来“诺亚·史密斯”共同参与创作了多少篇论文？

SQL: SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname != "诺亚·史密斯" AND t3.year  >  2009 AND t2.paperid IN ( SELECT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname LIKE "%诺亚·史密斯%" );
问题: 超过2各引用的ACL论文数

SQL: SELECT DISTINCT COUNT ( t3.citingpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  "ACL" GROUP BY t3.citingpaperid HAVING COUNT ( DISTINCT t3.citedpaperid )  >  2;
问题: “埃里克·克拉甘”的在“Automatica”会议上发表的“液体”相关的论文叫什么名字？

SQL: SELECT DISTINCT t2.title FROM paperkeyphrase AS t5 JOIN keyphrase AS t3 ON t5.keyphraseid  =  t3.keyphraseid JOIN writes AS t4 ON t4.paperid  =  t5.paperid JOIN paper AS t2 ON t4.paperid  =  t2.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid JOIN venue AS t6 ON t6.venueid  =  t2.venueid WHERE t1.authorname LIKE "%埃里克·克拉甘%" AND t3.keyphrasename  =  "液体" AND t6.venuename  =  "Automatica";
问题: 在“CVPR”中使用ImageNet数据集的论文有多少？

SQL: SELECT DISTINCT COUNT ( t3.paperid ) FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.datasetname  =  "ImageNet" AND t4.venuename  =  "CVPR";
问题: “神经科学”的会议是什么？

SQL: SELECT DISTINCT venueid FROM venue WHERE venuename  =  "神经科学";
问题: “玛丽·克莱因”上一次发表论文是什么时候？

SQL: SELECT DISTINCT MAX ( t3.year ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  "玛丽·克莱因";
问题: 返回“菲利普·可汗”的“机器翻译输出”的论文合著者

SQL: SELECT DISTINCT t1.authorid FROM paperkeyphrase AS t6 JOIN keyphrase AS t3 ON t6.keyphraseid  =  t3.keyphraseid JOIN writes AS t4 ON t4.paperid  =  t6.paperid JOIN writes AS t5 ON t5.paperid  =  t4.paperid JOIN author AS t1 ON t5.authorid  =  t1.authorid JOIN author AS t2 ON t4.authorid  =  t2.authorid WHERE t2.authorname  =  "菲利普·可汗" AND t3.keyphrasename  =  "机器翻译输出";
问题: “塞缪尔·马登”在“PVLDB”以外的会议发表了多少论文？

SQL: SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  "塞缪尔·马登" AND t4.venuename != "PVLDB";
问题: “唐纳德·克努斯”在哪一个期刊上发表了他的最后一篇论文？

SQL: SELECT DISTINCT t3.journalid  ,  t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  "唐纳德·克努斯" GROUP BY t3.journalid  ,  t3.year ORDER BY t3.year DESC;
问题: “丙烯酸骨水泥断裂”发表的会议是什么？

SQL: SELECT DISTINCT venueid FROM paper WHERE title  =  "丙烯酸骨水泥断裂";
问题: 2010在“SigCSE”有多少作者发表了论文？

SQL: SELECT DISTINCT COUNT ( t2.paperid ) FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2010 AND t3.venuename  =  "SigCSE";
问题: “ISDN交换架构”发布的年份是什么？

SQL: SELECT DISTINCT title  ,  YEAR FROM paper WHERE title  =  "ISDN交换架构";
问题: “UIST”论文使用哪些关键词

SQL: SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t4.venuename  =  "UIST";
问题: 给我2012年以前“李素音”写的论文。

SQL: SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  "李素音" AND t3.year  <  2012;
问题: 列出每一年“语义分析”的论文

SQL: SELECT DISTINCT COUNT ( t3.paperid )  ,  t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  "语义分析" GROUP BY t3.year ORDER BY t3.year DESC;
问题: 至少5篇引用的论文

SQL: SELECT DISTINCT t2.citingpaperid FROM paper AS t1 JOIN cite AS t2 ON t1.paperid  =  t2.citedpaperid GROUP BY t2.citingpaperid HAVING COUNT ( DISTINCT t2.citedpaperid )  >=  5;
问题: 至少有5篇其他论文引用的论文

SQL: SELECT DISTINCT t2.citingpaperid FROM paper AS t1 JOIN cite AS t2 ON t1.paperid  =  t2.citedpaperid GROUP BY t2.citingpaperid HAVING COUNT ( DISTINCT t2.citedpaperid )  >=  5;
问题: “SigCOMM”引用量最多的论文是什么？

SQL: SELECT DISTINCT t3.citedpaperid  ,  COUNT ( t3.citingpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  "SigCOMM" GROUP BY t3.citedpaperid ORDER BY COUNT ( t3.citingpaperid ) DESC;
问题: “兰吉特·贾拉”的发表的关于“LH”的论文叫什么名字？

SQL: SELECT DISTINCT t3.title FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN writes AS t4 ON t4.paperid  =  t2.paperid JOIN paper AS t3 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname LIKE "%兰吉特·贾拉%" AND t5.keyphrasename  =  "LH";
问题: 列出超过4.5颗星的所有餐厅

SQL: SELECT name FROM business WHERE rating  >  4.5;
问题: 列出所有评级为3.5的餐厅

SQL: SELECT name FROM business WHERE rating  =  3.5;
问题: 列出名字是“米雪”的所有用户ID

SQL: SELECT user_id FROM USER WHERE name  =  "米雪";
问题: 查找所有有“汉堡王”的省份

SQL: SELECT state FROM business WHERE name  =  "汉堡王";
问题: 找出有一个叫“海盗船自助餐”的“餐厅”的所有的城市。

SQL: SELECT t1.city FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.name  =  "海盗船自助餐" AND t2.category_name  =  "餐厅";
问题: 找出低于1.5的餐厅

SQL: SELECT city FROM business WHERE rating  <  1.5;
问题: 找出所有有“南京大牌档”的城市。

SQL: SELECT city FROM business WHERE name  =  "南京大牌档";
问题: 列出所有相关餐厅少于1个的评论

SQL: SELECT text FROM review WHERE rating  <  1;
问题: 列出所有超过3.5的“餐馆”

SQL: SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.rating  >  3.5 AND t2.category_name  =  "餐馆";
问题: 找出所有拥有“南京大牌档”“餐厅”的城市

SQL: SELECT t1.city FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.name  =  "南京大牌档" AND t2.category_name  =  "餐厅";
问题: 列出“王岩”的所有评论

SQL: SELECT t1.text FROM USER AS t2 JOIN review AS t1 ON t2.user_id  =  t1.user_id WHERE t2.name  =  "王岩";
问题: 列出所有由“王岩”评论的餐厅

SQL: SELECT 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 t3.name  =  "王岩";
问题: 列出“王岩”评级5的所有业务

SQL: SELECT 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.rating  =  5 AND t3.name  =  "王岩";
问题: 列出“米雪”为“意大利”“餐馆”所做的所有评论

SQL: SELECT t4.text 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 JOIN review AS t4 ON t4.business_id  =  t1.business_id JOIN USER AS t5 ON t5.user_id  =  t4.user_id WHERE t2.category_name  =  "意大利" AND t3.category_name  =  "餐馆" AND t5.name  =  "米雪";
问题: 找出在“云南”的“星巴克”“餐厅”的评论数量

SQL: SELECT COUNT ( DISTINCT t3.text ) 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 WHERE t1.name  =  "星巴克" AND t1.state  =  "云南" AND t2.category_name  =  "餐厅";
问题: 列出5星级“意大利”“餐厅”

SQL: 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.rating  =  5 AND t2.category_name  =  "意大利" AND t3.category_name  =  "餐厅";
问题: 列出在“成都”的“意大利”“餐厅”的街区

SQL: SELECT t1.neighbourhood_name FROM category AS t3 JOIN business AS t2 ON t3.business_id  =  t2.business_id JOIN category AS t4 ON t4.business_id  =  t2.business_id JOIN neighbourhood AS t1 ON t1.business_id  =  t2.business_id WHERE t2.city  =  "成都" AND t3.category_name  =  "意大利" AND t4.category_name  =  "餐厅";
问题: 列出“成都”所有拥有评级低于2.5的“意大利”“餐厅”的街区

SQL: SELECT t1.neighbourhood_name FROM category AS t3 JOIN business AS t2 ON t3.business_id  =  t2.business_id JOIN category AS t4 ON t4.business_id  =  t2.business_id JOIN neighbourhood AS t1 ON t1.business_id  =  t2.business_id WHERE t2.city  =  "Madison" AND t2.rating  <  2.5 AND t3.category_name  =  "意大利" AND t4.category_name  =  "餐厅";
问题: 找出“黑龙江”所有的“餐馆”

SQL: SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.state  =  "黑龙江" AND t2.category_name  =  "餐馆";
问题: 列出所有在“黑龙江”的“餐馆”。

SQL: SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.state  =  "黑龙江" AND t2.category_name  =  "餐馆";
问题: 找出所有超过100个评论的“宠物梳理师”

SQL: SELECT t3.text 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 WHERE t1.review_count  >  100 AND t2.category_name  =  "宠物梳理师";
问题: 在“东莞”的“啤酒厂”有哪些？

SQL: SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  "东莞" AND t2.category_name  =  "啤酒厂";
问题: 找出“东莞”的所有“啤酒厂”

SQL: SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  "东莞" AND t2.category_name  =  "啤酒厂";
问题: 中找处在“厦门”所有的“啤酒厂”

SQL: SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  "厦门" AND t2.category_name  =  "啤酒厂";
问题: 找出所有评论“沙县小吃”“餐厅”的用户

SQL: SELECT 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  =  "餐厅";
问题: 列出在“东莞”所有“沃尔玛”的地址

SQL: SELECT full_address FROM business WHERE city  =  "东莞" AND name  =  "沃尔玛";
问题: 找出“赵毅”评论的所有在“重庆”的“餐厅”

SQL: SELECT t1.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  =  "餐厅" AND t4.name  =  "赵毅";
问题: “重庆”的哪些“餐厅”被“赵毅”评论过？

SQL: SELECT t1.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  =  "餐厅" AND t4.name  =  "赵毅";
问题: 找出“赵毅”评论的所有的“酒吧”

SQL: SELECT t1.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 t2.category_name  =  "酒吧" AND t4.name  =  "赵毅";
问题: 找出所有由“赵毅”评论的至少有3颗星的“酒吧”。

SQL: SELECT t1.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.rating  >=  3 AND t2.category_name  =  "酒吧" AND t4.name  =  "赵毅";
问题: 找出在2015年所有为“喜茶”写过评论的用户

SQL: SELECT t3.name 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 t2.year  =  2015;
问题: 在“云南”找出所有低于2分的企业

SQL: SELECT name FROM business WHERE rating  <  2 AND state  =  "云南";
问题: 找出所有在“厦门”的“海鲜”“餐厅”

SQL: 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 t2.category_name  =  "海鲜" AND t3.category_name  =  "餐厅";
问题: 列出“厦门”所有的“海鲜”“餐厅”

SQL: 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 t2.category_name  =  "海鲜" AND t3.category_name  =  "餐厅";
问题: 找出“厦门”供应“海鲜”的“餐厅”

SQL: 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 t2.category_name  =  "海鲜" AND t3.category_name  =  "餐厅";
问题: 找出评分高于4分的“赵毅”的所有评论，

SQL: SELECT t1.text FROM USER AS t2 JOIN review AS t1 ON t2.user_id  =  t1.user_id WHERE t1.rating  >  4 AND t2.name  =  "赵毅";
问题: 在“厦门”中找出所有“苹果店”

SQL: SELECT business_id FROM business WHERE city  =  "厦门" AND name  =  "苹果店";
问题: 找出评级高于4.5分的“成都”“餐厅”

SQL: SELECT 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  =  "餐厅";
问题: “海底捞”附近的“餐馆”是什么？

SQL: SELECT t1.neighbourhood_name FROM category AS t3 JOIN business AS t2 ON t3.business_id  =  t2.business_id JOIN neighbourhood AS t1 ON t1.business_id  =  t2.business_id WHERE t2.name  =  "海底捞" AND t3.category_name  =  "餐馆";
问题: 找出关于收到超过9个赞的“便宜坊”的所有提示

SQL: SELECT t2.text FROM tip AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.name  =  "便宜坊" AND t2.likes  >  9;
问题: 找出2014年度“探鱼”的所有评论

SQL: SELECT t2.text FROM review AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.name  =  "探鱼" AND t2.year  =  2014;
问题: 找出所有写在“成都”的餐馆的评论的用户

SQL: SELECT t3.name 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.city  =  "成都";
问题: 在“云南”省的所有城市里找出一家名为“海盗船自助餐”的“餐厅”。

SQL: SELECT t1.city FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.name  =  "海盗船自助餐" AND t1.state  =  "云南" AND t2.category_name  =  "餐厅";
问题: 找出“宠物梳理师”评论的用户

SQL: SELECT t4.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN tip AS t3 ON t3.business_id  =  t1.business_id JOIN USER AS t4 ON t4.user_id  =  t3.user_id WHERE t2.category_name  =  "宠物梳理师";
问题: 找出“云南”“星巴克”的所有评论。

SQL: SELECT t2.text FROM tip AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.name  =  "星巴克" AND t1.state  =  "云南";
问题: 列出所有审查“餐馆”业务的用户。

SQL: SELECT 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 t2.category_name  =  "餐馆";
问题: 列出2010在“黑龙江”的“星巴克”的所有提示。

SQL: SELECT t2.text FROM tip AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.name  =  "星巴克" AND t1.state  =  "黑龙江" AND t2.year  =  2010;
问题: 列出所有在2010的做“餐馆”生意的用户。

SQL: SELECT 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 t2.category_name  =  "餐馆" AND t3.year  =  2010;
问题: 找出在2012编写评论的用户的所有提示

SQL: SELECT t2.text FROM USER AS t3 JOIN review AS t1 ON t3.user_id  =  t1.user_id JOIN tip AS t2 ON t3.user_id  =  t2.user_id WHERE t1.year  =  2012;
问题: 查找所有评分为2.5的企业的评论

SQL: SELECT t2.text FROM review AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.rating  =  2.5;
问题: 在“成都”找出“逃生游戏”的数量

SQL: SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  "成都" AND t2.category_name  =  "逃生游戏";
问题: “成都”“逃生游戏”的数量是多少？

SQL: SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  "成都" AND t2.category_name  =  "逃生游戏";
问题: “成都”有多少“逃生游戏”

SQL: SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  "成都" AND t2.category_name  =  "逃生游戏";
问题: 在“成都”中“逃生游戏”的数量是多少？

SQL: SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  "成都" AND t2.category_name  =  "逃生游戏";
问题: “成都”有多少家“逃生游戏”？

SQL: SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  "成都" AND t2.category_name  =  "逃生游戏";