query
stringlengths
24
325
positive
stringlengths
1
580
negative_1
stringlengths
6
580
negative_2
stringlengths
1
576
negative_3
stringlengths
1
576
negative_4
stringlengths
1
580
negative_5
stringlengths
1
580
negative_6
stringlengths
1
580
negative_7
stringlengths
5
576
negative_8
stringlengths
1
576
negative_9
stringlengths
1
580
negative_10
stringlengths
1
580
Indicate the coordinates of all the deserts whose area is in more than one country.
coordinates consists of Latitude, Longitude
Communist is a government form
USA is a country
Gross domestic product = GDP; Largest share of GDP in agricultural sector was mentioned in economy.Agriculture
Nation refers to country
Ethiopia is one of country names
Percentage = 90 means 90% of the population
ation and country are synonyms; Gross domestic product = GDP; Portion of GDP devoted to industries appears in economy.Industry; Population Density = Population / Area
GDP per capita = GDP / Population
Anguilla is a country
Republic is on of government forms; Percentage of Services of the GDP was mentioned in economy.Service; Population Density = Population / Area
Which United States province is home to the greatest number of corporations' corporate headquarters?
Organization refers to corporation
Cayman Islands is a country
Indonesia refers to one of countries
GDP per capita = GDP / Population
Communist is a government form
most people refers to largest population
Bermuda is one of countries
English and Scottish are two languages; United Kingdom is a country
Nation and country are synonyms; Form of governance was mentioned in politics.Government; Least prosperous means lowest GDP
Singapore is one of country names; GDP refers to gross domestic products; GDP to the industry sector = GDP * Industry
Total Number of People = Percentage * Population
What kind of political system is in place in the country with the highest inflation rate?
Political system refers to government form
Communist is a government form
Japan is a country
Percentage of rivers with lengths greater than 3,000 miles = [(Total number of rivers with lengths greater than 3,000 miles) / (Total number of rivers)] * 100%
Singapore is one of country names; GDP refers to gross domestic products; GDP to the industry sector = GDP * Industry
Bolivia is the country
Arab is the name of enthic groups in the country; Population of (Arab in each country) = (percentage of Arab) * (population of each country)
Gross domestic product = GDP; Largest share of GDP in agricultural sector was mentioned in economy.Agriculture
Indonesia refers to one of countries
Longitude, Latitude = coordinates of the location
Nation refers to country; Information of growth appears in the column Established
Which nations have a boundary with the Kalahari Desert?
Nation refers to country
Nation and country are synonyms
'South Yorkshire' is a province
Moldoveanu is a mountain
Atlantic Ocean is the second-largest ocean on Earth, after the Pacific Ocean; Ocean and sea share the same meaning
GDP per capita = GDP / Population
population growth rate of over 3% means population_growth > 3
Percentage of rivers with lengths greater than 3,000 miles = [(Total number of rivers with lengths greater than 3,000 miles) / (Total number of rivers)] * 100%
Orleans is a city in north-central France
ratio of people per square meter of surface = Population / Area
Established means founded; Country means nation; Organization means businesses
What is the name of the most recently founded organization in Saudi Arabia?
Saudi Arabia is a country
ation and country are synonyms; Gross domestic product = GDP; Portion of GDP devoted to industries appears in economy.Industry; Population Density = Population / Area
'South Yorkshire' is a province
Nation refers to country; Information of growth appears in the column Established
Total Number of People = Percentage * Population
Indonesia refers to one of countries
Growth population = population_growth * population
GDP refers to gross domestic product; Nation and country are synonyms
Arabic-speaking country = country that speaks 100% Arabic
population growth rate of over 3% means population_growth > 3
Nation and country are synonyms; Form of governance was mentioned in politics.Government; Least prosperous means lowest GDP
Which Asian country gave its agricultural sector the largest share of its gross domestic product?
Gross domestic product = GDP; Largest share of GDP in agricultural sector was mentioned in economy.Agriculture
Orleans is a city in north-central France
Arab is the name of enthic groups in the country; Population of (Arab in each country) = (percentage of Arab) * (population of each country)
Most prevalent religion refers to the religion with the most population percentage
Japan is one of country names
'South Yorkshire' is a province
Lake area coverage = [sum(area of the lakes in the country) / (area of the country)] * 100%
Japan is a country
Republic is on of government forms; Percentage of Services of the GDP was mentioned in economy.Service; Population Density = Population / Area
coordinates consists of Latitude, Longitude
Total Number of People = Percentage * Population
Please name any three sovereign nations that have been governed by the republic since 1991.
Nation refers to country
Percentage of population in each city = population(city) / population(province) * 100%
Warwickshire is a province
ratio of people per square meter of surface = Population / Area
Japan is one of country names
Percentage of rivers with lengths greater than 3,000 miles = [(Total number of rivers with lengths greater than 3,000 miles) / (Total number of rivers)] * 100%
Uganda is one of country names
Arab is the name of enthic groups in the country; Population of (Arab in each country) = (percentage of Arab) * (population of each country)
Dutch is one of language
Percent = [count(non volcanic islands Lesser Antilles area 300 or less) / count(non volcanic islands Lesser Antilles)] * 100%
billion = 1000000000
Among the countries whose GDP is over 1000000, how many of them have a population groth rate of over 3%?
population growth rate of over 3% means population_growth > 3
population density = Population / Area
Area * Depth can represents the metric in terms of both surface area and depth
billion = 1000000000
Nation refers to country
Communist is a government form
Organization refers to corporation
Uganda is one of country names
Growth population = population_growth * population
Nation refers to country; Information of growth appears in the column Established
Political system refers to government form
What is the highest lake area coverage of a country?
Lake area coverage = [sum(area of the lakes in the country) / (area of the country)] * 100%
Percentage = 100 means 100% of the population
Percent of non-volcanic mountains = count(mountains = 'Andes' & type ! = 'volcano') / count(mountains = 'Andes') * 100%
billion = 1000000000
Uganda is one of country names
Population gap = Total population of the United Kingdom - Total population of Italy
Anguilla is a country
coordinates consists of Latitude, Longitude
Bermuda is one of countries
Dutch is one of language
Growth population = population_growth * population
What is the provincial capital of the province with a population of less than 80,000 that has the highest average population per area?
Average population per area = population / area
Japan is a country
Percentage = 100 means 100% of the population
Ethiopia is one of country names
Negative growth in population means population_growth < 0
Cayman Islands is a country
Growth population = population_growth * population
Japan is a country
Warwickshire is a province
Average population ratio = Population / Area
Japan is one of country names
How many percent of the mountains on Andes which are non-volcanic?
Percent of non-volcanic mountains = count(mountains = 'Andes' & type ! = 'volcano') / count(mountains = 'Andes') * 100%
most people refers to largest population
Warwickshire is a province
GDP refers to gross domestic product
Indonesia refers to one of countries
Growth population = population_growth * population
Moldoveanu is a mountain
Reigion refers to province
Japan is one of country names
Cayman Islands is a country
billion = 1000000000
What is the population gap between the United Kingdom and Italy?
Population gap = Total population of the United Kingdom - Total population of Italy
Saudi Arabia is a country
Percentage of country > 90% refers to percentage > 90; America is one of country names
Orleans is a city in north-central France
coordinates consists of Latitude, Longitude
Japan is a country
Indonesia refers to one of countries
Nation and country are synonyms; Form of governance was mentioned in politics.Government; Least prosperous means lowest GDP
Ethiopia is one of country names
Nation refers to country; Information of growth appears in the column Established
English and Scottish are two languages; United Kingdom is a country
Give the biography of the actor who played "Michael Moscovitz".
"Michael Moscovitz" refers to Character Name = 'Michael Moscovitz'
born in New York City refers to Birth City = 'New York City'; rating greater than 5 refers to Rating > 5
PG rated refers to MPAA Rating = 'PG';  highest net worth refers to max(NetWorth)
male refers to Gender = 'Male'; born in USA refers to Birth Country = 'USA'; Ghost refers to Title = 'Ghost'
movie name refers to title; starring Tom Cruise refers to name = 'Tom Cruise'
No.1 character refers to creditOrder = '1'; released on "2015/10/26" refers to Release Date = '2015-10-26'
actor's name refers to Name; as Don Altobello refers to Character Name = 'Don Altobello'; drama movie refers to Genre = 'Drama'
'suggested by parental guidance' refers to mpaa_rating = 'PG'
starring Tom Cruise refers to name = 'Tom Cruise'; best quality refers to max(rating)
"Gabriel Martin" refers to Character Name = 'Gabriel Martin'
comedy movie refers to Genre = 'Comedy'; rating lower than 7 refers to Rating < 7; net worth greater than $375,000,000.00 refers to NetWorth > '$375,000,000.00'
What is the name of male and white actor with actor ID 439?
male refers to Gender = 'Male'; white refers to Ethnicity = 'White'
born in New York City refers to Birth City = 'New York City'; rating greater than 5 refers to Rating > 5
a budget of 15000000 refers to Budget = 15000000; rating between 7 to 8 refers to Rating BETWEEN 7 and 8
No.1 character refers to creditOrder = '1'; released on "2015/10/26" refers to Release Date = '2015-10-26'
male refers to gender = 'Male'; African American refers to ethnicity = 'African American'
actress refers to Gender = 'Female'; born in Sherman Oaks refers to Birth City = 'Sherman Oaks'; movie Bruce Almighty refers to Title = 'Bruce Almighty'; height greater than the 50% of average height refers to Height (Inches) > multiply(avg(Height (Inches)), 0.5)
birthday refers to Date of Birth; "Sully" refers to Character Name = 'Sully'
No.2 character refers to creditOrder = '2'; movie "American Hustle" refers to Title = 'American Hustle'
Three Men and a Little Lady refers to Title = 'Three Men and a Little Lady'
movie Look Who's Talking refers to title = 'Look Who's Talking'
played by Tom Cruise refers to name = 'Tom Cruise'; movie Born on the Fourth of July refers to title = 'Born on the Fourth of July'
Which movie is the character Dr. Archibald 'Moonlight' Graham from?
movie name refers to title; character Dr. Archibald 'Moonlight' Graham refers to character_name = 'Dr. Archibald 'Moonlight' Graham'
actress refers to Gender = 'Female'; born in Sherman Oaks refers to Birth City = 'Sherman Oaks'; movie Bruce Almighty refers to Title = 'Bruce Almighty'; height greater than the 50% of average height refers to Height (Inches) > multiply(avg(Height (Inches)), 0.5)
PG rated refers to MPAA Rating = 'PG';  highest net worth refers to max(NetWorth)
Three Men and a Little Lady refers to Title = 'Three Men and a Little Lady'
No.2 character refers to creditOrder = '2'; movie "American Hustle" refers to Title = 'American Hustle'
longest screen time refers to max(screentime); movie Batman refers to title = 'Batman'
role of Joker refers to character_name = 'Joker'; movie Batman refers to title = 'Batman'
born in New York City refers to Birth City = 'New York City'; rating greater than 5 refers to Rating > 5
male refers to Gender = 'Male'; white refers to Ethnicity = 'White'
movie Look Who's Talking refers to title = 'Look Who's Talking'
movie name refers to title; starring Tom Cruise refers to name = 'Tom Cruise'
Find the actor's name that played as Don Altobello in a drama movie that has a gross of 136766062.
actor's name refers to Name; as Don Altobello refers to Character Name = 'Don Altobello'; drama movie refers to Genre = 'Drama'
birthday refers to Date of Birth; "Sully" refers to Character Name = 'Sully'
actress refers to Gender = 'Female'; born in Sherman Oaks refers to Birth City = 'Sherman Oaks'; movie Bruce Almighty refers to Title = 'Bruce Almighty'; height greater than the 50% of average height refers to Height (Inches) > multiply(avg(Height (Inches)), 0.5)
No.2 character refers to creditOrder = '2'; movie "American Hustle" refers to Title = 'American Hustle'
'suggested by parental guidance' refers to mpaa_rating = 'PG'
"Michael Moscovitz" refers to Character Name = 'Michael Moscovitz'
longest screen time refers to max(screentime); movie Batman refers to title = 'Batman'
PG rated refers to MPAA Rating = 'PG';  highest net worth refers to max(NetWorth)
"Gabriel Martin" refers to Character Name = 'Gabriel Martin'
male refers to Gender = 'Male'; white refers to Ethnicity = 'White'
movie name refers to title; character Dr. Archibald 'Moonlight' Graham refers to character_name = 'Dr. Archibald 'Moonlight' Graham'
When is the birthday of the actor who played "Sully"?
birthday refers to Date of Birth; "Sully" refers to Character Name = 'Sully'
role of Joker refers to character_name = 'Joker'; movie Batman refers to title = 'Batman'
PG rated refers to MPAA Rating = 'PG';  highest net worth refers to max(NetWorth)
"Michael Moscovitz" refers to Character Name = 'Michael Moscovitz'
movie Look Who's Talking refers to title = 'Look Who's Talking'
played by Tom Cruise refers to name = 'Tom Cruise'
starring Tom Cruise refers to name = 'Tom Cruise'; best quality refers to max(rating)
movie name refers to title; character Dr. Archibald 'Moonlight' Graham refers to character_name = 'Dr. Archibald 'Moonlight' Graham'
"Gabriel Martin" refers to Character Name = 'Gabriel Martin'
starring Tom Cruise refers to name = 'Tom Cruise'; average rating = divide(sum(rating where name = 'Tom Cruise'), count(movieid where name = 'Tom Cruise'))
'suggested by parental guidance' refers to mpaa_rating = 'PG'
What is the MPAA rating for the movie with the character named "Peter Quill" in it?
MPAA rating = 'G' means General audiences; MPAA rating = 'PG' means Parental guidance suggested; MPAA rating = 'R'means Restricted; MPAA rating = 'X' means No one under 17 admitted
played by Tom Cruise refers to name = 'Tom Cruise'; movie Born on the Fourth of July refers to title = 'Born on the Fourth of July'
PG rated refers to MPAA Rating = 'PG';  highest net worth refers to max(NetWorth)
movie name refers to title; character Dr. Archibald 'Moonlight' Graham refers to character_name = 'Dr. Archibald 'Moonlight' Graham'
movie Look Who's Talking refers to title = 'Look Who's Talking'
starring Tom Cruise refers to name = 'Tom Cruise'; best quality refers to max(rating)
longest screen time refers to max(screentime); movie Batman refers to title = 'Batman'
No.1 character refers to creditOrder = '1'; released on "2015/10/26" refers to Release Date = '2015-10-26'
male refers to Gender = 'Male'; born in USA refers to Birth Country = 'USA'; Ghost refers to Title = 'Ghost'
No.2 character refers to creditOrder = '2'; movie "American Hustle" refers to Title = 'American Hustle'
born in New York City refers to Birth City = 'New York City'; rating greater than 5 refers to Rating > 5
Which character has the longest screen time in the movie Batman?
longest screen time refers to max(screentime); movie Batman refers to title = 'Batman'
birthday refers to Date of Birth; "Sully" refers to Character Name = 'Sully'
No.2 character refers to creditOrder = '2'; movie "American Hustle" refers to Title = 'American Hustle'
starring Tom Cruise refers to name = 'Tom Cruise'; average rating = divide(sum(rating where name = 'Tom Cruise'), count(movieid where name = 'Tom Cruise'))
PG rated refers to MPAA Rating = 'PG';  highest net worth refers to max(NetWorth)
role of Joker refers to character_name = 'Joker'; movie Batman refers to title = 'Batman'
played by Tom Cruise refers to name = 'Tom Cruise'; movie Born on the Fourth of July refers to title = 'Born on the Fourth of July'
movie Look Who's Talking refers to title = 'Look Who's Talking'
male refers to Gender = 'Male'; born in USA refers to Birth Country = 'USA'; Ghost refers to Title = 'Ghost'
No.1 character refers to creditOrder = '1'; released on "2015/10/26" refers to Release Date = '2015-10-26'
African-American refers to Ethnicity = 'African American'; born on December 28 1954 refers to Date of Birth = '1954-12-28'
How many movies star a male African American actor?
male refers to gender = 'Male'; African American refers to ethnicity = 'African American'
Three Men and a Little Lady refers to Title = 'Three Men and a Little Lady'
actor's name refers to Name; as Don Altobello refers to Character Name = 'Don Altobello'; drama movie refers to Genre = 'Drama'
birthday refers to Date of Birth; "Sully" refers to Character Name = 'Sully'
male refers to Gender = 'Male'; born in USA refers to Birth Country = 'USA'; Ghost refers to Title = 'Ghost'
movie name refers to title; starring Tom Cruise refers to name = 'Tom Cruise'
played by Tom Cruise refers to name = 'Tom Cruise'
PG rated refers to MPAA Rating = 'PG';  highest net worth refers to max(NetWorth)
No.2 character refers to creditOrder = '2'; movie "American Hustle" refers to Title = 'American Hustle'
"Michael Moscovitz" refers to Character Name = 'Michael Moscovitz'
male refers to Gender = 'Male'; white refers to Ethnicity = 'White'
List the character's name of actress born in Sherman Oaks and starred in the movie Bruce Almighty with height greater than the 50% of average height of all actors listed.
actress refers to Gender = 'Female'; born in Sherman Oaks refers to Birth City = 'Sherman Oaks'; movie Bruce Almighty refers to Title = 'Bruce Almighty'; height greater than the 50% of average height refers to Height (Inches) > multiply(avg(Height (Inches)), 0.5)
MPAA rating = 'G' means General audiences; MPAA rating = 'PG' means Parental guidance suggested; MPAA rating = 'R'means Restricted; MPAA rating = 'X' means No one under 17 admitted
born in New York City refers to Birth City = 'New York City'; rating greater than 5 refers to Rating > 5
PG rated refers to MPAA Rating = 'PG';  highest net worth refers to max(NetWorth)
comedy movie refers to Genre = 'Comedy'; rating lower than 7 refers to Rating < 7; net worth greater than $375,000,000.00 refers to NetWorth > '$375,000,000.00'
Three Men and a Little Lady refers to Title = 'Three Men and a Little Lady'
starring Tom Cruise refers to name = 'Tom Cruise'; average rating = divide(sum(rating where name = 'Tom Cruise'), count(movieid where name = 'Tom Cruise'))
male refers to Gender = 'Male'; born in USA refers to Birth Country = 'USA'; Ghost refers to Title = 'Ghost'
No.1 character refers to creditOrder = '1'; released on "2015/10/26" refers to Release Date = '2015-10-26'
movie Look Who's Talking refers to title = 'Look Who's Talking'
African-American refers to Ethnicity = 'African American'; born on December 28 1954 refers to Date of Birth = '1954-12-28'
Count the male actors born in USA that starred in Ghost.
male refers to Gender = 'Male'; born in USA refers to Birth Country = 'USA'; Ghost refers to Title = 'Ghost'
longest screen time refers to max(screentime); movie Batman refers to title = 'Batman'
male refers to gender = 'Male'; African American refers to ethnicity = 'African American'
MPAA rating = 'G' means General audiences; MPAA rating = 'PG' means Parental guidance suggested; MPAA rating = 'R'means Restricted; MPAA rating = 'X' means No one under 17 admitted
African-American refers to Ethnicity = 'African American'; born on December 28 1954 refers to Date of Birth = '1954-12-28'
actress refers to Gender = 'Female'; born in Sherman Oaks refers to Birth City = 'Sherman Oaks'; movie Bruce Almighty refers to Title = 'Bruce Almighty'; height greater than the 50% of average height refers to Height (Inches) > multiply(avg(Height (Inches)), 0.5)
PG rated refers to MPAA Rating = 'PG';  highest net worth refers to max(NetWorth)
birthday refers to Date of Birth; "Sully" refers to Character Name = 'Sully'
starring Tom Cruise refers to name = 'Tom Cruise'; average rating = divide(sum(rating where name = 'Tom Cruise'), count(movieid where name = 'Tom Cruise'))
Three Men and a Little Lady refers to Title = 'Three Men and a Little Lady'
played by Tom Cruise refers to name = 'Tom Cruise'
Who played the No.2 character in the credit list of the movie "American Hustle"?
No.2 character refers to creditOrder = '2'; movie "American Hustle" refers to Title = 'American Hustle'
born in New York City refers to Birth City = 'New York City'; rating greater than 5 refers to Rating > 5
male refers to Gender = 'Male'; white refers to Ethnicity = 'White'
comedy movie refers to Genre = 'Comedy'; rating lower than 7 refers to Rating < 7; net worth greater than $375,000,000.00 refers to NetWorth > '$375,000,000.00'
Three Men and a Little Lady refers to Title = 'Three Men and a Little Lady'
starring Tom Cruise refers to name = 'Tom Cruise'; average rating = divide(sum(rating where name = 'Tom Cruise'), count(movieid where name = 'Tom Cruise'))
a budget of 15000000 refers to Budget = 15000000; rating between 7 to 8 refers to Rating BETWEEN 7 and 8
birthday refers to Date of Birth; "Sully" refers to Character Name = 'Sully'
PG rated refers to MPAA Rating = 'PG';  highest net worth refers to max(NetWorth)
played by Tom Cruise refers to name = 'Tom Cruise'
'suggested by parental guidance' refers to mpaa_rating = 'PG'
What is the name of the character played by Tom Cruise in the movie Born on the Fourth of July?
played by Tom Cruise refers to name = 'Tom Cruise'; movie Born on the Fourth of July refers to title = 'Born on the Fourth of July'
male refers to Gender = 'Male'; born in USA refers to Birth Country = 'USA'; Ghost refers to Title = 'Ghost'
comedy movie refers to Genre = 'Comedy'; rating lower than 7 refers to Rating < 7; net worth greater than $375,000,000.00 refers to NetWorth > '$375,000,000.00'
"Michael Moscovitz" refers to Character Name = 'Michael Moscovitz'
role of Joker refers to character_name = 'Joker'; movie Batman refers to title = 'Batman'
No.2 character refers to creditOrder = '2'; movie "American Hustle" refers to Title = 'American Hustle'
movie name refers to title; starring Tom Cruise refers to name = 'Tom Cruise'
a budget of 15000000 refers to Budget = 15000000; rating between 7 to 8 refers to Rating BETWEEN 7 and 8
longest screen time refers to max(screentime); movie Batman refers to title = 'Batman'
starring Tom Cruise refers to name = 'Tom Cruise'; best quality refers to max(rating)
male refers to Gender = 'Male'; white refers to Ethnicity = 'White'
What is the gross of a comedy movie with a rating lower than 7 and starred by an actor with a net worth greater than $375,000,000.00?
comedy movie refers to Genre = 'Comedy'; rating lower than 7 refers to Rating < 7; net worth greater than $375,000,000.00 refers to NetWorth > '$375,000,000.00'
male refers to Gender = 'Male'; born in USA refers to Birth Country = 'USA'; Ghost refers to Title = 'Ghost'
birthday refers to Date of Birth; "Sully" refers to Character Name = 'Sully'
No.1 character refers to creditOrder = '1'; released on "2015/10/26" refers to Release Date = '2015-10-26'
MPAA rating = 'G' means General audiences; MPAA rating = 'PG' means Parental guidance suggested; MPAA rating = 'R'means Restricted; MPAA rating = 'X' means No one under 17 admitted
played by Tom Cruise refers to name = 'Tom Cruise'
movie name refers to title; starring Tom Cruise refers to name = 'Tom Cruise'
played by Tom Cruise refers to name = 'Tom Cruise'; movie Born on the Fourth of July refers to title = 'Born on the Fourth of July'
male refers to gender = 'Male'; African American refers to ethnicity = 'African American'
male refers to Gender = 'Male'; white refers to Ethnicity = 'White'
'suggested by parental guidance' refers to mpaa_rating = 'PG'
Please list the names of the movies starring Tom Cruise.
movie name refers to title; starring Tom Cruise refers to name = 'Tom Cruise'
starring Tom Cruise refers to name = 'Tom Cruise'; average rating = divide(sum(rating where name = 'Tom Cruise'), count(movieid where name = 'Tom Cruise'))
longest screen time refers to max(screentime); movie Batman refers to title = 'Batman'
male refers to gender = 'Male'; African American refers to ethnicity = 'African American'
played by Tom Cruise refers to name = 'Tom Cruise'
born in New York City refers to Birth City = 'New York City'; rating greater than 5 refers to Rating > 5
MPAA rating = 'G' means General audiences; MPAA rating = 'PG' means Parental guidance suggested; MPAA rating = 'R'means Restricted; MPAA rating = 'X' means No one under 17 admitted
No.1 character refers to creditOrder = '1'; released on "2015/10/26" refers to Release Date = '2015-10-26'
actress refers to Gender = 'Female'; born in Sherman Oaks refers to Birth City = 'Sherman Oaks'; movie Bruce Almighty refers to Title = 'Bruce Almighty'; height greater than the 50% of average height refers to Height (Inches) > multiply(avg(Height (Inches)), 0.5)
actor's name refers to Name; as Don Altobello refers to Character Name = 'Don Altobello'; drama movie refers to Genre = 'Drama'
male refers to Gender = 'Male'; white refers to Ethnicity = 'White'
List the height and net worth of actors starred in Three Men and a Little Lady.
Three Men and a Little Lady refers to Title = 'Three Men and a Little Lady'
a budget of 15000000 refers to Budget = 15000000; rating between 7 to 8 refers to Rating BETWEEN 7 and 8
"Gabriel Martin" refers to Character Name = 'Gabriel Martin'
played by Tom Cruise refers to name = 'Tom Cruise'; movie Born on the Fourth of July refers to title = 'Born on the Fourth of July'
No.1 character refers to creditOrder = '1'; released on "2015/10/26" refers to Release Date = '2015-10-26'
comedy movie refers to Genre = 'Comedy'; rating lower than 7 refers to Rating < 7; net worth greater than $375,000,000.00 refers to NetWorth > '$375,000,000.00'
actor's name refers to Name; as Don Altobello refers to Character Name = 'Don Altobello'; drama movie refers to Genre = 'Drama'
starring Tom Cruise refers to name = 'Tom Cruise'; best quality refers to max(rating)
PG rated refers to MPAA Rating = 'PG';  highest net worth refers to max(NetWorth)
No.2 character refers to creditOrder = '2'; movie "American Hustle" refers to Title = 'American Hustle'
actress refers to Gender = 'Female'; born in Sherman Oaks refers to Birth City = 'Sherman Oaks'; movie Bruce Almighty refers to Title = 'Bruce Almighty'; height greater than the 50% of average height refers to Height (Inches) > multiply(avg(Height (Inches)), 0.5)
Among the actors born in New York City, list the genre of their movie with a rating greater than 5.
born in New York City refers to Birth City = 'New York City'; rating greater than 5 refers to Rating > 5
played by Tom Cruise refers to name = 'Tom Cruise'; movie Born on the Fourth of July refers to title = 'Born on the Fourth of July'
African-American refers to Ethnicity = 'African American'; born on December 28 1954 refers to Date of Birth = '1954-12-28'
actress refers to Gender = 'Female'; born in Sherman Oaks refers to Birth City = 'Sherman Oaks'; movie Bruce Almighty refers to Title = 'Bruce Almighty'; height greater than the 50% of average height refers to Height (Inches) > multiply(avg(Height (Inches)), 0.5)
longest screen time refers to max(screentime); movie Batman refers to title = 'Batman'
No.1 character refers to creditOrder = '1'; released on "2015/10/26" refers to Release Date = '2015-10-26'
comedy movie refers to Genre = 'Comedy'; rating lower than 7 refers to Rating < 7; net worth greater than $375,000,000.00 refers to NetWorth > '$375,000,000.00'
male refers to Gender = 'Male'; born in USA refers to Birth Country = 'USA'; Ghost refers to Title = 'Ghost'
movie name refers to title; starring Tom Cruise refers to name = 'Tom Cruise'
No.2 character refers to creditOrder = '2'; movie "American Hustle" refers to Title = 'American Hustle'
birthday refers to Date of Birth; "Sully" refers to Character Name = 'Sully'
Among the movies starring Tom Cruise, which one of them has the best quality?
starring Tom Cruise refers to name = 'Tom Cruise'; best quality refers to max(rating)
No.2 character refers to creditOrder = '2'; movie "American Hustle" refers to Title = 'American Hustle'
role of Joker refers to character_name = 'Joker'; movie Batman refers to title = 'Batman'
actress refers to Gender = 'Female'; born in Sherman Oaks refers to Birth City = 'Sherman Oaks'; movie Bruce Almighty refers to Title = 'Bruce Almighty'; height greater than the 50% of average height refers to Height (Inches) > multiply(avg(Height (Inches)), 0.5)
"Gabriel Martin" refers to Character Name = 'Gabriel Martin'
birthday refers to Date of Birth; "Sully" refers to Character Name = 'Sully'
PG rated refers to MPAA Rating = 'PG';  highest net worth refers to max(NetWorth)
movie name refers to title; starring Tom Cruise refers to name = 'Tom Cruise'
played by Tom Cruise refers to name = 'Tom Cruise'; movie Born on the Fourth of July refers to title = 'Born on the Fourth of July'
male refers to Gender = 'Male'; born in USA refers to Birth Country = 'USA'; Ghost refers to Title = 'Ghost'
'suggested by parental guidance' refers to mpaa_rating = 'PG'
Which actor played the role of Joker in the movie Batman?
role of Joker refers to character_name = 'Joker'; movie Batman refers to title = 'Batman'
African-American refers to Ethnicity = 'African American'; born on December 28 1954 refers to Date of Birth = '1954-12-28'
birthday refers to Date of Birth; "Sully" refers to Character Name = 'Sully'
male refers to Gender = 'Male'; white refers to Ethnicity = 'White'
Three Men and a Little Lady refers to Title = 'Three Men and a Little Lady'
actor's name refers to Name; as Don Altobello refers to Character Name = 'Don Altobello'; drama movie refers to Genre = 'Drama'
a budget of 15000000 refers to Budget = 15000000; rating between 7 to 8 refers to Rating BETWEEN 7 and 8
movie Look Who's Talking refers to title = 'Look Who's Talking'
comedy movie refers to Genre = 'Comedy'; rating lower than 7 refers to Rating < 7; net worth greater than $375,000,000.00 refers to NetWorth > '$375,000,000.00'
"Gabriel Martin" refers to Character Name = 'Gabriel Martin'
"Michael Moscovitz" refers to Character Name = 'Michael Moscovitz'
Please list the names of all the characters played by Tom Cruise.
played by Tom Cruise refers to name = 'Tom Cruise'
birthday refers to Date of Birth; "Sully" refers to Character Name = 'Sully'
African-American refers to Ethnicity = 'African American'; born on December 28 1954 refers to Date of Birth = '1954-12-28'
male refers to gender = 'Male'; African American refers to ethnicity = 'African American'
'suggested by parental guidance' refers to mpaa_rating = 'PG'
"Michael Moscovitz" refers to Character Name = 'Michael Moscovitz'
movie name refers to title; character Dr. Archibald 'Moonlight' Graham refers to character_name = 'Dr. Archibald 'Moonlight' Graham'
MPAA rating = 'G' means General audiences; MPAA rating = 'PG' means Parental guidance suggested; MPAA rating = 'R'means Restricted; MPAA rating = 'X' means No one under 17 admitted
starring Tom Cruise refers to name = 'Tom Cruise'; best quality refers to max(rating)
starring Tom Cruise refers to name = 'Tom Cruise'; average rating = divide(sum(rating where name = 'Tom Cruise'), count(movieid where name = 'Tom Cruise'))
male refers to Gender = 'Male'; white refers to Ethnicity = 'White'
Please list the names of the characters in the movie Look Who's Talking.
movie Look Who's Talking refers to title = 'Look Who's Talking'
actor's name refers to Name; as Don Altobello refers to Character Name = 'Don Altobello'; drama movie refers to Genre = 'Drama'
MPAA rating = 'G' means General audiences; MPAA rating = 'PG' means Parental guidance suggested; MPAA rating = 'R'means Restricted; MPAA rating = 'X' means No one under 17 admitted
born in New York City refers to Birth City = 'New York City'; rating greater than 5 refers to Rating > 5
longest screen time refers to max(screentime); movie Batman refers to title = 'Batman'
'suggested by parental guidance' refers to mpaa_rating = 'PG'
actress refers to Gender = 'Female'; born in Sherman Oaks refers to Birth City = 'Sherman Oaks'; movie Bruce Almighty refers to Title = 'Bruce Almighty'; height greater than the 50% of average height refers to Height (Inches) > multiply(avg(Height (Inches)), 0.5)
PG rated refers to MPAA Rating = 'PG';  highest net worth refers to max(NetWorth)
played by Tom Cruise refers to name = 'Tom Cruise'
movie name refers to title; character Dr. Archibald 'Moonlight' Graham refers to character_name = 'Dr. Archibald 'Moonlight' Graham'
movie name refers to title; starring Tom Cruise refers to name = 'Tom Cruise'
How many movies starring Morgan Freeman are suggested by parental guidance?
'suggested by parental guidance' refers to mpaa_rating = 'PG'
African-American refers to Ethnicity = 'African American'; born on December 28 1954 refers to Date of Birth = '1954-12-28'
starring Tom Cruise refers to name = 'Tom Cruise'; best quality refers to max(rating)
male refers to Gender = 'Male'; born in USA refers to Birth Country = 'USA'; Ghost refers to Title = 'Ghost'
No.2 character refers to creditOrder = '2'; movie "American Hustle" refers to Title = 'American Hustle'
male refers to gender = 'Male'; African American refers to ethnicity = 'African American'
movie name refers to title; character Dr. Archibald 'Moonlight' Graham refers to character_name = 'Dr. Archibald 'Moonlight' Graham'
MPAA rating = 'G' means General audiences; MPAA rating = 'PG' means Parental guidance suggested; MPAA rating = 'R'means Restricted; MPAA rating = 'X' means No one under 17 admitted
played by Tom Cruise refers to name = 'Tom Cruise'; movie Born on the Fourth of July refers to title = 'Born on the Fourth of July'
starring Tom Cruise refers to name = 'Tom Cruise'; average rating = divide(sum(rating where name = 'Tom Cruise'), count(movieid where name = 'Tom Cruise'))
"Michael Moscovitz" refers to Character Name = 'Michael Moscovitz'
List the runtime of movies starred by an African-American actor born on December 28, 1954.
African-American refers to Ethnicity = 'African American'; born on December 28 1954 refers to Date of Birth = '1954-12-28'
PG rated refers to MPAA Rating = 'PG';  highest net worth refers to max(NetWorth)
male refers to Gender = 'Male'; white refers to Ethnicity = 'White'
starring Tom Cruise refers to name = 'Tom Cruise'; best quality refers to max(rating)
No.2 character refers to creditOrder = '2'; movie "American Hustle" refers to Title = 'American Hustle'
movie name refers to title; starring Tom Cruise refers to name = 'Tom Cruise'
starring Tom Cruise refers to name = 'Tom Cruise'; average rating = divide(sum(rating where name = 'Tom Cruise'), count(movieid where name = 'Tom Cruise'))
male refers to gender = 'Male'; African American refers to ethnicity = 'African American'
played by Tom Cruise refers to name = 'Tom Cruise'
"Michael Moscovitz" refers to Character Name = 'Michael Moscovitz'
actress refers to Gender = 'Female'; born in Sherman Oaks refers to Birth City = 'Sherman Oaks'; movie Bruce Almighty refers to Title = 'Bruce Almighty'; height greater than the 50% of average height refers to Height (Inches) > multiply(avg(Height (Inches)), 0.5)
Who played the No.1 character in the credit list of the movie which was released on "2015/10/26"?
No.1 character refers to creditOrder = '1'; released on "2015/10/26" refers to Release Date = '2015-10-26'
longest screen time refers to max(screentime); movie Batman refers to title = 'Batman'
PG rated refers to MPAA Rating = 'PG';  highest net worth refers to max(NetWorth)
"Michael Moscovitz" refers to Character Name = 'Michael Moscovitz'
actor's name refers to Name; as Don Altobello refers to Character Name = 'Don Altobello'; drama movie refers to Genre = 'Drama'
movie name refers to title; starring Tom Cruise refers to name = 'Tom Cruise'
African-American refers to Ethnicity = 'African American'; born on December 28 1954 refers to Date of Birth = '1954-12-28'
comedy movie refers to Genre = 'Comedy'; rating lower than 7 refers to Rating < 7; net worth greater than $375,000,000.00 refers to NetWorth > '$375,000,000.00'
played by Tom Cruise refers to name = 'Tom Cruise'; movie Born on the Fourth of July refers to title = 'Born on the Fourth of July'
male refers to gender = 'Male'; African American refers to ethnicity = 'African American'
"Gabriel Martin" refers to Character Name = 'Gabriel Martin'
What is the average rating of all the movies starring Tom Cruise?
starring Tom Cruise refers to name = 'Tom Cruise'; average rating = divide(sum(rating where name = 'Tom Cruise'), count(movieid where name = 'Tom Cruise'))
role of Joker refers to character_name = 'Joker'; movie Batman refers to title = 'Batman'
movie name refers to title; character Dr. Archibald 'Moonlight' Graham refers to character_name = 'Dr. Archibald 'Moonlight' Graham'
movie name refers to title; starring Tom Cruise refers to name = 'Tom Cruise'
a budget of 15000000 refers to Budget = 15000000; rating between 7 to 8 refers to Rating BETWEEN 7 and 8
comedy movie refers to Genre = 'Comedy'; rating lower than 7 refers to Rating < 7; net worth greater than $375,000,000.00 refers to NetWorth > '$375,000,000.00'
actress refers to Gender = 'Female'; born in Sherman Oaks refers to Birth City = 'Sherman Oaks'; movie Bruce Almighty refers to Title = 'Bruce Almighty'; height greater than the 50% of average height refers to Height (Inches) > multiply(avg(Height (Inches)), 0.5)
No.2 character refers to creditOrder = '2'; movie "American Hustle" refers to Title = 'American Hustle'
born in New York City refers to Birth City = 'New York City'; rating greater than 5 refers to Rating > 5
longest screen time refers to max(screentime); movie Batman refers to title = 'Batman'
Three Men and a Little Lady refers to Title = 'Three Men and a Little Lady'
What is the genre of PG rated movie starred by the actor with highest net worth?
PG rated refers to MPAA Rating = 'PG';  highest net worth refers to max(NetWorth)
male refers to gender = 'Male'; African American refers to ethnicity = 'African American'
actress refers to Gender = 'Female'; born in Sherman Oaks refers to Birth City = 'Sherman Oaks'; movie Bruce Almighty refers to Title = 'Bruce Almighty'; height greater than the 50% of average height refers to Height (Inches) > multiply(avg(Height (Inches)), 0.5)
movie name refers to title; character Dr. Archibald 'Moonlight' Graham refers to character_name = 'Dr. Archibald 'Moonlight' Graham'
played by Tom Cruise refers to name = 'Tom Cruise'; movie Born on the Fourth of July refers to title = 'Born on the Fourth of July'
starring Tom Cruise refers to name = 'Tom Cruise'; best quality refers to max(rating)
birthday refers to Date of Birth; "Sully" refers to Character Name = 'Sully'
comedy movie refers to Genre = 'Comedy'; rating lower than 7 refers to Rating < 7; net worth greater than $375,000,000.00 refers to NetWorth > '$375,000,000.00'
MPAA rating = 'G' means General audiences; MPAA rating = 'PG' means Parental guidance suggested; MPAA rating = 'R'means Restricted; MPAA rating = 'X' means No one under 17 admitted
role of Joker refers to character_name = 'Joker'; movie Batman refers to title = 'Batman'
'suggested by parental guidance' refers to mpaa_rating = 'PG'
Show the birth city of the actor who played "Gabriel Martin".
"Gabriel Martin" refers to Character Name = 'Gabriel Martin'
PG rated refers to MPAA Rating = 'PG';  highest net worth refers to max(NetWorth)
MPAA rating = 'G' means General audiences; MPAA rating = 'PG' means Parental guidance suggested; MPAA rating = 'R'means Restricted; MPAA rating = 'X' means No one under 17 admitted
male refers to gender = 'Male'; African American refers to ethnicity = 'African American'
No.2 character refers to creditOrder = '2'; movie "American Hustle" refers to Title = 'American Hustle'
birthday refers to Date of Birth; "Sully" refers to Character Name = 'Sully'
Three Men and a Little Lady refers to Title = 'Three Men and a Little Lady'
longest screen time refers to max(screentime); movie Batman refers to title = 'Batman'
played by Tom Cruise refers to name = 'Tom Cruise'
born in New York City refers to Birth City = 'New York City'; rating greater than 5 refers to Rating > 5
played by Tom Cruise refers to name = 'Tom Cruise'; movie Born on the Fourth of July refers to title = 'Born on the Fourth of July'
List down the movie ID of movie with a budget of 15000000 and a rating between 7 to 8.
a budget of 15000000 refers to Budget = 15000000; rating between 7 to 8 refers to Rating BETWEEN 7 and 8
African-American refers to Ethnicity = 'African American'; born on December 28 1954 refers to Date of Birth = '1954-12-28'
male refers to Gender = 'Male'; born in USA refers to Birth Country = 'USA'; Ghost refers to Title = 'Ghost'
movie name refers to title; starring Tom Cruise refers to name = 'Tom Cruise'
No.1 character refers to creditOrder = '1'; released on "2015/10/26" refers to Release Date = '2015-10-26'
born in New York City refers to Birth City = 'New York City'; rating greater than 5 refers to Rating > 5
played by Tom Cruise refers to name = 'Tom Cruise'
role of Joker refers to character_name = 'Joker'; movie Batman refers to title = 'Batman'
Three Men and a Little Lady refers to Title = 'Three Men and a Little Lady'
"Gabriel Martin" refers to Character Name = 'Gabriel Martin'
movie name refers to title; character Dr. Archibald 'Moonlight' Graham refers to character_name = 'Dr. Archibald 'Moonlight' Graham'
List the top 5 most-rented films.
film refers to title; most rented refers to MAX(inventory_id)
the most customers refers to MAX(COUNT(customer_id))
category refers to name; BABY HALL film refers to title = 'BABY HALL'
category refers to name; film "Beach Heartbreakers" refers to title = 'BEACH HEARTBREAKERS'
rented at 12:27:27 on 2005/7/28 refers to rental_date = '2005-07-28 12:27:27'
category refers to name; rented in February 2006 refers to year(rental_date) = 2006 and month (rental_rate) = 2
the total payment amount refers to sum(amount)
longest duration of film refers to Max(length)
full name refers to first_name, last_name; actor who starred in the most movies refers to actor_id where Max(Count(film_id))
highest replacement cost refers to Max(replacement_cost)
total payment = sum(amount)
What is the description of the film Artist Coldblooded?
"ARTIST COLDBLOODED" is the title of film
"STREETCAR INTENTIONS" is the title of film; actor's names refers to first_name, last_name
Drama' is a name of a category; calculation = DIVIDE(SUM(length < 100 AND name = 'Drama'), COUNT(film_id)) * 100
PG-13 rated movie refers to rating = 'PG-13'; average rental rate = avg(rental_rate)
"ACADEMY DINOSAUR" is the title of film; language refers to language.name
first 10 rental refers to rental id between 1 and 10; total rental payment refers to sum(amount)
'Destiny Saturday' refers to title = 'DESTINY SATURDAY'; length = subtract(return_date, rental_date)
"Horror" is the name of category
"UPRISING UPTOWN" is the title of film
a duration of 100 minutes and below refers to length < 100
category refers to name; most number of films refers to Max(Count(film_id))
Calculate the average payment amount per customer.
average payment refers to AVG(amount)
Drama' is a name of a category; calculation = DIVIDE(SUM(length < 100 AND name = 'Drama'), COUNT(film_id)) * 100
"BLANKET BEVERLY" is the title of film; rented times refers to count(rental_id)
children's film refers to name = 'Children'; average price per day of most expensive film = Max(Divide(rental_rate, rental_duration))
length duration of 113 minutes refers to length = 113; 'Kirk Jovovich' is a full name of an actor; full name refers to first_name, last_name
'Dan' is a first_name of an actor
percentage = divide(sum(amount where first_name = 'MARGARET' and last_name = 'MOORE'), sum(amount)) * 100%
full name refers to first_name, last_name; types of movies means category of movies; rented more than five types of movies refers to COUNT(film_category) > 5
film refers to title of the film; 'Penelope Guiness' is a full name of an actor; full name refers to first_name, last_name
documentary film refers to name = 'documentary'; longest length refers to max(length)
'Texas' is a district
Give the name of the manager staff for store No.1.
store no. 1 refers to store_id = 1; name refers to first_name, last_name
screen length of more than 120 minutes refers to length > 120; category of horror refers to category.name = 'Horror'; percentage = divide(count(title where length > 120 and category.name = 'Horror'), count(title)) * 100%
film refers to title; rent for more than 5 days refers to rental_duration > 5
the total amount = sum(amount); in June 2005 refers to payment_date like '2005-06%'
'Nick Wahlberg' is a full name of an actor; full name refers to first_name, last_name; G rating refers to rating = 'G'; calculation = DIVIDE(SUM(rating = 'G'), SUM(rating)) * 100
movies with the most price per day refers to MAX(rental_rate)
the largest number of films refers to MAX(rental_id)
'children' AND 'action' are names of a category; Calculation = SUBTRACT(AVG('children'), AVG('action'))
postal code that begins with 76 refers to postal_code like '76%'
'Hector Poinexter' is a full name of a customer; full name refers to first_name, last_name;
film refers to title; rated as PG-13 refers to rating = 'PG-13'
What are the address numbers that are located in Gansu district?
address numbers refers to address_id;
'Wyoming Storm' refers to title = 'WYOMING STORM'
rental price per day refers to DIVIDE(rental_price, rental_duration); 'Airplane Sierra' is a title of a film
total payment = sum(amount)
77 min film refers to length = 77
"BLANKET BEVERLY" is the title of film; rented times refers to count(rental_id)
store no. 1 refers to store_id = 1; name refers to first_name, last_name
rented on 26th May 2005 refers to rental_date = '2005-05-26'; return on 30th May, 2005 refers to return_date = '2005-05-30'; number of rented film refers to Count (rental_id)
Drama' is a name of a category; calculation = DIVIDE(SUM(length < 100 AND name = 'Drama'), COUNT(film_id)) * 100
"[email protected]" is the email; owner refers to customer; full name refers to first_name, last_name
"STREETCAR INTENTIONS" is the title of film; actor's names refers to first_name, last_name
Among the adult films, how many of them have a rental duration of fewer than 4 days?
adult film refers to rating = 'NC-17'; rental duration of fewer than 4 days refers to rental_duration < 4
store no. 1 refers to store_id = 1; name refers to first_name, last_name
the total amount = sum(amount)
screen length of more than 120 minutes refers to length > 120; category of horror refers to category.name = 'Horror'; percentage = divide(count(title where length > 120 and category.name = 'Horror'), count(title)) * 100%
postal code that begins with 76 refers to postal_code like '76%'
"1411 Lillydate Drive" is the address
"science fiction" is the name of category; most common special features refers to Max(frequency(special_features))
higher replacement cost refers to Max(replacement_cost); 'ACE GOLDFIINGER' and 'ACADEMY DINOSAUR' are both the title of film
"UPRISING UPTOWN" is the title of film
'Wyoming Storm' refers to title = 'WYOMING STORM'
inactive refers to active = 0; percent = Divide (Count (customer_id where active = 0), Count(customer_id)) * 100
List down film titles from id 1 to 10.
id 1 to 10 refers to film_id BETWEEN 1 and 10
indian refers to country = 'India'; Italian refers to country = 'Italy'; times = Divide(Count(city where country = 'India), Count(city where country = 'Italy'))
full name refers to first_name, last_name; "Alabama Devil" refers to title = 'ALABAMA DEVIL'
length longer than 100 refers to length > 100
"BLANKET BEVERLY" is the title of film; rented times refers to count(rental_id)
"WORKING MICROCOSMOS" is the title of film; category refers to name
postal code that begins with 76 refers to postal_code like '76%'
film refers to title; rent for more than 5 days refers to rental_duration > 5
rental rate of $2.99 refers to rental_rate = 2.99; film refers to title
longest duration of film refers to Max(length)
active refers to active = 1
Please list the full names of all the actors that have starred in the film with the highest replacement cost.
highest replacement cost refers to Max (replacement_cost); full name refers to first_name, last_name
the most customers refers to MAX(COUNT(customer_id))
category refers to name; most number of films refers to Max(Count(film_id))
full name refers to first_name, last_name; 'comedy' is a name of a category;
highest replacement cost refers to Max(replacement_cost)
the total payment amount refers to sum(amount)
"ARTIST COLDBLOODED" is the title of film
'children' AND 'action' are names of a category; Calculation = SUBTRACT(AVG('children'), AVG('action'))
"UPRISING UPTOWN" is the title of film
documentary film refers to category.name = 'documentary'; rated PG-13 refers to rating = 'PG-13'
"science fiction" is the name of category; most common special features refers to Max(frequency(special_features))
Please list any two films that Penelope Guiness acted in.
film refers to title of the film; 'Penelope Guiness' is a full name of an actor; full name refers to first_name, last_name
full name refers to first_name, last_name; "ACADEMY DINOSAUR" is the title of film
number of address refers to address_id
actor refers to first_name, last_name; film "Bound Cheaper" refers to title = 'BOUND CHEAPER'
horror film refers to category.name = 'Horror'; English film refers to language.name = 'English'; percentage = divide(count(film_id where category.name = 'Horror'), count(film_id)) where language.name = 'English' * 100%
from 5/30/2005 at 3:43:54 AM to 7/31/2005 at 10:08:29 PM refers to payment_date between '2005-05-30 03:43:54' and '2005-07-31 10:08:29'
"Horror" is the name of category; PG-13 rated refers to rating = 'PG-13'
in 2006 refers to release_year = 2006; 98 min duration refers to length = 98; number of actors refers to count(actor_id)
'children' AND 'action' are names of a category; Calculation = SUBTRACT(AVG('children'), AVG('action'))
screen length of more than 120 minutes refers to length > 120; category of horror refers to category.name = 'Horror'; percentage = divide(count(title where length > 120 and category.name = 'Horror'), count(title)) * 100%
inactive refers to active = 0; percent = Divide (Count (customer_id where active = 0), Count(customer_id)) * 100
From 5/30/2005 at 3:43:54 AM to 7/31/2005 at 10:08:29 PM, how many times did Susan Wilson pay for film rentals?
from 5/30/2005 at 3:43:54 AM to 7/31/2005 at 10:08:29 PM refers to payment_date between '2005-05-30 03:43:54' and '2005-07-31 10:08:29'
full name refers to first_name, last_name; record created in 2006 refers to create_date = 2006; inactive customers refers to active = 0
actor refers to first_name, last_name; ANONYMOUS HUMAN refers to title = 'ANONYMOUS HUMAN'
"India" is the country; name refers to first_name, last_name
restricted means rating = 'R'; length is 71 minutes refers to length = 71; replacement cost is $29.99 refers to replacement_cost = 29.99
email address refers to email
'Nick Wahlberg' is a full name of an actor; full name refers to first_name, last_name; G rating refers to rating = 'G'; calculation = DIVIDE(SUM(rating = 'G'), SUM(rating)) * 100
average payment refers to AVG(amount)
full name refers to first_name, last_name; more than 10$ refers to amount > 10
for General Audiences means rating = 'G'; Parental Guidance Suggested means rating = 'PG'; Parents Strongly Cautioned means rating = 'PG-13'; Restricted means rating = 'R'; Adults Only means rating = 'NC-17'; action film refers to category.name = 'action'
active employee refers to active = 1; full name refers to first_name, last_name
How many rental IDs belong to Eleanor Hunt?
'Eleanor Hunt' is the full name of a customer; full name refers to first_name, last_name
the most common first name refers to MAX(COUNT(first_name))
category refers to name; BABY HALL film refers to title = 'BABY HALL'
the total payment amount refers to sum(amount)
full name refers to first_name, last_name; "ACADEMY DINOSAUR" is the title of film
rented at 12:27:27 on 2005/7/28 refers to rental_date = '2005-07-28 12:27:27'
"science fiction" is the name of category; most common special features refers to Max(frequency(special_features))
highest replacement cost refers to Max(replacement_cost)
film refers to title; rated as PG-13 refers to rating = 'PG-13'
screen length of more than 120 minutes refers to length > 120; category of horror refers to category.name = 'Horror'; percentage = divide(count(title where length > 120 and category.name = 'Horror'), count(title)) * 100%
full name refers to first_name, last_name; "Alabama Devil" refers to title = 'ALABAMA DEVIL'
What is the phone number of address No.72?
address no. 72 refers to address_id = 72; phone number refers to phone
children's film refers to name = 'Children'; average price per day of most expensive film = Max(Divide(rental_rate, rental_duration))
"1411 Lillydate Drive" is the address
rental duration of 7 refers to rental_duration = 7; comedies refers to name = 'Comedy'
most common category refers to MAX(COUNT(category.name))
film refers to title; rated as PG refers to rating = 'PG'
from 5/30/2005 at 3:43:54 AM to 7/31/2005 at 10:08:29 PM refers to payment_date between '2005-05-30 03:43:54' and '2005-07-31 10:08:29'
active refers to active = 1
"Horror" is the name of category; PG-13 rated refers to rating = 'PG-13'
store no. 1 refers to store_id = 1; address location refers to address, address2, district
rental duration of over 6 days refers to rental_duration > 6
Provide the cast for the film "Jason trap".
'Jason trap' is a title of a film; cast means actor; actor refers to first_name, last_name
full name refers to first_name, last_name; drama is a category of a film; acted the most in a movies refers to MAX(COUNT(film_id))
rental price per day refers to DIVIDE(rental_price, rental_duration); 'Airplane Sierra' is a title of a film
"United States" is the country
most common category refers to MAX(COUNT(category.name))
full name refers to first_name, last_name; more than 10$ refers to amount > 10
full name refers to first_name, last_name; average payment refers to AVG(amount); payments were greater than 70% of the average refers to amount > (AVG(amount) MULTIPLY 0.7)
horror is a name of film category; calculation = DIVIDE(COUNT('horror'), COUNT(category_id)) * 100
active refers to active = 1
'Ella Oliver' is a full name of a customer; full name refers to first_name, last_name; rental hired in June 2016 refers to rental_date BETWEEN '2005-06-01' AND '2005-06-30'
"STREETCAR INTENTIONS" is the title of film; actor's names refers to first_name, last_name
How many films with the rental rate of $2.99 have the special feature of "Deleted Scenes"?
rental rate of $2.99 refers to rental_rate = 2.99; film refers to title
PG-13 rated movie refers to rating = 'PG-13'; average rental rate = avg(rental_rate)
'Russell Close' is a full name of an actor; full name refers to first_name, last_name; duration between 110 to 150 minutes refers to length BETWEEN 110 AND 150
full name refers to first_name, last_name; customer who rented the most film refers to Max(count(rental_id))
payments made refers to amount; throughout the month of August 2005 refers to payment_date like '2005-08%'
"Documentary" is the name of category; film name refers to title
email address refers to email
the lowest movie rental refers to min(rental_rate); the horror category refers to category.name = 'Horror'
length duration of 113 minutes refers to length = 113; 'Kirk Jovovich' is a full name of an actor; full name refers to first_name, last_name
first 10 rental refers to rental id between 1 and 10; total rental payment refers to sum(amount)
in 2006 refers to release_year = 2006; 98 min duration refers to length = 98; number of actors refers to count(actor_id)
What is the percentage more for the rental payment for store No.2 than store No.1?
store no. 1 refers to store_id = 1; store no.2 refers to store_id = 2; rental payment refers to amount; percent more = Divide (Subtract(amount where store_id = 2, amount where store_id = 1), amount where store_id = 1) *100
'children' AND 'action' are names of a category; Calculation = SUBTRACT(AVG('children'), AVG('action'))
'Diane Collins' is a full name of a customer; full name refers to first_name, last_name
longest duration of film refers to Max(length)
movie name refers to title; the most recent refers to max(rental_date)
actors with highest number of films refers to actor_id with Max(Count(film_id)); full name refers to first_name, last_name; average number of film = Divide (Count(film_id), 5)
average duration time = AVG(length)
"Clarksville" is the city;
released in 2006 refers to release_year = 2006
'Destiny Saturday' refers to title = 'DESTINY SATURDAY'; length = subtract(return_date, rental_date)
'Texas' is a district
State the documentary film titles with longest length.
documentary film refers to name = 'documentary'; longest length refers to max(length)
full name refers to first_name, last_name; the highest rental rate refers to max(rental_rate)
forename means first_name; full name refers to first_name, last_name
'Wyoming Storm' refers to title = 'WYOMING STORM'
number of address refers to address_id
name of movie refers to title
full name refers to first_name, last_name; customer who rented the most film refers to Max(count(rental_id))
full name refers to first_name, last_name; more than 10$ refers to amount > 10
178 min long refers to length = '178'
"United States" is the country
category refers to name; most number of films refers to Max(Count(film_id))
Which actor acted in ANONYMOUS HUMAN?
actor refers to first_name, last_name; ANONYMOUS HUMAN refers to title = 'ANONYMOUS HUMAN'
movies with the most price per day refers to MAX(rental_rate)
id movies refers to film_id
higher replacement cost refers to Max(replacement_cost); 'ACE GOLDFIINGER' and 'ACADEMY DINOSAUR' are both the title of film
indian refers to country = 'India'; Italian refers to country = 'Italy'; times = Divide(Count(city where country = 'India), Count(city where country = 'Italy'))
'Nick Wahlberg' is a full name of an actor; full name refers to first_name, last_name; G rating refers to rating = 'G'; calculation = DIVIDE(SUM(rating = 'G'), SUM(rating)) * 100
"UPRISING UPTOWN" is the title of film
duration between 100 to 110 minutes refers to length between 100 and 110
address numbers refers to address_id;
customer ID of 100 and below refers to customer_id < 100
PG-13 is a rating; calculation = DIVIDE(SUM(rating = PG-13), SUM(rating)) * 100
List down the films titles with the lowest replacement cost under the general audiences rating.
lowest replacement cost refers to Min(replacement_cost); under general audience rating refers to rating = G
number of address refers to address_id
'children' AND 'action' are names of a category; Calculation = SUBTRACT(AVG('children'), AVG('action'))
result = subtract(count(film_id where store_id = 1), count(film_id where store_id = 2))
'Dan' is a first_name of an actor
active refers to active = 1
'Nick Wahlberg' is a full name of an actor; full name refers to first_name, last_name; G rating refers to rating = 'G'; calculation = DIVIDE(SUM(rating = 'G'), SUM(rating)) * 100
full name refers to first_name, last_name; average payment refers to AVG(amount); payments were greater than 70% of the average refers to amount > (AVG(amount) MULTIPLY 0.7)
address numbers refers to address_id;
"United States" is the country
first 10 rental refers to rental id between 1 and 10; total rental payment refers to sum(amount)
What are the names of the movies which Laura Brody starred in?
name of movie refers to title
inactive customers refers to active = 0;
horror is a name of film category; calculation = DIVIDE(COUNT('horror'), COUNT(category_id)) * 100
movie name refers to title; the most recent refers to max(rental_date)
longest duration of film refers to Max(length)
"CHOCOLATE DUCK" is the title of film; full name refers to first_name, last_name
the most customers refers to MAX(COUNT(customer_id))
R rating refers to rating = 'R'
released in 2006 refers to release_year = 2006; rated Adults Only refers to rating = 'NC-17'
PG-13 rated movie refers to rating = 'PG-13'; average rental rate = avg(rental_rate)
lowest replacement cost refers to Min(replacement_cost); under general audience rating refers to rating = G
Please list the titles of any three action films.
action is a name of category
'Destiny Saturday' refers to title = 'DESTINY SATURDAY'; length = subtract(return_date, rental_date)
actor refers to first_name, last_name; film "Bound Cheaper" refers to title = 'BOUND CHEAPER'
store 1 refers to store_id = 1; average rent amount refers to AVG(amount); calculation = DIVIDE(amount > AVG(amount), COUNT(customer_id)) * 100
first 10 rental refers to rental id between 1 and 10; total rental payment refers to sum(amount)
Italian is name of language; special featured with deleted scenes refers to special_features = 'deleted scenes'
"Documentary" is the name of category; number of film refers to Count(film_id)
'Dan' is a first_name of an actor
for General Audiences means rating = 'G'; Parental Guidance Suggested means rating = 'PG'; Parents Strongly Cautioned means rating = 'PG-13'; Restricted means rating = 'R'; Adults Only means rating = 'NC-17'; action film refers to category.name = 'action'
total payment = sum(amount)
inactive customers refers to active = 0;
How much is the total rental payment for the first 10 rentals?
first 10 rental refers to rental id between 1 and 10; total rental payment refers to sum(amount)
'children' AND 'action' are names of a category; Calculation = SUBTRACT(AVG('children'), AVG('action'))
in 2006 refers to release_year = 2006; 98 min duration refers to length = 98; number of actors refers to count(actor_id)
category refers to name; BABY HALL film refers to title = 'BABY HALL'
"science fiction" is the name of category; most common special features refers to Max(frequency(special_features))
'Mary Keitel' AND 'Angela Witherspoon' are full name of actors; full name refers to FirstName, LastName; calculation = DIVIDE(SUBTRACT(SUM('Mary Keitel'), SUM('Angela Witherspoon')), SUM('Angela Witherspoon')) * 100
'Agent Truman' is a title of a film; category refers to name
full name refers to first_name, last_name; "ACADEMY DINOSAUR" is the title of film
store 1 refers to store_id = 1; average rent amount refers to AVG(amount); calculation = DIVIDE(amount > AVG(amount), COUNT(customer_id)) * 100
duration over 120 minutes refers to length > 120; action category refers to category.name = 'action'
full name refers to first_name, last_name
In store ID 2, how many of the films are R rating?
R rating refers to rating = 'R'
active refers to active = 1
"STREETCAR INTENTIONS" is the title of film; actor's names refers to first_name, last_name
rental duration of over 6 days refers to rental_duration > 6
postal code that begins with 76 refers to postal_code like '76%'
adult film refers to rating = 'NC-17'; rental duration of fewer than 4 days refers to rental_duration < 4
active employee refers to active = 1; full name refers to first_name, last_name
rented at 12:27:27 on 2005/7/28 refers to rental_date = '2005-07-28 12:27:27'
released in 2006 refers to release_year = 2006; rated Adults Only refers to rating = 'NC-17'
higher replacement cost refers to Max(replacement_cost); 'ACE GOLDFIINGER' and 'ACADEMY DINOSAUR' are both the title of film
full name refers to first_name, last_name; the highest rental rate refers to max(rental_rate)
Find and list the full name of customers who rented more than five types of movies.
full name refers to first_name, last_name; types of movies means category of movies; rented more than five types of movies refers to COUNT(film_category) > 5
movie name refers to title; the most recent refers to max(rental_date)
average payment refers to AVG(amount)
full name refers to first_name, last_name; drama is a category of a film; acted the most in a movies refers to MAX(COUNT(film_id))
documentary' is a name of a category; calculation = DIVIDE(SUM(name = 'Documentary'), COUNT(film_id)) * 100
category name refers to category.name; price per day is more than $30 refers to multiply(rental_duration, rental_rate) > 30
the most common first name refers to MAX(COUNT(first_name))
active refers to active = 1
longest duration of film refers to Max(length)
full name refers to first_name, last_name; 'comedy' is a name of a category;
actor refers to first_name, last_name; film "Bound Cheaper" refers to title = 'BOUND CHEAPER'
Give me the title and category name of films whose price per day is more than $30. Please include their special features.
category name refers to category.name; price per day is more than $30 refers to multiply(rental_duration, rental_rate) > 30
full name refers to first_name, last_name; drama is a category of a film; acted the most in a movies refers to MAX(COUNT(film_id))
'Texas' is a district
payments made refers to amount; throughout the month of August 2005 refers to payment_date like '2005-08%'
surname means last_name;
result = subtract(count(film_id where store_id = 1), count(film_id where store_id = 2))
animation film refers to category.name = 'Animation'; total rental rate = sum(rental_rate)
active refers to active = 1; '1795 Santiago de Compostela Way' is an address; Texas is a district; who refers to first_name, last_name
film refers to title; rated as PG-13 refers to rating = 'PG-13'
inactive refers to active = 0; percent = Divide (Count (customer_id where active = 0), Count(customer_id)) * 100
the total payment amount refers to sum(amount)
What are the full names of all the active employees?
active employee refers to active = 1; full name refers to first_name, last_name
more than 2 special features refers to Count(special_features) > 2
film refers to title of the film; 'Penelope Guiness' is a full name of an actor; full name refers to first_name, last_name
name refers to first_name, last_name
adult film refers to rating = 'NC-17'; rental duration of fewer than 4 days refers to rental_duration < 4
"Horror" is the name of category
film refers to title; rated as PG refers to rating = 'PG'
duration over 120 minutes refers to length > 120; action category refers to category.name = 'action'
store no. 1 refers to store_id = 1; address location refers to address, address2, district
non-active clients refers to active = 0; not returning a rented material refers to rental_date is null
postal code that begins with 76 refers to postal_code like '76%'
How many percent of customers were inactive?
inactive refers to active = 0; percent = Divide (Count (customer_id where active = 0), Count(customer_id)) * 100
the biggest amount refers to max(amount)
full name refers to first_name, last_name; acted in the most number of movies refers to MAX(COUNT(film_id))
"science fiction" is the name of category; most common special features refers to Max(frequency(special_features))
highest replacement cost refers to Max (replacement_cost)
'Texas' is a district
'Dan' is a first_name of an actor
actor refers to first_name, last_name; ANONYMOUS HUMAN refers to title = 'ANONYMOUS HUMAN'
'Nick Wahlberg' is a full name of an actor; full name refers to first_name, last_name; G rating refers to rating = 'G'; calculation = DIVIDE(SUM(rating = 'G'), SUM(rating)) * 100
adult film refers to rating = 'NC-17'; rental duration of fewer than 4 days refers to rental_duration < 4
rental duration of 7 refers to rental_duration = 7; comedies refers to name = 'Comedy'
How many actors played a role in the 2006 film whose rental duration is 7 days, rental rate is 4.99 and is 98 minutes duration?
in 2006 refers to release_year = 2006; 98 min duration refers to length = 98; number of actors refers to count(actor_id)
77 min film refers to length = 77
"India" is the country; name refers to first_name, last_name
full name refers to first_name, last_name; types of movies means category of movies; rented more than five types of movies refers to COUNT(film_category) > 5
name refers to first_name, last_name
full name refers to first_name, last_name; the biggest amount refers to max(amount)
Algeria is a country
id 1 to 10 refers to film_id BETWEEN 1 and 10
PG-13 is a rating; calculation = DIVIDE(SUM(rating = PG-13), SUM(rating)) * 100
full name refers to first_name, last_name; customer who rented the most film refers to Max(count(rental_id))
"UPRISING UPTOWN" is the title of film
Write down the inventories' IDs and actors' names of "STREETCAR INTENTIONS".
"STREETCAR INTENTIONS" is the title of film; actor's names refers to first_name, last_name
active employee refers to active = 1; full name refers to first_name, last_name
category refers to name; rented in February 2006 refers to year(rental_date) = 2006 and month (rental_rate) = 2
full name refers to first_name, last_name; average payment refers to AVG(amount); payments were greater than 70% of the average refers to amount > (AVG(amount) MULTIPLY 0.7)
full name refers to first_name, last_name; acted in the most number of movies refers to MAX(COUNT(film_id))
English is a name of a language; for adults only refers to rating = 'NC-17'
film refers to title of the film; 'Penelope Guiness' is a full name of an actor; full name refers to first_name, last_name
'Destiny Saturday' refers to title = 'DESTINY SATURDAY'; length = subtract(return_date, rental_date)
film refers to title; rated as PG refers to rating = 'PG'
the largest number of films refers to MAX(rental_id)
adult film refers to rating = 'NC-17'; rental duration of fewer than 4 days refers to rental_duration < 4
How many films have a rental duration of over 6 days?
rental duration of over 6 days refers to rental_duration > 6
'children' AND 'action' are names of a category; Calculation = SUBTRACT(AVG('children'), AVG('action'))
film refers to title; rated as PG refers to rating = 'PG'
the most customers refers to MAX(COUNT(customer_id))
store number 2 refers to store_id = 2; where is a store located refers to address, address2, district
movie name refers to title; the most recent refers to max(rental_date)
'Mary Keitel' AND 'Angela Witherspoon' are full name of actors; full name refers to FirstName, LastName; calculation = DIVIDE(SUBTRACT(SUM('Mary Keitel'), SUM('Angela Witherspoon')), SUM('Angela Witherspoon')) * 100
address numbers refers to address_id;
animation film refers to category.name = 'Animation'; total rental rate = sum(rental_rate)
more than 2 special features refers to Count(special_features) > 2
rented on 24th May 2005 refers to rental_date = '2005-05-24%'
Among the films starred by Nick Wahlberg, what is the percentage of the films with G rating?
'Nick Wahlberg' is a full name of an actor; full name refers to first_name, last_name; G rating refers to rating = 'G'; calculation = DIVIDE(SUM(rating = 'G'), SUM(rating)) * 100
category refers to name; film "Beach Heartbreakers" refers to title = 'BEACH HEARTBREAKERS'
longest duration of film refers to Max(length)
77 min film refers to length = 77
restricted refers to rating = 'R'; highest number of film refers to Max(Count(film_id)); full name refers to first_name, last_name
the most common first name refers to MAX(COUNT(first_name))
the biggest amount refers to max(amount)
category refers to name; most number of films refers to Max(Count(film_id))
inactive refers to active = 0; percent = Divide (Count (customer_id where active = 0), Count(customer_id)) * 100
'Ella Oliver' is a full name of a customer; full name refers to first_name, last_name; rental hired in June 2016 refers to rental_date BETWEEN '2005-06-01' AND '2005-06-30'
rental rate of $2.99 refers to rental_rate = 2.99; film refers to title
Calculate the percentage of total payment of MARGARET MOORE customers.
percentage = divide(sum(amount where first_name = 'MARGARET' and last_name = 'MOORE'), sum(amount)) * 100%
'Jason trap' is a title of a film; cast means actor; actor refers to first_name, last_name
result = subtract(count(film_id where store_id = 1), count(film_id where store_id = 2))
category refers to name; film "Beach Heartbreakers" refers to title = 'BEACH HEARTBREAKERS'
active employee refers to active = 1; full name refers to first_name, last_name
store no. 1 refers to store_id = 1; address location refers to address, address2, district
active refers to active = 1
film refers to title; rated as PG refers to rating = 'PG'
'Ella Oliver' is a full name of a customer; full name refers to first_name, last_name; rental hired in June 2016 refers to rental_date BETWEEN '2005-06-01' AND '2005-06-30'
the biggest amount refers to max(amount)
full name refers to first_name, last_name; customer who rented the most film refers to Max(count(rental_id))
Please give the full name of the customer that have rented the most films.
full name refers to first_name, last_name; customer who rented the most film refers to Max(count(rental_id))
category refers to name; rented in February 2006 refers to year(rental_date) = 2006 and month (rental_rate) = 2
length duration of 113 minutes refers to length = 113; 'Kirk Jovovich' is a full name of an actor; full name refers to first_name, last_name
film refers to title of the film; 'Penelope Guiness' is a full name of an actor; full name refers to first_name, last_name
store number 2 refers to store_id = 2; where is a store located refers to address, address2, district
'children' AND 'action' are names of a category; Calculation = SUBTRACT(AVG('children'), AVG('action'))
'Texas' is a district
name of movie refers to title
'Mary Keitel' AND 'Angela Witherspoon' are full name of actors; full name refers to FirstName, LastName; calculation = DIVIDE(SUBTRACT(SUM('Mary Keitel'), SUM('Angela Witherspoon')), SUM('Angela Witherspoon')) * 100
forename means first_name; full name refers to first_name, last_name
R rating refers to rating = 'R'
Sherri Rhodes rented a film at 12:27:27 on 2005/7/28, when did she/he return that film?
rented at 12:27:27 on 2005/7/28 refers to rental_date = '2005-07-28 12:27:27'
non-active clients refers to active = 0; not returning a rented material refers to rental_date is null
Drama' is a name of a category; calculation = DIVIDE(SUM(length < 100 AND name = 'Drama'), COUNT(film_id)) * 100
forename means first_name; full name refers to first_name, last_name
Algeria is a country
the most common first name refers to MAX(COUNT(first_name))
more than 2 special features refers to Count(special_features) > 2
R rating refers to rating = 'R'
full name refers to first_name, last_name; 'comedy' is a name of a category;
category refers to name; rented in February 2006 refers to year(rental_date) = 2006 and month (rental_rate) = 2
'Agent Truman' is a title of a film; category refers to name
Calculate the total amount paid by Stephanie Mitchell for film rentals in June 2005.
the total amount = sum(amount); in June 2005 refers to payment_date like '2005-06%'
surname means last_name;
"STREETCAR INTENTIONS" is the title of film; actor's names refers to first_name, last_name
classic movie refers to name = 'Classics'; rental rate of less than 1 refers to rental_rate < 1; movie refers to film_id
'Diane Collins' is a full name of a customer; full name refers to first_name, last_name
screen length of more than 120 minutes refers to length > 120; category of horror refers to category.name = 'Horror'; percentage = divide(count(title where length > 120 and category.name = 'Horror'), count(title)) * 100%
indian refers to country = 'India'; Italian refers to country = 'Italy'; times = Divide(Count(city where country = 'India), Count(city where country = 'Italy'))
"Clarksville" is the city;
higher replacement cost refers to Max(replacement_cost); 'ACE GOLDFIINGER' and 'ACADEMY DINOSAUR' are both the title of film
more than 2 special features refers to Count(special_features) > 2
customer ID of 100 and below refers to customer_id < 100
Tell the special features of the film Uprising Uptown.
"UPRISING UPTOWN" is the title of film
a duration of 100 minutes and below refers to length < 100
name of movie refers to title
the most common first name refers to MAX(COUNT(first_name))
adult film refers to rating = 'NC-17'; rental duration of fewer than 4 days refers to rental_duration < 4
first 10 rental refers to rental id between 1 and 10; total rental payment refers to sum(amount)
"1411 Lillydate Drive" is the address
from 5/30/2005 at 3:43:54 AM to 7/31/2005 at 10:08:29 PM refers to payment_date between '2005-05-30 03:43:54' and '2005-07-31 10:08:29'
"Gina DeGeneres" and "Penelope Guinness" are both full name of actor; times number of film = Divide (Count (film_id where first_name = 'GINA' and last_name = 'DEGENERES'), Count(film_id where first_name = 'PENELOPE' and last_name = 'GUINESS'))
'Jason trap' is a title of a film; cast means actor; actor refers to first_name, last_name
"WORKING MICROCOSMOS" is the title of film; category refers to name
Please list the top ten movies with the most price per day in descending order of price per day.
movies with the most price per day refers to MAX(rental_rate)
"Documentary" is the name of category; film name refers to title
full name refers to first_name, last_name; actor who starred in the most movies refers to actor_id where Max(Count(film_id))
id movies refers to film_id
non-active clients refers to active = 0; not returning a rented material refers to rental_date is null
77 min film refers to length = 77
returned in August, 2005 refers to year(return_date) = 2005 and month (return_date) = 8
film refers to title; least rented refers to count(min(customer_id))
the total amount = sum(amount); in June 2005 refers to payment_date like '2005-06%'
rental rate of $2.99 refers to rental_rate = 2.99; film refers to title
more than 180 min long refers to length > 180; name of film refers to title
Among the films with the longest duration, list any five title with their descriptions and special features.
longest duration of film refers to Max(length)
highest replacement cost refers to Max (replacement_cost); full name refers to first_name, last_name
'children' AND 'action' are names of a category; Calculation = SUBTRACT(AVG('children'), AVG('action'))
rental price per day refers to DIVIDE(rental_price, rental_duration); 'Airplane Sierra' is a title of a film
"Clarksville" is the city;
film refers to title; least rented refers to count(min(customer_id))
'Texas' is a district
children's film refers to name = 'Children'; average price per day of most expensive film = Max(Divide(rental_rate, rental_duration))
restricted refers to rating = 'R'; highest number of film refers to Max(Count(film_id)); full name refers to first_name, last_name
category refers to name; BABY HALL film refers to title = 'BABY HALL'
customer refers to customer_id
List the names of the films that are more than 180 minutes long.
more than 180 min long refers to length > 180; name of film refers to title
store number 2 refers to store_id = 2; where is a store located refers to address, address2, district
Who refers to first_name, last_name; the largest payment for rental refers to MAX(SUM(amount))
film refers to title; least rented refers to count(min(customer_id))
"BLANKET BEVERLY" is the title of film; rented times refers to count(rental_id)
United Arab Emirates refers to country = 'United Arab Emirates'
'Jason trap' is a title of a film; cast means actor; actor refers to first_name, last_name
duration between 100 to 110 minutes refers to length between 100 and 110
documentary' is a name of a category; calculation = DIVIDE(SUM(name = 'Documentary'), COUNT(film_id)) * 100
number of address refers to address_id
store no. 1 refers to store_id = 1; name refers to first_name, last_name
What is the full name of the actor who has the highest number of restricted films?
restricted refers to rating = 'R'; highest number of film refers to Max(Count(film_id)); full name refers to first_name, last_name
customer ID of 100 and below refers to customer_id < 100
"Documentary" is the name of category; number of film refers to Count(film_id)
full name refers to first_name, last_name; drama is a category of a film; acted the most in a movies refers to MAX(COUNT(film_id))
178 min long refers to length = '178'
full name refers to first_name, last_name; average payment refers to AVG(amount); payments were greater than 70% of the average refers to amount > (AVG(amount) MULTIPLY 0.7)
'classics' is the name of category
full name refers to first_name, last_name; "ACADEMY DINOSAUR" is the title of film
highest rental price per day refers to Max(Divide(rental_rate, rental_duration))
'Destiny Saturday' refers to title = 'DESTINY SATURDAY'; length = subtract(return_date, rental_date)
full name refers to first_name, last_name; 'comedy' is a name of a category;
Give the email address of the person who lives in "1411 Lillydale Drive".
"1411 Lillydate Drive" is the address
active refers to active = 1; '1795 Santiago de Compostela Way' is an address; Texas is a district; who refers to first_name, last_name
adult film refers to rating = 'NC-17'; rental duration of fewer than 4 days refers to rental_duration < 4
the biggest amount refers to max(amount)
category name refers to category.name; price per day is more than $30 refers to multiply(rental_duration, rental_rate) > 30
full name refers to first_name, last_name; customer who rented the most film refers to Max(count(rental_id))
payments made refers to amount; throughout the month of August 2005 refers to payment_date like '2005-08%'
rented on 24th May 2005 refers to rental_date = '2005-05-24%'
id movies refers to film_id
name of movie refers to title
average duration time = AVG(length)
The actor Dan Harris played in a 77 minute film with replacement cost of 9.99, what was the rating for that film?
77 min film refers to length = 77
category name refers to category.name; price per day is more than $30 refers to multiply(rental_duration, rental_rate) > 30
most rented movie refers to title where Max(Count(rental_id))
active employee refers to active = 1; full name refers to first_name, last_name
address numbers refers to address_id;
documentary film refers to category.name = 'documentary'; rated PG-13 refers to rating = 'PG-13'
the most customers refers to MAX(COUNT(customer_id))
'Texas' is a district
in 2006 refers to release_year = 2006; 98 min duration refers to length = 98; number of actors refers to count(actor_id)
category refers to name; BABY HALL film refers to title = 'BABY HALL'
screen length of more than 120 minutes refers to length > 120; category of horror refers to category.name = 'Horror'; percentage = divide(count(title where length > 120 and category.name = 'Horror'), count(title)) * 100%
For how many times has the customer RUTH MARTINEZ rented a film?
times of rented refers to Count(rental_id)
full name refers to first_name, last_name
'Eleanor Hunt' is the full name of a customer; full name refers to first_name, last_name
store no. 1 refers to store_id = 1; address location refers to address, address2, district
"BLANKET BEVERLY" is the title of film; rented times refers to count(rental_id)
English is a name of a language; for adults only refers to rating = 'NC-17'
indian refers to country = 'India'; Italian refers to country = 'Italy'; times = Divide(Count(city where country = 'India), Count(city where country = 'Italy'))
length refers to rental_duration; 'Dirty Ace' refers to title = 'DIRTY ACE'
'Jon Stephens' is a full name of a customer; full name refers to first_name, last_name;
rental rate of $2.99 refers to rental_rate = 2.99; film refers to title
children's film refers to name = 'Children'; average price per day of most expensive film = Max(Divide(rental_rate, rental_duration))
How many id movies have category id 11?
id movies refers to film_id
"1411 Lillydate Drive" is the address
film refers to title; most rented refers to MAX(inventory_id)
'Texas' is a district
full name refers to first_name, last_name; types of movies means category of movies; rented more than five types of movies refers to COUNT(film_category) > 5
category refers to name; film "Beach Heartbreakers" refers to title = 'BEACH HEARTBREAKERS'
average payment refers to AVG(amount)
"United States" is the country
'Mary Keitel' AND 'Angela Witherspoon' are full name of actors; full name refers to FirstName, LastName; calculation = DIVIDE(SUBTRACT(SUM('Mary Keitel'), SUM('Angela Witherspoon')), SUM('Angela Witherspoon')) * 100
'Hector Poinexter' is a full name of a customer; full name refers to first_name, last_name;
'classics' is the name of category
Please give the full name of the customer who had made the biggest amount of payment in one single film rental.
full name refers to first_name, last_name; the biggest amount refers to max(amount)
customer ID of 100 and below refers to customer_id < 100
actor refers to first_name, last_name; ANONYMOUS HUMAN refers to title = 'ANONYMOUS HUMAN'
email address refers to email
for General Audiences means rating = 'G'; Parental Guidance Suggested means rating = 'PG'; Parents Strongly Cautioned means rating = 'PG-13'; Restricted means rating = 'R'; Adults Only means rating = 'NC-17'; action film refers to category.name = 'action'
address no. 72 refers to address_id = 72; phone number refers to phone
action is a name of category
'Agent Truman' is a title of a film; category refers to name
"Gina DeGeneres" and "Penelope Guinness" are both full name of actor; times number of film = Divide (Count (film_id where first_name = 'GINA' and last_name = 'DEGENERES'), Count(film_id where first_name = 'PENELOPE' and last_name = 'GUINESS'))
payments made refers to amount; throughout the month of August 2005 refers to payment_date like '2005-08%'
"Documentary" is the name of category; film name refers to title
List all the films that are rated as PG-13.
film refers to title; rated as PG-13 refers to rating = 'PG-13'
"Documentary" is the name of category; number of film refers to Count(film_id)
length refers to rental_duration; 'Dirty Ace' refers to title = 'DIRTY ACE'
"Clarksville" is the city;
full name refers to first_name, last_name; types of movies means category of movies; rented more than five types of movies refers to COUNT(film_category) > 5
'Diane Collins' is a full name of a customer; full name refers to first_name, last_name
English is a name of a language; for adults only refers to rating = 'NC-17'
United Arab Emirates refers to country = 'United Arab Emirates'
first 10 rental refers to rental id between 1 and 10; total rental payment refers to sum(amount)
average payment refers to AVG(amount)
"United States" is the country
What is the full name of the actor who has acted the most times in comedy films?
full name refers to first_name, last_name; 'comedy' is a name of a category;
category refers to name; BABY HALL film refers to title = 'BABY HALL'
store no. 1 refers to store_id = 1; store no.2 refers to store_id = 2; rental payment refers to amount; percent more = Divide (Subtract(amount where store_id = 2, amount where store_id = 1), amount where store_id = 1) *100
77 min film refers to length = 77
'Dan' is a first_name of an actor
"1411 Lillydate Drive" is the address
ID 996 refers to film_id = 996
released in 2006 refers to release_year = 2006
store no. 1 refers to store_id = 1; address location refers to address, address2, district
documentary film refers to category.name = 'documentary'; rated PG-13 refers to rating = 'PG-13'
length duration of 113 minutes refers to length = 113; 'Kirk Jovovich' is a full name of an actor; full name refers to first_name, last_name
Calculate the percentage of movie titles with a screen length of more than 120 minutes that have a category of horror movies.
screen length of more than 120 minutes refers to length > 120; category of horror refers to category.name = 'Horror'; percentage = divide(count(title where length > 120 and category.name = 'Horror'), count(title)) * 100%
77 min film refers to length = 77
full name refers to first_name, last_name; drama is a category of a film; acted the most in a movies refers to MAX(COUNT(film_id))
returned in August, 2005 refers to year(return_date) = 2005 and month (return_date) = 8
number of address refers to address_id
the total amount = sum(amount); in June 2005 refers to payment_date like '2005-06%'
ID 996 refers to film_id = 996
animated film means animation; animation is a name of a category
highest replacement cost refers to Max (replacement_cost); full name refers to first_name, last_name
"WORKING MICROCOSMOS" is the title of film; category refers to name
more than 2 special features refers to Count(special_features) > 2
How many movies have a length longer than 100?
length longer than 100 refers to length > 100
Who refers to first_name, last_name; the largest payment for rental refers to MAX(SUM(amount))
animated film means animation; animation is a name of a category
"Horror" is the name of category
non-active clients refers to active = 0; not returning a rented material refers to rental_date is null
'classics' is the name of category
most common category refers to MAX(COUNT(category.name))
for General Audiences means rating = 'G'; Parental Guidance Suggested means rating = 'PG'; Parents Strongly Cautioned means rating = 'PG-13'; Restricted means rating = 'R'; Adults Only means rating = 'NC-17'; action film refers to category.name = 'action'
longest duration of film refers to Max(length)
rented on 26th May 2005 refers to rental_date = '2005-05-26'; return on 30th May, 2005 refers to return_date = '2005-05-30'; number of rented film refers to Count (rental_id)
duration over 120 minutes refers to length > 120; action category refers to category.name = 'action'
Among the films with a rental duration of 7 days, how many are comedies?
rental duration of 7 refers to rental_duration = 7; comedies refers to name = 'Comedy'
"India" is the country; name refers to first_name, last_name
length refers to rental_duration; 'Dirty Ace' refers to title = 'DIRTY ACE'
first 10 rental refers to rental id between 1 and 10; total rental payment refers to sum(amount)
children's film refers to name = 'Children'; average price per day of most expensive film = Max(Divide(rental_rate, rental_duration))
active refers to active = 1
full name refers to first_name, last_name; 692 Joliet Street refers to address = '692 Joliet Street'
Who refers to first_name, last_name; the largest payment for rental refers to MAX(SUM(amount))
"Gina DeGeneres" and "Penelope Guinness" are both full name of actor; times number of film = Divide (Count (film_id where first_name = 'GINA' and last_name = 'DEGENERES'), Count(film_id where first_name = 'PENELOPE' and last_name = 'GUINESS'))
staff manager refers to manager_staff_id
full name refers to first_name, last_name; the biggest amount refers to max(amount)
Among the films starred by Reese West, what is the difference between the films that have store ID of 1 and store ID of 2?
result = subtract(count(film_id where store_id = 1), count(film_id where store_id = 2))
PG-13 is a rating; calculation = DIVIDE(SUM(rating = PG-13), SUM(rating)) * 100
'Nick Wahlberg' is a full name of an actor; full name refers to first_name, last_name; G rating refers to rating = 'G'; calculation = DIVIDE(SUM(rating = 'G'), SUM(rating)) * 100
name refers to first_name, last_name
postal code that begins with 76 refers to postal_code like '76%'
active refers to active = 1
full name refers to first_name, last_name; the biggest amount refers to max(amount)
length longer than 100 refers to length > 100
the total amount = sum(amount)
full name refers to first_name, last_name
film refers to title; most rented refers to MAX(inventory_id)
List the store ID of the films starred by Reese West with a duration of 100 minutes and below?
a duration of 100 minutes and below refers to length < 100
highest replacement cost refers to Max(replacement_cost)
higher replacement cost refers to Max(replacement_cost); 'ACE GOLDFIINGER' and 'ACADEMY DINOSAUR' are both the title of film
address numbers refers to address_id;
ID 996 refers to film_id = 996
full name refers to first_name, last_name; the highest rental rate refers to max(rental_rate)
the most common first name refers to MAX(COUNT(first_name))
store number 2 refers to store_id = 2; where is a store located refers to address, address2, district
length longer than 100 refers to length > 100
number of address refers to address_id
category name refers to category.name; price per day is more than $30 refers to multiply(rental_duration, rental_rate) > 30
How many cities are there in the United States?
"United States" is the country
surname means last_name;
average duration time = AVG(length)
full name refers to first_name, last_name; customer who rented the most film refers to Max(count(rental_id))
duration over 120 minutes refers to length > 120; action category refers to category.name = 'action'
"Horror" is the name of category
full name refers to first_name, last_name; the biggest amount refers to max(amount)
category refers to name; film "Beach Heartbreakers" refers to title = 'BEACH HEARTBREAKERS'
the lowest movie rental refers to min(rental_rate); the horror category refers to category.name = 'Horror'
full name refers to first_name, last_name; "Alabama Devil" refers to title = 'ALABAMA DEVIL'
restricted means rating = 'R'; length is 71 minutes refers to length = 71; replacement cost is $29.99 refers to replacement_cost = 29.99
What are the addresses of the inactive customers?
inactive customers refers to active = 0;
indian refers to country = 'India'; Italian refers to country = 'Italy'; times = Divide(Count(city where country = 'India), Count(city where country = 'Italy'))
the total payment amount refers to sum(amount)
category refers to name; BABY HALL film refers to title = 'BABY HALL'
rented on 24th May 2005 refers to rental_date = '2005-05-24%'
full name refers to first_name, last_name; 'comedy' is a name of a category;
the total amount = sum(amount)
payments made refers to amount; throughout the month of August 2005 refers to payment_date like '2005-08%'
"UPRISING UPTOWN" is the title of film
restricted refers to rating = 'R'; highest number of film refers to Max(Count(film_id)); full name refers to first_name, last_name
"WORKING MICROCOSMOS" is the title of film; category refers to name
How many payments were made throughout the month of August 2005?
payments made refers to amount; throughout the month of August 2005 refers to payment_date like '2005-08%'
average rental rate of all listed films refers to AVG(rental_rate); rental rate greater than the 60% of average rental rate refers to rental_rate > (AVG(rental_rate)) MULTIPLY 0.6
restricted refers to rating = 'R'; highest number of film refers to Max(Count(film_id)); full name refers to first_name, last_name
Who refers to first_name, last_name; the largest payment for rental refers to MAX(SUM(amount))
animated film means animation; animation is a name of a category
'Wyoming Storm' refers to title = 'WYOMING STORM'
from 5/30/2005 at 3:43:54 AM to 7/31/2005 at 10:08:29 PM refers to payment_date between '2005-05-30 03:43:54' and '2005-07-31 10:08:29'
movies with the most price per day refers to MAX(rental_rate)
'Ella Oliver' is a full name of a customer; full name refers to first_name, last_name; rental hired in June 2016 refers to rental_date BETWEEN '2005-06-01' AND '2005-06-30'
store no. 1 refers to store_id = 1; name refers to first_name, last_name
classic movie refers to name = 'Classics'; rental rate of less than 1 refers to rental_rate < 1; movie refers to film_id
List the inventory ID of the film titled "African Egg".
'African Egg' is a title of a film
film refers to title; rent for more than 5 days refers to rental_duration > 5
email address refers to email
actor refers to first_name, last_name; ANONYMOUS HUMAN refers to title = 'ANONYMOUS HUMAN'
total payment = sum(amount)
'Russell Close' is a full name of an actor; full name refers to first_name, last_name; duration between 110 to 150 minutes refers to length BETWEEN 110 AND 150
ID 996 refers to film_id = 996
actors with highest number of films refers to actor_id with Max(Count(film_id)); full name refers to first_name, last_name; average number of film = Divide (Count(film_id), 5)
the lowest movie rental refers to min(rental_rate); the horror category refers to category.name = 'Horror'
longest duration of film refers to Max(length)
"WORKING MICROCOSMOS" is the title of film; category refers to name
How many times is the number of Indian cities than Italian cities?
indian refers to country = 'India'; Italian refers to country = 'Italy'; times = Divide(Count(city where country = 'India), Count(city where country = 'Italy'))
English is a name of a language; for adults only refers to rating = 'NC-17'
"[email protected]" is the email; owner refers to customer; full name refers to first_name, last_name
'classics' is the name of category
the total payment amount refers to sum(amount)
payments made refers to amount; throughout the month of August 2005 refers to payment_date like '2005-08%'
active refers to active = 1
children's film refers to name = 'Children'; average price per day of most expensive film = Max(Divide(rental_rate, rental_duration))
full name refers to first_name, last_name; the highest rental rate refers to max(rental_rate)
documentary film refers to category.name = 'documentary'; rated PG-13 refers to rating = 'PG-13'
from 5/30/2005 at 3:43:54 AM to 7/31/2005 at 10:08:29 PM refers to payment_date between '2005-05-30 03:43:54' and '2005-07-31 10:08:29'
What is the title of the animated films that have the shortest length?
animated film means animation; animation is a name of a category
full name refers to first_name, last_name; actor who starred in the most movies refers to actor_id where Max(Count(film_id))
full name refers to first_name, last_name; 'comedy' is a name of a category;
'Ella Oliver' is a full name of a customer; full name refers to first_name, last_name; rental hired in June 2016 refers to rental_date BETWEEN '2005-06-01' AND '2005-06-30'
active refers to active = 1; '1795 Santiago de Compostela Way' is an address; Texas is a district; who refers to first_name, last_name
Who refers to first_name, last_name; the largest payment for rental refers to MAX(SUM(amount))
name refers to first_name, last_name
total payment = sum(amount)
forename means first_name; full name refers to first_name, last_name
the lowest movie rental refers to min(rental_rate); the horror category refers to category.name = 'Horror'
"Horror" is the name of category
List the films' titles which were rented by Brian Wyman in July, 2005.
rented in July 2005 refers to year (rental_date) = 2005 and month (rental_date) = 7
United Arab Emirates refers to country = 'United Arab Emirates'
film refers to title; rated as PG-13 refers to rating = 'PG-13'
forename means first_name; full name refers to first_name, last_name
the lowest movie rental refers to min(rental_rate); the horror category refers to category.name = 'Horror'
film refers to title of the film; 'Penelope Guiness' is a full name of an actor; full name refers to first_name, last_name
restricted refers to rating = 'R'; highest number of film refers to Max(Count(film_id)); full name refers to first_name, last_name
full name refers to first_name, last_name; 692 Joliet Street refers to address = '692 Joliet Street'
inactive customers refers to active = 0;
Algeria is a country
R rating refers to rating = 'R'
How many documentary films are rated PG-13?
documentary film refers to category.name = 'documentary'; rated PG-13 refers to rating = 'PG-13'
customer ID of 100 and below refers to customer_id < 100
adult film refers to rating = 'NC-17'; rental duration of fewer than 4 days refers to rental_duration < 4
"WORKING MICROCOSMOS" is the title of film; category refers to name
store number 2 refers to store_id = 2; where is a store located refers to address, address2, district
classic movie refers to name = 'Classics'; rental rate of less than 1 refers to rental_rate < 1; movie refers to film_id
animated film means animation; animation is a name of a category
longest duration of film refers to Max(length)
"Gina DeGeneres" and "Penelope Guinness" are both full name of actor; times number of film = Divide (Count (film_id where first_name = 'GINA' and last_name = 'DEGENERES'), Count(film_id where first_name = 'PENELOPE' and last_name = 'GUINESS'))
horror film refers to category.name = 'Horror'; English film refers to language.name = 'English'; percentage = divide(count(film_id where category.name = 'Horror'), count(film_id)) where language.name = 'English' * 100%
77 min film refers to length = 77
Calculate the total rental rate for animation film titles.
animation film refers to category.name = 'Animation'; total rental rate = sum(rental_rate)
restricted refers to rating = 'R'; highest number of film refers to Max(Count(film_id)); full name refers to first_name, last_name
"[email protected]" is the email; owner refers to customer; full name refers to first_name, last_name
active refers to active = 1
name refers to first_name, last_name
category refers to name; rented in February 2006 refers to year(rental_date) = 2006 and month (rental_rate) = 2
returned in August, 2005 refers to year(return_date) = 2005 and month (return_date) = 8
store no. 1 refers to store_id = 1; address location refers to address, address2, district
full name refers to first_name, last_name; types of movies means category of movies; rented more than five types of movies refers to COUNT(film_category) > 5
customer ID of 100 and below refers to customer_id < 100
full name refers to first_name, last_name; the biggest amount refers to max(amount)
Who are the top 5 actors with the highest number of films? List their full names and calculate the average number of films for each of the actors.
actors with highest number of films refers to actor_id with Max(Count(film_id)); full name refers to first_name, last_name; average number of film = Divide (Count(film_id), 5)
'Nick Wahlberg' is a full name of an actor; full name refers to first_name, last_name; G rating refers to rating = 'G'; calculation = DIVIDE(SUM(rating = 'G'), SUM(rating)) * 100
times of rented refers to Count(rental_id)
animated film means animation; animation is a name of a category
average rental rate of all listed films refers to AVG(rental_rate); rental rate greater than the 60% of average rental rate refers to rental_rate > (AVG(rental_rate)) MULTIPLY 0.6
"Clarksville" is the city;
film refers to title; most rented refers to MAX(inventory_id)
full name refers to first_name, last_name; more than 10$ refers to amount > 10
full name refers to first_name, last_name; 'comedy' is a name of a category;
longest duration of film refers to Max(length)
more than 2 special features refers to Count(special_features) > 2