answer
stringlengths 18
552
| context
stringlengths 30
393
| question
stringlengths 5
73
|
---|---|---|
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 = "上甘岭"; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (name VARCHAR, aid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR) | 电影“上甘岭”中演员的数量是多少? |
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 = "上甘岭"; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (name VARCHAR, aid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR) | 电影“上甘岭”中有多少演员? |
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 = "顾长卫"; | CREATE TABLE director (did VARCHAR, name VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR) | “顾长卫”导演了多少部电影? |
SELECT COUNT ( DISTINCT title ) FROM movie WHERE release_year = 2013; | CREATE TABLE movie (release_year VARCHAR, title VARCHAR) | 2013年制作了多少部电影? |
SELECT COUNT ( DISTINCT title ) FROM movie WHERE release_year = 2013; | CREATE TABLE movie (release_year VARCHAR, title VARCHAR) | 2013电影的数量是多少? |
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; | CREATE TABLE director (did VARCHAR, name VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (release_year VARCHAR, title VARCHAR, mid VARCHAR) | 每年由“许鞍华”导演的电影数量是多少? |
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 = "胡军"; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (name VARCHAR, aid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR) | “胡军”演了多少部电影? |
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 = "胡军"; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (name VARCHAR, aid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR) | “胡军”演的电影数量是多少? |
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 = "胡军"; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (name VARCHAR, aid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR) | “胡军”主演电影的数量是多少? |
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 = "胡军"; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (name VARCHAR, aid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR) | “胡军”演了多少部电影? |
SELECT COUNT ( DISTINCT name ) FROM actor WHERE birth_city = "厦门" AND birth_year > 2000; | CREATE TABLE actor (birth_year INTEGER, name VARCHAR, birth_city VARCHAR) | 2000年后,“厦门”有多少演员出生? |
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; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (name VARCHAR, aid VARCHAR), CREATE TABLE movie (release_year INTEGER, title VARCHAR, mid VARCHAR) | “舒淇”在2002之前演过多少部电影? |
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; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (name VARCHAR, aid VARCHAR), CREATE TABLE movie (release_year VARCHAR, title VARCHAR, mid VARCHAR) | “吴彦祖”每年表演的电影数量是多少? |
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; | CREATE TABLE tags (msid VARCHAR, kid VARCHAR), CREATE TABLE keyword (id VARCHAR, keyword VARCHAR), CREATE TABLE movie (release_year VARCHAR, title VARCHAR, mid VARCHAR) | 2015年关于“伊拉克战争”有多少电影? |
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; | CREATE TABLE tags (msid VARCHAR, kid VARCHAR), CREATE TABLE keyword (id VARCHAR, keyword VARCHAR), CREATE TABLE movie (release_year INTEGER, title VARCHAR, mid VARCHAR) | 在1990年之后发行了多少部关于“波斯人”的电影? |
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; | CREATE TABLE director (did VARCHAR, name VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (release_year INTEGER, title VARCHAR, mid VARCHAR) | 2010年后“李安”导演了多少部电影? |
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; | CREATE TABLE director (did VARCHAR, name VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (release_year INTEGER, title VARCHAR, mid VARCHAR) | “李安”在2010之前导演了多少部电影? |
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; | CREATE TABLE director (did VARCHAR, name VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (release_year INTEGER, title VARCHAR, mid VARCHAR), CREATE TABLE made_by (msid VARCHAR, pid VARCHAR), CREATE TABLE producer (pid VARCHAR) | “李安”在2002前和2010后导演了多少部电影? |
SELECT COUNT ( DISTINCT name ) FROM actor WHERE birth_city = "广州" AND birth_year > 1980 AND gender = "女"; | CREATE TABLE actor (birth_year INTEGER, name VARCHAR, birth_city VARCHAR, gender VARCHAR) | 1980年后,有多少“女”演员“广州”在出生? |
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 = "姜文"; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (nationality VARCHAR, name VARCHAR, aid VARCHAR), CREATE TABLE movie (mid VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE director (did VARCHAR, name VARCHAR) | 找出“日本”演员在“姜文”电影中扮演的演员数量 |
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 = "尖峰时刻"; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (nationality VARCHAR, name VARCHAR, aid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR) | “中国”有多少演员在“尖峰时刻”中扮演角色? |
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 = "甄子丹"; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (name VARCHAR, aid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR) | 找出所有是“张晋”和“甄子丹”主演的电影 |
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 = "甄子丹"; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (name VARCHAR, aid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR) | 找出“张晋”和“甄子丹”是主要角色的所有电影 |
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 = "甄子丹"; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (name VARCHAR, aid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR) | 找出所有的“张晋”和“甄子丹”都是主要角色的电影 |
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 = "甄子丹"; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (name VARCHAR, aid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR) | 找出“甄子丹”和“张晋”是主要角色的所有电影 |
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 = "周润发"; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (name VARCHAR, aid VARCHAR), CREATE TABLE movie (mid VARCHAR) | 找出所有和“周润发”出演同一部电影的演员 |
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 = "上甘岭"; | CREATE TABLE director (did VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR) | 什么电影和电影“上甘岭”有同样的导演? |
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; | CREATE TABLE genre (gid VARCHAR, genre VARCHAR), CREATE TABLE classification (gid VARCHAR, msid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR) | 找出被分类为最多数量的流派的电影 |
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; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (nationality VARCHAR, name VARCHAR, aid VARCHAR), CREATE TABLE movie (title VARCHAR, mid VARCHAR) | 哪部电影“中国”演员最多? |
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; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (name VARCHAR, aid VARCHAR), CREATE TABLE movie (release_year VARCHAR, mid VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE director (did VARCHAR, name VARCHAR) | 找出在“李安”的最新电影中出演的演员 |
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; | CREATE TABLE director (did VARCHAR, name VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (release_year VARCHAR, budget VARCHAR, title VARCHAR, mid VARCHAR) | 通过“李安”导演的最新电影的名字和预算 |
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; | CREATE TABLE director (did VARCHAR, name VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (release_year VARCHAR, title VARCHAR, mid VARCHAR) | “姜文”的最新电影是什么? |
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; | CREATE TABLE director (did VARCHAR, name VARCHAR), CREATE TABLE directed_by (did VARCHAR, msid VARCHAR), CREATE TABLE movie (mid VARCHAR), CREATE TABLE made_by (msid VARCHAR, pid VARCHAR), CREATE TABLE producer (name VARCHAR, pid VARCHAR) | 哪个制片人的导演数量最多? |
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; | CREATE TABLE CAST (msid VARCHAR, aid VARCHAR), CREATE TABLE actor (name VARCHAR, aid VARCHAR), CREATE TABLE movie (release_year VARCHAR, mid VARCHAR) | 找出“黄渤”表演最新的电影 |
SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "深圳" AND t1.name = "日本料理"; | CREATE TABLE restaurant (name VARCHAR, id VARCHAR), CREATE TABLE LOCATION (city_name VARCHAR, restaurant_id VARCHAR) | “深圳”有多少“日本料理”? |
SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = "厦门" AND t1.food_type = "四川"; | CREATE TABLE restaurant (city_name VARCHAR, food_type VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR) | “厦门”有多少家“四川”餐馆? |
SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = "厦门" AND t1.food_type = "四川"; | CREATE TABLE restaurant (city_name VARCHAR, food_type VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR) | “厦门”有多少吃“四川”菜的地方? |
SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = "厦门" AND t1.food_type = "四川"; | CREATE TABLE restaurant (city_name VARCHAR, food_type VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR) | “厦门”有多少饭店做“四川”菜? |
SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = "厦门" AND t1.food_type = "四川"; | CREATE TABLE restaurant (city_name VARCHAR, food_type VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR) | “厦门”有多少吃“四川”餐的地方? |
SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.county = "洛阳" AND t1.name = "四川"; | CREATE TABLE restaurant (name VARCHAR, city_name VARCHAR), CREATE TABLE geographic (city_name VARCHAR, county VARCHAR) | “洛阳”有多少种“四川”菜肴? |
SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t1.name = "四川"; | CREATE TABLE restaurant (name VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, house_number VARCHAR) | “四川”菜在哪里? |
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 = "淮南" ); | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | “深圳”最好的“淮南”餐馆是哪家? |
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 = "淮南" ); | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | “深圳”最好的“淮南”餐是什么? |
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 = "淮南" ); | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 在“深圳”吃“淮南”菜最好的地方是什么? |
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 = "淮南" ); | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | “深圳”最好的“淮南”餐厅 |
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 = "淮南" ); | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | “深圳”最好的“淮南”菜在哪里? |
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 = "淮南" ); | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 在“深圳”最好吃的“淮南”菜 |
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 = "淮南" ); | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | “深圳”评价最高的“淮南”餐馆在哪里? |
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 = "淮南" ); | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 给出“深圳”吃“淮南”菜最好的餐厅 |
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 = "淮南" ); | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | “深圳”口碑最好的“淮南”餐馆 |
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 = "淮南" ); | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | “深圳”最好的“淮南”餐馆是哪一家? |
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 = "淮南" ); | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | “深圳”最好的“淮南”餐馆的地址在哪里? |
SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = "厦门" AND t1.name = "丹尼尔"; | CREATE TABLE restaurant (city_name VARCHAR, name VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, house_number VARCHAR) | “丹尼尔”餐厅在“厦门”哪里? |
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 t2.street_name = "龙头路" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | “鼓浪屿”“龙头路”有什么好餐馆? |
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 t2.street_name = "龙头路" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 该出地址是“鼓浪屿”“龙头路”的好口碑餐馆 |
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 t2.street_name = "龙头路" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 给出一家在“鼓浪屿”“龙头路”的好吃的餐馆 |
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 t2.street_name = "龙头路" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | “鼓浪屿”“龙头路”的好评餐馆是什么? |
SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "泉州"; | CREATE TABLE restaurant (name VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 我们在哪里可以找出在“泉州”的餐馆? |
SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "泉州"; | CREATE TABLE restaurant (name VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 给出在“泉州”的餐馆 |
SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "泉州"; | CREATE TABLE restaurant (name VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 我们可以找的“泉州”的餐馆在哪里? |
SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "泉州"; | CREATE TABLE restaurant (name VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 位于“泉州”的餐馆在哪里? |
SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "泉州"; | CREATE TABLE restaurant (name VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 一些在“泉州”的餐厅 |
SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t1.food_type = "淮南" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, house_number VARCHAR) | 一些“淮南”菜出名的餐馆好吗? |
SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t1.food_type = "淮南" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, house_number VARCHAR) | 那些餐馆“淮南”菜好吃? |
SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "苏州" AND t1.food_type = "淮南"; | CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (city_name VARCHAR, restaurant_id VARCHAR) | 在“苏州”有多少地方吃“淮南”菜? |
SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "苏州" AND t1.food_type = "淮南"; | CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (city_name VARCHAR, restaurant_id VARCHAR) | “苏州”有多少家“淮南”餐馆? |
SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "苏州" AND t1.food_type = "淮南"; | CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (city_name VARCHAR, restaurant_id VARCHAR) | 在“苏州”有多少做“淮南”菜的餐厅? |
SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "苏州" AND t1.food_type = "淮南"; | CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (city_name VARCHAR, restaurant_id VARCHAR) | “苏州”有多少家吃“淮南”菜的餐厅? |
SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.county = "昆山" AND t1.food_type = "鲁"; | CREATE TABLE restaurant (city_name VARCHAR, food_type VARCHAR), CREATE TABLE geographic (city_name VARCHAR, county VARCHAR) | “昆山”有多少“鲁”餐厅? |
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 = "淮南"; | CREATE TABLE restaurant (name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | “南山”哪里可以吃“淮南”菜? |
SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = "厦门" AND t1.name = "海鲜"; | CREATE TABLE restaurant (name VARCHAR, city_name VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR) | “厦门”有多少“海鲜”餐厅? |
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.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 在“泉州”一家好餐馆? |
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.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 在“泉州”有什么好的餐馆? |
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.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | “泉州”的好餐馆是什么? |
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.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, id VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 能一些在“泉州”的好饭店 |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 在“深圳”“福田”哪里有一家好的“东北”餐厅? |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | “深圳”的“福田”哪里有好的“东北”菜? |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 在“深圳”“福田”好的“东北”餐厅在哪里? |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 在“深圳”“福田”有哪些吃“东北”菜的好地方? |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 一个关于“深圳”“福田”的“东北”餐厅好吗 |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 请一些“深圳”“福田”好评的“东北”餐馆好吗 |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 一个在“深圳”“福田”吃“东北”食物的好餐厅 |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 在“深圳”,“福田”在“东北”美食的好地方是哪里? |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 在“深圳”的“福田”我可以在哪里吃到“东北”食物? |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 一些在“深圳”“福田”地区吃“东北”食物的好地方 |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | “深圳”“福田”的“东北”餐厅在哪里? |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 给出在“深圳”的“福田”提供美味的“东北”食品的餐厅 |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 在“深圳”“福田”的一家吃“东北”菜的不错的餐馆 |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | “深圳”的“福田”那个餐厅供应好的“东北”食品? |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 在“深圳”“福田”的一些吃“东北”菜不错的餐厅 |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 一些“深圳”的“福田”吃“东北”菜的好地方 |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 我在“深圳”“福田”哪里可以吃到的美味的“东北”食品呢? |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | “深圳”“福田”哪里有好的“东北”食物? |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 在“深圳”“福田”的“东北”食物有哪些餐馆做的很好吃? |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | “福田”在“深圳”哪里有吃“东北”菜的不错的地方? |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 给出在“深圳”“福田”的一家不错的“东北”餐厅 |
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 t2.street_name = "福田" AND t1.food_type = "东北" AND t1.rating > 2.5; | CREATE TABLE restaurant (rating INTEGER, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 给出位于“深圳”的“福田”的一些好的“东北”餐厅 |
SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = "厦门" AND t1.food_type = "淮南"; | CREATE TABLE restaurant (city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (restaurant_id VARCHAR, house_number VARCHAR) | 我可以在“厦门”哪里吃“淮南”菜? |
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 t2.street_name = "龙头路"; | CREATE TABLE restaurant (name VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 一些在“鼓浪屿”“龙头路”餐厅 |
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 t2.street_name = "龙头路"; | CREATE TABLE restaurant (name VARCHAR, id VARCHAR), CREATE TABLE LOCATION (street_name VARCHAR, restaurant_id VARCHAR, city_name VARCHAR, house_number VARCHAR) | 一家位置是“鼓浪屿”“龙头路”的餐厅 |