jtjt520j/CSpider_for_Qwen huggingface dataset:
问题: 把在“PVLDB”有超过10篇论文的作者返回。

SQL: 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" GROUP BY t1.name HAVING COUNT ( DISTINCT t4.title )  >  10;
问题: 返回在“PVLDB”中有最多论文的作者。

SQL: 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" GROUP BY t1.name ORDER BY COUNT ( DISTINCT t4.title ) DESC LIMIT 1;
问题: 返回有超过10篇论文包含关键字“关系型数据库”的作者。

SQL: SELECT t2.name FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t3.pid JOIN author AS t2 ON t4.aid  =  t2.aid WHERE t1.keyword  =  "关系型数据库" GROUP BY t2.name HAVING COUNT ( DISTINCT t3.title )  >  10;
问题: 把超过60篇包含关键词“关系型数据库”的论文投放的会议返回。

SQL: SELECT t2.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t4.pid JOIN conference AS t2 ON t3.cid  =  t2.cid WHERE t1.keyword  =  "关系型数据库" GROUP BY t2.name HAVING COUNT ( DISTINCT t3.title )  >  60;
问题: 返回超过60篇包含关键词“关系型数据库”的论文的期刊。

SQL: SELECT t3.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t2 ON t2.pid  =  t4.pid JOIN journal AS t3 ON t2.jid  =  t3.jid WHERE t1.keyword  =  "关系型数据库" GROUP BY t3.name HAVING COUNT ( DISTINCT t2.title )  >  60;
问题: 返回在“VLDB”会议上超过100篇论文中所包含的关键词。

SQL: SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t4.pid JOIN conference AS t2 ON t3.cid  =  t2.cid WHERE t2.name  =  "VLDB" GROUP BY t1.keyword HAVING COUNT ( DISTINCT t3.title )  >  100;
问题: 返回“PVLDB”中超过100篇论文中包含的关键词。

SQL: SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t2 ON t2.pid  =  t4.pid JOIN journal AS t3 ON t2.jid  =  t3.jid WHERE t3.name  =  "PVLDB" GROUP BY t1.keyword HAVING COUNT ( DISTINCT t2.title )  >  100;
问题: 返回“李政道”发表的论文中超过10篇都包含的关键词。

SQL: SELECT t1.keyword FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t3.pid JOIN author AS t2 ON t4.aid  =  t2.aid WHERE t2.name  =  "李政道" GROUP BY t1.keyword HAVING COUNT ( DISTINCT t3.title )  >  10;
问题: 返回那些在“VLDB”会议上有超过10篇论文的作者。

SQL: 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" GROUP BY t1.name HAVING COUNT ( DISTINCT t4.title )  >  10;
问题: 把在“VLDB”会议上拥有最多论文的作者返回。

SQL: 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" GROUP BY t1.name ORDER BY COUNT ( DISTINCT t4.title ) DESC LIMIT 1;
问题: 返回在“北京理工大学”有5000多篇论文总引用的作者。

SQL: SELECT t1.name FROM organization AS t2 JOIN author AS t1 ON t2.oid  =  t1.oid JOIN writes AS t3 ON t3.aid  =  t1.aid JOIN publication AS t4 ON t3.pid  =  t4.pid WHERE t2.name  =  "北京理工大学" GROUP BY t1.name HAVING SUM ( t4.citation_num )  >  5000;
问题: 返回在“北京理工大学”“数据库”领域的有5000多篇论文总引用的作者。

SQL: SELECT t1.name FROM domain_author AS t6 JOIN author AS t1 ON t6.aid  =  t1.aid JOIN DOMAIN AS t3 ON t3.did  =  t6.did JOIN organization AS t5 ON t5.oid  =  t1.oid JOIN writes AS t2 ON t2.aid  =  t1.aid JOIN publication AS t4 ON t2.pid  =  t4.pid WHERE t3.name  =  "数据库" AND t5.name  =  "北京理工大学" GROUP BY t1.name HAVING SUM ( t4.citation_num )  >  5000;
问题: 电影“霸王别姬”是哪一年的？

SQL: SELECT release_year FROM movie WHERE title  =  "霸王别姬";
问题: 电影“霸王别姬”是哪一年制作的？

SQL: SELECT release_year FROM movie WHERE title  =  "霸王别姬";
问题: “张家辉”出生于哪一年？

SQL: SELECT birth_year FROM actor WHERE name  =  "张家辉";
问题: “张家辉”出生在哪一年？

SQL: SELECT birth_year FROM actor WHERE name  =  "张家辉";
问题: 演员“王凯”的国籍是什么？

SQL: SELECT nationality FROM actor WHERE name  =  "王凯";
问题: 演员“王凯”来自哪个国家？

SQL: SELECT nationality FROM actor WHERE name  =  "王凯";
问题: 找出2015制作的所有电影

SQL: SELECT title FROM movie WHERE release_year  =  2015;
问题: 找出所有在“武汉”出生的演员

SQL: SELECT name FROM actor WHERE birth_city  =  "武汉";
问题: 哪些演员出生在“武汉”？

SQL: SELECT name FROM actor WHERE birth_city  =  "武汉";
问题: 找出所有来自“阿富汗”的演员

SQL: SELECT name FROM actor WHERE nationality  =  "阿富汗";
问题: 找出“阿富汗”籍的所有演员

SQL: SELECT name FROM actor WHERE nationality  =  "阿富汗";
问题: 给出“阿富汗”所有演员的名字

SQL: SELECT name FROM actor WHERE nationality  =  "阿富汗";
问题: 找出1984出生的演员

SQL: SELECT name FROM actor WHERE birth_year  =  1984;
问题: “成龙”是什么时候出生的？

SQL: SELECT birth_year FROM actor WHERE name  =  "成龙";
问题: “成龙”出生在哪一年？

SQL: SELECT birth_year FROM actor WHERE name  =  "成龙";
问题: “成龙”的出生地在哪里？

SQL: SELECT birth_city FROM director WHERE name  =  "成龙";
问题: “成龙”出生在哪个城市？

SQL: SELECT birth_city FROM director WHERE name  =  "成龙";
问题: “成龙”的国籍是什么？

SQL: SELECT nationality FROM director WHERE name  =  "成龙";
问题: “让子弹飞”的预算是多少？

SQL: SELECT budget FROM movie WHERE title  =  "让子弹飞";
问题: 找出所有由“顾长卫”在2006后导演的电影

SQL: SELECT t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.name  =  "顾长卫" AND t3.release_year  >  2006;
问题: 谁是电影“陆小凤”的导演？

SQL: SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t3.title  =  "陆小凤";
问题: 谁导演了电影“陆小凤”？

SQL: SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t3.title  =  "陆小凤";
问题: 列出“陆小凤”的导演

SQL: SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t3.title  =  "陆小凤";
问题: 找出在电影“霸王别姬”中扮演“程蝶衣”的演员

SQL: SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t2.role  =  "程蝶衣" AND t3.title  =  "霸王别姬";
问题: 谁在电影“霸王别姬”中扮演“程蝶衣”？

SQL: SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t2.role  =  "程蝶衣" AND t3.title  =  "霸王别姬";
问题: 在电影“霸王别姬”中扮演“程蝶衣”的演员是谁？

SQL: SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t2.role  =  "程蝶衣" AND t3.title  =  "霸王别姬";
问题: 电影“霸王别姬”中扮演“程蝶衣”的演员是谁？

SQL: SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t2.role  =  "程蝶衣" AND t3.title  =  "霸王别姬";
问题: 在“霸王别姬”中扮演“程蝶衣”的男演员是谁？

SQL: SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t2.role  =  "程蝶衣" AND t3.title  =  "霸王别姬";
问题: 电影“无间道”的体裁是什么？

SQL: SELECT t2.genre FROM genre AS t2 JOIN classification AS t1 ON t2.gid  =  t1.gid JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t3.title  =  "无间道";
问题: 2015岁的电影“欢乐”的导演是谁？

SQL: SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t3.release_year  =  2015 AND t3.title  =  "欢乐";
问题: 找出所有由“莫言”写的电影

SQL: SELECT t1.title FROM written_by AS t3 JOIN movie AS t1 ON t3.msid  =  t1.mid JOIN writer AS t2 ON t3.wid  =  t2.wid WHERE t2.name  =  "莫言";
问题: 找出所有由“许鞍华”创作和制作的电影

SQL: SELECT t2.title FROM movie AS t2 JOIN made_by AS t3 ON t2.mid  =  t3.msid JOIN producer AS t1 ON t1.pid  =  t3.pid JOIN written_by AS t5 ON t5.msid  =  t2.mid JOIN writer AS t4 ON t5.wid  =  t4.wid WHERE t1.name  =  "许鞍华" AND t4.name  =  "许鞍华";
问题: 找出所有“李易峰”作为重要角色出演的所有电影

SQL: SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  "李易峰";
问题: “李易峰”作为重要角色出演的所有电影有哪些？

SQL: SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  "李易峰";
问题: 找出所有出现“李易峰”的电影

SQL: SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  "李易峰";
问题: 2007年电影“盲山”的预算是多少？

SQL: SELECT budget FROM movie WHERE release_year  =  2007 AND title  =  "盲山";
问题: 找出2010年度所有的“科幻”作品

SQL: SELECT t3.title FROM genre AS t2 JOIN classification AS t1 ON t2.gid  =  t1.gid JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.genre  =  "科幻" AND t3.release_year  =  2010;
问题: 列出2010发布的所有“科幻”电影

SQL: SELECT t3.title FROM genre AS t2 JOIN classification AS t1 ON t2.gid  =  t1.gid JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.genre  =  "科幻" AND t3.release_year  =  2010;
问题: 找出1980年后出生在“长沙”的所有演员

SQL: SELECT name FROM actor WHERE birth_city  =  "长沙" AND birth_year  >  1980;
问题: 1980年后出生在“长沙”的演员是谁？

SQL: SELECT name FROM actor WHERE birth_city  =  "长沙" AND birth_year  >  1980;
问题: 找出在“长沙”1980年后出生的演员

SQL: SELECT name FROM actor WHERE birth_city  =  "长沙" AND birth_year  >  1980;
问题: 找出“厦门”出生导演的所有电影

SQL: SELECT t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.birth_city  =  "厦门";
问题: 找出1984年出生在“广州”的演员

SQL: SELECT name FROM actor WHERE birth_city  =  "广州" AND birth_year  =  1984;
问题: 找出所有关于“核武器”的电影

SQL: SELECT t3.title FROM tags AS t2 JOIN keyword AS t1 ON t2.kid  =  t1.id JOIN movie AS t3 ON t2.msid  =  t3.mid WHERE t1.keyword  =  "核武器";
问题: 与“核武器”有关的电影是什么？

SQL: SELECT t3.title FROM tags AS t2 JOIN keyword AS t1 ON t2.kid  =  t1.id JOIN movie AS t3 ON t2.msid  =  t3.mid WHERE t1.keyword  =  "核武器";
问题: “冯小刚”导演了哪些电影？

SQL: SELECT t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.name  =  "冯小刚";
问题: 查找由“冯小刚”导演的、“葛优”为主要角色的所有电影。

SQL: SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid  =  t1.aid JOIN movie AS t4 ON t4.mid  =  t5.msid JOIN directed_by AS t2 ON t4.mid  =  t2.msid JOIN director AS t3 ON t3.did  =  t2.did WHERE t1.name  =  "葛优" AND t3.name  =  "冯小刚";
问题: 由“冯小刚”导演的、以“葛优”为主要角色的电影都有哪些？

SQL: SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid  =  t1.aid JOIN movie AS t4 ON t4.mid  =  t5.msid JOIN directed_by AS t2 ON t4.mid  =  t2.msid JOIN director AS t3 ON t3.did  =  t2.did WHERE t1.name  =  "葛优" AND t3.name  =  "冯小刚";
问题: 有多少部电影是由“冯小刚”导演并且主演是“葛优”的？

SQL: SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid  =  t1.aid JOIN movie AS t4 ON t4.mid  =  t5.msid JOIN directed_by AS t2 ON t4.mid  =  t2.msid JOIN director AS t3 ON t3.did  =  t2.did WHERE t1.name  =  "葛优" AND t3.name  =  "冯小刚";
问题: 列出“葛优”出演的“冯小刚”导演的所有电影

SQL: SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid  =  t1.aid JOIN movie AS t4 ON t4.mid  =  t5.msid JOIN directed_by AS t2 ON t4.mid  =  t2.msid JOIN director AS t3 ON t3.did  =  t2.did WHERE t1.name  =  "葛优" AND t3.name  =  "冯小刚";
问题: “金庸”创作的电视连续剧是什么？

SQL: SELECT t2.title FROM producer AS t1 JOIN made_by AS t3 ON t1.pid  =  t3.pid JOIN tv_series AS t2 ON t2.sid  =  t3.msid WHERE t1.name  =  "金庸";
问题: 谁在电视剧“三国演义”中扮演“曹操”？

SQL: SELECT t1.name FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN tv_series AS t2 ON t2.sid  =  t3.msid WHERE t3.role  =  "曹操" AND t2.title  =  "三国演义";
问题: 电影“三国演义”的作者是谁？

SQL: SELECT t2.name FROM written_by AS t3 JOIN movie AS t1 ON t3.msid  =  t1.mid JOIN writer AS t2 ON t3.wid  =  t2.wid WHERE t1.title  =  "三国演义";
问题: 谁是“三国演义”的作者

SQL: SELECT t2.name FROM written_by AS t3 JOIN movie AS t1 ON t3.msid  =  t1.mid JOIN writer AS t2 ON t3.wid  =  t2.wid WHERE t1.title  =  "三国演义";
问题: “成龙”作为主要角色的电影是什么？

SQL: SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN tv_series AS t2 ON t2.sid  =  t3.msid WHERE t1.name  =  "成龙";
问题: “成龙”出演的电影是什么？

SQL: SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN tv_series AS t2 ON t2.sid  =  t3.msid WHERE t1.name  =  "成龙";
问题: 找出“杨幂”出演电影的导演

SQL: SELECT t3.name FROM CAST AS t4 JOIN actor AS t1 ON t4.aid  =  t1.aid JOIN movie AS t5 ON t5.mid  =  t4.msid JOIN directed_by AS t2 ON t5.mid  =  t2.msid JOIN director AS t3 ON t3.did  =  t2.did WHERE t1.name  =  "杨幂";
问题: 找出“杨幂”出演电影的所有电影制片人

SQL: SELECT t1.name FROM CAST AS t3 JOIN actor AS t2 ON t3.aid  =  t2.aid JOIN movie AS t5 ON t5.mid  =  t3.msid JOIN made_by AS t4 ON t5.mid  =  t4.msid JOIN producer AS t1 ON t1.pid  =  t4.pid WHERE t2.name  =  "杨幂";
问题: 谁是2013年度电视剧“还珠格格”的导演？

SQL: SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN tv_series AS t3 ON t3.sid  =  t1.msid WHERE t3.release_year  =  2013 AND t3.title  =  "还珠格格";
问题: 找出“长沙”的所有“女”演员

SQL: SELECT name FROM actor WHERE birth_city  =  "长沙" AND gender  =  "女";
问题: 找出1980后出生的“意大利”演员

SQL: SELECT name FROM actor WHERE birth_year  >  1980 AND nationality  =  "意大利";
问题: 找出1980岁后出生在“广州”的“女”演员

SQL: SELECT name FROM actor WHERE birth_city  =  "广州" AND birth_year  >  1980 AND gender  =  "女";
问题: 找出电影“上甘岭”中的所有“女”演员

SQL: SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t1.gender  =  "女" AND t3.title  =  "上甘岭";
问题: 找出所有来自“阿富汗”的导演

SQL: SELECT name FROM director WHERE nationality  =  "阿富汗";
问题: 找出电影“战狼”中的演员

SQL: SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t3.title  =  "战狼";
问题: 找出“韩国”演员在“陆小凤”电影中扮演的角色

SQL: SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t1.nationality  =  "韩国" AND t3.title  =  "陆小凤";
问题: 找出所有“刘德华”扮演“狄仁杰”的电影

SQL: SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  "刘德华" AND t3.role  =  "狄仁杰";
问题: “钢的琴”的导演在哪里？

SQL: SELECT t2.birth_city FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t3.title  =  "钢的琴";
问题: 谁扮演“狄仁杰”的角色

SQL: SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid WHERE t2.role  =  "狄仁杰";
问题: “冯小刚”导演的电影流派是什么？

SQL: SELECT t3.genre FROM director AS t5 JOIN directed_by AS t2 ON t5.did  =  t2.did JOIN movie AS t4 ON t4.mid  =  t2.msid JOIN classification AS t1 ON t4.mid  =  t1.msid JOIN genre AS t3 ON t3.gid  =  t1.gid WHERE t5.name  =  "冯小刚";
问题: 哪部电影有“喜羊羊”这个角色

SQL: SELECT t1.title FROM movie AS t1 JOIN CAST AS t2 ON t1.mid  =  t2.msid WHERE t2.role  =  "喜羊羊";
问题: 电影“无极”中的主要角色是什么？

SQL: SELECT t2.role FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t3.title  =  "无极";
问题: 列出所有关于“核武器”的电影的导演

SQL: SELECT t3.name FROM director AS t3 JOIN directed_by AS t2 ON t3.did  =  t2.did JOIN movie AS t4 ON t4.mid  =  t2.msid JOIN tags AS t5 ON t5.msid  =  t4.mid JOIN keyword AS t1 ON t5.kid  =  t1.id WHERE t1.keyword  =  "核武器";
问题: “刘诗诗”在2010年后的电影数量是多少？

SQL: SELECT COUNT ( DISTINCT t2.title  ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  "刘诗诗" AND t2.release_year  >  2010;
问题: 电影“上甘岭”中演员的数量是多少？

SQL: SELECT COUNT ( DISTINCT t1.name  ) FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t3.title  =  "上甘岭";
问题: 电影“上甘岭”中有多少演员？

SQL: SELECT COUNT ( DISTINCT t1.name  ) FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t3.title  =  "上甘岭";
问题: “顾长卫”导演了多少部电影？

SQL: SELECT COUNT ( DISTINCT t3.title  ) FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.name  =  "顾长卫";
问题: 2013年制作了多少部电影？

SQL: SELECT COUNT ( DISTINCT title  ) FROM movie WHERE release_year  =  2013;
问题: 2013电影的数量是多少？

SQL: SELECT COUNT ( DISTINCT title  ) FROM movie WHERE release_year  =  2013;
问题: 每年由“许鞍华”导演的电影数量是多少？

SQL: SELECT COUNT ( DISTINCT t3.title  )  ,  t3.release_year FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.name  =  "许鞍华" GROUP BY t3.release_year;
问题: “胡军”演了多少部电影？

SQL: SELECT COUNT ( DISTINCT t2.title  ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  "胡军";
问题: “胡军”演的电影数量是多少？

SQL: SELECT COUNT ( DISTINCT t2.title  ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  "胡军";
问题: “胡军”主演电影的数量是多少？

SQL: SELECT COUNT ( DISTINCT t2.title  ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  "胡军";
问题: 2000年后，“厦门”有多少演员出生？

SQL: SELECT COUNT ( DISTINCT name  ) FROM actor WHERE birth_city  =  "厦门" AND birth_year  >  2000;
问题: “舒淇”在2002之前演过多少部电影？

SQL: SELECT COUNT ( DISTINCT t2.title  ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  "舒淇" AND t2.release_year  <  2002;
问题: “吴彦祖”每年表演的电影数量是多少？

SQL: SELECT COUNT ( DISTINCT t2.title  )  ,  t2.release_year FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  "吴彦祖" GROUP BY t2.release_year;
问题: 2015年关于“伊拉克战争”有多少电影？

SQL: SELECT COUNT ( DISTINCT t3.title  ) FROM tags AS t2 JOIN keyword AS t1 ON t2.kid  =  t1.id JOIN movie AS t3 ON t2.msid  =  t3.mid WHERE t1.keyword  =  "伊拉克战争" AND t3.release_year  =  2015;
问题: 在1990年之后发行了多少部关于“波斯人”的电影？

SQL: SELECT COUNT ( DISTINCT t3.title  ) FROM tags AS t2 JOIN keyword AS t1 ON t2.kid  =  t1.id JOIN movie AS t3 ON t2.msid  =  t3.mid WHERE t1.keyword  =  "波斯人" AND t3.release_year  >  1990;
问题: 2010年后“李安”导演了多少部电影？

SQL: SELECT COUNT ( DISTINCT t3.title  ) FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.name  =  "李安" AND t3.release_year  >  2010;
问题: “李安”在2010之前导演了多少部电影？

SQL: SELECT COUNT ( DISTINCT t3.title  ) FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.name  =  "李安" AND t3.release_year  <  2010;
问题: “李安”在2002前和2010后导演了多少部电影？

SQL: SELECT COUNT ( DISTINCT t4.title  ) FROM director AS t3 JOIN directed_by AS t2 ON t3.did  =  t2.did JOIN movie AS t4 ON t4.mid  =  t2.msid JOIN made_by AS t5 ON t4.mid  =  t5.msid JOIN producer AS t1 ON t1.pid  =  t5.pid WHERE t3.name  =  "李安" AND t4.release_year  <  2010 AND t4.release_year  >  2002;
问题: 1980年后，有多少“女”演员“广州”在出生？

SQL: SELECT COUNT ( DISTINCT name  ) FROM actor WHERE birth_city  =  "广州" AND birth_year  >  1980 AND gender  =  "女";
问题: 找出“日本”演员在“姜文”电影中扮演的演员数量

SQL: SELECT COUNT ( DISTINCT t1.name  ) FROM CAST AS t4 JOIN actor AS t1 ON t4.aid  =  t1.aid JOIN movie AS t5 ON t5.mid  =  t4.msid JOIN directed_by AS t2 ON t5.mid  =  t2.msid JOIN director AS t3 ON t3.did  =  t2.did WHERE t1.nationality  =  "日本" AND t3.name  =  "姜文";
问题: “中国”有多少演员在“尖峰时刻”中扮演角色？

SQL: SELECT COUNT ( DISTINCT t1.name  ) FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t1.nationality  =  "中国" AND t3.title  =  "尖峰时刻";
问题: 找出所有是“张晋”和“甄子丹”主演的电影

SQL: SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid  =  t1.aid JOIN movie AS t4 ON t4.mid  =  t5.msid JOIN CAST AS t3 ON t4.mid  =  t3.msid JOIN actor AS t2 ON t3.aid  =  t2.aid WHERE t1.name  =  "张晋" AND t2.name  =  "甄子丹";
问题: 找出“张晋”和“甄子丹”是主要角色的所有电影

SQL: SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid  =  t1.aid JOIN movie AS t4 ON t4.mid  =  t5.msid JOIN CAST AS t3 ON t4.mid  =  t3.msid JOIN actor AS t2 ON t3.aid  =  t2.aid WHERE t1.name  =  "张晋" AND t2.name  =  "甄子丹";
问题: 找出所有的“张晋”和“甄子丹”都是主要角色的电影

SQL: SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid  =  t1.aid JOIN movie AS t4 ON t4.mid  =  t5.msid JOIN CAST AS t3 ON t4.mid  =  t3.msid JOIN actor AS t2 ON t3.aid  =  t2.aid WHERE t1.name  =  "张晋" AND t2.name  =  "甄子丹";
问题: 找出“甄子丹”和“张晋”是主要角色的所有电影

SQL: SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid  =  t1.aid JOIN movie AS t4 ON t4.mid  =  t5.msid JOIN CAST AS t3 ON t4.mid  =  t3.msid JOIN actor AS t2 ON t3.aid  =  t2.aid WHERE t1.name  =  "张晋" AND t2.name  =  "甄子丹";
问题: 找出所有和“周润发”出演同一部电影的演员

SQL: SELECT t1.name FROM CAST AS t4 JOIN actor AS t1 ON t4.aid  =  t1.aid JOIN movie AS t5 ON t5.mid  =  t4.msid JOIN CAST AS t3 ON t5.mid  =  t3.msid JOIN actor AS t2 ON t3.aid  =  t2.aid WHERE t2.name  =  "周润发";
问题: 什么电影和电影“上甘岭”有同样的导演？

SQL: SELECT t3.title FROM director AS t5 JOIN directed_by AS t2 ON t5.did  =  t2.did JOIN directed_by AS t1 ON t5.did  =  t1.did JOIN movie AS t4 ON t4.mid  =  t2.msid JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t4.title  =  "上甘岭";
问题: 找出被分类为最多数量的流派的电影

SQL: SELECT t3.title FROM genre AS t2 JOIN classification AS t1 ON t2.gid  =  t1.gid JOIN movie AS t3 ON t3.mid  =  t1.msid GROUP BY t3.title ORDER BY COUNT ( DISTINCT t2.genre  ) DESC LIMIT 1;
问题: 哪部电影“中国”演员最多？

SQL: SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.nationality  =  "中国" GROUP BY t2.title ORDER BY COUNT ( DISTINCT t1.name  ) DESC LIMIT 1;
问题: 找出在“李安”的最新电影中出演的演员

SQL: SELECT t1.name FROM CAST AS t4 JOIN actor AS t1 ON t4.aid  =  t1.aid JOIN movie AS t5 ON t5.mid  =  t4.msid JOIN directed_by AS t2 ON t5.mid  =  t2.msid JOIN director AS t3 ON t3.did  =  t2.did WHERE t3.name  =  "李安" ORDER BY t5.release_year DESC LIMIT 1;
问题: 通过“李安”导演的最新电影的名字和预算

SQL: SELECT t3.budget  ,  t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.name  =  "李安" ORDER BY t3.release_year DESC LIMIT 1;
问题: “姜文”的最新电影是什么？

SQL: SELECT t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.name  =  "姜文" ORDER BY t3.release_year DESC LIMIT 1;
问题: 哪个制片人的导演数量最多？

SQL: SELECT t1.name FROM director AS t3 JOIN directed_by AS t2 ON t3.did  =  t2.did JOIN movie AS t4 ON t4.mid  =  t2.msid JOIN made_by AS t5 ON t4.mid  =  t5.msid JOIN producer AS t1 ON t1.pid  =  t5.pid GROUP BY t1.name ORDER BY COUNT ( DISTINCT t3.name  ) DESC LIMIT 1;
问题: 找出“黄渤”表演最新的电影

SQL: SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t1.name  =  "黄渤" ORDER BY t3.release_year DESC LIMIT 1;
问题: “深圳”有多少“日本料理”？

SQL: SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  "深圳" AND t1.name  =  "日本料理";
问题: “厦门”有多少家“四川”餐馆？

SQL: SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  "厦门" AND t1.food_type  =  "四川";
问题: “厦门”有多少吃“四川”菜的地方？

SQL: SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  "厦门" AND t1.food_type  =  "四川";
问题: “厦门”有多少饭店做“四川”菜？

SQL: SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  "厦门" AND t1.food_type  =  "四川";
问题: “厦门”有多少吃“四川”餐的地方？

SQL: SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  "厦门" AND t1.food_type  =  "四川";
问题: “洛阳”有多少种“四川”菜肴？

SQL: SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.county  =  "洛阳" AND t1.name  =  "四川";
问题: “四川”菜在哪里？

SQL: SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t1.name  =  "四川";
问题: “深圳”最好的“淮南”餐馆是哪家？

SQL: SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  "深圳" AND t1.food_type  =  "淮南" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  "深圳" AND t1.food_type  =  "淮南" );
问题: “深圳”最好的“淮南”餐是什么？

SQL: SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  "深圳" AND t1.food_type  =  "淮南" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  "深圳" AND t1.food_type  =  "淮南" );
问题: 在“深圳”吃“淮南”菜最好的地方是什么？

SQL: SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  "深圳" AND t1.food_type  =  "淮南" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  "深圳" AND t1.food_type  =  "淮南" );