db_id stringlengths 4 31 | SQL stringlengths 18 1.45k | input_sequence stringlengths 148 11k | question stringlengths 16 325 |
|---|---|---|---|
bike_share_1 | select count(t1.id), t2.dock_count from trip as t1 inner join station as t2 on t2.name = t1.start_station_name where t1.end_station_name = 'mlk library' and t1.subscription_type = 'subscriber' and t2.dock_count = 19 | Question: how many subscribers have ended their trip at mlk library and how many docks does that station have? | Tables: station -> id, name, lat, long, dock_count, city, installation_date. status -> station_id, bikes_available, docks_available, time. trip -> id, duration, start_date, start_station_name, start_station_... | how many subscribers have ended their trip at mlk library and how many docks does that station have? |
bike_share_1 | select avg(t3.min_temperature_f), t1.long, t1.lat from station as t1 inner join trip as t2 on t2.start_station_name = t1.name inner join weather as t3 on t3.zip_code = t2.zip_code where t3.zip_code = 94301 | Question: what is the average coldest temperature for the zip code of 94301 and what stations are within the zip code? include the latitude and longitude as well. | Tables: station -> id, name, lat, long, dock_count, city, installation_date. status -> station_id, bikes_available, docks_available, time. trip -> id, dura... | what is the average coldest temperature for the zip code of 94301 and what stations are within the zip code? include the latitude and longitude as well. |
bike_share_1 | select avg(t1.duration), t2.installation_date from trip as t1 inner join station as t2 on t2.name = t1.start_station_name where t1.start_station_name = 'mountain view city hall' and t1.subscription_type = 'subscriber' and t1.end_station_name = 'mountain view city hall' | Question: calculate the average duration travelled by subscribers that both started and ended their trip in mountain view city hall and indicate the date when the station was first installed. | Tables: station -> id, name, lat, long, dock_count, city, installation_date. status -> station_id, bikes_available, docks_avai... | calculate the average duration travelled by subscribers that both started and ended their trip in mountain view city hall and indicate the date when the station was first installed. |
movie_3 | select description from film where title = 'academy dinosaur' | Question: what is the description of the film academy dinosaur? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> cit... | what is the description of the film academy dinosaur? |
movie_3 | select count(film_id) from film where rental_duration > 6 | Question: how many films have a rental duration of over 6 days? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> cit... | how many films have a rental duration of over 6 days? |
movie_3 | select title from film where release_year = 2006 and rental_rate = 2.99 | Question: please list the titles of the films that are released in 2006 and have a rental rate of $2.99. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> ca... | please list the titles of the films that are released in 2006 and have a rental rate of $2.99. |
movie_3 | select title from film order by length desc limit 1 | Question: which film has the longest duration of film screening? please give its title. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, ... | which film has the longest duration of film screening? please give its title. |
movie_3 | select title from film where title in ('ace goldfinger', 'academy dinosaur') order by replacement_cost desc limit 1 | Question: which film has a higher replacement cost, ace goldfinger or academy dinosaur? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, ... | which film has a higher replacement cost, ace goldfinger or academy dinosaur? |
movie_3 | select count(film_id) from film where rating = 'nc-17' and release_year = 2006 | Question: among the films that are released in 2006, how many of them are rated adults only in the motion picture association film rating? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, ... | among the films that are released in 2006, how many of them are rated adults only in the motion picture association film rating? |
movie_3 | select count(film_id) from film where rental_rate = 2.99 and special_features = 'deleted scenes' | Question: how many films with the rental rate of $2.99 have the special feature of 'deleted scenes'? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> catego... | how many films with the rental rate of $2.99 have the special feature of 'deleted scenes'? |
movie_3 | select title from ( select title, count(special_features) as num from film group by title ) as t order by t.num > 2 | Question: please list the titles of all the films that have more than 2 special features. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name... | please list the titles of all the films that have more than 2 special features. |
movie_3 | select email from staff where first_name = 'jon' and last_name = 'stephens' | Question: what is the email address of the staff jon stephens? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city... | what is the email address of the staff jon stephens? |
movie_3 | select first_name, last_name from staff where active = 1 | Question: please give the full names of all the active staff. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_... | please give the full names of all the active staff. |
movie_3 | select distinct release_year from film where replacement_cost = ( select max(replacement_cost) from film ) | Question: in which year was the film with the highest replacement cost released? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_up... | in which year was the film with the highest replacement cost released? |
movie_3 | select title from film where replacement_cost = ( select max(replacement_cost) from film ) limit 3 | Question: please list the titles of the top 3 films with the highest replacement cost. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, l... | please list the titles of the top 3 films with the highest replacement cost. |
movie_3 | select t2.name from film as t1 inner join language as t2 on t1.language_id = t2.language_id where t1.title = 'academy dinosaur' | Question: what is the language of the film academy dinosaur? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_i... | what is the language of the film academy dinosaur? |
movie_3 | select count(t1.film_id) from film as t1 inner join language as t2 on t1.language_id = t2.language_id where t2.name = 'english' | Question: how many films are in english? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, city, country_id,... | how many films are in english? |
movie_3 | select t2.title from film_actor as t1 inner join film as t2 on t1.film_id = t2.film_id inner join actor as t3 on t1.actor_id = t3.actor_id where t3.first_name = 'penelope' and t3.last_name = 'guiness' | Question: please list the titles of all the films starring the actor penelope guiness. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, l... | please list the titles of all the films starring the actor penelope guiness. |
movie_3 | select count(t1.actor_id) from film_actor as t1 inner join film as t2 on t1.film_id = t2.film_id where t2.title = 'academy dinosaur' | Question: how many actors have starred in the film academy dinosaur? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -... | how many actors have starred in the film academy dinosaur? |
movie_3 | select t1.first_name, t1.last_name from actor as t1 inner join film_actor as t2 on t1.actor_id = t2.actor_id inner join film as t3 on t2.film_id = t3.film_id where t3.title = 'academy dinosaur' | Question: please list the full names of all the actors that have starred in the film academy dinosaur. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> cate... | please list the full names of all the actors that have starred in the film academy dinosaur. |
movie_3 | select count(t2.film_id) from actor as t1 inner join film_actor as t2 on t1.actor_id = t2.actor_id inner join film as t3 on t2.film_id = t3.film_id where t3.release_year = 2006 and t1.first_name = 'penelope' and t1.last_name = 'guiness' | Question: among the films starring penelope guiness, how many of them are released in 2006? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, na... | among the films starring penelope guiness, how many of them are released in 2006? |
movie_3 | select t3.title from actor as t1 inner join film_actor as t2 on t1.actor_id = t2.actor_id inner join film as t3 on t2.film_id = t3.film_id where t1.first_name = 'penelope' and t1.last_name = 'guiness' order by t3.replacement_cost desc limit 1 | Question: please give the title of the film starring penelope guiness and has the highest replacement cost. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category ->... | please give the title of the film starring penelope guiness and has the highest replacement cost. |
movie_3 | select first_name, last_name from actor as t1 inner join film_actor as t2 on t1.actor_id = t2.actor_id inner join film as t3 on t2.film_id = t3.film_id order by t3.replacement_cost desc limit 1 | Question: please list the full names of all the actors that have starred in the film with the highest replacement cost. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update.... | please list the full names of all the actors that have starred in the film with the highest replacement cost. |
movie_3 | select count(t3.film_id) from actor as t1 inner join film_actor as t2 on t1.actor_id = t2.actor_id inner join film as t3 on t2.film_id = t3.film_id inner join language as t4 on t3.language_id = t4.language_id where t4.name = 'english' and t1.first_name = 'penelope' and t1.last_name = 'guiness' | Question: among the films starring penelope guiness, how many of them are in english? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, la... | among the films starring penelope guiness, how many of them are in english? |
movie_3 | select t3.title from actor as t1 inner join film_actor as t2 on t1.actor_id = t2.actor_id inner join film as t3 on t2.film_id = t3.film_id where t1.first_name = 'penelope' and t1.last_name = 'guiness' order by t3.length desc limit 1 | Question: what is the title of the film with the longest duration time and stars penelope guiness? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category... | what is the title of the film with the longest duration time and stars penelope guiness? |
movie_3 | select t1.title from film as t1 inner join film_category as t2 on t1.film_id = t2.film_id inner join category as t3 on t2.category_id = t3.category_id where t3.name = 'horror' | Question: please list the titles of all the films in the category of 'horror'. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_upda... | please list the titles of all the films in the category of 'horror'. |
movie_3 | select count(t1.film_id) from film_category as t1 inner join category as t2 on t1.category_id = t2.category_id where t2.name = 'horror' | Question: how many films are there under the category of 'horror'? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> ... | how many films are there under the category of 'horror'? |
movie_3 | select t1.title from film as t1 inner join film_category as t2 on t1.film_id = t2.film_id inner join category as t3 on t2.category_id = t3.category_id where t3.name = 'horror' and t1.rental_rate = 2.99 | Question: please list the titles of all the films under the category of 'horror' and has a rental rate of $2.99. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. catego... | please list the titles of all the films under the category of 'horror' and has a rental rate of $2.99. |
movie_3 | select count(t2.rental_id) from customer as t1 inner join rental as t2 on t1.customer_id = t2.customer_id where t1.first_name = 'ruth' and t1.last_name = 'martinez' | Question: for how many times has the customer ruth martinez rented a film? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. ... | for how many times has the customer ruth martinez rented a film? |
movie_3 | select t4.title from customer as t1 inner join rental as t2 on t1.customer_id = t2.customer_id inner join inventory as t3 on t2.inventory_id = t3.inventory_id inner join film as t4 on t3.film_id = t4.film_id where t1.first_name = 'ruth' and t1.last_name = 'martinez' | Question: please list the titles of all the films that the customer ruth martinez has rented. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, ... | please list the titles of all the films that the customer ruth martinez has rented. |
movie_3 | select count(t1.customer_id) from customer as t1 inner join rental as t2 on t1.customer_id = t2.customer_id inner join inventory as t3 on t2.inventory_id = t3.inventory_id inner join film as t4 on t3.film_id = t4.film_id where t4.release_year = 2006 and t1.first_name = 'ruth' and t1.last_name = 'martinez' | Question: among the films that the customer ruth martinez has rented, how many of them are released in 2006? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -... | among the films that the customer ruth martinez has rented, how many of them are released in 2006? |
movie_3 | select t4.title from customer as t1 inner join rental as t2 on t1.customer_id = t2.customer_id inner join inventory as t3 on t2.inventory_id = t3.inventory_id inner join film as t4 on t3.film_id = t4.film_id where t1.first_name = 'ruth' and t1.last_name = 'martinez' order by t4.replacement_cost desc limit 1 | Question: among the films that the customer ruth martinez has rented, what is the title of the one with the highest replacement cost? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone... | among the films that the customer ruth martinez has rented, what is the title of the one with the highest replacement cost? |
movie_3 | select t1.first_name, t1.last_name from customer as t1 inner join rental as t2 on t1.customer_id = t2.customer_id inner join inventory as t3 on t2.inventory_id = t3.inventory_id inner join film as t4 on t3.film_id = t4.film_id order by t4.replacement_cost desc limit 1 | Question: please list the full names of all the customers who have rented the film with the highest replacement cost. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. c... | please list the full names of all the customers who have rented the film with the highest replacement cost. |
movie_3 | select count(t1.customer_id) from customer as t1 inner join rental as t2 on t1.customer_id = t2.customer_id where t1.first_name = 'ruth' and t1.last_name = 'martinez' and strftime('%m',t2.return_date) = '8' and strftime('%y', t2.return_date) = '2005' | Question: how many films rented to the customer ruth martinez were returned in august, 2005? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, n... | how many films rented to the customer ruth martinez were returned in august, 2005? |
movie_3 | select t.first_name, t.last_name from ( select t1.first_name, t1.last_name, count(t2.rental_id) as num from customer as t1 inner join rental as t2 on t1.customer_id = t2.customer_id group by t1.first_name, t1.last_name ) as t order by t.num desc limit 1 | Question: please give the full name of the customer that have rented the most films. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, las... | please give the full name of the customer that have rented the most films. |
movie_3 | select count(t1.customer_id) from customer as t1 inner join rental as t2 on t1.customer_id = t2.customer_id inner join inventory as t3 on t2.inventory_id = t3.inventory_id inner join film as t4 on t3.film_id = t4.film_id where t1.active = 1 and t4.title = 'academy dinosaur' | Question: among the customers who have rented the film academy dinosaur, how many of them are active? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> categ... | among the customers who have rented the film academy dinosaur, how many of them are active? |
movie_3 | select t.title from ( select t1.title, count(t3.rental_id) as num from film as t1 inner join inventory as t2 on t1.film_id = t2.film_id inner join rental as t3 on t2.inventory_id = t3.inventory_id group by t1.title ) as t order by t.num desc limit 1 | Question: which film is rented for the most times by the customers? please give its title. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, nam... | which film is rented for the most times by the customers? please give its title. |
movie_3 | select t.first_name, t.last_name from ( select t1.first_name, t1.last_name, count(t1.customer_id) as num from customer as t1 inner join rental as t2 on t1.customer_id = t2.customer_id where (t1.first_name = 'ruth' and t1.last_name = 'martinez') or (t1.first_name = 'linda' and t1.last_name = 'williams') group by t1.firs... | Question: which customer has rented more movies, ruth martinez or linda williams? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_u... | which customer has rented more movies, ruth martinez or linda williams? |
movie_3 | select t3.title from actor as t1 inner join film_actor as t2 on t1.actor_id = t2.actor_id inner join film as t3 on t2.film_id = t3.film_id where t1.first_name = 'penelope' and t1.last_name = 'guiness' order by t3.rental_rate / t3.rental_duration desc limit 1 | Question: among all the films starring penelope guiness, what is the title of the one with the highest rental price per day? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_up... | among all the films starring penelope guiness, what is the title of the one with the highest rental price per day? |
movie_3 | select avg(t3.replacement_cost) from film_category as t1 inner join category as t2 on t1.category_id = t2.category_id inner join film as t3 on t1.film_id = t3.film_id where t2.name = 'horror' | Question: what is the average replacement cost of the films under the category of 'horror'? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, na... | what is the average replacement cost of the films under the category of 'horror'? |
movie_3 | select cast(sum(iif(t3.name = 'music', 1, 0)) as real) * 100 / count(t1.film_id) from film as t1 inner join film_category as t2 on t1.film_id = t2.film_id inner join category as t3 on t2.category_id = t3.category_id inner join inventory as t4 on t1.film_id = t4.film_id inner join customer as t5 on t4.store_id = t5.stor... | Question: among all films that the customer ruth martinez has rented, what is the percentage of it being a music film? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. ... | among all films that the customer ruth martinez has rented, what is the percentage of it being a music film? |
movie_3 | select avg(t3.length) from actor as t1 inner join film_actor as t2 on t1.actor_id = t2.actor_id inner join film as t3 on t2.film_id = t3.film_id where t1.first_name = 'penelope' and t1.last_name = 'guiness' | Question: what is the average duration time of the films starring penelope guiness? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last... | what is the average duration time of the films starring penelope guiness? |
movie_3 | select email from customer where first_name = 'diane' and last_name = 'collins' | Question: what is diane collins' email address? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, city, coun... | what is diane collins' email address? |
movie_3 | select count(customer_id) from customer where active = 0 | Question: give the number of inactive customers. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, city, cou... | give the number of inactive customers. |
movie_3 | select first_name, last_name from customer where email = 'jeremy.hurtado@sakilacustomer.org' | Question: who is the owner of email address 'jeremy.hurtado@sakilacustomer.org'? give the full name. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> catego... | who is the owner of email address 'jeremy.hurtado@sakilacustomer.org'? give the full name. |
movie_3 | select postal_code from address where address_id = 65 | Question: give the postal code for the address no.65. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, city... | give the postal code for the address no.65. |
movie_3 | select count(address_id) from address where district = 'nordrhein-westfalen' | Question: state the number of addresses in the nordrhein-westfalen district. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update... | state the number of addresses in the nordrhein-westfalen district. |
movie_3 | select phone from address where address_id = '72' | Question: what is the phone number of address no.72? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, city,... | what is the phone number of address no.72? |
movie_3 | select count(film_id) from film where length = '178' | Question: state the number of films that are 178 minutes long. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city... | state the number of films that are 178 minutes long. |
movie_3 | select special_features from film where title = 'uprising uptown' | Question: tell the special features of the film uprising uptown. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> ci... | tell the special features of the film uprising uptown. |
movie_3 | select description from film where title = 'artist coldblooded' | Question: what is the description of the film artist coldblooded? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> c... | what is the description of the film artist coldblooded? |
movie_3 | select t1.address, t1.address2, t1.district from address as t1 inner join store as t2 on t1.address_id = t2.address_id where t2.store_id = 2 | Question: give the detailed address for store no.2. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, city, ... | give the detailed address for store no.2. |
movie_3 | select t1.country from country as t1 inner join city as t2 on t1.country_id = t2.country_id where t2.city = 'clarksville' | Question: which continent is the mother country of clarksville city in? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. cit... | which continent is the mother country of clarksville city in? |
movie_3 | select count(t1.actor_id) from film_actor as t1 inner join film as t2 on t1.film_id = t2.film_id where t2.release_year = 2006 and t2.rental_duration = 7 and t2.rental_duration = 4.99 and t2.length = 98 | Question: 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? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, p... | 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? |
movie_3 | select t3.rating from actor as t1 inner join film_actor as t2 on t1.actor_id = t2.actor_id inner join film as t3 on t2.film_id = t3.film_id where t1.first_name = 'dan' and t1.last_name = 'harris' and t3.length = 77 and t3.replacement_cost = '9.99' | Question: the actor dan harris played in a 77 minute film with replacement cost of 9.99, what was the rating for that film? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_upd... | the actor dan harris played in a 77 minute film with replacement cost of 9.99, what was the rating for that film? |
movie_3 | select count(t1.film_id) from film_actor as t1 inner join actor as t2 on t1.actor_id = t2.actor_id where t2.first_name = 'daryl' and t2.last_name = 'wahlberg' | Question: how many films did actor daryl wahlberg appear in? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_i... | how many films did actor daryl wahlberg appear in? |
movie_3 | select t2.return_date from customer as t1 inner join rental as t2 on t1.customer_id = t2.customer_id where t1.first_name = 'sherri' and t1.last_name = 'rhodes' and t2.rental_date = '2005-07-28 12:27:27' | Question: sherri rhodes rented a film at 12:27:27 on 2005/7/28, when did she/he return that film? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_... | sherri rhodes rented a film at 12:27:27 on 2005/7/28, when did she/he return that film? |
movie_3 | select t1.first_name, t1.last_name from staff as t1 inner join store as t2 on t1.store_id = t2.store_id where t2.store_id = 1 | Question: give the name of the manager staff for store no.1. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_i... | give the name of the manager staff for store no.1. |
movie_3 | select t1.address, t1.address2, t1.district from address as t1 inner join store as t2 on t1.address_id = t2.address_id where t2.store_id = 1 | Question: state the address location of store no.1. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, city, ... | state the address location of store no.1. |
movie_3 | select t1.address, t1.address2 from address as t1 inner join staff as t2 on t1.address_id = t2.address_id where t2.first_name = 'jon' and t2.last_name = 'stephens' | Question: where does the staff jon stephens live? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, city, co... | where does the staff jon stephens live? |
movie_3 | select count(t1.address_id) from address as t1 inner join city as t2 on t1.city_id = t2.city_id where t2.city = 'woodridge' | Question: how many addresses are there in woodridge city? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, ... | how many addresses are there in woodridge city? |
movie_3 | select count(t1.film_id) from film as t1 inner join language as t2 on t1.language_id = t2.language_id where t2.name = 'english' | Question: how many films are in english? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, city, country_id,... | how many films are in english? |
movie_3 | select t1.address from address as t1 inner join customer as t2 on t1.address_id = t2.address_id where t2.first_name = 'heather' and t2.last_name = 'morris' | Question: give the address location of heather morris. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, cit... | give the address location of heather morris. |
movie_3 | select t2.email from address as t1 inner join staff as t2 on t1.address_id = t2.address_id where t1.address = '1411 lillydale drive' | Question: give the email address of the person who lives in '1411 lillydale drive'. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last... | give the email address of the person who lives in '1411 lillydale drive'. |
movie_3 | select t1.amount from payment as t1 inner join rental as t2 on t1.rental_id = t2.rental_id where t2.rental_date = '2005-07-28 12:27:27' and t2.customer_id = 297 | Question: how much money did the customer no.297 pay for the rental which happened at 12:27:27 on 2005/7/28? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -... | how much money did the customer no.297 pay for the rental which happened at 12:27:27 on 2005/7/28? |
movie_3 | select t3.name from film as t1 inner join film_category as t2 on t1.film_id = t2.film_id inner join category as t3 on t2.category_id = t3.category_id where t1.title = 'working microcosmos' | Question: which category does the film working microcosmos belong to? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city ... | which category does the film working microcosmos belong to? |
movie_3 | select count(t1.film_id) from film_category as t1 inner join category as t2 on t1.category_id = t2.category_id where t2.name = 'documentary' | Question: give the number of documentary films. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, city, coun... | give the number of documentary films. |
movie_3 | select t.name from ( select t2.name, count(t1.film_id) as num from film_category as t1 inner join category as t2 on t1.category_id = t2.category_id group by t2.name ) as t order by t.num desc limit 1 | Question: state the name of the category which has the most number of films. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update... | state the name of the category which has the most number of films. |
movie_3 | select t1.title from film as t1 inner join inventory as t2 on t1.film_id = t2.film_id where t2.inventory_id = 3479 | Question: give the name of the film for inventory no.3479. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id,... | give the name of the film for inventory no.3479. |
movie_3 | select cast((sum(iif(t2.store_id = 2, t1.amount, 0)) - sum(iif(t2.store_id = 1, t1.amount, 0))) as real) * 100 / sum(iif(t2.store_id = 1, t1.amount, 0)) from payment as t1 inner join customer as t2 on t1.customer_id = t2.customer_id inner join store as t3 on t2.store_id = t3.store_id | Question: what is the percentage more for the rental payment for store no.2 than store no.1? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, n... | what is the percentage more for the rental payment for store no.2 than store no.1? |
movie_3 | select cast(sum(iif(t1.country = 'india', 1, 0)) as real) / sum(iif(t1.country = 'italy', 1, 0)) from country as t1 inner join city as t2 on t1.country_id = t2.country_id | Question: how many times is the number of indian cities than italian cities? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update... | how many times is the number of indian cities than italian cities? |
movie_3 | select cast(sum(iif(t2.first_name = 'gina' and t2.last_name = 'degeneres', 1, 0)) as real) * 100 / sum(iif(t2.first_name = 'penelope' and t2.last_name = 'guiness', 1, 0)) from film_actor as t1 inner join actor as t2 on t1.actor_id = t2.actor_id | Question: how many times is the number of films gina degeneres acted in than penelope guinness? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id... | how many times is the number of films gina degeneres acted in than penelope guinness? |
movie_3 | select count(film_id) from film where rating = 'r' and release_year = 2006 | Question: in 2006, how many restricted films were released? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id... | in 2006, how many restricted films were released? |
movie_3 | select count(actor_id) from film_actor where film_id = 508 | Question: how many actors starred in the film id 508? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, city... | how many actors starred in the film id 508? |
movie_3 | select special_features from film where title = 'smoochy control' | Question: what are the special features for the film 'smoochy control'? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. cit... | what are the special features for the film 'smoochy control'? |
movie_3 | select count(customer_id) from payment where substr(payment_date, 1, 7) like '2005-08' | Question: how many customers paid over the amount of 10 on august 2005? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. cit... | how many customers paid over the amount of 10 on august 2005? |
movie_3 | select title from film where length > 180 | Question: list the names of the films that are more than 180 minutes long. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. ... | list the names of the films that are more than 180 minutes long. |
movie_3 | select sum(amount) from payment where rental_id between 1 and 10 | Question: how much is the total rental payment for the first 10 rentals? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. ci... | how much is the total rental payment for the first 10 rentals? |
movie_3 | select first_name, last_name from staff where active = 1 | Question: what are the full names of all the active employees? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city... | what are the full names of all the active employees? |
movie_3 | select manager_staff_id from store where store_id = 2 | Question: who is the staff manager in store id 2? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, city, co... | who is the staff manager in store id 2? |
movie_3 | select count(rental_id) from rental where rental_date = '2005-05-27' | Question: how many rentals were returned on 5/27/2005? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, cit... | how many rentals were returned on 5/27/2005? |
movie_3 | select t3.title from actor as t1 inner join film_actor as t2 on t1.actor_id = t2.actor_id inner join film as t3 on t2.film_id = t3.film_id where t1.first_name = 'laura' and t1.last_name = 'brody' | Question: what are the names of the movies which laura brody starred in? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. ci... | what are the names of the movies which laura brody starred in? |
movie_3 | select t1.title from film as t1 inner join inventory as t2 on t1.film_id = t2.film_id where t2.store_id = 2 | Question: list the name of the films that can only be found in store id 2. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. ... | list the name of the films that can only be found in store id 2. |
movie_3 | select t1.first_name, t1.last_name from customer as t1 inner join ( select customer_id, count(*) as num_days from ( select *, date(days, '-' || rn || ' day') as results from ( select customer_id, days, row_number() over (partition by customer_id order by days) as rn from ( select distinct customer_id, date(rental_date)... | Question: what is the full name of the customer who rented movies for 7 consecutive days? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name... | what is the full name of the customer who rented movies for 7 consecutive days? |
movie_3 | select count(t1.film_id) from film_category as t1 inner join category as t2 on t1.category_id = t2.category_id where t2.name = 'horror' | Question: how many films are categorized as horror? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, city, ... | how many films are categorized as horror? |
movie_3 | select t.title from ( select t1.title, count(t3.rental_id) as num from film as t1 inner join inventory as t2 on t1.film_id = t2.film_id inner join rental as t3 on t2.inventory_id = t3.inventory_id group by t1.title ) as t order by t.num desc limit 1 | Question: what is the name of the most rented movie? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, city,... | what is the name of the most rented movie? |
movie_3 | select t1.special_features from film as t1 inner join film_category as t2 on t1.film_id = t2.film_id inner join category as t3 on t2.category_id = t3.category_id where t3.name = 'sci-fi' order by t1.special_features desc limit 1 | Question: what is the most common special features of science-fiction movies? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_updat... | what is the most common special features of science-fiction movies? |
movie_3 | select t.first_name, t.last_name from ( select t2.first_name, t2.last_name, count(t1.film_id) as num from film_actor as t1 inner join actor as t2 on t1.actor_id = t2.actor_id group by t2.first_name, t2.last_name ) as t order by t.num desc limit 1 | Question: what is the full name of the actor who starred in most movies? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. ci... | what is the full name of the actor who starred in most movies? |
movie_3 | select count(t1.film_id) from film as t1 inner join film_category as t2 on t1.film_id = t2.film_id inner join category as t3 on t2.category_id = t3.category_id where t1.rental_duration = 7 and t3.name = 'comedy' | Question: among the films with a rental duration of 7 days, how many are comedies? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_... | among the films with a rental duration of 7 days, how many are comedies? |
movie_3 | select t.first_name, t.last_name from ( select t3.first_name, t3.last_name, count(t1.customer_id) as num from customer as t1 inner join store as t2 on t1.store_id = t2.store_id inner join staff as t3 on t2.store_id = t3.store_id where t1.active = 0 group by t3.first_name, t3.last_name ) as t order by t.num desc limit 1 | Question: who is the staff manager of the store with the most non-active customers? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last... | who is the staff manager of the store with the most non-active customers? |
movie_3 | select t1.rental_rate from film as t1 inner join film_category as t2 on t1.film_id = t2.film_id inner join category as t3 on t2.category_id = t3.category_id where t3.name = 'children' order by t1.rental_rate / t1.rental_duration desc limit 1 | Question: what is the rental price per day of the most expensive children's film? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_u... | what is the rental price per day of the most expensive children's film? |
movie_3 | select t3.address, t3.address2, t3.district from country as t1 inner join city as t2 on t1.country_id = t2.country_id inner join address as t3 on t2.city_id = t3.city_id inner join store as t4 on t3.address_id = t4.address_id where t4.store_id = 1 | Question: what is the complete address of store id 1? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, city... | what is the complete address of store id 1? |
movie_3 | select count(t3.customer_id) from city as t1 inner join address as t2 on t1.city_id = t2.city_id inner join customer as t3 on t2.address_id = t3.address_id where t1.city = 'lethbridge' | Question: how many customers are from the city of lethbridge? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_... | how many customers are from the city of lethbridge? |
movie_3 | select count(t2.city) from country as t1 inner join city as t2 on t1.country_id = t2.country_id where t1.country = 'united states' | Question: how many cities are there in the united states? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, ... | how many cities are there in the united states? |
movie_3 | select t4.first_name, t4.last_name from country as t1 inner join city as t2 on t1.country_id = t2.country_id inner join address as t3 on t2.city_id = t3.city_id inner join customer as t4 on t3.address_id = t4.address_id where t1.country = 'india' | Question: list the names of the customers from india. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, city... | list the names of the customers from india. |
movie_3 | select count(t1.film_id) from film_category as t1 inner join category as t2 on t1.category_id = t2.category_id inner join film as t3 on t1.film_id = t3.film_id where t3.rental_rate < 1 and t2.name = 'classics' | Question: among the classic movies, how many movies have a rental rate of less than 1? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, l... | among the classic movies, how many movies have a rental rate of less than 1? |
movie_3 | select t.first_name, t.last_name from ( select t2.first_name, t2.last_name, count(t1.rental_id) as num from rental as t1 inner join customer as t2 on t1.customer_id = t2.customer_id group by t2.first_name, t2.last_name ) as t order by t.num desc limit 1 | Question: what is the full name of the customer who rented the highest number of movies of all time? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> catego... | what is the full name of the customer who rented the highest number of movies of all time? |
movie_3 | select count(t3.rental_id) from film as t1 inner join inventory as t2 on t1.film_id = t2.film_id inner join rental as t3 on t2.inventory_id = t3.inventory_id where t1.title = 'blanket beverly' | Question: how many times was 'blanket beverly' rented? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, name, last_update. city -> city_id, cit... | how many times was 'blanket beverly' rented? |
movie_3 | select t.first_name, t.last_name from ( select t1.first_name, t1.last_name, count(t2.film_id) as num from actor as t1 inner join film_actor as t2 on t1.actor_id = t2.actor_id inner join film as t3 on t2.film_id = t3.film_id where t3.rating = 'r' group by t1.first_name, t1.last_name ) as t order by t.num desc limit 1 | Question: what is the full name of the actor who has the highest number of restricted films? | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city_id, postal_code, phone, last_update. category -> category_id, n... | what is the full name of the actor who has the highest number of restricted films? |
movie_3 | select t.first_name, t.last_name, num from ( select t1.first_name, t1.last_name, count(t2.film_id) as num from actor as t1 inner join film_actor as t2 on t1.actor_id = t2.actor_id inner join film as t3 on t2.film_id = t3.film_id group by t1.first_name, t1.last_name ) as t order by t.num desc limit 5 | Question: 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. | Tables: film_text -> film_id, title, description. actor -> actor_id, first_name, last_name, last_update. address -> address_id, address, address2, district, city... | 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. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.