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: Who was the earliest user created a list but didn't get any followers? Give the user ID.
Evidence: earliest user created a list refers to MIN(list_creation_date_utc); didn't get any followers refers to user_subscriber = 0
SQL: SELECT user_id FROM lists_users WHERE user_subscriber = 0 ORDER BY list_creation_date_utc 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: Give the number of followers for the user who posted the most lists.
Evidence: number of followers refers to user_subscriber; posted the most lists refers to MAX(COUNT(list_id))
SQL: SELECT SUM(T1.list_followers) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id GROUP BY T1.user_id ORDER BY COUNT(T1.list_id) 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: How many followers did the user who posted the list "Non-American Films about World War II" have?
Evidence: the list "Non-American Films about World War II" refers to list_title = 'Non-American Films about World War II'
SQL: SELECT SUM(T2.list_followers) FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T2.list_title LIKE 'Non-American Films about World War II'
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 number of users gave the movie "Downfall" a rating of "4"?
Evidence: movie "Downfall" refers to movie_title = 'Downfall'; rating of "4" refers to rating_score = 4
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 = 'Downfall' AND T1.rating_score = 4
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: Give the name of the movie that got the most "5" ratings.
Evidence: 5 ratings refers to rating_score = 5; name of the movie 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 WHERE T1.rating_score = 5
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: Which movie got the most critic comments? Give the name of the movie.
Evidence: name of the movie refers to movie_title; most critic comments refers to MAX(critic_comments)
SQL: SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id GROUP BY T2.movie_title ORDER BY COUNT(T1.critic_comments) 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: Show the avatar of the user who gave the rating at 2019/10/17 1:36:36.
Evidence: at 2019/10/17 1:36:36 refers to rating_timestamp_utc = '2019/10/17 1:36:36'; avatar of the user refers to user_avatar_image_url


SQL: SELECT T2.user_avatar_image_url FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id WHERE T1.rating_timestamp_utc LIKE '2019-10-17 01:36:36'
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: Show the portrait picture of the user who created the list "Vladimir Vladimirovich Nabokov".
Evidence: the list "Vladimir Vladimirovich Nabokov" refers to list_title = 'Vladimir Vladimirovich Nabokov'; portrait picture refers to user_avatar_image_url
SQL: SELECT T1.user_avatar_image_url FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T2.list_title LIKE 'Vladimir Vladimirovich Nabokov'
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: For the user who post the list that contained the most number of the movies, is he/she a paying subscriber when creating that list?
Evidence: the list that contained the most number of the movies refers to MAX(list_movie_number); user_has_payment_method = 1 means the user was a paying subscriber when he created the list ; 
user_has_payment_method = 0 means the user was not a paying subscriber when he created the list 


SQL: SELECT T1.user_has_payment_method FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T2.list_movie_number = ( SELECT MAX(list_movie_number) FROM lists )
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: Show the head portrait of the user who gave the most "5" ratings.
Evidence: head portrait refers to user_avatar_image_url; "5" ratings refers to rating_score = 5
SQL: SELECT T2.user_avatar_image_url FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id WHERE T1.rating_score = 5
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 critics were given to the movie that got the most movie popularity number.
Evidence: most movie popularity number refers to MAX(movie_popularity)
SQL: SELECT COUNT(T1.critic) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_popularity = ( SELECT MAX(movie_popularity) FROM movies )
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 gave a "4" rating to the movie "Freaks" at 2013/5/4 6:33:32? Give his/her user id.
Evidence: 4 rating refers to rating_score = 4; the movie "Freaks" refers to movie_title = 'Freaks' ; at 2013/5/4 6:33:32 refers to rating_timestamp_utc = '2013-05-04 06:33:32'
SQL: SELECT T1.user_id FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE rating_score = 4 AND rating_timestamp_utc LIKE '2013-05-04 06:33:32' AND T2.movie_title LIKE 'Freaks'
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: Give the url of movie which was rated 5 on 2013/5/3 5:11:17.
Evidence: rated 5 refers to rating_score = 5; on 2013/5/3 5:11:17 refers to rating_timestamp_utc = '2013-05-03 05:11:17'
SQL: SELECT T2.movie_url FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE rating_score = 5 AND rating_timestamp_utc LIKE '2013-05-03 05:11:17'
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: For the 1998 movie which got the highest popularity, how many "4" rating did the movie get?
Evidence: 1998 movie refers to movie_release_year = '1998'; the highest popularity refers to MAX(movie_popularity) ; "4" rating refers to rating_score = 4
SQL: SELECT COUNT(T2.movie_title) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.rating_score = 4 AND T2.movie_release_year = 1998 ORDER BY T2.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: From all the movies that got more than 13000 popularity number, which one had the least ratings.
Evidence: more than 13000 popularity number refers to movie_popularity > 13000; least ratings refers to MIN(rating_score)
SQL: SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_popularity > 13000 ORDER BY T1.rating_score LIMIT 1