jtjt520j/cspider_for_chinese_llama2_1.3b huggingface dataset:
Schema: CREATE TABLE CAST (aid VARCHAR, role VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: 在电影“霸王别姬”中扮演“程蝶衣”的演员是谁？

assistant: 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  =  "霸王别姬";
Schema: CREATE TABLE CAST (aid VARCHAR, role VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: 电影“霸王别姬”中扮演“程蝶衣”的演员是谁？

assistant: 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  =  "霸王别姬";
Schema: CREATE TABLE CAST (aid VARCHAR, role VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: 在“霸王别姬”中扮演“程蝶衣”的男演员是谁？

assistant: 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  =  "霸王别姬";
Schema: CREATE TABLE genre (genre VARCHAR, gid VARCHAR), CREATE TABLE classification (msid VARCHAR, gid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: 电影“无间道”的体裁是什么？

assistant: 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  =  "无间道";
Schema: CREATE TABLE director (name VARCHAR, did VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR, release_year VARCHAR)
user: 2015岁的电影“欢乐”的导演是谁？

assistant: 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  =  "欢乐";
Schema: CREATE TABLE written_by (wid VARCHAR, msid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR), CREATE TABLE writer (name VARCHAR, wid VARCHAR)
user: 找出所有由“莫言”写的电影

assistant: 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  =  "莫言";
Schema: CREATE TABLE movie (title VARCHAR, mid VARCHAR), CREATE TABLE made_by (pid VARCHAR, msid VARCHAR), CREATE TABLE producer (name VARCHAR, pid VARCHAR), CREATE TABLE written_by (wid VARCHAR, msid VARCHAR), CREATE TABLE writer (name VARCHAR, wid VARCHAR)
user: 找出所有由“许鞍华”创作和制作的电影

assistant: 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  =  "许鞍华";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: 找出所有“李易峰”作为重要角色出演的所有电影

assistant: 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  =  "李易峰";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: “李易峰”作为重要角色出演的所有电影有哪些？

assistant: 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  =  "李易峰";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: 找出所有出现“李易峰”的电影

assistant: 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  =  "李易峰";
Schema: CREATE TABLE movie (title VARCHAR, budget VARCHAR, release_year VARCHAR)
user: 2007年电影“盲山”的预算是多少？

assistant: SELECT budget FROM movie WHERE release_year  =  2007 AND title  =  "盲山";
Schema: CREATE TABLE genre (genre VARCHAR, gid VARCHAR), CREATE TABLE classification (msid VARCHAR, gid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR, release_year VARCHAR)
user: 找出2010年度所有的“科幻”作品

assistant: 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;
Schema: CREATE TABLE genre (genre VARCHAR, gid VARCHAR), CREATE TABLE classification (msid VARCHAR, gid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR, release_year VARCHAR)
user: 列出2010发布的所有“科幻”电影

assistant: 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;
Schema: CREATE TABLE actor (name VARCHAR, birth_year INTEGER, birth_city VARCHAR)
user: 找出1980年后出生在“长沙”的所有演员

assistant: SELECT name FROM actor WHERE birth_city  =  "长沙" AND birth_year  >  1980;
Schema: CREATE TABLE actor (name VARCHAR, birth_year INTEGER, birth_city VARCHAR)
user: 1980年后出生在“长沙”的演员是谁？

assistant: SELECT name FROM actor WHERE birth_city  =  "长沙" AND birth_year  >  1980;
Schema: CREATE TABLE actor (name VARCHAR, birth_year INTEGER, birth_city VARCHAR)
user: 找出在“长沙”1980年后出生的演员

assistant: SELECT name FROM actor WHERE birth_city  =  "长沙" AND birth_year  >  1980;
Schema: CREATE TABLE director (did VARCHAR, birth_city VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: 找出“厦门”出生导演的所有电影

assistant: 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  =  "厦门";
Schema: CREATE TABLE actor (birth_year VARCHAR, name VARCHAR, birth_city VARCHAR)
user: 找出1984年出生在“广州”的演员

assistant: SELECT name FROM actor WHERE birth_city  =  "广州" AND birth_year  =  1984;
Schema: CREATE TABLE tags (kid VARCHAR, msid VARCHAR), CREATE TABLE keyword (keyword VARCHAR, id VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: 找出所有关于“核武器”的电影

assistant: 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  =  "核武器";
Schema: CREATE TABLE tags (kid VARCHAR, msid VARCHAR), CREATE TABLE keyword (keyword VARCHAR, id VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: 与“核武器”有关的电影是什么？

assistant: 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  =  "核武器";
Schema: CREATE TABLE director (name VARCHAR, did VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: “冯小刚”导演了哪些电影？

assistant: 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  =  "冯小刚";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE director (name VARCHAR, did VARCHAR)
user: 查找由“冯小刚”导演的、“葛优”为主要角色的所有电影。

assistant: 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  =  "冯小刚";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE director (name VARCHAR, did VARCHAR)
user: 由“冯小刚”导演的、以“葛优”为主要角色的电影都有哪些？

assistant: 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  =  "冯小刚";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE director (name VARCHAR, did VARCHAR)
user: 有多少部电影是由“冯小刚”导演并且主演是“葛优”的？

assistant: 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  =  "冯小刚";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE director (name VARCHAR, did VARCHAR)
user: 列出“葛优”出演的“冯小刚”导演的所有电影

assistant: 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  =  "冯小刚";
Schema: CREATE TABLE producer (name VARCHAR, pid VARCHAR), CREATE TABLE made_by (pid VARCHAR, msid VARCHAR), CREATE TABLE tv_series (title VARCHAR, sid VARCHAR)
user: “金庸”创作的电视连续剧是什么？

assistant: 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  =  "金庸";
Schema: CREATE TABLE CAST (aid VARCHAR, role VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE tv_series (title VARCHAR, sid VARCHAR)
user: 谁在电视剧“三国演义”中扮演“曹操”？

assistant: 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  =  "三国演义";
Schema: CREATE TABLE written_by (wid VARCHAR, msid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR), CREATE TABLE writer (name VARCHAR, wid VARCHAR)
user: 电影“三国演义”的作者是谁？

assistant: 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  =  "三国演义";
Schema: CREATE TABLE written_by (wid VARCHAR, msid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR), CREATE TABLE writer (name VARCHAR, wid VARCHAR)
user: 谁是“三国演义”的作者

assistant: 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  =  "三国演义";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE tv_series (title VARCHAR, sid VARCHAR)
user: “成龙”作为主要角色的电影是什么？

assistant: 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  =  "成龙";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE tv_series (title VARCHAR, sid VARCHAR)
user: “成龙”出演的电影是什么？

assistant: 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  =  "成龙";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (mid VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE director (name VARCHAR, did VARCHAR)
user: 找出“杨幂”出演电影的导演

assistant: 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  =  "杨幂";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (mid VARCHAR), CREATE TABLE made_by (pid VARCHAR, msid VARCHAR), CREATE TABLE producer (name VARCHAR, pid VARCHAR)
user: 找出“杨幂”出演电影的所有电影制片人

assistant: 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  =  "杨幂";
Schema: CREATE TABLE director (name VARCHAR, did VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE tv_series (title VARCHAR, sid VARCHAR, release_year VARCHAR)
user: 谁是2013年度电视剧“还珠格格”的导演？

assistant: 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  =  "还珠格格";
Schema: CREATE TABLE actor (name VARCHAR, gender VARCHAR, birth_city VARCHAR)
user: 找出“长沙”的所有“女”演员

assistant: SELECT name FROM actor WHERE birth_city  =  "长沙" AND gender  =  "女";
Schema: CREATE TABLE actor (name VARCHAR, nationality VARCHAR, birth_year INTEGER)
user: 找出1980后出生的“意大利”演员

assistant: SELECT name FROM actor WHERE birth_year  >  1980 AND nationality  =  "意大利";
Schema: CREATE TABLE actor (name VARCHAR, gender VARCHAR, birth_year INTEGER, birth_city VARCHAR)
user: 找出1980岁后出生在“广州”的“女”演员

assistant: SELECT name FROM actor WHERE birth_city  =  "广州" AND birth_year  >  1980 AND gender  =  "女";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR, gender VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: 找出电影“上甘岭”中的所有“女”演员

assistant: 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  =  "上甘岭";
Schema: CREATE TABLE director (name VARCHAR, nationality VARCHAR)
user: 找出所有来自“阿富汗”的导演

assistant: SELECT name FROM director WHERE nationality  =  "阿富汗";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: 找出电影“战狼”中的演员

assistant: 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  =  "战狼";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR, nationality VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: 找出“韩国”演员在“陆小凤”电影中扮演的角色

assistant: 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  =  "陆小凤";
Schema: CREATE TABLE CAST (aid VARCHAR, role VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: 找出所有“刘德华”扮演“狄仁杰”的电影

assistant: 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  =  "狄仁杰";
Schema: CREATE TABLE director (did VARCHAR, birth_city VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: “钢的琴”的导演在哪里？

assistant: 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  =  "钢的琴";
Schema: CREATE TABLE CAST (aid VARCHAR, role VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR)
user: 谁扮演“狄仁杰”的角色

assistant: SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid WHERE t2.role  =  "狄仁杰";
Schema: CREATE TABLE director (name VARCHAR, did VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (mid VARCHAR), CREATE TABLE classification (gid VARCHAR, msid VARCHAR), CREATE TABLE genre (genre VARCHAR, gid VARCHAR)
user: “冯小刚”导演的电影流派是什么？

assistant: 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  =  "冯小刚";
Schema: CREATE TABLE movie (title VARCHAR, mid VARCHAR), CREATE TABLE CAST (role VARCHAR, msid VARCHAR)
user: 哪部电影有“喜羊羊”这个角色

assistant: SELECT t1.title FROM movie AS t1 JOIN CAST AS t2 ON t1.mid  =  t2.msid WHERE t2.role  =  "喜羊羊";
Schema: CREATE TABLE CAST (aid VARCHAR, role VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: 电影“无极”中的主要角色是什么？

assistant: 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  =  "无极";
Schema: CREATE TABLE director (name VARCHAR, did VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (mid VARCHAR), CREATE TABLE tags (kid VARCHAR, msid VARCHAR), CREATE TABLE keyword (keyword VARCHAR, id VARCHAR)
user: 列出所有关于“核武器”的电影的导演

assistant: 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  =  "核武器";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR, release_year INTEGER)
user: “刘诗诗”在2010年后的电影数量是多少？

assistant: 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;
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: 电影“上甘岭”中演员的数量是多少？

assistant: 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  =  "上甘岭";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: 电影“上甘岭”中有多少演员？

assistant: 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  =  "上甘岭";
Schema: CREATE TABLE director (name VARCHAR, did VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: “顾长卫”导演了多少部电影？

assistant: 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  =  "顾长卫";
Schema: CREATE TABLE movie (title VARCHAR, release_year VARCHAR)
user: 2013年制作了多少部电影？

assistant: SELECT COUNT ( DISTINCT title  ) FROM movie WHERE release_year  =  2013;
Schema: CREATE TABLE movie (title VARCHAR, release_year VARCHAR)
user: 2013电影的数量是多少？

assistant: SELECT COUNT ( DISTINCT title  ) FROM movie WHERE release_year  =  2013;
Schema: CREATE TABLE director (name VARCHAR, did VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR, release_year VARCHAR)
user: 每年由“许鞍华”导演的电影数量是多少？

assistant: 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;
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: “胡军”演了多少部电影？

assistant: 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  =  "胡军";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: “胡军”演的电影数量是多少？

assistant: 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  =  "胡军";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: “胡军”主演电影的数量是多少？

assistant: 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  =  "胡军";
Schema: CREATE TABLE actor (name VARCHAR, birth_year INTEGER, birth_city VARCHAR)
user: 2000年后，“厦门”有多少演员出生？

assistant: SELECT COUNT ( DISTINCT name  ) FROM actor WHERE birth_city  =  "厦门" AND birth_year  >  2000;
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR, release_year INTEGER)
user: “舒淇”在2002之前演过多少部电影？

assistant: 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;
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR, release_year VARCHAR)
user: “吴彦祖”每年表演的电影数量是多少？

assistant: 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;
Schema: CREATE TABLE tags (kid VARCHAR, msid VARCHAR), CREATE TABLE keyword (keyword VARCHAR, id VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR, release_year VARCHAR)
user: 2015年关于“伊拉克战争”有多少电影？

assistant: 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;
Schema: CREATE TABLE tags (kid VARCHAR, msid VARCHAR), CREATE TABLE keyword (keyword VARCHAR, id VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR, release_year INTEGER)
user: 在1990年之后发行了多少部关于“波斯人”的电影？

assistant: 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;
Schema: CREATE TABLE director (name VARCHAR, did VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR, release_year INTEGER)
user: 2010年后“李安”导演了多少部电影？

assistant: 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;
Schema: CREATE TABLE director (name VARCHAR, did VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR, release_year INTEGER)
user: “李安”在2010之前导演了多少部电影？

assistant: 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;
Schema: CREATE TABLE director (name VARCHAR, did VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR, release_year INTEGER), CREATE TABLE made_by (pid VARCHAR, msid VARCHAR), CREATE TABLE producer (pid VARCHAR)
user: “李安”在2002前和2010后导演了多少部电影？

assistant: 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;
Schema: CREATE TABLE actor (name VARCHAR, gender VARCHAR, birth_year INTEGER, birth_city VARCHAR)
user: 1980年后，有多少“女”演员“广州”在出生？

assistant: SELECT COUNT ( DISTINCT name  ) FROM actor WHERE birth_city  =  "广州" AND birth_year  >  1980 AND gender  =  "女";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR, nationality VARCHAR), CREATE TABLE movie (mid VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE director (name VARCHAR, did VARCHAR)
user: 找出“日本”演员在“姜文”电影中扮演的演员数量

assistant: 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  =  "姜文";
Schema: CREATE TABLE CAST (aid VARCHAR, msid VARCHAR), CREATE TABLE actor (aid VARCHAR, name VARCHAR, nationality VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR)
user: “中国”有多少演员在“尖峰时刻”中扮演角色？

assistant: 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  =  "尖峰时刻";