db_id
stringclasses
140 values
question
stringlengths
16
224
schema
stringclasses
140 values
summarized-schema
stringlengths
18
304
shrink-score
float64
0
1
bike_1
What are the dates that have an average sea level pressure between 30.3 and 31?
station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)
weather : date (text) , mean_sea_level_pressure_inches (number)
0.956522
bike_1
Find the day in which the difference between the max temperature and min temperature was the smallest. Also report the difference.
station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)
weather : date (text) , max_temperature_f (number) , min_temperature_f (number)
0.934783
bike_1
What are the days that had the smallest temperature range, and what was that range?
station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)
weather : date (text) , max_temperature_f (number) , min_temperature_f (number)
0.934783
bike_1
What are the id and name of the stations that have ever had more than 12 bikes available?
station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)
station : id (number) , name (text) | status : station_id (number) , bikes_available (number)
0.913043
bike_1
What are the different ids and names of the stations that have had more than 12 bikes available?
station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)
station : id (number) , name (text) | status : station_id (number) , bikes_available (number)
0.913043
bike_1
Give me the zip code where the average mean humidity is below 70 and at least 100 trips took place.
station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)
trip : zip_code (number) , id (number) | weather : zip_code (number) , mean_humidity (number)
0.913043
bike_1
What are the zip codes that have an average mean humidity below 70 and had at least 100 trips come through there?
station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)
trip : zip_code (number) , id (number) | weather : zip_code (number) , mean_humidity (number)
0.913043
bike_1
What are the names of stations that are located in Palo Alto city but have never been the ending point of trips more than 100 times?
station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)
station : name (text) , city (text) , id (number) | trip : end_station_name (text) , id (number)
0.891304
bike_1
What are the names of the stations that are located in Palo Alto but have never been the ending point of the trips
station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)
station : name (text) , city (text) , id (number) | trip : end_station_name (text) , id (number)
0.891304
bike_1
How many trips started from Mountain View city and ended at Palo Alto city?
station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)
station : id (number) , city (text) | trip : id (number) , start_station_id (number) , end_station_id (number)
0.891304
bike_1
How many trips stated from a station in Mountain View and ended at one in Palo Alto?
station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)
station : id (number) , city (text) | trip : id (number) , start_station_id (number) , end_station_id (number)
0.891304
bike_1
What is the average latitude and longitude of the starting points of all trips?
station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)
station : lat (number) , long (number) , id (number) | trip : id (number) , start_station_id (number)
0.891304
bike_1
What is the average latitude and longitude of all starting stations for the trips?
station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)
station : lat (number) , long (number) , id (number) | trip : id (number) , start_station_id (number)
0.891304
book_2
How many books are there?
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
book : book_id (number)
0.888889
book_2
List the writers of the books in ascending alphabetical order.
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
book : writer (text)
0.888889
book_2
List the titles of the books in ascending order of issues.
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
book : title (text) , issues (number)
0.777778
book_2
What are the titles of the books whose writer is not "Elaine Lee"?
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
book : title (text) , writer (text)
0.777778
book_2
What are the title and issues of the books?
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
book : title (text) , issues (number)
0.777778
book_2
What are the dates of publications in descending order of price?
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
publication : publication_date (text) , price (number)
0.777778
book_2
What are the distinct publishers of publications with price higher than 5000000?
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
publication : publisher (text) , price (number)
0.777778
book_2
List the publisher of the publication with the highest price.
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
publication : publisher (text) , price (number)
0.777778
book_2
List the publication dates of publications with 3 lowest prices.
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
publication : publication_date (text) , price (number)
0.777778
book_2
Show the title and publication dates of books.
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
book : title (text) , book_id (number) | publication : publication_date (text) , book_id (number)
0.555556
book_2
Show writers who have published a book with price more than 4000000.
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
book : writer (text) , book_id (number) | publication : book_id (number) , price (number)
0.555556
book_2
Show the titles of books in descending order of publication price.
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
book : title (text) , book_id (number) | publication : book_id (number) , price (number)
0.555556
book_2
Show publishers that have more than one publication.
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
publication : publisher (text) , publication_id (number)
0.777778
book_2
Show different publishers together with the number of publications they have.
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
publication : publisher (text) , publication_id (number)
0.777778
book_2
Please show the most common publication date.
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
publication : publication_date (text) , publication_id (number)
0.777778
book_2
List the writers who have written more than one book.
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
book : writer (text) , book_id (number)
0.777778
book_2
List the titles of books that are not published.
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
book : title (text) , book_id (number) | publication : book_id (number)
0.666667
book_2
Show the publishers that have publications with price higher than 10000000 and publications with price lower than 5000000.
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
publication : publisher (text) , price (number)
0.777778
book_2
What is the number of distinct publication dates?
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
publication : publication_date (text)
0.888889
book_2
How many distinct publication dates are there in our record?
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
publication : publication_date (text)
0.888889
book_2
Show the prices of publications whose publisher is either "Person" or "Wiley"
publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)
publication : price (number) , publisher (text)
0.777778
musical
How many actors are there?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
actor : actor_id (number)
0.923077
musical
Count the number of actors.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
actor : actor_id (number)
0.923077
musical
List the name of actors in ascending alphabetical order.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
actor : name (text)
0.923077
musical
What are the names of actors, ordered alphabetically?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
actor : name (text)
0.923077
musical
What are the characters and duration of actors?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
actor : character (text) , duration (text)
0.846154
musical
Return the characters and durations for each actor.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
actor : character (text) , duration (text)
0.846154
musical
List the name of actors whose age is not 20.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
actor : name (text) , age (number)
0.846154
musical
What are the names of actors who are not 20 years old?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
actor : name (text) , age (number)
0.846154
musical
What are the characters of actors in descending order of age?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
actor : character (text) , age (number)
0.846154
musical
Return the characters for actors, ordered by age descending.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
actor : character (text) , age (number)
0.846154
musical
What is the duration of the oldest actor?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
actor : duration (text) , age (number)
0.846154
musical
Return the duration of the actor with the greatest age.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
actor : duration (text) , age (number)
0.846154
musical
What are the names of musicals with nominee "Bob Fosse"?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : name (text) , nominee (text)
0.846154
musical
Return the names of musicals who have the nominee Bob Fosse.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : name (text) , nominee (text)
0.846154
musical
What are the distinct nominees of the musicals with the award that is not "Tony Award"?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : nominee (text) , award (text)
0.846154
musical
Return the different nominees of musicals that have an award that is not the Tony Award.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : nominee (text) , award (text)
0.846154
musical
Show names of actors and names of musicals they are in.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number)
0.692308
musical
What are the names of actors and the musicals that they are in?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number)
0.692308
musical
Show names of actors that have appeared in musical with name "The Phantom of the Opera".
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number)
0.692308
musical
What are the names of actors who have been in the musical titled The Phantom of the Opera?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number)
0.692308
musical
Show names of actors in descending order of the year their musical is awarded.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : name (text) , musical_id (number) , year (number) | actor : name (text) , musical_id (number)
0.615385
musical
What are the names of actors ordered descending by the year in which their musical was awarded?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : name (text) , musical_id (number) , year (number) | actor : name (text) , musical_id (number)
0.615385
musical
Show names of musicals and the number of actors who have appeared in the musicals.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number) , actor_id (number)
0.615385
musical
How many actors have appeared in each musical?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number) , actor_id (number)
0.615385
musical
Show names of musicals which have at least three actors.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number) , actor_id (number)
0.615385
musical
What are the names of musicals who have at 3 or more actors?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number) , actor_id (number)
0.615385
musical
Show different nominees and the number of musicals they have been nominated.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : nominee (text) , musical_id (number)
0.846154
musical
How many musicals has each nominee been nominated for?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : nominee (text) , musical_id (number)
0.846154
musical
Please show the nominee who has been nominated the greatest number of times.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : nominee (text) , musical_id (number)
0.846154
musical
Who is the nominee who has been nominated for the most musicals?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : nominee (text) , musical_id (number)
0.846154
musical
List the most common result of the musicals.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : result (text) , musical_id (number)
0.846154
musical
Return the most frequent result across all musicals.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : result (text) , musical_id (number)
0.846154
musical
List the nominees that have been nominated more than two musicals.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : nominee (text) , musical_id (number)
0.846154
musical
Who are the nominees who have been nominated more than two times?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : nominee (text) , musical_id (number)
0.846154
musical
List the name of musicals that do not have actors.
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number)
0.692308
musical
What are the names of musicals who have no actors?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number)
0.692308
musical
Show the nominees that have nominated musicals for both "Tony Award" and "Drama Desk Award".
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : nominee (text) , award (text)
0.846154
musical
Who are the nominees who have been nominated for both a Tony Award and a Drama Desk Award?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : nominee (text) , award (text)
0.846154
musical
Show the musical nominee with award "Bob Fosse" or "Cleavant Derricks".
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : nominee (text) , award (text)
0.846154
musical
Who are the nominees who were nominated for either of the Bob Fosse or Cleavant Derricks awards?
musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)
musical : nominee (text) , award (text)
0.846154
twitter_1
Find the emails of the user named "Mary".
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : email (text) , name (text)
0.818182
twitter_1
What is the partition id of the user named "Iron Man".
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : partitionid (number) , name (text)
0.818182
twitter_1
How many users are there?
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : uid (number)
0.909091
twitter_1
How many followers does each user have?
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
follows : f1 (number)
0.909091
twitter_1
Find the number of followers for each user.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
follows : f1 (number)
0.909091
twitter_1
Find the number of tweets in record.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
tweets : id (number)
0.909091
twitter_1
Find the number of users who posted some tweets.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
tweets : uid (number)
0.909091
twitter_1
Find the name and email of the user whose name contains the word ‘Swift’.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : name (text) , email (text)
0.818182
twitter_1
Find the names of users whose emails contain ‘superstar’ or ‘edu’.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : name (text) , email (text)
0.818182
twitter_1
Return the text of tweets about the topic 'intern'.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
tweets : text (text)
0.909091
twitter_1
Find the name and email of the users who have more than 1000 followers.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : name (text) , email (text) , followers (number)
0.727273
twitter_1
Find the names of the users whose number of followers is greater than that of the user named "Tyler Swift".
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : name (text) , uid (number) | follows : f1 (number)
0.727273
twitter_1
Find the name and email for the users who have more than one follower.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : name (text) , email (text) , uid (number) | follows : f1 (number)
0.636364
twitter_1
Find the names of users who have more than one tweet.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : name (text) , uid (number) | tweets : uid (number) , id (number)
0.636364
twitter_1
Find the id of users who are followed by Mary and Susan.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
follows : f1 (number) , f2 (number) | user_profiles : uid (number) , name (text)
0.636364
twitter_1
Find the id of users who are followed by Mary or Susan.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
follows : f1 (number) , f2 (number) | user_profiles : uid (number) , name (text)
0.636364
twitter_1
Find the name of the user who has the largest number of followers.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : name (text) , followers (number)
0.818182
twitter_1
Find the name and email of the user followed by the least number of people.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : name (text) , email (text) , followers (number)
0.727273
twitter_1
List the name and number of followers for each user, and sort the results by the number of followers in descending order.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : name (text) , followers (number)
0.818182
twitter_1
List the names of 5 users followed by the largest number of other users.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : name (text) , followers (number)
0.818182
twitter_1
List the text of all tweets in the order of date.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
tweets : text (text) , createdate (time)
0.818182
twitter_1
Find the name of each user and number of tweets tweeted by each of them.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : name (text) , uid (number) | tweets : uid (number) , id (number)
0.636364
twitter_1
Find the name and partition id for users who tweeted less than twice.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : name (text) , partitionid (number) , uid (number) | tweets : uid (number) , id (number)
0.545455
twitter_1
Find the name of the user who tweeted more than once, and number of tweets tweeted by them.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : name (text) , uid (number) | tweets : uid (number) , id (number)
0.636364
twitter_1
Find the average number of followers for the users who do not have any tweet.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : followers (number) , uid (number) | tweets : uid (number)
0.727273
twitter_1
Find the average number of followers for the users who had some tweets.
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
user_profiles : followers (number) , uid (number) | tweets : uid (number)
0.727273