1sf/bird-sql-train-with-schema huggingface dataset:
Database: movie_platform
Tables: lists, movies, ratings_users, lists_users, ratings
Columns (table index, column name): -1, *, 0, user_id, 0, list_id, 0, list_title, 0, list_movie_number, 0, list_update_timestamp_utc, 0, list_creation_timestamp_utc, 0, list_followers, 0, list_url, 0, list_comments, 0, list_description, 0, list_cover_image_url, 0, list_first_image_url, 0, list_second_image_url, 0, list_third_image_url, 1, movie_id, 1, movie_title, 1, movie_release_year, 1, movie_url, 1, movie_title_language, 1, movie_popularity, 1, movie_image_url, 1, director_id, 1, director_name, 1, director_url, 2, user_id, 2, rating_date_utc, 2, user_trialist, 2, user_subscriber, 2, user_avatar_image_url, 2, user_cover_image_url, 2, user_eligible_for_trial, 2, user_has_payment_method, 3, user_id, 3, list_id, 3, list_update_date_utc, 3, list_creation_date_utc, 3, user_trialist, 3, user_subscriber, 3, user_avatar_image_url, 3, user_cover_image_url, 3, user_eligible_for_trial, 3, user_has_payment_method, 4, movie_id, 4, rating_id, 4, rating_url, 4, rating_score, 4, rating_timestamp_utc, 4, critic, 4, critic_likes, 4, critic_comments, 4, user_id, 4, user_trialist, 4, user_subscriber, 4, user_eligible_for_trial, 4, user_has_payment_method
Question: What's the url of user 39115684's rating on the movie 'When Will I Be Loved'?
Evidence: A Way of Life refers to movie_title; user 39115684 refers to userid = 39115684;  url refers to rating_url;
SQL: SELECT T1.rating_url FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'A Way of Life' AND T1.user_id = 39115684
Database: movie_platform
Tables: lists, movies, ratings_users, lists_users, ratings
Columns (table index, column name): -1, *, 0, user_id, 0, list_id, 0, list_title, 0, list_movie_number, 0, list_update_timestamp_utc, 0, list_creation_timestamp_utc, 0, list_followers, 0, list_url, 0, list_comments, 0, list_description, 0, list_cover_image_url, 0, list_first_image_url, 0, list_second_image_url, 0, list_third_image_url, 1, movie_id, 1, movie_title, 1, movie_release_year, 1, movie_url, 1, movie_title_language, 1, movie_popularity, 1, movie_image_url, 1, director_id, 1, director_name, 1, director_url, 2, user_id, 2, rating_date_utc, 2, user_trialist, 2, user_subscriber, 2, user_avatar_image_url, 2, user_cover_image_url, 2, user_eligible_for_trial, 2, user_has_payment_method, 3, user_id, 3, list_id, 3, list_update_date_utc, 3, list_creation_date_utc, 3, user_trialist, 3, user_subscriber, 3, user_avatar_image_url, 3, user_cover_image_url, 3, user_eligible_for_trial, 3, user_has_payment_method, 4, movie_id, 4, rating_id, 4, rating_url, 4, rating_score, 4, rating_timestamp_utc, 4, critic, 4, critic_likes, 4, critic_comments, 4, user_id, 4, user_trialist, 4, user_subscriber, 4, user_eligible_for_trial, 4, user_has_payment_method
Question: Was user 39115684 a trialist when he or she rated the movie "A Way of Life"?
Evidence: A Way of Life' refers to movie_title; user 39115684 refers to userid = 39115684;  the user was a trialist when he rated the movie refers to user_trialist = 1;
SQL: SELECT T1.user_trialist FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'A Way of Life' AND T1.user_id = 39115684
Database: movie_platform
Tables: lists, movies, ratings_users, lists_users, ratings
Columns (table index, column name): -1, *, 0, user_id, 0, list_id, 0, list_title, 0, list_movie_number, 0, list_update_timestamp_utc, 0, list_creation_timestamp_utc, 0, list_followers, 0, list_url, 0, list_comments, 0, list_description, 0, list_cover_image_url, 0, list_first_image_url, 0, list_second_image_url, 0, list_third_image_url, 1, movie_id, 1, movie_title, 1, movie_release_year, 1, movie_url, 1, movie_title_language, 1, movie_popularity, 1, movie_image_url, 1, director_id, 1, director_name, 1, director_url, 2, user_id, 2, rating_date_utc, 2, user_trialist, 2, user_subscriber, 2, user_avatar_image_url, 2, user_cover_image_url, 2, user_eligible_for_trial, 2, user_has_payment_method, 3, user_id, 3, list_id, 3, list_update_date_utc, 3, list_creation_date_utc, 3, user_trialist, 3, user_subscriber, 3, user_avatar_image_url, 3, user_cover_image_url, 3, user_eligible_for_trial, 3, user_has_payment_method, 4, movie_id, 4, rating_id, 4, rating_url, 4, rating_score, 4, rating_timestamp_utc, 4, critic, 4, critic_likes, 4, critic_comments, 4, user_id, 4, user_trialist, 4, user_subscriber, 4, user_eligible_for_trial, 4, user_has_payment_method
Question: How many users were trialists when they rated the movie "A Way of Life"?
Evidence: A Way of Life' refers to movie_title; the user was a trialist when he rated the movie refers to user_trialist = 1;
SQL: SELECT COUNT(T1.user_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'When Will I Be Loved' AND T1.user_trialist = 1
Database: movie_platform
Tables: lists, movies, ratings_users, lists_users, ratings
Columns (table index, column name): -1, *, 0, user_id, 0, list_id, 0, list_title, 0, list_movie_number, 0, list_update_timestamp_utc, 0, list_creation_timestamp_utc, 0, list_followers, 0, list_url, 0, list_comments, 0, list_description, 0, list_cover_image_url, 0, list_first_image_url, 0, list_second_image_url, 0, list_third_image_url, 1, movie_id, 1, movie_title, 1, movie_release_year, 1, movie_url, 1, movie_title_language, 1, movie_popularity, 1, movie_image_url, 1, director_id, 1, director_name, 1, director_url, 2, user_id, 2, rating_date_utc, 2, user_trialist, 2, user_subscriber, 2, user_avatar_image_url, 2, user_cover_image_url, 2, user_eligible_for_trial, 2, user_has_payment_method, 3, user_id, 3, list_id, 3, list_update_date_utc, 3, list_creation_date_utc, 3, user_trialist, 3, user_subscriber, 3, user_avatar_image_url, 3, user_cover_image_url, 3, user_eligible_for_trial, 3, user_has_payment_method, 4, movie_id, 4, rating_id, 4, rating_url, 4, rating_score, 4, rating_timestamp_utc, 4, critic, 4, critic_likes, 4, critic_comments, 4, user_id, 4, user_trialist, 4, user_subscriber, 4, user_eligible_for_trial, 4, user_has_payment_method
Question: Please list all the links to the ratings on the movie "A Way of Life" with a critic.
Evidence: A Way of Life' refers to movie_title; with a critic refers to critic is not null, links to the ratings refers to rating_url;
SQL: SELECT T1.rating_url FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'A Way of Life' AND T1.critic IS NOT NULL
Database: movie_platform
Tables: lists, movies, ratings_users, lists_users, ratings
Columns (table index, column name): -1, *, 0, user_id, 0, list_id, 0, list_title, 0, list_movie_number, 0, list_update_timestamp_utc, 0, list_creation_timestamp_utc, 0, list_followers, 0, list_url, 0, list_comments, 0, list_description, 0, list_cover_image_url, 0, list_first_image_url, 0, list_second_image_url, 0, list_third_image_url, 1, movie_id, 1, movie_title, 1, movie_release_year, 1, movie_url, 1, movie_title_language, 1, movie_popularity, 1, movie_image_url, 1, director_id, 1, director_name, 1, director_url, 2, user_id, 2, rating_date_utc, 2, user_trialist, 2, user_subscriber, 2, user_avatar_image_url, 2, user_cover_image_url, 2, user_eligible_for_trial, 2, user_has_payment_method, 3, user_id, 3, list_id, 3, list_update_date_utc, 3, list_creation_date_utc, 3, user_trialist, 3, user_subscriber, 3, user_avatar_image_url, 3, user_cover_image_url, 3, user_eligible_for_trial, 3, user_has_payment_method, 4, movie_id, 4, rating_id, 4, rating_url, 4, rating_score, 4, rating_timestamp_utc, 4, critic, 4, critic_likes, 4, critic_comments, 4, user_id, 4, user_trialist, 4, user_subscriber, 4, user_eligible_for_trial, 4, user_has_payment_method
Question: How many users have rated the most popular movie?
Evidence: most popular refers to Max(movie_popularity);
SQL: SELECT COUNT(rating_id) FROM ratings WHERE movie_id = ( SELECT movie_id FROM movies ORDER BY movie_popularity DESC LIMIT 1 )
Database: movie_platform
Tables: lists, movies, ratings_users, lists_users, ratings
Columns (table index, column name): -1, *, 0, user_id, 0, list_id, 0, list_title, 0, list_movie_number, 0, list_update_timestamp_utc, 0, list_creation_timestamp_utc, 0, list_followers, 0, list_url, 0, list_comments, 0, list_description, 0, list_cover_image_url, 0, list_first_image_url, 0, list_second_image_url, 0, list_third_image_url, 1, movie_id, 1, movie_title, 1, movie_release_year, 1, movie_url, 1, movie_title_language, 1, movie_popularity, 1, movie_image_url, 1, director_id, 1, director_name, 1, director_url, 2, user_id, 2, rating_date_utc, 2, user_trialist, 2, user_subscriber, 2, user_avatar_image_url, 2, user_cover_image_url, 2, user_eligible_for_trial, 2, user_has_payment_method, 3, user_id, 3, list_id, 3, list_update_date_utc, 3, list_creation_date_utc, 3, user_trialist, 3, user_subscriber, 3, user_avatar_image_url, 3, user_cover_image_url, 3, user_eligible_for_trial, 3, user_has_payment_method, 4, movie_id, 4, rating_id, 4, rating_url, 4, rating_score, 4, rating_timestamp_utc, 4, critic, 4, critic_likes, 4, critic_comments, 4, user_id, 4, user_trialist, 4, user_subscriber, 4, user_eligible_for_trial, 4, user_has_payment_method
Question: User 58149469's critic on which film got 1 like and 2 comments?
Evidence: user 58149469 refers to user_id = 58149469; critic with 1 like refers to critic_likes = 1; critic with 2 comments refers to critic_comments = 2;
SQL: SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_id = 58149469 AND T1.critic_likes = 1 AND T1.critic_comments = 2
Database: movie_platform
Tables: lists, movies, ratings_users, lists_users, ratings
Columns (table index, column name): -1, *, 0, user_id, 0, list_id, 0, list_title, 0, list_movie_number, 0, list_update_timestamp_utc, 0, list_creation_timestamp_utc, 0, list_followers, 0, list_url, 0, list_comments, 0, list_description, 0, list_cover_image_url, 0, list_first_image_url, 0, list_second_image_url, 0, list_third_image_url, 1, movie_id, 1, movie_title, 1, movie_release_year, 1, movie_url, 1, movie_title_language, 1, movie_popularity, 1, movie_image_url, 1, director_id, 1, director_name, 1, director_url, 2, user_id, 2, rating_date_utc, 2, user_trialist, 2, user_subscriber, 2, user_avatar_image_url, 2, user_cover_image_url, 2, user_eligible_for_trial, 2, user_has_payment_method, 3, user_id, 3, list_id, 3, list_update_date_utc, 3, list_creation_date_utc, 3, user_trialist, 3, user_subscriber, 3, user_avatar_image_url, 3, user_cover_image_url, 3, user_eligible_for_trial, 3, user_has_payment_method, 4, movie_id, 4, rating_id, 4, rating_url, 4, rating_score, 4, rating_timestamp_utc, 4, critic, 4, critic_likes, 4, critic_comments, 4, user_id, 4, user_trialist, 4, user_subscriber, 4, user_eligible_for_trial, 4, user_has_payment_method
Question: Among the users who are trailists when rating the movie "When Will I Be Loved", how many of them have rated "1" on the movie?
Evidence: When Will I Be Loved refers to movie_title; the user was a trialist when he rated the movie refers to user_trialist = 1;rated 1 on the movie refers to rating_score = 1;
SQL: SELECT COUNT(T1.user_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'When Will I Be Loved' AND T1.rating_score = 1 AND T1.user_trialist = 1
Database: movie_platform
Tables: lists, movies, ratings_users, lists_users, ratings
Columns (table index, column name): -1, *, 0, user_id, 0, list_id, 0, list_title, 0, list_movie_number, 0, list_update_timestamp_utc, 0, list_creation_timestamp_utc, 0, list_followers, 0, list_url, 0, list_comments, 0, list_description, 0, list_cover_image_url, 0, list_first_image_url, 0, list_second_image_url, 0, list_third_image_url, 1, movie_id, 1, movie_title, 1, movie_release_year, 1, movie_url, 1, movie_title_language, 1, movie_popularity, 1, movie_image_url, 1, director_id, 1, director_name, 1, director_url, 2, user_id, 2, rating_date_utc, 2, user_trialist, 2, user_subscriber, 2, user_avatar_image_url, 2, user_cover_image_url, 2, user_eligible_for_trial, 2, user_has_payment_method, 3, user_id, 3, list_id, 3, list_update_date_utc, 3, list_creation_date_utc, 3, user_trialist, 3, user_subscriber, 3, user_avatar_image_url, 3, user_cover_image_url, 3, user_eligible_for_trial, 3, user_has_payment_method, 4, movie_id, 4, rating_id, 4, rating_url, 4, rating_score, 4, rating_timestamp_utc, 4, critic, 4, critic_likes, 4, critic_comments, 4, user_id, 4, user_trialist, 4, user_subscriber, 4, user_eligible_for_trial, 4, user_has_payment_method
Question: How many ratings on the movie "A Way of Life" are made after the year 2011?
Evidence: A Way of Life' is movie_title; rating after the year 2011 refers to rating_timestamp_utc > '2011';
SQL: SELECT COUNT(T1.rating_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'A Way of Life' AND T1.rating_timestamp_utc >= '2012-01-01'
Database: movie_platform
Tables: lists, movies, ratings_users, lists_users, ratings
Columns (table index, column name): -1, *, 0, user_id, 0, list_id, 0, list_title, 0, list_movie_number, 0, list_update_timestamp_utc, 0, list_creation_timestamp_utc, 0, list_followers, 0, list_url, 0, list_comments, 0, list_description, 0, list_cover_image_url, 0, list_first_image_url, 0, list_second_image_url, 0, list_third_image_url, 1, movie_id, 1, movie_title, 1, movie_release_year, 1, movie_url, 1, movie_title_language, 1, movie_popularity, 1, movie_image_url, 1, director_id, 1, director_name, 1, director_url, 2, user_id, 2, rating_date_utc, 2, user_trialist, 2, user_subscriber, 2, user_avatar_image_url, 2, user_cover_image_url, 2, user_eligible_for_trial, 2, user_has_payment_method, 3, user_id, 3, list_id, 3, list_update_date_utc, 3, list_creation_date_utc, 3, user_trialist, 3, user_subscriber, 3, user_avatar_image_url, 3, user_cover_image_url, 3, user_eligible_for_trial, 3, user_has_payment_method, 4, movie_id, 4, rating_id, 4, rating_url, 4, rating_score, 4, rating_timestamp_utc, 4, critic, 4, critic_likes, 4, critic_comments, 4, user_id, 4, user_trialist, 4, user_subscriber, 4, user_eligible_for_trial, 4, user_has_payment_method
Question: What's of rating on the movie "Innocence Unprotected" by the user who created the movie list "250 Favourite Films"?
Evidence: Innocence Unprotected' is movie_title; '250 Favourite Films' is list_title; rating refers to rating_score;
SQL: SELECT T1.rating_score FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists AS T3 ON T3.user_id = T1.user_id WHERE T2.movie_title = 'Innocence Unprotected' AND T3.list_title = '250 Favourite Films'
Database: movie_platform
Tables: lists, movies, ratings_users, lists_users, ratings
Columns (table index, column name): -1, *, 0, user_id, 0, list_id, 0, list_title, 0, list_movie_number, 0, list_update_timestamp_utc, 0, list_creation_timestamp_utc, 0, list_followers, 0, list_url, 0, list_comments, 0, list_description, 0, list_cover_image_url, 0, list_first_image_url, 0, list_second_image_url, 0, list_third_image_url, 1, movie_id, 1, movie_title, 1, movie_release_year, 1, movie_url, 1, movie_title_language, 1, movie_popularity, 1, movie_image_url, 1, director_id, 1, director_name, 1, director_url, 2, user_id, 2, rating_date_utc, 2, user_trialist, 2, user_subscriber, 2, user_avatar_image_url, 2, user_cover_image_url, 2, user_eligible_for_trial, 2, user_has_payment_method, 3, user_id, 3, list_id, 3, list_update_date_utc, 3, list_creation_date_utc, 3, user_trialist, 3, user_subscriber, 3, user_avatar_image_url, 3, user_cover_image_url, 3, user_eligible_for_trial, 3, user_has_payment_method, 4, movie_id, 4, rating_id, 4, rating_url, 4, rating_score, 4, rating_timestamp_utc, 4, critic, 4, critic_likes, 4, critic_comments, 4, user_id, 4, user_trialist, 4, user_subscriber, 4, user_eligible_for_trial, 4, user_has_payment_method
Question: Please list the movies rated by the user who created the movie list "250 Favourite Films".
Evidence: 250 Favourite Films' is list_title; movies refers to movie_title;
SQL: SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists AS T3 ON T3.user_id = T1.user_id WHERE T3.list_title = '250 Favourite Films'
Database: movie_platform
Tables: lists, movies, ratings_users, lists_users, ratings
Columns (table index, column name): -1, *, 0, user_id, 0, list_id, 0, list_title, 0, list_movie_number, 0, list_update_timestamp_utc, 0, list_creation_timestamp_utc, 0, list_followers, 0, list_url, 0, list_comments, 0, list_description, 0, list_cover_image_url, 0, list_first_image_url, 0, list_second_image_url, 0, list_third_image_url, 1, movie_id, 1, movie_title, 1, movie_release_year, 1, movie_url, 1, movie_title_language, 1, movie_popularity, 1, movie_image_url, 1, director_id, 1, director_name, 1, director_url, 2, user_id, 2, rating_date_utc, 2, user_trialist, 2, user_subscriber, 2, user_avatar_image_url, 2, user_cover_image_url, 2, user_eligible_for_trial, 2, user_has_payment_method, 3, user_id, 3, list_id, 3, list_update_date_utc, 3, list_creation_date_utc, 3, user_trialist, 3, user_subscriber, 3, user_avatar_image_url, 3, user_cover_image_url, 3, user_eligible_for_trial, 3, user_has_payment_method, 4, movie_id, 4, rating_id, 4, rating_url, 4, rating_score, 4, rating_timestamp_utc, 4, critic, 4, critic_likes, 4, critic_comments, 4, user_id, 4, user_trialist, 4, user_subscriber, 4, user_eligible_for_trial, 4, user_has_payment_method
Question: What's the average rating score of the movie "A Way of Life"?
Evidence: A Way of Life' is movie_title; average rating score = Divide (Sum(rating_score), Count(rating_id));
SQL: SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'A Way of Life'
Database: movie_platform
Tables: lists, movies, ratings_users, lists_users, ratings
Columns (table index, column name): -1, *, 0, user_id, 0, list_id, 0, list_title, 0, list_movie_number, 0, list_update_timestamp_utc, 0, list_creation_timestamp_utc, 0, list_followers, 0, list_url, 0, list_comments, 0, list_description, 0, list_cover_image_url, 0, list_first_image_url, 0, list_second_image_url, 0, list_third_image_url, 1, movie_id, 1, movie_title, 1, movie_release_year, 1, movie_url, 1, movie_title_language, 1, movie_popularity, 1, movie_image_url, 1, director_id, 1, director_name, 1, director_url, 2, user_id, 2, rating_date_utc, 2, user_trialist, 2, user_subscriber, 2, user_avatar_image_url, 2, user_cover_image_url, 2, user_eligible_for_trial, 2, user_has_payment_method, 3, user_id, 3, list_id, 3, list_update_date_utc, 3, list_creation_date_utc, 3, user_trialist, 3, user_subscriber, 3, user_avatar_image_url, 3, user_cover_image_url, 3, user_eligible_for_trial, 3, user_has_payment_method, 4, movie_id, 4, rating_id, 4, rating_url, 4, rating_score, 4, rating_timestamp_utc, 4, critic, 4, critic_likes, 4, critic_comments, 4, user_id, 4, user_trialist, 4, user_subscriber, 4, user_eligible_for_trial, 4, user_has_payment_method
Question: What's the percentage of the users who have rated "1" on the movie "When Will I Be Loved"?
Evidence: When Will I Be Loved' is movie_title; rated 1 refers to rating_score = 1; percentage = Divide(Count(rating_id where rating_score = 1),Count(rating_id)) *100;
SQL: SELECT CAST(SUM(CASE WHEN T1.rating_score = 1 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'When Will I Be Loved'
Database: movie_platform
Tables: lists, movies, ratings_users, lists_users, ratings
Columns (table index, column name): -1, *, 0, user_id, 0, list_id, 0, list_title, 0, list_movie_number, 0, list_update_timestamp_utc, 0, list_creation_timestamp_utc, 0, list_followers, 0, list_url, 0, list_comments, 0, list_description, 0, list_cover_image_url, 0, list_first_image_url, 0, list_second_image_url, 0, list_third_image_url, 1, movie_id, 1, movie_title, 1, movie_release_year, 1, movie_url, 1, movie_title_language, 1, movie_popularity, 1, movie_image_url, 1, director_id, 1, director_name, 1, director_url, 2, user_id, 2, rating_date_utc, 2, user_trialist, 2, user_subscriber, 2, user_avatar_image_url, 2, user_cover_image_url, 2, user_eligible_for_trial, 2, user_has_payment_method, 3, user_id, 3, list_id, 3, list_update_date_utc, 3, list_creation_date_utc, 3, user_trialist, 3, user_subscriber, 3, user_avatar_image_url, 3, user_cover_image_url, 3, user_eligible_for_trial, 3, user_has_payment_method, 4, movie_id, 4, rating_id, 4, rating_url, 4, rating_score, 4, rating_timestamp_utc, 4, critic, 4, critic_likes, 4, critic_comments, 4, user_id, 4, user_trialist, 4, user_subscriber, 4, user_eligible_for_trial, 4, user_has_payment_method
Question: How much higher is the average rating score of the movie "Innocence Unprotected" than the movie "When Will I Be Loved"?
Evidence: Innocence Unprotected' and 'When Will I Be Loved' are movie_title; Average rating score = Divide(Sum(rating_score), Count(rating_id));
SQL: SELECT SUM(CASE WHEN T2.movie_title = 'Innocence Unprotected' THEN T1.rating_score ELSE 0 END) / SUM(CASE WHEN T2.movie_title = 'Innocence Unprotected' THEN 1 ELSE 0 END) - SUM(CASE WHEN T2.movie_title = 'When Will I Be Loved' THEN T1.rating_score ELSE 0 END) / SUM(CASE WHEN T2.movie_title = 'When Will I Be Loved' THEN 1 ELSE 0 END) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id
Database: movie_platform
Tables: lists, movies, ratings_users, lists_users, ratings
Columns (table index, column name): -1, *, 0, user_id, 0, list_id, 0, list_title, 0, list_movie_number, 0, list_update_timestamp_utc, 0, list_creation_timestamp_utc, 0, list_followers, 0, list_url, 0, list_comments, 0, list_description, 0, list_cover_image_url, 0, list_first_image_url, 0, list_second_image_url, 0, list_third_image_url, 1, movie_id, 1, movie_title, 1, movie_release_year, 1, movie_url, 1, movie_title_language, 1, movie_popularity, 1, movie_image_url, 1, director_id, 1, director_name, 1, director_url, 2, user_id, 2, rating_date_utc, 2, user_trialist, 2, user_subscriber, 2, user_avatar_image_url, 2, user_cover_image_url, 2, user_eligible_for_trial, 2, user_has_payment_method, 3, user_id, 3, list_id, 3, list_update_date_utc, 3, list_creation_date_utc, 3, user_trialist, 3, user_subscriber, 3, user_avatar_image_url, 3, user_cover_image_url, 3, user_eligible_for_trial, 3, user_has_payment_method, 4, movie_id, 4, rating_id, 4, rating_url, 4, rating_score, 4, rating_timestamp_utc, 4, critic, 4, critic_likes, 4, critic_comments, 4, user_id, 4, user_trialist, 4, user_subscriber, 4, user_eligible_for_trial, 4, user_has_payment_method
Question: Who was the director of the movie "Tokyo Eyes"？
Evidence: Tokyo Eyes' is movie_title, director refers to director_name;
SQL: SELECT director_name FROM movies WHERE movie_title = 'Tokyo Eyes'
Database: movie_platform
Tables: lists, movies, ratings_users, lists_users, ratings
Columns (table index, column name): -1, *, 0, user_id, 0, list_id, 0, list_title, 0, list_movie_number, 0, list_update_timestamp_utc, 0, list_creation_timestamp_utc, 0, list_followers, 0, list_url, 0, list_comments, 0, list_description, 0, list_cover_image_url, 0, list_first_image_url, 0, list_second_image_url, 0, list_third_image_url, 1, movie_id, 1, movie_title, 1, movie_release_year, 1, movie_url, 1, movie_title_language, 1, movie_popularity, 1, movie_image_url, 1, director_id, 1, director_name, 1, director_url, 2, user_id, 2, rating_date_utc, 2, user_trialist, 2, user_subscriber, 2, user_avatar_image_url, 2, user_cover_image_url, 2, user_eligible_for_trial, 2, user_has_payment_method, 3, user_id, 3, list_id, 3, list_update_date_utc, 3, list_creation_date_utc, 3, user_trialist, 3, user_subscriber, 3, user_avatar_image_url, 3, user_cover_image_url, 3, user_eligible_for_trial, 3, user_has_payment_method, 4, movie_id, 4, rating_id, 4, rating_url, 4, rating_score, 4, rating_timestamp_utc, 4, critic, 4, critic_likes, 4, critic_comments, 4, user_id, 4, user_trialist, 4, user_subscriber, 4, user_eligible_for_trial, 4, user_has_payment_method
Question: How many films were released in 2007?
Evidence: film released in 2007 refers to movie_release_year = 2007; film refers to movie
SQL: SELECT COUNT(*) FROM movies WHERE movie_release_year = 2007