1sf/bird-sql-train-with-schema huggingface dataset:
Database: movie_3
Tables: film_text, actor, address, category, city, country, customer, film, film_actor, film_category, inventory, language, payment, rental, staff, store
Columns (table index, column name): -1, *, 0, film_id, 0, title, 0, description, 1, actor_id, 1, first_name, 1, last_name, 1, last_update, 2, address_id, 2, address, 2, address2, 2, district, 2, city_id, 2, postal_code, 2, phone, 2, last_update, 3, category_id, 3, name, 3, last_update, 4, city_id, 4, city, 4, country_id, 4, last_update, 5, country_id, 5, country, 5, last_update, 6, customer_id, 6, store_id, 6, first_name, 6, last_name, 6, email, 6, address_id, 6, active, 6, create_date, 6, last_update, 7, film_id, 7, title, 7, description, 7, release_year, 7, language_id, 7, original_language_id, 7, rental_duration, 7, rental_rate, 7, length, 7, replacement_cost, 7, rating, 7, special_features, 7, last_update, 8, actor_id, 8, film_id, 8, last_update, 9, film_id, 9, category_id, 9, last_update, 10, inventory_id, 10, film_id, 10, store_id, 10, last_update, 11, language_id, 11, name, 11, last_update, 12, payment_id, 12, customer_id, 12, staff_id, 12, rental_id, 12, amount, 12, payment_date, 12, last_update, 13, rental_id, 13, rental_date, 13, inventory_id, 13, customer_id, 13, return_date, 13, staff_id, 13, last_update, 14, staff_id, 14, first_name, 14, last_name, 14, address_id, 14, picture, 14, email, 14, store_id, 14, active, 14, username, 14, password, 14, last_update, 15, store_id, 15, manager_staff_id, 15, address_id, 15, last_update
Question: Give the full name of the actor who acted the most in drama movies?
Evidence: 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))
SQL: 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_category AS T3 ON T2.film_id = T3.film_id WHERE T3.category_id = 7 GROUP BY T1.first_name, T1.last_name ) AS T ORDER BY T.num DESC LIMIT 1
Database: movie_3
Tables: film_text, actor, address, category, city, country, customer, film, film_actor, film_category, inventory, language, payment, rental, staff, store
Columns (table index, column name): -1, *, 0, film_id, 0, title, 0, description, 1, actor_id, 1, first_name, 1, last_name, 1, last_update, 2, address_id, 2, address, 2, address2, 2, district, 2, city_id, 2, postal_code, 2, phone, 2, last_update, 3, category_id, 3, name, 3, last_update, 4, city_id, 4, city, 4, country_id, 4, last_update, 5, country_id, 5, country, 5, last_update, 6, customer_id, 6, store_id, 6, first_name, 6, last_name, 6, email, 6, address_id, 6, active, 6, create_date, 6, last_update, 7, film_id, 7, title, 7, description, 7, release_year, 7, language_id, 7, original_language_id, 7, rental_duration, 7, rental_rate, 7, length, 7, replacement_cost, 7, rating, 7, special_features, 7, last_update, 8, actor_id, 8, film_id, 8, last_update, 9, film_id, 9, category_id, 9, last_update, 10, inventory_id, 10, film_id, 10, store_id, 10, last_update, 11, language_id, 11, name, 11, last_update, 12, payment_id, 12, customer_id, 12, staff_id, 12, rental_id, 12, amount, 12, payment_date, 12, last_update, 13, rental_id, 13, rental_date, 13, inventory_id, 13, customer_id, 13, return_date, 13, staff_id, 13, last_update, 14, staff_id, 14, first_name, 14, last_name, 14, address_id, 14, picture, 14, email, 14, store_id, 14, active, 14, username, 14, password, 14, last_update, 15, store_id, 15, manager_staff_id, 15, address_id, 15, last_update
Question: What is the difference in the average number of films rented each day in Australia and Canada?
Evidence: 'Australia' AND 'Canada' are country; average number of films refers to AVG('Australia') AND AVG('Canada'); calculation = SUBTRACT(AVG('Australia'), AVG('Canada'))
SQL: SELECT AVG(IIF(T4.country = 'Australia', 1, 0)) - AVG(IIF(T4.country = 'Canada', 1, 0)) AS diff FROM customer AS T1 INNER JOIN address AS T2 ON T1.address_id = T2.address_id INNER JOIN city AS T3 ON T2.city_id = T3.city_id INNER JOIN country AS T4 ON T3.country_id = T4.country_id
Database: movie_3
Tables: film_text, actor, address, category, city, country, customer, film, film_actor, film_category, inventory, language, payment, rental, staff, store
Columns (table index, column name): -1, *, 0, film_id, 0, title, 0, description, 1, actor_id, 1, first_name, 1, last_name, 1, last_update, 2, address_id, 2, address, 2, address2, 2, district, 2, city_id, 2, postal_code, 2, phone, 2, last_update, 3, category_id, 3, name, 3, last_update, 4, city_id, 4, city, 4, country_id, 4, last_update, 5, country_id, 5, country, 5, last_update, 6, customer_id, 6, store_id, 6, first_name, 6, last_name, 6, email, 6, address_id, 6, active, 6, create_date, 6, last_update, 7, film_id, 7, title, 7, description, 7, release_year, 7, language_id, 7, original_language_id, 7, rental_duration, 7, rental_rate, 7, length, 7, replacement_cost, 7, rating, 7, special_features, 7, last_update, 8, actor_id, 8, film_id, 8, last_update, 9, film_id, 9, category_id, 9, last_update, 10, inventory_id, 10, film_id, 10, store_id, 10, last_update, 11, language_id, 11, name, 11, last_update, 12, payment_id, 12, customer_id, 12, staff_id, 12, rental_id, 12, amount, 12, payment_date, 12, last_update, 13, rental_id, 13, rental_date, 13, inventory_id, 13, customer_id, 13, return_date, 13, staff_id, 13, last_update, 14, staff_id, 14, first_name, 14, last_name, 14, address_id, 14, picture, 14, email, 14, store_id, 14, active, 14, username, 14, password, 14, last_update, 15, store_id, 15, manager_staff_id, 15, address_id, 15, last_update
Question: Of the movies in which Reese Kilmer acted, what percentage are action movies?
Evidence: 'Reese Kilmer' is a full name of an actor; 'action' is the name of the category; calculation = DIVIDE(COUNT('action'), COUNT(category_id)) * 100
SQL: SELECT CAST(SUM(IIF(T4.name = 'Action', 1, 0)) AS REAL) * 100 / COUNT(T1.actor_id) FROM actor AS T1 INNER JOIN film_actor AS T2 ON T1.actor_id = T2.actor_id INNER JOIN film_category AS T3 ON T2.film_id = T3.film_id INNER JOIN category AS T4 ON T3.category_id = T4.category_id WHERE T1.first_name = 'Reese' AND T1.last_name = 'Kilmer'
Database: movie_3
Tables: film_text, actor, address, category, city, country, customer, film, film_actor, film_category, inventory, language, payment, rental, staff, store
Columns (table index, column name): -1, *, 0, film_id, 0, title, 0, description, 1, actor_id, 1, first_name, 1, last_name, 1, last_update, 2, address_id, 2, address, 2, address2, 2, district, 2, city_id, 2, postal_code, 2, phone, 2, last_update, 3, category_id, 3, name, 3, last_update, 4, city_id, 4, city, 4, country_id, 4, last_update, 5, country_id, 5, country, 5, last_update, 6, customer_id, 6, store_id, 6, first_name, 6, last_name, 6, email, 6, address_id, 6, active, 6, create_date, 6, last_update, 7, film_id, 7, title, 7, description, 7, release_year, 7, language_id, 7, original_language_id, 7, rental_duration, 7, rental_rate, 7, length, 7, replacement_cost, 7, rating, 7, special_features, 7, last_update, 8, actor_id, 8, film_id, 8, last_update, 9, film_id, 9, category_id, 9, last_update, 10, inventory_id, 10, film_id, 10, store_id, 10, last_update, 11, language_id, 11, name, 11, last_update, 12, payment_id, 12, customer_id, 12, staff_id, 12, rental_id, 12, amount, 12, payment_date, 12, last_update, 13, rental_id, 13, rental_date, 13, inventory_id, 13, customer_id, 13, return_date, 13, staff_id, 13, last_update, 14, staff_id, 14, first_name, 14, last_name, 14, address_id, 14, picture, 14, email, 14, store_id, 14, active, 14, username, 14, password, 14, last_update, 15, store_id, 15, manager_staff_id, 15, address_id, 15, last_update
Question: Give the total amount of rent for the movie Clockwork Paradice.
Evidence: 'Clockwork Paradice' is a title of a film
SQL: SELECT SUM(T1.amount) FROM payment AS T1 INNER JOIN rental AS T2 ON T1.rental_id = T2.rental_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.title = 'CLOCKWORK PARADICE'
Database: movie_3
Tables: film_text, actor, address, category, city, country, customer, film, film_actor, film_category, inventory, language, payment, rental, staff, store
Columns (table index, column name): -1, *, 0, film_id, 0, title, 0, description, 1, actor_id, 1, first_name, 1, last_name, 1, last_update, 2, address_id, 2, address, 2, address2, 2, district, 2, city_id, 2, postal_code, 2, phone, 2, last_update, 3, category_id, 3, name, 3, last_update, 4, city_id, 4, city, 4, country_id, 4, last_update, 5, country_id, 5, country, 5, last_update, 6, customer_id, 6, store_id, 6, first_name, 6, last_name, 6, email, 6, address_id, 6, active, 6, create_date, 6, last_update, 7, film_id, 7, title, 7, description, 7, release_year, 7, language_id, 7, original_language_id, 7, rental_duration, 7, rental_rate, 7, length, 7, replacement_cost, 7, rating, 7, special_features, 7, last_update, 8, actor_id, 8, film_id, 8, last_update, 9, film_id, 9, category_id, 9, last_update, 10, inventory_id, 10, film_id, 10, store_id, 10, last_update, 11, language_id, 11, name, 11, last_update, 12, payment_id, 12, customer_id, 12, staff_id, 12, rental_id, 12, amount, 12, payment_date, 12, last_update, 13, rental_id, 13, rental_date, 13, inventory_id, 13, customer_id, 13, return_date, 13, staff_id, 13, last_update, 14, staff_id, 14, first_name, 14, last_name, 14, address_id, 14, picture, 14, email, 14, store_id, 14, active, 14, username, 14, password, 14, last_update, 15, store_id, 15, manager_staff_id, 15, address_id, 15, last_update
Question: Find and list the full name of customers who rented more than five types of movies.
Evidence: 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
SQL: 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 INNER JOIN inventory AS T3 ON T2.inventory_id = T3.inventory_id INNER JOIN film AS T4 ON T3.film_id = T4.film_id INNER JOIN film_category AS T5 ON T4.film_id = T5.film_id GROUP BY T1.first_name, T1.last_name ) AS T WHERE T.num > 5
Database: movie_3
Tables: film_text, actor, address, category, city, country, customer, film, film_actor, film_category, inventory, language, payment, rental, staff, store
Columns (table index, column name): -1, *, 0, film_id, 0, title, 0, description, 1, actor_id, 1, first_name, 1, last_name, 1, last_update, 2, address_id, 2, address, 2, address2, 2, district, 2, city_id, 2, postal_code, 2, phone, 2, last_update, 3, category_id, 3, name, 3, last_update, 4, city_id, 4, city, 4, country_id, 4, last_update, 5, country_id, 5, country, 5, last_update, 6, customer_id, 6, store_id, 6, first_name, 6, last_name, 6, email, 6, address_id, 6, active, 6, create_date, 6, last_update, 7, film_id, 7, title, 7, description, 7, release_year, 7, language_id, 7, original_language_id, 7, rental_duration, 7, rental_rate, 7, length, 7, replacement_cost, 7, rating, 7, special_features, 7, last_update, 8, actor_id, 8, film_id, 8, last_update, 9, film_id, 9, category_id, 9, last_update, 10, inventory_id, 10, film_id, 10, store_id, 10, last_update, 11, language_id, 11, name, 11, last_update, 12, payment_id, 12, customer_id, 12, staff_id, 12, rental_id, 12, amount, 12, payment_date, 12, last_update, 13, rental_id, 13, rental_date, 13, inventory_id, 13, customer_id, 13, return_date, 13, staff_id, 13, last_update, 14, staff_id, 14, first_name, 14, last_name, 14, address_id, 14, picture, 14, email, 14, store_id, 14, active, 14, username, 14, password, 14, last_update, 15, store_id, 15, manager_staff_id, 15, address_id, 15, last_update
Question: What is the average number of actors acted in comedy movies?
Evidence: comedy is the name of a category; average number of actors refers to AVG(actor_id)
SQL: SELECT AVG(T1.actor_id) FROM film_actor 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 actor AS T4 ON T4.actor_id = T1.actor_id WHERE T3.name = 'comedy'
Database: movie_3
Tables: film_text, actor, address, category, city, country, customer, film, film_actor, film_category, inventory, language, payment, rental, staff, store
Columns (table index, column name): -1, *, 0, film_id, 0, title, 0, description, 1, actor_id, 1, first_name, 1, last_name, 1, last_update, 2, address_id, 2, address, 2, address2, 2, district, 2, city_id, 2, postal_code, 2, phone, 2, last_update, 3, category_id, 3, name, 3, last_update, 4, city_id, 4, city, 4, country_id, 4, last_update, 5, country_id, 5, country, 5, last_update, 6, customer_id, 6, store_id, 6, first_name, 6, last_name, 6, email, 6, address_id, 6, active, 6, create_date, 6, last_update, 7, film_id, 7, title, 7, description, 7, release_year, 7, language_id, 7, original_language_id, 7, rental_duration, 7, rental_rate, 7, length, 7, replacement_cost, 7, rating, 7, special_features, 7, last_update, 8, actor_id, 8, film_id, 8, last_update, 9, film_id, 9, category_id, 9, last_update, 10, inventory_id, 10, film_id, 10, store_id, 10, last_update, 11, language_id, 11, name, 11, last_update, 12, payment_id, 12, customer_id, 12, staff_id, 12, rental_id, 12, amount, 12, payment_date, 12, last_update, 13, rental_id, 13, rental_date, 13, inventory_id, 13, customer_id, 13, return_date, 13, staff_id, 13, last_update, 14, staff_id, 14, first_name, 14, last_name, 14, address_id, 14, picture, 14, email, 14, store_id, 14, active, 14, username, 14, password, 14, last_update, 15, store_id, 15, manager_staff_id, 15, address_id, 15, last_update
Question: In children's movies, which was rented the most?
Evidence: children is the name of the category; rented the most refers to MAX(COUNT(title))
SQL: SELECT T.title FROM ( SELECT T4.title, COUNT(T4.title) AS num 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 INNER JOIN film_category AS T5 ON T4.film_id = T5.film_id INNER JOIN category AS T6 ON T5.category_id = T6.category_id WHERE T6.name = 'Children' GROUP BY T4.title ) AS T ORDER BY T.num DESC LIMIT 1
Database: movie_3
Tables: film_text, actor, address, category, city, country, customer, film, film_actor, film_category, inventory, language, payment, rental, staff, store
Columns (table index, column name): -1, *, 0, film_id, 0, title, 0, description, 1, actor_id, 1, first_name, 1, last_name, 1, last_update, 2, address_id, 2, address, 2, address2, 2, district, 2, city_id, 2, postal_code, 2, phone, 2, last_update, 3, category_id, 3, name, 3, last_update, 4, city_id, 4, city, 4, country_id, 4, last_update, 5, country_id, 5, country, 5, last_update, 6, customer_id, 6, store_id, 6, first_name, 6, last_name, 6, email, 6, address_id, 6, active, 6, create_date, 6, last_update, 7, film_id, 7, title, 7, description, 7, release_year, 7, language_id, 7, original_language_id, 7, rental_duration, 7, rental_rate, 7, length, 7, replacement_cost, 7, rating, 7, special_features, 7, last_update, 8, actor_id, 8, film_id, 8, last_update, 9, film_id, 9, category_id, 9, last_update, 10, inventory_id, 10, film_id, 10, store_id, 10, last_update, 11, language_id, 11, name, 11, last_update, 12, payment_id, 12, customer_id, 12, staff_id, 12, rental_id, 12, amount, 12, payment_date, 12, last_update, 13, rental_id, 13, rental_date, 13, inventory_id, 13, customer_id, 13, return_date, 13, staff_id, 13, last_update, 14, staff_id, 14, first_name, 14, last_name, 14, address_id, 14, picture, 14, email, 14, store_id, 14, active, 14, username, 14, password, 14, last_update, 15, store_id, 15, manager_staff_id, 15, address_id, 15, last_update
Question: Calculate the percentage of customers who paid more than the average rent amount in store 1.
Evidence: store 1 refers to store_id = 1; average rent amount refers to AVG(amount); calculation = DIVIDE(amount > AVG(amount), COUNT(customer_id)) * 100
SQL: SELECT CAST(( SELECT COUNT(T1.customer_id) FROM customer AS T1 INNER JOIN payment AS T2 ON T1.customer_id = T2.customer_id WHERE T2.amount > ( SELECT AVG(amount) FROM payment ) ) AS REAL) * 100 / ( SELECT COUNT(customer_id) FROM customer )
Database: movie_3
Tables: film_text, actor, address, category, city, country, customer, film, film_actor, film_category, inventory, language, payment, rental, staff, store
Columns (table index, column name): -1, *, 0, film_id, 0, title, 0, description, 1, actor_id, 1, first_name, 1, last_name, 1, last_update, 2, address_id, 2, address, 2, address2, 2, district, 2, city_id, 2, postal_code, 2, phone, 2, last_update, 3, category_id, 3, name, 3, last_update, 4, city_id, 4, city, 4, country_id, 4, last_update, 5, country_id, 5, country, 5, last_update, 6, customer_id, 6, store_id, 6, first_name, 6, last_name, 6, email, 6, address_id, 6, active, 6, create_date, 6, last_update, 7, film_id, 7, title, 7, description, 7, release_year, 7, language_id, 7, original_language_id, 7, rental_duration, 7, rental_rate, 7, length, 7, replacement_cost, 7, rating, 7, special_features, 7, last_update, 8, actor_id, 8, film_id, 8, last_update, 9, film_id, 9, category_id, 9, last_update, 10, inventory_id, 10, film_id, 10, store_id, 10, last_update, 11, language_id, 11, name, 11, last_update, 12, payment_id, 12, customer_id, 12, staff_id, 12, rental_id, 12, amount, 12, payment_date, 12, last_update, 13, rental_id, 13, rental_date, 13, inventory_id, 13, customer_id, 13, return_date, 13, staff_id, 13, last_update, 14, staff_id, 14, first_name, 14, last_name, 14, address_id, 14, picture, 14, email, 14, store_id, 14, active, 14, username, 14, password, 14, last_update, 15, store_id, 15, manager_staff_id, 15, address_id, 15, last_update
Question: Find and list the full name of customers who rented more family movies than Sci-Fi movies.
Evidence: full name refers to first_name, last_name; 'family' AND 'Sci-Fi' are names of the category; customers who rented more family movies than Sci-Fi movies refers to count(name = 'Family') > count(name = 'Sci-Fi')
SQL: SELECT DISTINCT IIF(SUM(IIF(T5.name = 'Family', 1, 0)) - SUM(IIF(T5.name = 'Sci-Fi', 1, 0)) > 0, T1.first_name, 0) 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_category AS T4 ON T4.film_id = T3.film_id INNER JOIN category AS T5 ON T4.category_id = T5.category_id GROUP BY T1.customer_id
Database: movie_3
Tables: film_text, actor, address, category, city, country, customer, film, film_actor, film_category, inventory, language, payment, rental, staff, store
Columns (table index, column name): -1, *, 0, film_id, 0, title, 0, description, 1, actor_id, 1, first_name, 1, last_name, 1, last_update, 2, address_id, 2, address, 2, address2, 2, district, 2, city_id, 2, postal_code, 2, phone, 2, last_update, 3, category_id, 3, name, 3, last_update, 4, city_id, 4, city, 4, country_id, 4, last_update, 5, country_id, 5, country, 5, last_update, 6, customer_id, 6, store_id, 6, first_name, 6, last_name, 6, email, 6, address_id, 6, active, 6, create_date, 6, last_update, 7, film_id, 7, title, 7, description, 7, release_year, 7, language_id, 7, original_language_id, 7, rental_duration, 7, rental_rate, 7, length, 7, replacement_cost, 7, rating, 7, special_features, 7, last_update, 8, actor_id, 8, film_id, 8, last_update, 9, film_id, 9, category_id, 9, last_update, 10, inventory_id, 10, film_id, 10, store_id, 10, last_update, 11, language_id, 11, name, 11, last_update, 12, payment_id, 12, customer_id, 12, staff_id, 12, rental_id, 12, amount, 12, payment_date, 12, last_update, 13, rental_id, 13, rental_date, 13, inventory_id, 13, customer_id, 13, return_date, 13, staff_id, 13, last_update, 14, staff_id, 14, first_name, 14, last_name, 14, address_id, 14, picture, 14, email, 14, store_id, 14, active, 14, username, 14, password, 14, last_update, 15, store_id, 15, manager_staff_id, 15, address_id, 15, last_update
Question: Indicate the title of all the films rated as 'Adults Only'.
Evidence: 'Adults Only' refers to rating = 'NC-17'
SQL: SELECT title FROM film WHERE rating = 'NC-17'
Database: movie_3
Tables: film_text, actor, address, category, city, country, customer, film, film_actor, film_category, inventory, language, payment, rental, staff, store
Columns (table index, column name): -1, *, 0, film_id, 0, title, 0, description, 1, actor_id, 1, first_name, 1, last_name, 1, last_update, 2, address_id, 2, address, 2, address2, 2, district, 2, city_id, 2, postal_code, 2, phone, 2, last_update, 3, category_id, 3, name, 3, last_update, 4, city_id, 4, city, 4, country_id, 4, last_update, 5, country_id, 5, country, 5, last_update, 6, customer_id, 6, store_id, 6, first_name, 6, last_name, 6, email, 6, address_id, 6, active, 6, create_date, 6, last_update, 7, film_id, 7, title, 7, description, 7, release_year, 7, language_id, 7, original_language_id, 7, rental_duration, 7, rental_rate, 7, length, 7, replacement_cost, 7, rating, 7, special_features, 7, last_update, 8, actor_id, 8, film_id, 8, last_update, 9, film_id, 9, category_id, 9, last_update, 10, inventory_id, 10, film_id, 10, store_id, 10, last_update, 11, language_id, 11, name, 11, last_update, 12, payment_id, 12, customer_id, 12, staff_id, 12, rental_id, 12, amount, 12, payment_date, 12, last_update, 13, rental_id, 13, rental_date, 13, inventory_id, 13, customer_id, 13, return_date, 13, staff_id, 13, last_update, 14, staff_id, 14, first_name, 14, last_name, 14, address_id, 14, picture, 14, email, 14, store_id, 14, active, 14, username, 14, password, 14, last_update, 15, store_id, 15, manager_staff_id, 15, address_id, 15, last_update
Question: How many actors with the surname Kilmer are there?
Evidence: surname means last_name;
SQL: SELECT COUNT(actor_id) FROM actor WHERE last_name = 'Kilmer'
Database: movie_3
Tables: film_text, actor, address, category, city, country, customer, film, film_actor, film_category, inventory, language, payment, rental, staff, store
Columns (table index, column name): -1, *, 0, film_id, 0, title, 0, description, 1, actor_id, 1, first_name, 1, last_name, 1, last_update, 2, address_id, 2, address, 2, address2, 2, district, 2, city_id, 2, postal_code, 2, phone, 2, last_update, 3, category_id, 3, name, 3, last_update, 4, city_id, 4, city, 4, country_id, 4, last_update, 5, country_id, 5, country, 5, last_update, 6, customer_id, 6, store_id, 6, first_name, 6, last_name, 6, email, 6, address_id, 6, active, 6, create_date, 6, last_update, 7, film_id, 7, title, 7, description, 7, release_year, 7, language_id, 7, original_language_id, 7, rental_duration, 7, rental_rate, 7, length, 7, replacement_cost, 7, rating, 7, special_features, 7, last_update, 8, actor_id, 8, film_id, 8, last_update, 9, film_id, 9, category_id, 9, last_update, 10, inventory_id, 10, film_id, 10, store_id, 10, last_update, 11, language_id, 11, name, 11, last_update, 12, payment_id, 12, customer_id, 12, staff_id, 12, rental_id, 12, amount, 12, payment_date, 12, last_update, 13, rental_id, 13, rental_date, 13, inventory_id, 13, customer_id, 13, return_date, 13, staff_id, 13, last_update, 14, staff_id, 14, first_name, 14, last_name, 14, address_id, 14, picture, 14, email, 14, store_id, 14, active, 14, username, 14, password, 14, last_update, 15, store_id, 15, manager_staff_id, 15, address_id, 15, last_update
Question: How many movies have a length longer than 100?
Evidence: length longer than 100 refers to length > 100
SQL: SELECT COUNT(film_id) FROM film WHERE length > 100