db_id
stringclasses 31
values | schema
stringclasses 22
values | schemaComEx
stringclasses 22
values | question
stringlengths 18
181
| query
stringlengths 20
577
| answer
stringlengths 14
41.7k
⌀ | complexity
stringclasses 4
values | distinct
bool 2
classes | like
bool 2
classes | between
bool 2
classes | order_by
bool 2
classes | limit
bool 2
classes | grouby_by
bool 2
classes | having
bool 2
classes | single_join
bool 2
classes | multiple_join
bool 2
classes | multiple_select
bool 2
classes | intersect
bool 2
classes | except
bool 2
classes | union
bool 2
classes |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
imdb | null | null | List all the movies directed by " Asghar Farhadi " in which " Taraneh Alidoosti " played | 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 = "Taraneh Alidoosti" AND t3.name = "Asghar Farhadi"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | What are all the tv series created by " Shonda Rhimes " ? | 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 = "Shonda Rhimes"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Who acts " Olivia Pope " in the series Scandal ? | 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 = "Olivia Pope" AND t2.title = "Scandal"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Who is the writer of the movie " The Truman Show " | 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 = "The Truman Show"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Who is the writer of " The Truman Show " | 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 = "The Truman Show"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | What are the series featuring " Scott Foley " ? | 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 = "Scott Foley"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | What are the series in which " Scott Foley " is an actor ? | 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 = "Scott Foley"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find the directors of all movies featuring " Kate Winslet " | 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 = "Kate Winslet"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find the producers of all movies in which " Kate Winslet " is an actor | 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 = "Kate Winslet"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Who is the director of the tv series " House of Cards " from 2013 ? | 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 = "House of Cards"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find all the female actors from Austin | SELECT name FROM actor WHERE birth_city = "Austin" AND gender = "female"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find all actors from Italy born after 1980 | SELECT name FROM actor WHERE birth_year > 1980 AND nationality = "Italy"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find all the female actors born in " New York City " after 1980 | SELECT name FROM actor WHERE birth_city = "New York City" AND birth_year > 1980 AND gender = "female"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find all the female actors in the movie " Saving Private Ryan " | 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 = "female" AND t3.title = "Saving Private Ryan"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find all the directors who are from Afghanistan | SELECT name FROM director WHERE nationality = "Afghanistan"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find the actors who played in the movie " Camp X-Ray " | 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 = "Camp X-Ray"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find all actors from Canada who acted in " James Bond " movies | 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 = "Canada" AND t3.title = "James Bond"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | find all films in which " Rowan Atkinson " acted as " Mr. Bean " | 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 = "Rowan Atkinson" AND t3.role = "Mr. Bean"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | where is the director of " The Past " from | 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 = "The Past"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | who acted the role of " Mr. Bean " | SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid = t1.aid WHERE t2.role = "Mr. Bean"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | what are the genres of movies directed by " Asghar Farhadi " | 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 = "Asghar Farhadi"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Which movie had the character " Daffy Duck " | SELECT t1.title FROM movie AS t1 JOIN CAST AS t2 ON t1.mid = t2.msid WHERE t2.role = "Daffy Duck"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | What are the major roles in the movie " Daddy Long Legs " | 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 = "Daddy Long Legs"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | List all the directors of movies about nuclear weapons | 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 = "nuclear weapons"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | What is the number of movies in which " Jennifer Aniston " acted after 2010 ? | 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 = "Jennifer Aniston" AND t2.release_year > 2010; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | What is the number of actors in the movie " Saving Private Ryan " ? | 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 = "Saving Private Ryan"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | How many actors are in the movie " Saving Private Ryan " ? | 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 = "Saving Private Ryan"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | How many movies did " Steven Spielberg " direct ? | 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 = "Steven Spielberg"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | How many movies were produced in the year 2013 ? | SELECT COUNT ( DISTINCT title ) FROM movie WHERE release_year = 2013; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | What is the number of movies produced in 2013 ? | SELECT COUNT ( DISTINCT title ) FROM movie WHERE release_year = 2013; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | What is the number of movies directed by " Woody Allen " per year ? | 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 = "Woody Allen" GROUP BY t3.release_year; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | How many movies did " Shahab Hosseini " act in ? | 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 = "Shahab Hosseini"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | What is the number of movies in which " Shahab Hosseini " acted ? | 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 = "Shahab Hosseini"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | What is the number of movies featuring " Shahab Hosseini " ? | 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 = "Shahab Hosseini"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | How many movies did " Shahab Hosseini " act in | 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 = "Shahab Hosseini"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | How many actors were born in " Los Angeles " after 2000 ? | SELECT COUNT ( DISTINCT name ) FROM actor WHERE birth_city = "Los Angeles" AND birth_year > 2000; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | How many movies did " Humphrey Bogart " act in before 1942 ? | 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 = "Humphrey Bogart" AND t2.release_year < 1942; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | What is the number of movies that " Brad Pitt " acts in per year ? | 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 = "Brad Pitt" GROUP BY t2.release_year; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | How many movies about Iraq war were produced in 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 = "Iraq war" AND t3.release_year = 2015; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | How many movies about Persians were released after 1990 ? | 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 = "Persians" AND t3.release_year > 1990; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | How many movies did " Quentin Tarantino " direct after 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 = "Quentin Tarantino" AND t3.release_year > 2010; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | How many movies did " Quentin Tarantino " direct before 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 = "Quentin Tarantino" AND t3.release_year < 2010; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | How many movies did " Quentin Tarantino " direct before 2002 and after 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 = "Quentin Tarantino" AND t4.release_year < 2010 AND t4.release_year > 2002; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | How many female actors were born in " New York City " after 1980 ? | SELECT COUNT ( DISTINCT name ) FROM actor WHERE birth_city = "New York City" AND birth_year > 1980 AND gender = "female"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | find the number of actors from Iran who played in " Jim Jarmusch " movies | 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 = "Iran" AND t3.name = "Jim Jarmusch"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | How many actors from China have acted in " Rush Hour 3 " | 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 = "China" AND t3.title = "Rush Hour 3"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find all movies that star both " Woody Strode " and " Jason Robards " | 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 = "Woody Strode" AND t2.name = "Jason Robards"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find all movies featuring " Woody Strode " and " Jason Robards " | 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 = "Woody Strode" AND t2.name = "Jason Robards"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find all movies featuring both " Woody Strode " and " Jason Robards " | 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 = "Woody Strode" AND t2.name = "Jason Robards"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find all movies featuring " Jason Robards " and " Woody Strode " | 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 = "Woody Strode" AND t2.name = "Jason Robards"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find all actors who acted in the same movie as " Tom Hanks " | 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 = "Tom Hanks"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | What movies have the same director as the movie " Revolutionary Road " ? | 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 = "Revolutionary Road"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find the movie which is classified in the most number of genres | 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; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | which movie has the most number of actors from China ? | 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 = "China" GROUP BY t2.title ORDER BY COUNT ( DISTINCT t1.name ) DESC LIMIT 1; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find the actors who played in the latest movie by " Quentin Tarantino " | 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 = "Quentin Tarantino" ORDER BY t5.release_year DESC LIMIT 1; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find the name and budget of the latest movie by " Quentin Tarantino " | 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 = "Quentin Tarantino" ORDER BY t3.release_year DESC LIMIT 1; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | What is the latest movie by " Jim Jarmusch " | 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 = "Jim Jarmusch" ORDER BY t3.release_year DESC LIMIT 1; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Which producer has worked with the most number of directors ? | 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; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
imdb | null | null | Find the latest movie which " Gabriele Ferzetti " acted in | 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 = "Gabriele Ferzetti" ORDER BY t3.release_year DESC LIMIT 1; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | how many buttercup kitchen are there in san francisco ? | SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "san francisco" AND t1.name = "buttercup kitchen"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | how many chinese restaurants are there in the bay area ? | SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = "bay area" AND t1.food_type = "chinese"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | how many places for chinese food are there in the bay area ? | SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = "bay area" AND t1.food_type = "chinese"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | how many chinese places are there in the bay area ? | SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = "bay area" AND t1.food_type = "chinese"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | how many places for chinese are there in the bay area ? | SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = "bay area" AND t1.food_type = "chinese"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | how many jamerican cuisine are there in santa cruz county ? | SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.county = "santa cruz county" AND t1.name = "jamerican cuisine"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | where is jamerican cuisine ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t1.name = "jamerican cuisine"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | what is the best french restaurant in san francisco ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "san francisco" AND t1.food_type = "french" 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 = "san francisco" AND t1.food_type = "french" ); | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | What is the best french in san francisco ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "san francisco" AND t1.food_type = "french" 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 = "san francisco" AND t1.food_type = "french" ); | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | What is the best place in san francisco for french food ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "san francisco" AND t1.food_type = "french" 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 = "san francisco" AND t1.food_type = "french" ); | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | Give me the best place in san francisco for french food ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "san francisco" AND t1.food_type = "french" 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 = "san francisco" AND t1.food_type = "french" ); | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | Where is the best french in san francisco ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "san francisco" AND t1.food_type = "french" 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 = "san francisco" AND t1.food_type = "french" ); | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | Give me the best french in san francisco ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "san francisco" AND t1.food_type = "french" 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 = "san francisco" AND t1.food_type = "french" ); | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | Where is the best french restaurant in san francisco ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "san francisco" AND t1.food_type = "french" 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 = "san francisco" AND t1.food_type = "french" ); | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | Give me the best restaurant in san francisco for french food ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "san francisco" AND t1.food_type = "french" 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 = "san francisco" AND t1.food_type = "french" ); | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | Give me the best french restaurant in san francisco ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "san francisco" AND t1.food_type = "french" 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 = "san francisco" AND t1.food_type = "french" ); | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | What is the best restaurant in san francisco for french food ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "san francisco" AND t1.food_type = "french" 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 = "san francisco" AND t1.food_type = "french" ); | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | Where is the best restaurant in san francisco for french food ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "san francisco" AND t1.food_type = "french" 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 = "san francisco" AND t1.food_type = "french" ); | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | where is denny in the bay area ? | 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 = "bay area" AND t1.name = "denny"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | what are some good restaurants on bethel island rd in bethel island ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "bethel island" AND t2.street_name = "bethel island rd" AND t1.rating > 2.5; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | give me some good restaurants on bethel island rd in bethel island ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "bethel island" AND t2.street_name = "bethel island rd" AND t1.rating > 2.5; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | give me a good restaurant on bethel island rd in bethel island ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "bethel island" AND t2.street_name = "bethel island rd" AND t1.rating > 2.5; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | what is a good restaurant on bethel island rd in bethel island ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "bethel island" AND t2.street_name = "bethel island rd" AND t1.rating > 2.5; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | where can we find a restaurant in alameda ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "alameda"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | give me a restaurant in alameda ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "alameda"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | where can we find some restaurants in alameda ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "alameda"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | where is a restaurant in alameda ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "alameda"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | give me some restaurants in alameda ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "alameda"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | give me some restaurants good for french food ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t1.food_type = "french" AND t1.rating > 2.5; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | where are some restaurants good for french food ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t1.food_type = "french" AND t1.rating > 2.5; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | how many places for french food are there in palo alto ? | SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "palo alto" AND t1.food_type = "french"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | how many french restaurants are there in palo alto ? | SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "palo alto" AND t1.food_type = "french"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | how many french restaurant are there in palo alto ? | SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "palo alto" AND t1.food_type = "french"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | how many places for french are there in palo alto ? | SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "palo alto" AND t1.food_type = "french"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | how many italian restaurants are in the yolo county ? | SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.county = "yolo county" AND t1.food_type = "italian"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | where can i eat french food in mountain view ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "mountain view" AND t1.food_type = "french"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | how many denny are there in the bay area ? | SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = "bay area" AND t1.name = "denny"; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | give me a good restaurant in alameda ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "alameda" AND t1.rating > 2.5; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | what are some good restaurants in alameda ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "alameda" AND t1.rating > 2.5; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | what is a good restaurant in alameda ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "alameda" AND t1.rating > 2.5; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
restaurants | null | null | give me some good restaurants in alameda ? | SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = "alameda" AND t1.rating > 2.5; | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.