[
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the lists created by user 12345678?",
    "evidence": "",
    "SQL": "SELECT T1.list_title FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T2.user_id = 12345678"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score given by user 8516503 to movies in the top 10 lists?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T2.user_id = 8516503 ORDER BY T3.list_movie_number DESC LIMIT 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the number of lists with cover images on Mubi that were created by users who are not trialists and have more than 5 followers?",
    "evidence": "",
    "SQL": "SELECT COUNT(T1.list_id) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_trialist = 0 AND T1.list_followers > 5 AND T1.list_cover_image_url IS NOT NULL"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most frequently rated movies in the '100 Greatest Living American Filmmakers' list?",
    "evidence": "",
    "SQL": "SELECT DISTINCT M.movie_title, COUNT(R.rating_id) AS rating_count FROM lists_users LU INNER JOIN lists L ON LU.list_id = L.list_id INNER JOIN ratings R ON LU.user_id = R.user_id INNER JOIN movies M ON R.movie_id = M.movie_id WHERE L.list_title = '100 Greatest Living American Filmmakers' GROUP BY M.movie_title ORDER BY rating_count DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movies on the list 'Inception' have been rated by users with payment method?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings AS T1 INNER JOIN lists AS T2 ON T1.movie_id IN (SELECT movie_id FROM movies WHERE movie_title LIKE 'Inception') AND T1.user_id IN (SELECT user_id FROM ratings_users WHERE user_has_payment_method = 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the most popular movies in the lists of all users who have not been a trialist?",
    "evidence": "",
    "SQL": "SELECT DISTINCT movies.movie_title FROM movies INNER JOIN lists_users ON movies.movie_id = lists_users.list_id INNER JOIN lists ON lists_users.list_id = lists.list_id WHERE lists_users.user_trialist = 0 GROUP BY movies.movie_title ORDER BY COUNT(lists_users.list_id) DESC LIMIT 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most followed lists by the user 85981819?",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id = 85981819) ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movies have a director who is also a subscriber in the list?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT T1.movie_id) FROM lists AS T2 INNER JOIN lists_users AS T3 ON T2.list_id = T3.list_id INNER JOIN movies AS T1 ON T2.list_movie_number = T1.movie_id WHERE T3.user_subscriber = 1 AND T1.director_id = T3.user_id"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of all the movies directed by Martin Scorsese, sorted by the average rating from users, in descending order?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, AVG(T1.rating_score) AS average_rating FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'Martin Scorsese' GROUP BY T2.movie_title ORDER BY average_rating DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of a movie from a user who has given more than 5 ratings?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) AS avg_rating FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_id IN (SELECT user_id FROM lists_users GROUP BY user_id HAVING COUNT(list_id) > 5)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of the lists created by users who have a trialist status?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T2.user_trialist = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of followers of the list created by user 2431207 with title 'My Favourite Films'?",
    "evidence": "",
    "SQL": "SELECT T1.list_followers FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id AND T1.list_id = T2.list_id WHERE T1.list_title = 'My Favourite Films' AND T2.user_id = 2431207"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list with the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list with the most followers in the list_movies table?",
    "evidence": "",
    "SQL": "SELECT list_id, list_followers FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie that was added to the most number of lists?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM movies AS T2 INNER JOIN ratings_users AS T1 ON T2.movie_id = T1.user_id GROUP BY T2.movie_title ORDER BY COUNT(T2.movie_title) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the most ratings from the list of users who are subscribers?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T2.user_id = T3.user_id WHERE T3.user_subscriber = 1 GROUP BY T1.movie_title ORDER BY COUNT(*) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of lists created by users who have been trialists at least once?",
    "evidence": "",
    "SQL": "SELECT DISTINCT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id IN (SELECT user_id FROM ratings_users WHERE user_trialist = 1))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie that has the highest number of ratings?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, COUNT(T2.rating_id) AS ratings_count FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id GROUP BY T1.movie_id ORDER BY ratings_count DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of number of movies added to the lists of the users who rated a movie with a score of 5?",
    "evidence": "",
    "SQL": "SELECT AVG(list_movie_number) FROM lists JOIN lists_users ON lists.user_id = lists_users.user_id WHERE lists.user_id IN (SELECT user_id FROM ratings WHERE rating_score = 5)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the names of all the users who have commented on at least one movie of Hong Sang-soo?",
    "evidence": "",
    "SQL": "SELECT DISTINCT user_id FROM ratings_users WHERE user_id IN (SELECT user_id FROM ratings WHERE movie_id IN (SELECT movie_id FROM movies WHERE director_name = 'Hong Sang-soo'))"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movies are rated by subscribers of 'G.I. Jane'?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE T2.movie_title = 'G.I. Jane' AND T3.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list id of the list that has the most followers?",
    "evidence": "",
    "SQL": "SELECT list_id FROM lists WHERE list_id IN (SELECT list_id FROM lists ORDER BY list_followers DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list of movies with the most number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list with the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the percentage of movies from the 1980s that have a director with a popular movie with a popularity of more than 11,000?",
    "evidence": "",
    "SQL": "SELECT CAST(COUNT(DISTINCT T1.movie_id) AS REAL) * 100 / (SELECT COUNT(DISTINCT T2.movie_id) FROM movies AS T2 WHERE T2.movie_release_year BETWEEN '1980' AND '1989') FROM movies AS T1 INNER JOIN movies AS T2 ON T1.director_id = T2.director_id WHERE T2.movie_popularity > 11000"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies of all time with the highest average rating score of the users who were subscribers when they rated the movie?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, AVG(T2.rating_score) AS avg_rating FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T2.user_subscriber = 1 GROUP BY T1.movie_id ORDER BY avg_rating DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the most average ratings?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, AVG(T1.rating_score) AS avg_rating FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id GROUP BY T2.movie_title ORDER BY avg_rating DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average movie rating of the lists which were updated on or after 2015/12/31?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings r INNER JOIN lists_users lu ON r.user_id = lu.user_id INNER JOIN lists l ON lu.list_id = l.list_id WHERE l.list_update_timestamp_utc >= '2015-12-31'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of lists that have been updated after the first list update timestamp of user 1234567?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T2.user_id = 1234567 AND T1.list_update_timestamp_utc > (SELECT list_update_timestamp_utc FROM lists AS T3 WHERE T3.list_id = (SELECT MIN(list_id) FROM lists AS T4 WHERE T4.user_id = 1234567))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest rating given by a user who is eligible for trial?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_eligible_for_trial = 1 AND T1.rating_score = (SELECT MAX(T1.rating_score) FROM ratings AS T1 WHERE T1.user_eligible_for_trial = 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the names of the top 5 most popular movies?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies ORDER BY movie_popularity DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list with the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users GROUP BY list_id ORDER BY COUNT(*) DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list with the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title, COUNT(*) as count FROM lists WHERE list_followers > 0 GROUP BY list_title ORDER BY count DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies with the most ratings from paying subscribers?",
    "evidence": "",
    "SQL": "SELECT movie_title, COUNT(*) AS rating_count FROM movies INNER JOIN ratings AS T1 ON movies.movie_id = T1.movie_id INNER JOIN ratings_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_has_payment_method = 1 GROUP BY movie_title ORDER BY rating_count DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list with the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users have the most followers for a list of movies?",
    "evidence": "",
    "SQL": "SELECT user_id, list_followers FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of all the lists which have at least one movie released in 2022?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists WHERE list_id IN (SELECT list_id FROM movies WHERE movie_release_year = 2022)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of movies directed by Quentin Tarantino?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings WHERE movie_id IN (SELECT movie_id FROM movies WHERE director_name = 'Quentin Tarantino')"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list that has the highest number of movies and the user id of the user who created it?",
    "evidence": "",
    "SQL": "SELECT T1.list_title, T1.user_id FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id GROUP BY T1.list_title, T2.user_id ORDER BY COUNT(T1.list_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists are created by the user who has a movie rating score of 5 and has a trialist account?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists_users AS T1 INNER JOIN ratings AS T2 ON T1.user_id = T2.user_id WHERE T2.rating_score = 5 AND T1.user_trialist = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies by popularity for each director, along with the number of users who rated them?",
    "evidence": "",
    "SQL": "SELECT T1.director_name, T2.movie_title, T2.movie_popularity, COUNT(DISTINCT T3.user_id) as num_raters FROM movies AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings AS T3 ON T2.movie_id = T3.movie_id GROUP BY T1.director_name, T2.movie_title, T2.movie_popularity ORDER BY T2.movie_popularity DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of lists that have been updated in the last 30 days?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists WHERE strftime('%s', list_update_timestamp_utc) >= strftime('%s', 'now', '-30 day')"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list with the highest number of followers of user 28543490?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE user_id = 28543490 ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which director has made the most movies and has a director id of 1?",
    "evidence": "",
    "SQL": "SELECT director_id, COUNT(movie_id) FROM movies GROUP BY director_id HAVING COUNT(movie_id) = (SELECT COUNT(movie_id) FROM movies WHERE director_id = 1) LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What movie titles have the highest ratings by user 22030372 for the movies released in the year 1995?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, MAX(T2.rating_score) AS highest_rating FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T2.user_id = 22030372 AND T1.movie_release_year = 1995 GROUP BY T1.movie_title ORDER BY highest_rating DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title of the most popular movie in the list of user 1?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id = 1) ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users have rated both the movies \"The Red Shoes\" and \"The Wizard of Oz\"?",
    "evidence": "",
    "SQL": "SELECT * FROM ratings_users WHERE user_id IN (SELECT user_id FROM ratings WHERE movie_id IN (SELECT movie_id FROM movies WHERE movie_title IN ('The Red Shoes', 'The Wizard of Oz')) GROUP BY user_id HAVING COUNT(DISTINCT movie_id) = 2)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest popularity among users?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies ORDER BY movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies were liked by a user who created a list with the title 'Best Movies of 2020'?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM lists AS L INNER JOIN lists_users AS LU ON L.list_id = LU.list_id INNER JOIN ratings AS R ON LU.user_id = R.user_id INNER JOIN movies AS M ON R.movie_id = M.movie_id WHERE L.list_title = 'Best Movies of 2020' AND R.rating_score > 0"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movies that have been updated most recently, within the last week, and have more than 2,000 ratings, sorted by the number of ratings in descending order, and with the movie title, release year, and rating score?",
    "evidence": "",
    "SQL": "SELECT M.movie_title, M.movie_release_year, AVG(R.rating_score) AS avg_rating_score FROM movies M LEFT JOIN ratings R ON M.movie_id = R.movie_id WHERE M.movie_id IN (SELECT movie_id FROM ratings GROUP BY movie_id HAVING MAX(rating_timestamp_utc) > DATE('now', '-7 days')) GROUP BY M.movie_title, M.movie_release_year HAVING COUNT(R.rating_id) > 2000 ORDER BY COUNT(R.rating_id) DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of comments on a movie that has been rated by a subscriber?",
    "evidence": "",
    "SQL": "SELECT AVG(list_comments) AS average_comments FROM lists INNER JOIN ratings_users ON lists.user_id = ratings_users.user_id WHERE ratings_users.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of all movies directed by 'Terrence Malick'?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings INNER JOIN movies ON ratings.movie_id = movies.movie_id WHERE movies.director_name = 'Terrence Malick'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the lists that have been created by users who have been rated as critics?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT DISTINCT list_id FROM lists_users WHERE user_id IN (SELECT user_id FROM ratings_users WHERE user_trialist = 0 AND user_subscriber = 1 AND user_eligible_for_trial = 0 AND user_has_payment_method = 1))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of movies directed by Martin Scorsese, excluding those rated by users who have never been a trialist?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'Martin Scorsese' AND T1.user_trialist = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies directed by Terrence Malick in the year 2005 with the highest average rating?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'Terrence Malick' AND T1.rating_timestamp_utc BETWEEN '2005-01-01' AND '2005-12-31' GROUP BY T2.movie_title ORDER BY AVG(T1.rating_score) DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the movies whose director is also the movie's writer?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE director_name = movie_title_language"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie has been given the most ratings?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_id = (SELECT movie_id FROM ratings GROUP BY movie_id ORDER BY COUNT(movie_id) DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of followers for the list named 'Best of 2010'?",
    "evidence": "",
    "SQL": "SELECT list_followers FROM lists WHERE list_title = 'Best of 2010'"
  },
  {
    "db_id": "movie_platform",
    "question": "Which director is most likely to have a high average rating?",
    "evidence": "",
    "SQL": "SELECT director_name, AVG(rating_score) AS avg_rating FROM ratings JOIN movies ON ratings.movie_id = movies.movie_id GROUP BY director_name ORDER BY avg_rating DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies with the most ratings? Indicate the title of the movie and the number of ratings.",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, COUNT(T1.rating_id) as rating_count FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id GROUP BY T2.movie_title ORDER BY rating_count DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie has the highest number of followers among movies directed by a Swedish director?",
    "evidence": "",
    "SQL": "SELECT movie_title, list_followers FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_id = T2.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE T2.director_name LIKE '%Sweden%' GROUP BY movie_title ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movies of user 2452551 who has given ratings after the year 2014?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM ratings AS T1 INNER JOIN movies AS M ON T1.movie_id = M.movie_id WHERE T1.user_id = 2452551 AND T1.rating_timestamp_utc > '2014%'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the names of the movies that were both created and listed by a user who has a payment method?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title FROM movies AS T1 INNER JOIN lists AS T2 ON T1.movie_id = T2.list_id INNER JOIN lists_users AS T3 ON T2.list_id = T3.list_id WHERE T3.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of the lists created by users who have rated movies with the highest rating score?",
    "evidence": "",
    "SQL": "SELECT CAST(SUM(T4.list_followers) AS REAL) / COUNT(T2.list_id) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN movies AS T3 ON T1.movie_id = T3.movie_id INNER JOIN lists AS T4 ON T2.list_id = T4.list_id WHERE T3.movie_id IN (SELECT movie_id FROM ratings AS T5 WHERE T5.rating_score = (SELECT MAX(T6.rating_score) FROM ratings AS T6))"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the most popular movie in lists with at least 100 followers?",
    "evidence": "",
    "SQL": "SELECT * FROM lists LEFT JOIN movies ON lists.list_id = movies.movie_id WHERE lists.list_followers >= 100 ORDER BY lists.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles that contain at least three movies directed by Christopher Nolan? ",
    "evidence": "",
    "SQL": "SELECT T1.list_title FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id INNER JOIN movies AS T3 ON T2.user_id = T3.director_id WHERE T3.director_name = 'Christopher Nolan' GROUP BY T1.list_title HAVING COUNT(T3.director_name) >= 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movie ratings given by the users who have a payment method?",
    "evidence": "",
    "SQL": "SELECT COUNT(rating_id) FROM ratings WHERE user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie with the highest popularity rating has a director who has directed more than 10 movies?",
    "evidence": "",
    "SQL": "SELECT M1.movie_title, M1.director_name FROM movies AS M1 INNER JOIN (SELECT director_id, COUNT(*) as director_count FROM movies GROUP BY director_id HAVING COUNT(*) > 10) AS M2 ON M1.director_id = M2.director_id ORDER BY M1.movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average popularity rating of the movies in the lists of user 8516503?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.movie_popularity) FROM lists_users AS T2 INNER JOIN lists AS T3 ON T2.list_id = T3.list_id AND T2.user_id = T3.user_id INNER JOIN movies AS T1 ON T3.list_movie_number = T1.movie_id WHERE T2.user_id = 8516503"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of users who have followed a list of movies?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies are directed by Abbas Kiarostami, and what is their average rating score?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'Abbas Kiarostami' GROUP BY T2.movie_title"
  },
  {
    "db_id": "movie_platform",
    "question": "What are all the ratings given to a movie if its title contains the word 'Star'?",
    "evidence": "",
    "SQL": "SELECT * FROM ratings WHERE movie_id IN (SELECT movie_id FROM movies WHERE movie_title LIKE '%Star%')"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movies directed by Quentin Tarantino with at least 100 user ratings?",
    "evidence": "",
    "SQL": "SELECT movie_title, COUNT(*) AS rating_count FROM movies INNER JOIN ratings ON movies.movie_id = ratings.movie_id WHERE director_name = 'Quentin Tarantino' GROUP BY movie_title HAVING COUNT(*) >= 100"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating for all movies",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user created a list with the most followers?",
    "evidence": "",
    "SQL": "SELECT user_id FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies have been rated by users who are both trialists and subscribers?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM ratings AS R INNER JOIN movies AS M ON R.movie_id = M.movie_id INNER JOIN ratings_users AS T ON R.user_id = T.user_id WHERE T.user_trialist = 1 AND T.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user created the most movie lists?",
    "evidence": "",
    "SQL": "SELECT user_id, COUNT(list_id) AS count FROM lists_users GROUP BY user_id ORDER BY count DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for all lists?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie was rated the highest by the user with ID 12345678?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_id = 12345678 ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list with the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie among trialists?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, COUNT(*) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T1.user_id = T3.user_id WHERE T3.user_trialist = 1 GROUP BY T2.movie_title ORDER BY COUNT(*) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies with the highest rating score in the list of movies directed by Sergio Corbucci?",
    "evidence": "",
    "SQL": "SELECT movie_title, rating_score FROM movies, ratings WHERE movies.movie_id = ratings.movie_id AND director_name = 'Sergio Corbucci' ORDER BY rating_score DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie in Georgia related films?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies, lists WHERE movie_id IN (SELECT movie_id FROM lists WHERE list_title LIKE 'Georgia related films') ORDER BY movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies have more than 10 followers in a list?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM lists L INNER JOIN lists_users LU ON L.list_id = LU.list_id INNER JOIN movies M ON LU.user_id = M.director_id GROUP BY M.movie_title HAVING COUNT(LU.list_id) > 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the movie whose rating at 2019/10/17 1:36:36 is the highest?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.rating_timestamp_utc LIKE '2019-10-17 01:36:36' ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title of the most popular list?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for movies with the word 'movie' in their title?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists WHERE list_title LIKE '%movie%'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the lists which have 5 or more followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers >= 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title of the movie with the most followers among all movies?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users GROUP BY list_id ORDER BY COUNT(*) DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies from the user with user_id = 2?",
    "evidence": "",
    "SQL": "SELECT * FROM movies WHERE movie_id IN (SELECT movie_id FROM lists_users WHERE user_id = 2 ORDER BY list_update_date_utc DESC LIMIT 3)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the average number of followers for movies that have been reviewed by a user who has been a trialist?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id INNER JOIN ratings_users AS T3 ON T2.user_id = T3.user_id WHERE T3.user_trialist = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the rating score of a movie by a user who is a subscriber, whose list ID is 2?",
    "evidence": "",
    "SQL": "SELECT rating_score FROM ratings WHERE user_id IN (SELECT user_id FROM lists_users WHERE list_id = 2 AND user_subscriber = 1) ORDER BY rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie in the list of lists that are marked as followers?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM lists L JOIN ratings R ON L.list_id = R.user_id JOIN movies M ON R.movie_id = M.movie_id WHERE L.list_followers = 1 ORDER BY M.movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the most popular movies with the highest rating score in the year 2019?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_release_year = 2019 ORDER BY movie_popularity DESC LIMIT 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of ratings given by users who were subscribers at the time of rating, for all movies released in 2010 and 2011?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings_users AS T1 INNER JOIN ratings AS T2 ON T1.user_id = T2.user_id INNER JOIN movies AS T3 ON T2.movie_id = T3.movie_id WHERE T1.user_subscriber = 1 AND T3.movie_release_year IN (2010, 2011)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 lists with the most followers?",
    "evidence": "",
    "SQL": "SELECT * FROM lists ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of the users who created lists with the title 'The Great Outdoors'?",
    "evidence": "",
    "SQL": "SELECT SUM(T4.list_followers) / COUNT(T4.list_id) FROM lists AS T4 WHERE T4.list_title LIKE 'The Great Outdoors'"
  },
  {
    "db_id": "movie_platform",
    "question": "Which lists have more than 100 movies and the users who created these lists have a valid payment method? ",
    "evidence": "",
    "SQL": "SELECT T1.list_title, T2.user_has_payment_method FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T1.list_movie_number > 100 AND T2.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which list has the most followers? ",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating for the movies that are part of a user's 'My Favorite Movies' list?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T3.list_title = 'My Favorite Movies' GROUP BY T2.list_id"
  },
  {
    "db_id": "movie_platform",
    "question": "What movie titles are in the list created by user 12345?",
    "evidence": "",
    "SQL": "SELECT L.list_title, M.movie_title FROM lists AS L INNER JOIN lists_users AS LU ON L.list_id = LU.list_id INNER JOIN movies AS M ON L.list_movie_number = M.movie_id WHERE LU.user_id = 12345"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list of movies that the user with ID 22030372 has favorited?",
    "evidence": "",
    "SQL": "SELECT * FROM movies WHERE movie_id IN (SELECT list_movie_number FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id = 22030372))"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles that a user with user ID 4208563 follows?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE user_id = 4208563"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of movies rated by users who were subscribers when they made their ratings?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T2.user_id = T3.user_id WHERE T3.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 lists with the most followers on the 'Comedy' movie genre?",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists WHERE list_url LIKE '%Comedy%' ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of movies that a user follows?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of lists that a user with a avatar image URL 'https://example.com/avatar.png' has created?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T2.user_id IN (SELECT user_id FROM lists_users WHERE user_avatar_image_url = 'https://example.com/avatar.png')"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie in a list created by a user who has paid for a subscription?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id INNER JOIN movies AS T3 ON T1.list_movie_number = T3.movie_id WHERE T2.user_has_payment_method = 1 GROUP BY movie_title ORDER BY COUNT(T1.list_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies in all lists that a user with id 12345678 has created?",
    "evidence": "",
    "SQL": "SELECT SUM(list_movie_number) FROM lists WHERE user_id = 12345678"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the movie which is liked the most by users who have created a list in the 'Drama' category?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM movies AS M INNER JOIN ratings AS R ON M.movie_id = R.movie_id INNER JOIN lists_users AS LU ON R.user_id = LU.user_id INNER JOIN lists AS L ON LU.list_id = L.list_id WHERE L.list_title LIKE '%Drama%' GROUP BY M.movie_title ORDER BY COUNT(LU.list_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie has the most number of followers in the list with title \"Emir Kusturica - films\"",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_movie_number = T2.movie_id WHERE T1.list_title = 'Emir Kusturica - films' GROUP BY T2.movie_title ORDER BY T1.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 movies with the highest popularity ratings rated by subscribers with payment method enabled?",
    "evidence": "",
    "SQL": "SELECT movie_title, movie_popularity FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists_users AS T3 ON T2.user_id = T3.user_id WHERE T3.user_has_payment_method = 1 ORDER BY movie_popularity DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the movies that have a rating of 4 or above, sorted in descending order by their rating?",
    "evidence": "",
    "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 >= 4 ORDER BY T1.rating_score DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of movies added to lists by users who have given a rating score of 5 to a movie by Stanley Kubrick?",
    "evidence": "",
    "SQL": "SELECT AVG(T3.list_movie_number) FROM lists AS T3 INNER JOIN lists_users AS T2 ON T3.user_id = T2.user_id INNER JOIN ratings AS T1 ON T2.user_id = T1.user_id WHERE T1.rating_score = 5 AND T1.movie_id IN (SELECT movie_id FROM movies WHERE director_name = 'Stanley Kubrick')"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies rated by users who are subscribers?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT T1.movie_id) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T2.user_id = T3.user_id WHERE T3.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 10 movies with the highest average rating score for the movies listed by users who have rated movies with a rating score of 4 or 5?",
    "evidence": "",
    "SQL": "SELECT T2.movie_id, AVG(T1.rating_score), T2.movie_title, T2.director_name FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T1.user_id = T3.user_id WHERE T1.rating_score IN (4, 5) GROUP BY T2.movie_id ORDER BY AVG(T1.rating_score) DESC LIMIT 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of comments for the lists created by user 39115684?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.list_comments) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_id = 39115684"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 movies from 2010 with the highest rating scores by users?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, SUM(T1.rating_score) / COUNT(T1.rating_id) AS average_rating FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.rating_timestamp_utc LIKE '2010%' GROUP BY T2.movie_title ORDER BY average_rating DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of lists created by users who have a payment method?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists INNER JOIN lists_users ON lists.user_id = lists_users.user_id WHERE lists_users.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the names of the movies directed by Alfred Hitchcock that have been added to a list created by a paying subscriber?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM movies AS M INNER JOIN lists AS L ON M.movie_id IN (SELECT R.movie_id FROM ratings AS R INNER JOIN lists_users AS LU ON R.user_id = LU.user_id WHERE LU.user_has_payment_method = 1) WHERE M.director_name LIKE 'Alfred Hitchcock'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the most popular 1980s movies that have been rated by at least 5 users?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_release_year >= 1980 AND T2.movie_release_year < 1990 AND T1.rating_score > 0 GROUP BY T2.movie_title HAVING COUNT(T1.rating_id) >= 5 ORDER BY COUNT(T1.rating_id) DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies are included in the top 3 lists with the highest average rating score and what are the average rating scores for each movie?",
    "evidence": "",
    "SQL": "SELECT T2.movie_id, AVG(T1.rating_score), T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id GROUP BY T2.movie_id ORDER BY AVG(T1.rating_score) DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 movies in the 90s according to user ratings?",
    "evidence": "",
    "SQL": "SELECT movie_title, rating_score FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_release_year BETWEEN 1990 AND 1999 GROUP BY T2.movie_id ORDER BY rating_score DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 movies with the most ratings?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, COUNT(*) AS rating_count FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id GROUP BY T2.movie_title ORDER BY rating_count DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the names of the movies in list with id 4 and the title is 'Action Movies'?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_id = T2.movie_id WHERE T1.list_id = 4 AND T1.list_title = 'Action Movies'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list that has the most followers?",
    "evidence": "",
    "SQL": "SELECT T1.list_title, COUNT(*) AS follower_count FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id GROUP BY T1.list_title ORDER BY follower_count DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movies directed by Christopher Nolan were also rated by users who are subscribers?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT T2.movie_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'Christopher Nolan' AND T1.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most popular movies in the 'Director: Francis Ford Coppola' category?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE director_name = 'Francis Ford Coppola' ORDER BY movie_popularity DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What movie has the URL of 'http://www.mubi.com/movies/1234' and the release year of 2019?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_url = 'http://www.mubi.com/movies/1234' AND movie_release_year = 2019"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies in the lists of users with a high rating score have been directed by Quentin Tarantino?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM lists L JOIN lists_users U ON L.list_id = U.list_id JOIN ratings R ON L.user_id = R.user_id JOIN movies M ON R.movie_id = M.movie_id WHERE R.rating_score > 8 AND M.director_name LIKE 'Quentin Tarantino%' GROUP BY M.movie_title"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of the lists created by users who have rated the movie \"The Shawshank Redemption\" at least once?",
    "evidence": "",
    "SQL": "SELECT CAST(SUM(T4.list_followers) AS REAL) / COUNT(T2.list_id) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T4 ON T2.list_id = T4.list_id INNER JOIN movies AS T3 ON T1.movie_id = T3.movie_id WHERE T3.movie_title LIKE 'The Shawshank Redemption'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of ratings given by a user who was both a subscriber and a trialist?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings AS T1 INNER JOIN ratings_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_subscriber = 1 AND T2.user_trialist = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the ratings of the movies in the lists with followers above 10 created before 2015?",
    "evidence": "",
    "SQL": "SELECT * FROM ratings AS T1 INNER JOIN lists AS T2 ON T1.user_id = T2.user_id AND T1.movie_id = (SELECT movie_id FROM movies) WHERE T2.list_followers > 10 AND T2.list_creation_timestamp_utc < '2015'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 most popular movies in the year 2015 that were part of the list with title \"My Top 10 Films\"?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, T2.movie_popularity 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 T1.rating_timestamp_utc BETWEEN '2015-01-01' AND '2015-12-31' AND T3.list_title = 'My Top 10 Films' ORDER BY T2.movie_popularity DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of lists created by user 123, sorted in descending order?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists_users WHERE user_id = 123 ORDER BY COUNT(*) DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 most popular movies of the 21st century, including the number of Mubi users who rated them 5 stars?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T2.movie_id, T2.movie_title, SUM(T1.rating_score = 5) AS total_5_stars FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_release_year >= 2000 ORDER BY T2.movie_popularity DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has given the most ratings for movies in the list 'My Favorite Movies'?",
    "evidence": "",
    "SQL": "SELECT T1.user_id, COUNT(T1.user_id) as total_ratings FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T3.list_title = 'My Favorite Movies' GROUP BY T1.user_id ORDER BY total_ratings DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list names that contain the word 'The' and have at least 5 users who have subscribed to the list?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_title LIKE '%The%' AND list_followers >= 5"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie list created by user 12345678 has the most followers and what is the title of that list?",
    "evidence": "",
    "SQL": "SELECT L.list_title, L.list_followers FROM lists AS L INNER JOIN lists_users AS LU ON L.list_id = LU.list_id WHERE LU.user_id = 12345678 ORDER BY L.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of users who rated a movie that is in the list 'The lists of a particular user' and also have a popularity score greater than 80?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id INNER JOIN movies AS T4 ON T1.movie_id = T4.movie_id WHERE T4.movie_popularity > 80"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the names of the movies that were directed by the same director of the movie 'The Shawshank Redemption'?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name IN (SELECT T3.director_name FROM movies AS T3 WHERE T3.movie_title = 'The Shawshank Redemption')"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the most popular ratings in the list with the most followers?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_id IN (SELECT list_movie_number FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)) ORDER BY (SELECT COUNT(*) FROM ratings WHERE ratings.movie_id = movies.movie_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most popular lists of movies created by users who are Mubi subscribers and have more than 10 followers?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T1.list_title, COUNT(T1.list_followers) AS 'Follower Count' FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T2.user_subscriber = 1 AND T1.list_followers > 10 GROUP BY T1.list_title ORDER BY T1.list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of the movie with title 'One Flew Over the Cuckoo's Nest'?",
    "evidence": "",
    "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 = 'One Flew Over the Cuckoo''s Nest'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list that contains the movie directed by Quentin Tarantino?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id IN (SELECT user_id FROM ratings WHERE movie_id IN (SELECT movie_id FROM movies WHERE director_name = 'Quentin Tarantino')))"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of lists created by users who were subscribers when they created the list?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE (SELECT user_subscriber FROM lists_users WHERE list_id = lists.list_id AND user_id = lists.user_id) = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the average list following counts for users who have created lists with a title containing the word 'Casino'?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.list_followers) FROM lists AS T1 WHERE T1.list_title LIKE '%Casino%'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of movies that have more than 50 ratings from users who have subscribed?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings WHERE user_subscriber = 1 GROUP BY movie_id HAVING COUNT(rating_id) > 50"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list with the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of movies directed by Quentin Tarantino?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'Quentin Tarantino'"
  },
  {
    "db_id": "movie_platform",
    "question": "How many users rated movies with a list of at least 3 followers?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T3.list_followers >= 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the list description of the list that has the most followers?",
    "evidence": "",
    "SQL": "SELECT list_description FROM lists WHERE list_id = (SELECT list_id FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists))"
  },
  {
    "db_id": "movie_platform",
    "question": "How many users have created a list that contains at least one movie directed by a director who has directed at least 10 movies between 1960 to 1985?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT T1.user_id) FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id INNER JOIN movies AS T3 ON T2.list_movie_number = T3.movie_id INNER JOIN (SELECT T4.director_name FROM movies AS T4 WHERE T4.movie_release_year BETWEEN 1960 AND 1985 GROUP BY T4.director_name HAVING COUNT(T4.movie_id) > 10) AS T5 ON T3.director_name = T5.director_name"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists were created by users who were subscribers when creating the list?",
    "evidence": "",
    "SQL": "SELECT COUNT(T1.list_id) FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T2.list_followers >= 1 AND T1.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the movies in the list with ID 12345? If there are multiple titles, return all of them.",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id = 12345"
  },
  {
    "db_id": "movie_platform",
    "question": "How many paying subscribers gave a rating to the movie titled 'A Beautiful Mind'?",
    "evidence": "",
    "SQL": "SELECT COUNT(T1.user_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T1.user_id = T3.user_id WHERE T2.movie_title = 'A Beautiful Mind' AND T3.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title of the list that the user with user_avatar_image_url=https://assets.mubicdn.net/images/avatars/74983/images-w150.jpg?1523895214 created?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_avatar_image_url = 'https://assets.mubicdn.net/images/avatars/74983/images-w150.jpg?1523895214')"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of movies that user 12345678 has rated?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 WHERE T1.user_id = 12345678"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of ratings received by the movie with the highest number of 5 star ratings in the list of movies?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.rating_score = 5 ORDER BY T2.movie_title LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest popularity from the movie list with the most followers?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM lists L JOIN movies M ON L.list_id = (SELECT list_id FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)) AND M.movie_id = (SELECT M2.movie_id FROM movies M2 WHERE M2.movie_popularity = (SELECT MAX(movie_popularity) FROM movies))"
  },
  {
    "db_id": "movie_platform",
    "question": "Which list has the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie in the database?",
    "evidence": "",
    "SQL": "SELECT movie_title, COUNT(movie_title) AS popularity FROM movies GROUP BY movie_title ORDER BY popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the total number of movies added to the lists of users who were subscribers when they created the list?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT T2.list_id) FROM lists_users AS T2 WHERE T2.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movies directed by Quentin Tarantino that have a rating score of 4 and above?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM movies AS M INNER JOIN ratings AS R ON M.movie_id = R.movie_id WHERE M.director_name = 'Quentin Tarantino' AND R.rating_score >= 4"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of movies directed by Martin Scorsese that have been added to a list by a user who is a subscriber and has a payment method?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT T2.list_id) FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id INNER JOIN movies AS T3 ON T3.movie_id = T2.list_movie_number WHERE T1.user_subscriber = 1 AND T1.user_has_payment_method = 1 AND T3.director_name = 'Martin Scorsese'"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies have a rating score of 4 or 5 from users who have given at least one rating to a movie in the 'comedy' genre?",
    "evidence": "",
    "SQL": "SELECT M1.movie_title FROM movies AS M1 JOIN ratings AS R1 ON M1.movie_id = R1.movie_id JOIN lists_users AS LU1 ON R1.user_id = LU1.user_id JOIN lists AS L1 ON LU1.list_id = L1.list_id WHERE L1.list_movie_number > 0 AND M1.movie_popularity > 5 AND R1.rating_score IN (4,5) GROUP BY M1.movie_title HAVING COUNT(DISTINCT LU1.user_id) > 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has created the most lists in Mubi?",
    "evidence": "",
    "SQL": "SELECT L.user_id FROM lists L GROUP BY L.user_id ORDER BY COUNT(L.list_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the movie title of the most popular movie in the list of the user with id 1?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE T3.user_id = 1 AND T2.movie_popularity > (SELECT AVG(movie_popularity) FROM movies)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title for the list with id 12345?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id = 12345"
  },
  {
    "db_id": "movie_platform",
    "question": "What movie titles have been added to the most lists? Give the movie titles in ascending order.",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies JOIN lists ON movies.movie_id = lists.list_movie_number GROUP BY movie_title ORDER BY COUNT(list_movie_number) ASC"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies have been reviewed by both critics and users?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.critic_comments > 0 AND T1.user_id IS NOT NULL GROUP BY T2.movie_title"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the movie that is most popular among users who created a list in the year 2015?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies INNER JOIN ratings ON movies.movie_id = ratings.movie_id WHERE ratings.rating_score > (SELECT AVG(rating_score) FROM ratings WHERE ratings.rating_timestamp_utc BETWEEN '2015-01-01' AND '2015-12-31') ORDER BY ratings.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 lists with the most followers? Ranked in descending order of list_followers.",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists ORDER BY list_followers DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the total numbers of users who have subscribed and have given a rating to a movie?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings_users AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN ratings AS T3 ON T1.user_id = T3.user_id WHERE T2.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most popular movie lists?",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies with more than 3 ratings have the highest average rating?",
    "evidence": "",
    "SQL": "SELECT M.movie_title, AVG(R.rating_score) FROM movies M INNER JOIN ratings R ON M.movie_id = R.movie_id GROUP BY M.movie_id, M.movie_title HAVING COUNT(R.rating_id) > 3 ORDER BY AVG(R.rating_score) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the title of the movie with the highest popularity among the lists created by the user who has both a trialist and subscriber?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title FROM movies AS T1 INNER JOIN lists AS T2 ON T1.movie_id IN (SELECT DISTINCT T3.movie_id FROM ratings AS T3 INNER JOIN lists_users AS T4 ON T3.user_id = T4.user_id WHERE T4.user_trialist = 1 AND T4.user_subscriber = 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of the movie 'The Artist'?",
    "evidence": "",
    "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 = 'The Artist'"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies have been rated more than 4 by a user who is a subscriber?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM movies AS M INNER JOIN ratings AS R ON M.movie_id = R.movie_id INNER JOIN ratings_users AS RU ON R.user_id = RU.user_id WHERE R.rating_score > 4 AND RU.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie that has the highest popularity rating in the movie database?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_popularity = (SELECT MAX(movie_popularity) FROM movies)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 most popular movies based on their ratings?",
    "evidence": "",
    "SQL": "SELECT movie_title, COUNT(rating_id) AS rating_count FROM ratings JOIN movies ON ratings.movie_id = movies.movie_id GROUP BY movie_title ORDER BY rating_count DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the 5 most popular movies that have been added to a list?",
    "evidence": "",
    "SQL": "SELECT DISTINCT movie_title FROM lists INNER JOIN movies ON lists.list_movie_number = movies.movie_id ORDER BY lists.list_followers DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of followers for the user who posted the most lists with more than 10 movies?",
    "evidence": "",
    "SQL": "SELECT SUM(list_followers) AS total_followers FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T2.list_movie_number > 10 GROUP BY T1.user_id ORDER BY COUNT(T2.list_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the movie that has the highest rating from subscribers?",
    "evidence": "",
    "SQL": "SELECT M.movie_title, R.rating_score FROM ratings AS R INNER JOIN movies AS M ON R.movie_id = M.movie_id INNER JOIN lists_users AS LU ON R.user_id = LU.user_id WHERE LU.user_subscriber = 1 ORDER BY R.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has the most followers in the Mubi list?",
    "evidence": "",
    "SQL": "SELECT user_id, COUNT(list_id) AS num_followers FROM lists_users GROUP BY user_id ORDER BY num_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest popularity on Mubi?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies ORDER BY movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the title of the highest rated movie in the 'When Will I Be Loved' list of user 39115684?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN lists_users AS T3 ON T1.list_id = T3.list_id INNER JOIN movies AS T2 ON T1.list_movie_number = T2.movie_id WHERE T1.list_id IN (SELECT list_id FROM lists_users WHERE user_id = 39115684) ORDER BY T2.movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of lists created by users that have a payment method on Mubi?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT list_id) FROM lists_users WHERE user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies in the database that have been rated by users, sorted by the average rating score in descending order?",
    "evidence": "",
    "SQL": "SELECT movie_id, AVG(rating_score) as average_rating_score FROM ratings GROUP BY movie_id ORDER BY average_rating_score DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of comments on the lists created by the user who has paid for the movie 'Tootsie'?",
    "evidence": "",
    "SQL": "SELECT CAST(SUM(T4.list_comments) AS REAL) / COUNT(T2.list_id) FROM ratings_users AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN movies AS T3 ON T1.user_has_payment_method = 1 AND T3.movie_title = 'Tootsie' INNER JOIN lists AS T4 ON T2.list_id = T4.list_id WHERE T1.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of movie lists created by users who are both triers and subscribers?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists, lists_users WHERE lists.list_id = lists_users.list_id AND lists_users.user_trialist = 1 AND lists_users.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies that have the most followers on lists where the user is a subscriber?",
    "evidence": "",
    "SQL": "SELECT T2.list_title, COUNT(T2.list_followers) AS total_followers FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE T3.user_subscriber = 1 GROUP BY T2.list_title ORDER BY total_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of all movies in the list with title 'My Top 100 Films'?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings AS T1 INNER JOIN lists AS T2 ON T1.movie_id = T2.list_movie_number WHERE T2.list_title = 'My Top 100 Films'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the lists that a user has joined and is eligible for trial? ",
    "evidence": "",
    "SQL": "SELECT T1.list_title FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id INNER JOIN ratings_users AS T3 ON T3.user_id = T2.user_id WHERE T3.user_eligible_for_trial = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What were the top 3 movies with most followers in the list with title 'Top 100 Movies'?",
    "evidence": "",
    "SQL": "SELECT movie_title, list_followers FROM lists, movies WHERE lists.list_title = 'Top 100 Movies' AND lists.list_movie_number = movies.movie_id ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are all the lists that have at least 10 followers?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_followers >= 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list of movies with at least 500 followers that contains the movie 'The Shawshank Redemption'?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_movie_number IN (SELECT movie_id FROM movies WHERE movie_title = 'The Shawshank Redemption') AND list_followers >= 500"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the names of the top 5 movies with the highest average rating score?",
    "evidence": "",
    "SQL": "SELECT M1.movie_title, AVG(R1.rating_score) AS average_rating FROM ratings AS R1 INNER JOIN movies AS M1 ON R1.movie_id = M1.movie_id GROUP BY M1.movie_title ORDER BY average_rating DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating for all the movies directed by Martin Scorsese and created by users who were paying subscribers at the time of creating the list?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE T2.director_name = 'Martin Scorsese' AND T3.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "For a user who has a payment method and is a subscriber, what are the list titles they have created?",
    "evidence": "",
    "SQL": "SELECT T2.list_title FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T1.user_has_payment_method = 1 AND T1.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movies with more than 5000 likes were released before 2010?",
    "evidence": "",
    "SQL": "SELECT COUNT(movie_id) FROM movies WHERE movie_release_year < 2010 AND EXISTS (SELECT * FROM ratings WHERE movie_id = movies.movie_id AND critic_likes > 5000)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 movie lists created by users who have a payment method?",
    "evidence": "",
    "SQL": "SELECT T1.list_title, T2.user_has_payment_method FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id AND T1.user_id = T2.user_id GROUP BY T1.list_title, T2.user_has_payment_method ORDER BY COUNT(T2.user_id) DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the most followers on the list with the id 123?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id = 123 ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "For all the lists that have more than 2000 followers and their corresponding users are paying subscribers, how many of them have the title containing the word 'anime'?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T2.user_has_payment_method = 1 AND T1.list_followers > 2000 AND T1.list_title LIKE '%anime%'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest rating received by the users?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users have updated their lists in the last 30 days?",
    "evidence": "",
    "SQL": "SELECT DISTINCT user_id FROM lists_users WHERE list_update_date_utc LIKE '____-__-20%'"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists created by a user with more than 10 trials has the word 'movie' in its title and is older than 6 months?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id INNER JOIN ratings_users AS T3 ON T2.user_id = T3.user_id WHERE T3.user_trialist > 10 AND T1.list_title LIKE '%movie%' AND (strftime('%Y', 'now') - strftime('%Y', T1.list_creation_timestamp_utc)) + 30 * (strftime('%m', 'now') - strftime('%m', T1.list_creation_timestamp_utc)) + strftime('%d', 'now') - strftime('%d', T1.list_creation_timestamp_utc) > 183"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the lists with most followers?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists are shared by the users who have given a rating to a movie?",
    "evidence": "",
    "SQL": "SELECT COUNT(list_id) FROM lists_users AS T1 INNER JOIN ratings AS T2 ON T1.user_id = T2.user_id GROUP BY list_id HAVING COUNT(DISTINCT T2.user_id) > 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the most popular movies with over 500 ratings and average ratings greater than 4.0 from the director Kiyoshi Kurosawa?",
    "evidence": "",
    "SQL": "SELECT M.movie_title, M.movie_popularity, AVG(R.rating_score) as avg_rating FROM movies M LEFT JOIN ratings R ON M.movie_id = R.movie_id WHERE M.director_name = 'Kiyoshi Kurosawa' GROUP BY M.movie_title HAVING AVG(R.rating_score) > 4.0 AND COUNT(R.rating_id) > 500"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of users who have rated the movie \"The Shawshank Redemption\"?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT T1.user_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'The Shawshank Redemption'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list of users that have followed more than one movie list?",
    "evidence": "",
    "SQL": "SELECT distinct user_id FROM lists_users WHERE list_id IN (SELECT list_id FROM lists WHERE list_followers > 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movies have been rated by users who have a payment method?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings WHERE user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has the most movies in their list?",
    "evidence": "",
    "SQL": "SELECT user_id, COUNT(*) FROM lists_users GROUP BY user_id ORDER BY COUNT(*) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists have the word 'animation' in their title?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists WHERE list_title LIKE '%animation%'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie in the list with id 1?",
    "evidence": "",
    "SQL": "SELECT list_title, movie_title FROM lists, movies WHERE lists.list_id = 1 AND lists.list_movie_number = movies.movie_id ORDER BY movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "List the top three movies by the number of users who follow them.",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, COUNT(T1.list_followers) AS num_followers FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_id = T2.movie_id GROUP BY T2.movie_title ORDER BY num_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies in the 'romance' genre have been released in the past 5 years?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_title_language = 'romance' AND movie_release_year >= DATE('now', '-5 year')"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movies released after 2000 with more than 1000 followers in Mubi?",
    "evidence": "",
    "SQL": "SELECT * FROM movies WHERE movie_release_year > 2000 AND EXISTS (SELECT 1 FROM lists WHERE list_movie_number = movies.movie_id AND list_followers > 1000)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movies that user 39115684 has given the highest rating to?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, T1.rating_score FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_id = 39115684 ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 10 most popular movies according to the ratings of user 4208563, excluding the ones that were rated after December 31st, 2013?",
    "evidence": "",
    "SQL": "SELECT movie_title, rating_score FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_id = 4208563 AND T1.rating_timestamp_utc <= '2013-12-31' ORDER BY rating_score DESC LIMIT 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list with the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists GROUP BY list_title ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of the movies in list 3456?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists AS T2 ON T1.user_id = (SELECT user_id FROM lists_users WHERE list_id = 3456) WHERE T1.movie_id IN (SELECT movie_id FROM movies WHERE movie_id IN (SELECT list_movie_number FROM lists WHERE list_id = 3456))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for lists created by users with a trial subscription?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists INNER JOIN lists_users ON lists.list_id = lists_users.list_id WHERE lists_users.user_trialist = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are all the movies with a title in French that are not rated by users who are subscribers?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, T1.movie_id FROM movies AS T1 LEFT JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.movie_title_language = 'fr' AND T2.user_subscriber = 0"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of lists created by a user who has both a trialist and a subscriber status?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists_users AS T1 WHERE T1.user_trialist = 1 AND T1.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 movies with the highest rating scores that were released in 2015?",
    "evidence": "",
    "SQL": "SELECT movie_title, rating_score FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.movie_release_year = 2015 ORDER BY rating_score DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of movies in lists with more than 50 followers?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T3.list_followers > 50"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average popularity rating of movies by directors who have directed more than 5 movies?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.movie_popularity) FROM (SELECT movie_id, movie_popularity, COUNT(DISTINCT movie_title) as num_movies FROM movies GROUP BY movie_id HAVING COUNT(DISTINCT movie_title) > 5) AS T1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the movie with the highest rating score that was created by user 12345678?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE T3.user_id = 12345678 ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for lists that have movies released in the 2000s?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists WHERE list_movie_number >= 2000 AND list_movie_number < 2010"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest followers count in a movie list?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_id = T2.movie_id GROUP BY T2.movie_title ORDER BY COUNT(T1.list_followers) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies with the highest number of followers for a given user?",
    "evidence": "",
    "SQL": "SELECT T1.list_title, COUNT(*) AS num_followers FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id GROUP BY T1.list_title ORDER BY num_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list of movies added to the most popular lists?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM movies AS T2 INNER JOIN ratings AS T1 ON T2.movie_id = T1.movie_id INNER JOIN lists AS T3 ON T1.user_id = T3.user_id GROUP BY T2.movie_title ORDER BY COUNT(T1.rating_id) DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the average movie release years for all the lists that contained movies from the directors 'Guillermo del Toro' or 'Alfonso Cuar\u00f3n'?",
    "evidence": "",
    "SQL": "SELECT AVG(list_movie_number) FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_movie_number = T2.movie_id WHERE T2.director_name IN ('Guillermo del Toro', 'Alfonso Cuar\u00f3n')"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the movie that has been rated by the user with id 32172230?",
    "evidence": "",
    "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 = 32172230"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of a list that was created by a trialist who became a subscriber later?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id IN (SELECT user_id FROM ratings_users WHERE user_trialist = 1 AND user_subscriber = 1))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of followers of all lists created by users who have a payment method?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT T1.list_id) FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T1.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most popular movies in the list with list title 'Favourite Comedies'?",
    "evidence": "",
    "SQL": "SELECT * FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_movie_number = T2.movie_id WHERE T1.list_title = 'Favourite Comedies' ORDER BY T2.movie_popularity DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest rating score in the 'Thriller' genre?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_title_language LIKE '%Thriller%' AND movie_id IN (SELECT movie_id FROM ratings WHERE rating_score = (SELECT MAX(rating_score) FROM ratings))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the URL of the most frequently commented list?",
    "evidence": "",
    "SQL": "SELECT list_url FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id GROUP BY list_url ORDER BY COUNT(list_comments) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of the lists created by the user who made the movie \"Wild Wild West\"?",
    "evidence": "",
    "SQL": "SELECT CAST(SUM(T4.list_followers) AS REAL) / COUNT(T2.list_id) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN movies AS T3 ON T1.movie_id = T3.movie_id INNER JOIN lists AS T4 ON T2.list_id = T4.list_id WHERE T3.movie_title LIKE 'Wild Wild West'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of the movies that have been rated by users who are currently subscribers?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN ratings_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest rating?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movie titles of movies directed by Tim Burton?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE director_name = 'Tim Burton'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most popular movies in the lists with a user-id of 85981819?",
    "evidence": "",
    "SQL": "SELECT * FROM movies AS T1 INNER JOIN lists AS T2 ON T1.movie_id = T2.list_movie_number AND T2.user_id = 85981819 ORDER BY T1.movie_popularity DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the movie with the most followers?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_id IN (SELECT list_movie_number FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of movies in the list created by user with ID 1?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists AS T2 ON T1.movie_id = T2.list_movie_number INNER JOIN lists_users AS T3 ON T2.list_id = T3.list_id WHERE T3.user_id = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies added by the user who created the list with the most number of movies?",
    "evidence": "",
    "SQL": "SELECT COUNT(T2.list_title) 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 )"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles of all lists that have more than 50 followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers > 50"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average movie rating of films directed by 'Christopher Nolan'?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'Christopher Nolan'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of movies in the 'Lists' database that have a title length of more than 10 characters and were released before 1990?",
    "evidence": "",
    "SQL": "SELECT AVG(T2.rating_score) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE LENGTH(T1.movie_title) > 10 AND T1.movie_release_year < 1990"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title of the list that has the most followers and what is the number of followers it has?",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles that contain the movie titled 'Inception' and were updated after the year 2015?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists INNER JOIN movies ON lists.list_movie_number = movies.movie_id WHERE movies.movie_title = 'Inception' AND lists.list_update_timestamp_utc LIKE '2015%'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating for all the movies with a director who is also an actor in the same film?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_id IN (SELECT movie_id FROM movies WHERE director_id IS NOT NULL)"
  },
  {
    "db_id": "movie_platform",
    "question": "How many users have rated a movie with a popularity score greater than 5?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT user_id) FROM ratings WHERE movie_id IN (SELECT movie_id FROM movies WHERE movie_popularity > 5)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of users who were both trialists and subscribers?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN ratings_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_trialist = 1 AND T2.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 lists with the highest number of followers in the database?",
    "evidence": "",
    "SQL": "SELECT * FROM lists ORDER BY list_followers DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user created the most number of lists?",
    "evidence": "",
    "SQL": "SELECT T1.user_id, COUNT(T1.list_id) AS num_lists FROM lists AS T1 GROUP BY T1.user_id ORDER BY num_lists DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title of the list with the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the most followers in the list 'Top 100 Movies'?",
    "evidence": "",
    "SQL": "SELECT L.list_title, M.movie_title FROM lists AS L INNER JOIN lists_users AS LU ON L.list_id = LU.list_id INNER JOIN movies AS M ON LU.user_id = M.movie_id WHERE L.list_title = 'Top 100 Movies' GROUP BY L.list_title, M.movie_title ORDER BY COUNT(LU.list_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "How many users have rated more than one movie?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT user_id) FROM ratings GROUP BY user_id HAVING COUNT(DISTINCT movie_id) > 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie has the highest average rating among the ones directed by James Cameron?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'James Cameron' GROUP BY T2.movie_title ORDER BY SUM(T1.rating_score) / COUNT(T1.rating_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles of the top 5 lists with the most followers in the year 2020?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_creation_timestamp_utc LIKE '%2020%' ORDER BY list_followers DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average score of a movie with the highest follower count?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists AS T2 ON T1.movie_id = T1.movie_id INNER JOIN lists_users AS T3 ON T2.list_id = T3.list_id WHERE T2.list_followers = (SELECT MAX(T4.list_followers) FROM lists AS T4) GROUP BY T2.list_followers"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users have subscribed and have given ratings with at least 1 critic comment? Give their user ids.",
    "evidence": "",
    "SQL": "SELECT DISTINCT T2.user_id FROM lists_users AS T1 INNER JOIN ratings AS T2 ON T1.user_id = T2.user_id WHERE T1.user_subscriber = 1 AND T2.critic_comments > 0"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie directed by Martin Scorsese with the highest average rating score among all users?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, AVG(T2.rating_score) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.director_name = 'Martin Scorsese' GROUP BY T1.movie_title ORDER BY AVG(T2.rating_score) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie in the lists database?",
    "evidence": "",
    "SQL": "SELECT * FROM movies WHERE movie_popularity = (SELECT MAX(movie_popularity) FROM movies)"
  },
  {
    "db_id": "movie_platform",
    "question": "Which list has the highest number of movies with a release year of 2003?",
    "evidence": "",
    "SQL": "SELECT * FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T1.list_movie_number IN (SELECT T3.movie_id FROM movies AS T3 WHERE T3.movie_release_year = 2003) ORDER BY T1.list_movie_number DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of movies directed by Quentin Tarantino?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'Quentin Tarantino'"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies have been rated by users with more than one movie in their lists, and what are the average ratings of these movies?",
    "evidence": "",
    "SQL": "SELECT M.movie_title, AVG(R.rating_score) AS average_rating FROM ratings R INNER JOIN movies M ON R.movie_id = M.movie_id INNER JOIN lists L ON L.list_id = R.user_id GROUP BY R.movie_id HAVING COUNT(L.list_id) > 1"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movies did director Jorg\u00e9 Arag\u00f3n direct?",
    "evidence": "",
    "SQL": "SELECT COUNT(movie_title) FROM movies WHERE director_name = 'Jorg\u00e9 Arag\u00f3n'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of lists created by users who have a cover image?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists WHERE list_cover_image_url IS NOT NULL"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles of the users who have given a rating to the movie Shawshank Redemption?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists INNER JOIN lists_users ON lists.list_id = lists_users.list_id INNER JOIN ratings ON lists_users.user_id = ratings.user_id WHERE ratings.movie_id IN (SELECT movie_id FROM movies WHERE movie_title = 'Shawshank Redemption')"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user with the highest number of followers has a list with the most number of movies?",
    "evidence": "",
    "SQL": "SELECT T1.list_followers, T2.user_id FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id ORDER BY T1.list_followers DESC, T2.user_id ASC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most followed movie lists and what are the average number of followers?",
    "evidence": "",
    "SQL": "SELECT T1.list_id, AVG(T1.list_followers) AS average_followers FROM lists AS T1 GROUP BY T1.list_id ORDER BY average_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of movies in all lists posted by each user?",
    "evidence": "",
    "SQL": "SELECT AVG(list_movie_number) FROM lists"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies in lists whose list_title contains the word 'movies'?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists WHERE list_title LIKE '%movies%'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the lists with more than 50 followers that include the movie 'The Godfather'?",
    "evidence": "",
    "SQL": "SELECT L.list_title FROM lists L INNER JOIN lists_users U ON L.list_id = U.list_id WHERE L.list_followers > 50 AND L.list_movie_number IN (SELECT M.movie_id FROM movies M WHERE M.movie_title = 'The Godfather')"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest number of followers in the 'lists' table?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_movie_number = T2.movie_id ORDER BY T1.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies rated by user 12345678 with a rating score of 4 or 5?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT T1.movie_id) FROM ratings AS T1 WHERE T1.user_id = 12345678 AND T1.rating_score IN (4,5)"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies were released in 2000s and have a rating score between 8-10 and were rated by users who were subscribers at the time of rating?",
    "evidence": "",
    "SQL": "SELECT DISTINCT movie_title FROM movies WHERE movie_release_year BETWEEN 2000 AND 2009 AND EXISTS (SELECT 1 FROM ratings WHERE movie_id = movies.movie_id AND rating_score BETWEEN 8 AND 10 AND user_subscriber = 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of lists created by a user who has been a subscriber?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_subscriber = 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of subscribers who added the list with title 'Favorite Movies' to their 'Watchlist'?",
    "evidence": "",
    "SQL": "SELECT COUNT(T1.list_id) FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T2.list_title = 'Favorite Movies' AND T1.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has given the highest total rating score across all movies?",
    "evidence": "",
    "SQL": "SELECT T1.user_id, SUM(T1.rating_score) AS total_score FROM ratings AS T1 GROUP BY T1.user_id ORDER BY total_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of all lists created by user 12345?",
    "evidence": "",
    "SQL": "SELECT T2.list_title FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T1.user_id = 12345"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles created by users who are eligible for trial?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T2.list_title FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T1.user_eligible_for_trial = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which lists contain movies directed by Quentin Tarantino?",
    "evidence": "",
    "SQL": "SELECT DISTINCT l.list_id FROM lists AS l JOIN lists_users AS lu ON l.list_id = lu.list_id JOIN movies AS m ON lu.user_id = m.director_id WHERE m.director_name LIKE 'Quentin Tarantino'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of lists created by user 39115684?",
    "evidence": "",
    "SQL": "SELECT COUNT(list_id) FROM lists_users WHERE user_id = 39115684"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movies were created by the director who made the most popular movie?",
    "evidence": "",
    "SQL": "SELECT COUNT(movie_id) FROM movies WHERE director_id = ( SELECT director_id FROM movies ORDER BY movie_popularity DESC LIMIT 1 )"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 lists with the most followers?",
    "evidence": "",
    "SQL": "SELECT T1.list_title, T1.list_followers FROM lists AS T1 ORDER BY T1.list_followers DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 most popular movies in terms of user ratings, considering all users and all ratings?",
    "evidence": "",
    "SQL": "SELECT * FROM movies ORDER BY movie_popularity DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies in the list of best-rated movies made before 2010 has more than 50 followers?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM (SELECT * FROM lists WHERE list_followers > 50) AS L INNER JOIN movies AS M ON L.list_movie_number = M.movie_id WHERE M.movie_release_year < 2010"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most popular movies that have been rated by at least 5 users in the past year and have a rating score of more than 4.0, and which director directed these movies?",
    "evidence": "",
    "SQL": "SELECT T2.director_name, T2.movie_title, AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE datetime(T1.rating_timestamp_utc) BETWEEN '2023-01-01 00:00:00' AND '2024-01-01 00:00:00' AND T1.rating_score > 4.0 GROUP BY T2.director_name, T2.movie_title ORDER BY AVG(T1.rating_score) DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies in the list titled 'Sound and Vision' that have a rating of 4 or higher, and what are their average ratings?",
    "evidence": "",
    "SQL": "SELECT T2.list_title, T2.list_id, T3.movie_title, AVG(T4.rating_score) FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id INNER JOIN ratings AS T4 ON T2.list_id = T4.user_id INNER JOIN movies AS T3 ON T4.movie_id = T3.movie_id WHERE T2.list_title LIKE 'Sound and Vision' AND T4.rating_score >= 4 GROUP BY T2.list_title, T2.list_id, T3.movie_title ORDER BY AVG(T4.rating_score) DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of movies in a list for users who have both a trial and a paid subscription?",
    "evidence": "",
    "SQL": "SELECT AVG(T2.list_movie_number) FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T1.user_eligible_for_trial = 1 AND T1.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of lists that have at least one movie rated by the users who were subscribers when they created the list?",
    "evidence": "",
    "SQL": "SELECT COUNT(T1.list_id) FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id INNER JOIN ratings AS T3 ON T2.list_id = T3.user_id WHERE T1.user_subscriber = 1 AND T3.rating_id IS NOT NULL"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user created the most lists?",
    "evidence": "",
    "SQL": "SELECT user_id, COUNT(*) FROM lists GROUP BY user_id ORDER BY COUNT(*) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the names of all lists created by users who have a payment method?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T2.list_title FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T1.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has the most ratings in total?",
    "evidence": "",
    "SQL": "SELECT user_id, COUNT(*) AS total_ratings FROM ratings GROUP BY user_id ORDER BY total_ratings DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movies did director Pete Docter direct?",
    "evidence": "",
    "SQL": "SELECT COUNT(movie_title) FROM movies WHERE director_name = 'Pete Docter'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular director in Mubi based on the total number of movies directed by that director?",
    "evidence": "",
    "SQL": "SELECT director_name, COUNT(*) AS total_directed_movies FROM movies GROUP BY director_name ORDER BY total_directed_movies DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list that has the most followers? If there are multiple lists with the same number of followers, state the title of the list that was created first?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists) ORDER BY list_creation_timestamp_utc ASC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are all the movies that have a movie release year of 1988 and are in the list with user_id 1234?",
    "evidence": "",
    "SQL": "SELECT movie_id FROM movies WHERE movie_release_year = 1988 AND movie_id IN (SELECT movie_id FROM lists WHERE user_id = 1234)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of a movie in the list called 'The Dark Knight'?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists AS T2 ON T1.movie_id = (SELECT movie_id FROM movies WHERE movie_title = 'The Dark Knight') INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE T3.list_id = (SELECT list_id FROM lists WHERE list_title = 'The Dark Knight') GROUP BY T2.list_id"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 lists that contain movies released in the 1990s and have the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title, COUNT(*) AS num_followers FROM lists INNER JOIN lists_users ON lists.list_id = lists_users.list_id WHERE list_movie_number >= 1990 AND list_movie_number <= 1999 GROUP BY list_title ORDER BY num_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title of the list created by the user with ID 1?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id = 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of likes per movie of a critic with 'Critic 1' as their name and who has a payment method?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.critic_likes) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T1.user_id = T3.user_id WHERE T2.director_name = 'Critic 1' AND T3.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What movie had the highest rating score by a critic?",
    "evidence": "",
    "SQL": "SELECT movie_title, rating_score FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movies in the list \"250 Favourite Films\" created by user 39115684?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN lists_users AS T3 ON T1.list_id = T3.list_id AND T3.user_id = 39115684 INNER JOIN movies AS T2 ON T2.movie_id = T1.list_movie_number"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 lists that have the most followers on Mubi, ordered by the number of followers in descending order?",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list with the most movies in it?",
    "evidence": "",
    "SQL": "SELECT list_title, list_movie_number FROM lists ORDER BY list_movie_number DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list titled \"250 Favourite Films\" first image URL?",
    "evidence": "",
    "SQL": "SELECT list_first_image_url FROM lists WHERE list_title = '250 Favourite Films'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 most popular movies in the 2000s?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T2.movie_id, T2.movie_title, SUM(T1.rating_score = 5) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_release_year BETWEEN 2000 AND 2009 ORDER BY T2.movie_popularity DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists have the movie 'The Shawshank Redemption' added?",
    "evidence": "",
    "SQL": "SELECT COUNT(list_id) FROM lists_users WHERE user_id IN (SELECT user_id FROM lists WHERE list_id IN (SELECT list_id FROM lists WHERE list_movie_number IN (SELECT movie_id FROM movies WHERE movie_title = 'The Shawshank Redemption')))"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 most popular movies directed by a director with name starting with 'A'?",
    "evidence": "",
    "SQL": "SELECT * FROM movies WHERE director_name LIKE 'A%' ORDER BY movie_popularity DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies have been liked by a Mubi user named 'John Doe'?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T1.user_id = T3.user_id WHERE T3.user_avatar_image_url LIKE '%John Doe%'"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies has been rated by the users who have also rated the movie 'The Handmaiden'?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN ratings_users AS T3 ON T1.user_id = T3.user_id INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'The Handmaiden' GROUP BY T2.movie_title"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average popularity of movies in the lists of users who follow the movie 'The Shawshank Redemption'?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.movie_popularity) FROM movies AS T1 INNER JOIN lists AS T2 ON T1.movie_id = T2.list_movie_number WHERE T2.list_followers > 0"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 lists with the most followers?",
    "evidence": "",
    "SQL": "SELECT * FROM lists ORDER BY list_followers DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list with the most number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id = (SELECT list_id FROM lists ORDER BY list_followers DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of movies released in 2015 and 2016 by critics who liked the movies?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_release_year IN (2015, 2016) AND critic_likes > 0"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the users who have rated the most movies of the 21st century with a rating score of 5? Provide their user_id and the number of movies they have rated.",
    "evidence": "",
    "SQL": "SELECT T1.user_id, COUNT(*) AS num_movies FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_release_year >= 2000 AND T1.rating_score = 5 GROUP BY T1.user_id ORDER BY num_movies DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 lists that have the most number of followers? List the list id and the number of followers for each list.",
    "evidence": "",
    "SQL": "SELECT list_id, list_followers FROM lists ORDER BY list_followers DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the lists created by user '2941' that contain movies released in 2018?",
    "evidence": "",
    "SQL": "SELECT L.list_title FROM lists AS L INNER JOIN lists_users AS LU ON L.list_id = LU.list_id WHERE LU.user_id = 2941 AND L.list_movie_number IN (SELECT M.movie_id FROM movies AS M WHERE M.movie_release_year = 2018)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list of movies with the highest rating?",
    "evidence": "",
    "SQL": "SELECT M.movie_title, R.rating_score FROM ratings AS R INNER JOIN movies AS M ON R.movie_id = M.movie_id GROUP BY M.movie_title ORDER BY R.rating_score DESC LIMIT 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movie titles in a list created by user 12345678 when they were a subscriber?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id = 12345678 AND user_subscriber = 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "How many users have given 4 ratings?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings_users WHERE user_id IN (SELECT user_id FROM ratings GROUP BY user_id HAVING COUNT(rating_id) >= 4)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie that has the highest popularity?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_popularity = (SELECT MAX(movie_popularity) FROM movies)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles that have a list description containing the word 'Oscar'? and their corresponding list_id's",
    "evidence": "",
    "SQL": "SELECT list_title, list_id FROM lists WHERE list_description LIKE '%Oscar%'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of Mubi users following a list named \"Classic Sci-Fi\"",
    "evidence": "",
    "SQL": "SELECT list_followers FROM lists WHERE list_title = 'Classic Sci-Fi'"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies have been added to more than one user's list?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_id IN (SELECT movie_id FROM lists WHERE list_id IN (SELECT list_id FROM lists_users GROUP BY list_id HAVING COUNT(*) > 1))"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the names of the movies that a user has rated who also created a list and is eligible for trial? Indicate the movie id, movie title, and rating score of those movies.",
    "evidence": "",
    "SQL": "SELECT T1.movie_id, T1.movie_title, T2.rating_score FROM ratings AS T2 INNER JOIN movies AS T1 ON T2.movie_id = T1.movie_id INNER JOIN lists_users AS T3 ON T3.user_id = T2.user_id AND T2.user_eligible_for_trial = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the count of lists that have been updated in the last 30 days?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists WHERE strftime('%s', list_update_timestamp_utc) > strftime('%s', datetime('now', '-30 day'))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of all movies directed by Hong Sang-soo?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'Hong Sang-soo'"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movies were released in the year 2007?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM movies WHERE movie_release_year = 2007"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest rating score from a subscriber?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_subscriber = 1 GROUP BY T2.movie_title ORDER BY MAX(T1.rating_score) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movies with more than 10000 popularity and released in 2010 or 2011, are followed by more than 10 users?",
    "evidence": "",
    "SQL": "SELECT COUNT(Movie_id) FROM movies AS T1 INNER JOIN lists AS T2 ON T1.movie_id = T2.list_id WHERE T1.movie_release_year IN ('2010', '2011') AND T1.movie_popularity > 10000 AND T2.list_followers > 10"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists have been created by users with more than 10 subscribers?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists_users WHERE user_subscriber > 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating given by users of the movie with the title 'Forrest Gump'?",
    "evidence": "",
    "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 = 'Forrest Gump'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the most followers in the 'Lists' table?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users GROUP BY list_id ORDER BY COUNT(*) DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of the movie lists created by a subscriber user?",
    "evidence": "",
    "SQL": "SELECT AVG(T2.rating_score) FROM lists_users AS T1 INNER JOIN ratings AS T2 ON T1.user_id = T2.user_id WHERE T1.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average movie popularity for all films that have been rated by at least 50 users?",
    "evidence": "",
    "SQL": "SELECT AVG(movie_popularity) FROM movies M INNER JOIN ratings R ON M.movie_id = R.movie_id GROUP BY M.movie_id HAVING COUNT(R.rating_id) >= 50"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of movies rated by users who are also subscribers?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings WHERE user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the lists created by users who have a rating for the movie 'Inception' and have at least one trialist as a follower?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists INNER JOIN lists_users ON lists.list_id = lists_users.list_id INNER JOIN ratings_users ON lists_users.user_id = ratings_users.user_id INNER JOIN ratings ON ratings.user_id = ratings_users.user_id WHERE ratings.movie_id IN (SELECT movie_id FROM movies WHERE movie_title = 'Inception') AND lists_users.user_trialist = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 users that have the most followers in the lists table?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_followers IN (SELECT MAX(list_followers) FROM lists) LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average score for the movies in the list 'The Good, The Bad, The Ugly'?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T3.list_title LIKE 'The Good, The Bad, The Ugly'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the popularity rating of the movie with title 'Lost in Translation' among Mubi users?",
    "evidence": "",
    "SQL": "SELECT movie_popularity FROM movies WHERE movie_title = 'Lost in Translation'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 movies with the highest number of followers for a list with 'Action' in its title?",
    "evidence": "",
    "SQL": "SELECT list_movie_number, list_title, list_followers FROM lists WHERE list_title LIKE '%Action%' ORDER BY list_followers DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users have updated the lists with more than 1000 followers?",
    "evidence": "",
    "SQL": "SELECT * FROM lists_users WHERE list_id IN (SELECT list_id FROM lists WHERE list_followers > 1000)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies with the highest rating scores from 2010 onwards?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, AVG(T1.rating_score) as average_rating FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_release_year >= 2010 GROUP BY T2.movie_title ORDER BY average_rating DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of the movie \"The Brawler\"?",
    "evidence": "",
    "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 = 'The Brawler'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the average scores of the top 5 movies that have been added to the lists of user 1551854?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, AVG(T2.rating_score) AS avg_score FROM ratings AS T2 INNER JOIN movies AS T1 ON T2.movie_id = T1.movie_id INNER JOIN lists_users AS T3 ON T2.user_id = T3.user_id AND T3.user_id = 1551854 GROUP BY T1.movie_title ORDER BY avg_score DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "Which director is associated with the most movies in the database?",
    "evidence": "",
    "SQL": "SELECT director_name, COUNT(*) FROM movies GROUP BY director_name ORDER BY COUNT(*) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for movie lists created by users who have also created a list called \"Classic Films\"?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id IN (SELECT user_id FROM lists WHERE list_title = 'Classic Films'))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the movie title of the movie which has the most followers?",
    "evidence": "",
    "SQL": "SELECT list_movie_number FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie list has the most comments?",
    "evidence": "",
    "SQL": "SELECT list_title, SUM(list_comments) as total_comments FROM lists GROUP BY list_title ORDER BY total_comments DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most popular movies that were released in the year 2019?",
    "evidence": "",
    "SQL": "SELECT movie_title, SUM(movie_popularity) AS total_popularity FROM movies WHERE movie_release_year = 2019 GROUP BY movie_title ORDER BY total_popularity DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the most ratings?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies GROUP BY movie_title ORDER BY COUNT(movie_title) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of the movies in the lists created by users who are subscribers?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T2.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list of all the movies added in the year 2020?",
    "evidence": "",
    "SQL": "SELECT M.* FROM movies M WHERE M.movie_release_year = 2020"
  },
  {
    "db_id": "movie_platform",
    "question": "What movie titles, that have been rated by a user, have a rating score greater than 4?",
    "evidence": "",
    "SQL": "SELECT DISTINCT movie_title FROM ratings INNER JOIN movies ON ratings.movie_id = movies.movie_id WHERE ratings.rating_score > 4"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title and number of movies in the list with the most movies?",
    "evidence": "",
    "SQL": "SELECT list_title, list_movie_number FROM lists WHERE list_id = (SELECT list_id FROM lists ORDER BY list_movie_number DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has the highest number of follower lists?",
    "evidence": "",
    "SQL": "SELECT user_id, COUNT(*) AS number_of_followers FROM lists_users GROUP BY user_id ORDER BY number_of_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles of all lists that contain a movie with a director named Martin Scorsese and the list has more than 10 followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id IN (SELECT user_id FROM ratings WHERE movie_id IN (SELECT movie_id FROM movies WHERE director_name = 'Martin Scorsese')) AND list_followers > 10)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the most popular movie that has at least 3 ratings with a score of 5?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T2.rating_score = 5 GROUP BY T1.movie_title HAVING COUNT(T2.rating_score) >= 3 ORDER BY (SELECT COUNT(T2.rating_score) FROM ratings AS T3 WHERE T3.movie_id = T1.movie_id AND T3.rating_score = 5) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of the lists created by users who have a user trialist attribute of 1?",
    "evidence": "",
    "SQL": "SELECT AVG(T2.list_followers) FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T1.user_trialist = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list of movies created by the user with ID 1?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE user_id = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What list has the most followers among the lists created by users who are eligible for trial?",
    "evidence": "",
    "SQL": "SELECT T2.list_title FROM lists AS T2 INNER JOIN lists_users AS T1 ON T2.list_id = T1.list_id WHERE T1.user_eligible_for_trial = 1 GROUP BY T2.list_title ORDER BY T2.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the most followers on Mubi?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_id = T2.movie_id ORDER BY T1.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of comments for a list created by a subscriber?",
    "evidence": "",
    "SQL": "SELECT AVG(list_comments) FROM lists WHERE list_followers = (SELECT COUNT(*) FROM lists_users WHERE lists_users.user_subscriber = 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the movie with the highest popularity rated above 450 and which user gave it the highest rating?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, T2.user_id FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.movie_popularity > 450 ORDER BY T2.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which directors have directed more than one movie that is part of a user's list?",
    "evidence": "",
    "SQL": "SELECT director_name FROM movies WHERE movie_id IN (SELECT movie_id FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id IN (SELECT user_id FROM ratings_users))) GROUP BY director_name HAVING COUNT(*) > 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users who are subscribed have a movie list with more than 10 movies?",
    "evidence": "",
    "SQL": "SELECT user_id FROM lists_users WHERE user_subscriber = 1 GROUP BY user_id HAVING COUNT(list_id) > 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the user ID of the user who first made a list?",
    "evidence": "",
    "SQL": "SELECT T1.user_id FROM lists AS T1 ORDER BY T1.list_creation_timestamp_utc ASC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list with the highest number of followers among all lists created by a user who is a subscriber?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists INNER JOIN lists_users ON lists.list_id = lists_users.list_id WHERE lists_users.user_subscriber = 1 GROUP BY list_title ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which lists were followed by users who have a payment method?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists INNER JOIN lists_users ON lists.list_id = lists_users.list_id WHERE lists_users.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list that has the most followers?",
    "evidence": "",
    "SQL": "SELECT T1.list_title FROM lists AS T1 WHERE T1.list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies rated by subscribers have at least 100 ratings?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists_users AS T3 ON T2.user_id = T3.user_id WHERE T3.user_subscriber = 1 AND T2.rating_id IN (SELECT rating_id FROM ratings WHERE user_id IN (SELECT user_id FROM lists_users WHERE user_subscriber = 1 GROUP BY user_id HAVING COUNT(*) >= 100))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of Mubi lists that have more than 50 movies?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists WHERE list_movie_number > 50"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of all movies released in the year 2010?",
    "evidence": "",
    "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_release_year = 2010"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title with the most number of movies, and did the user who created the list have a payment method?",
    "evidence": "",
    "SQL": "SELECT T1.list_title, T2.user_has_payment_method FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id GROUP BY T1.list_title, T2.user_has_payment_method ORDER BY T1.list_movie_number DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list that contains the most number of movies?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists GROUP BY list_title ORDER BY (SELECT COUNT(*) FROM movies WHERE movie_id IN (SELECT list_movie_number FROM lists)) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top three movies with highest average rating by directors whose names contain the substring 'Lee'? ",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, AVG(T1.rating_score) AS avg_rating FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name LIKE '%Lee%' GROUP BY T2.movie_title ORDER BY avg_rating DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular list created by a paying subscriber?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_followers > (SELECT AVG(list_followers) FROM lists) AND user_id IN (SELECT user_id FROM lists_users WHERE user_has_payment_method = 1) ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie in the list with the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT L.list_title, M.movie_title, L.list_followers, M.movie_popularity FROM lists AS L INNER JOIN lists_users AS LU ON L.list_id = LU.list_id INNER JOIN movies AS M ON L.list_movie_number = M.movie_id WHERE LU.user_id = L.user_id ORDER BY L.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie according to the users with at least 5 ratings?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, COUNT(T1.user_id) as total_ratings FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id GROUP BY T2.movie_title ORDER BY total_ratings DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of the movies that the user with the user_id '41579158' has rated?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings WHERE user_id = 41579158"
  },
  {
    "db_id": "movie_platform",
    "question": "Which lists do not have a movie rated by the user with the user_id of 123?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_id NOT IN (SELECT list_id FROM ratings_users WHERE user_id = 123 AND list_id IS NOT NULL)"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users have rated more than 10 movies?",
    "evidence": "",
    "SQL": "SELECT user_id FROM ratings GROUP BY user_id HAVING COUNT(*) > 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the users who have rated the movie \"A Silent Hunter\" and have also rated the movie \"A Thousand and One Nights\"?",
    "evidence": "",
    "SQL": "SELECT distinct user_id FROM ratings WHERE movie_id IN (SELECT movie_id FROM movies WHERE movie_title = 'A Silent Hunter') INTERSECT SELECT distinct user_id FROM ratings WHERE movie_id IN (SELECT movie_id FROM movies WHERE movie_title = 'A Thousand and One Nights')"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list of movies that were added to a user's list with ID 12345678?",
    "evidence": "",
    "SQL": "SELECT * FROM movies WHERE movie_id IN (SELECT movie_id FROM lists WHERE list_id = 12345678)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the movies in the list created by a user with ID 1 that contain 'sci-fi' in their title and were released after 2010?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies AS T1 INNER JOIN lists AS T2 ON T1.movie_id = (SELECT movie_id FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id = 1)) WHERE T1.movie_title LIKE '%sci-fi%' AND T1.movie_release_year > 2010 ORDER BY T1.movie_title ASC"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the most number of followers on Mubi?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users GROUP BY list_id ORDER BY COUNT(list_id) DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list of movies that have been rated by the user who has been a trialist?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T1.user_id = T3.user_id WHERE T3.user_trialist = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list with the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the movie which was rated by the user who gave the highest number of likes to any critic in their rating?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN (SELECT user_id, COUNT(*) as likes FROM ratings WHERE critic_likes > 0 GROUP BY user_id ORDER BY likes DESC LIMIT 1) AS T3 ON T1.user_id = T3.user_id"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the title of the movie with the highest rating score registered on Mubi?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_id = (SELECT movie_id FROM ratings GROUP BY movie_id ORDER BY AVG(rating_score) DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies in each of the lists that have a URL and more than 5 followers?",
    "evidence": "",
    "SQL": "SELECT list_title, COUNT(*) AS movie_count FROM lists WHERE list_url IS NOT NULL AND list_followers > 5 GROUP BY list_title"
  },
  {
    "db_id": "movie_platform",
    "question": "Which directors had more than one movie with a rating score of at least 80 from the users in the 80s?",
    "evidence": "",
    "SQL": "SELECT T2.director_name, T1.rating_score FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_release_year = 1980 GROUP BY T2.director_id HAVING COUNT(T2.movie_id) > 1 AND MIN(T1.rating_score) >= 80"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of lists created by user 1234567, excluding lists with less than 10 followers?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.list_followers) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_id = 1234567 GROUP BY T1.list_followers HAVING T1.list_followers >= 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of movies rated by users who have a trial subscription?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN ratings_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_trialist = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list with the highest rating score?",
    "evidence": "",
    "SQL": "SELECT list_title, AVG(T2.rating_score) FROM lists AS T1 INNER JOIN ratings AS T2 ON T1.list_id = T2.movie_id GROUP BY T1.list_id ORDER BY AVG(T2.rating_score) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has created the most number of lists?",
    "evidence": "",
    "SQL": "SELECT user_id, COUNT(*) FROM lists_users GROUP BY user_id ORDER BY COUNT(*) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user rated the most movies?",
    "evidence": "",
    "SQL": "SELECT T1.user_id, COUNT(T1.rating_id) AS movie_count FROM ratings AS T1 GROUP BY T1.user_id ORDER BY movie_count DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of users who have given ratings to more than 5 movies?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT user_id) FROM ratings WHERE movie_id IN (SELECT movie_id FROM ratings GROUP BY movie_id HAVING COUNT(rating_id) > 5)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of movies on lists by users with a payment method?",
    "evidence": "",
    "SQL": "SELECT AVG(list_movie_number) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id INNER JOIN ratings_users AS T3 ON T2.user_id = T3.user_id WHERE T3.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has given the most ratings of all time?",
    "evidence": "",
    "SQL": "SELECT user_id, COUNT(*) FROM ratings GROUP BY user_id ORDER BY COUNT(*) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list with the most followers?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_id = (SELECT list_id FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the most popular movie among all users and what is its release year?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, T1.movie_release_year FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id ORDER BY T2.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the movie title of the movie with id 1234 that is also in the list with id 5678?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_id = (SELECT movie_id FROM lists WHERE list_id = 5678) AND movie_id = 1234"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the title of the first movie that user 85981819 followed in 2015?",
    "evidence": "",
    "SQL": "SELECT T1.list_title FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T2.user_id = 85981819 AND T1.list_update_timestamp_utc >= '2015-01-01' ORDER BY T1.list_update_timestamp_utc LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users have created more than one list with a title containing the word 'movies'?",
    "evidence": "",
    "SQL": "SELECT user_id FROM lists_users WHERE list_id IN (SELECT list_id FROM lists WHERE list_title LIKE '%movies%') GROUP BY user_id HAVING COUNT(list_id) > 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies by most ratings?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, COUNT(T1.rating_score) AS ratings_count FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id GROUP BY T2.movie_title ORDER BY ratings_count DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie in the 'The Lord of the Rings' trilogy has the most followers among all movie lists?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_movie_number = T2.movie_id WHERE T2.movie_title LIKE '%The Lord of the Rings%' GROUP BY T2.movie_title ORDER BY COUNT(T1.list_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What lists do a specific user, with the user_id 123, follow?",
    "evidence": "",
    "SQL": "SELECT list_title, list_url FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T2.user_id = 123"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the 5 most popular movies released in the 1980s on Mubi?",
    "evidence": "",
    "SQL": "SELECT * FROM movies WHERE movie_release_year BETWEEN 1980 AND 1989 ORDER BY movie_popularity DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list that has the most movies?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users GROUP BY list_id ORDER BY COUNT(user_id) DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for all the movie lists created by the user with id 1?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T2.user_id = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list with the highest number of followers among all the lists created by the user with ID 2?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_id = (SELECT MAX(list_id) FROM lists WHERE user_id = 2)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies in the database?",
    "evidence": "",
    "SQL": "SELECT COUNT(T1.movie_id) FROM movies AS T1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie in the database by popularity?",
    "evidence": "",
    "SQL": "SELECT movie_title, movie_popularity FROM movies ORDER BY movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest rating given by user 2452551?",
    "evidence": "",
    "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 = 2452551 ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most recent year a movie was added to the list 'Trending Movies'?",
    "evidence": "",
    "SQL": "SELECT MAX(T1.list_update_timestamp_utc) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T1.list_title = 'Trending Movies'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list created by user with user ID 3 and what is the number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists WHERE user_id = 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of users who rated at least one movie, but did not create a list?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings_users WHERE user_id NOT IN (SELECT user_id FROM lists_users) AND user_id IS NOT NULL"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 most followed lists created by users who were subscribers?",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id AND T2.list_id = T2.list_id WHERE T2.user_subscriber = 1 ORDER BY list_followers DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of all movie lists with more than 100 comments?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.list_followers) FROM lists AS T1 WHERE T1.list_comments > 100"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list with the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of the movies in the list with id 1?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings WHERE user_id IN (SELECT user_id FROM lists_users WHERE list_id = 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list created by the user who has paid and the first image is present on the list?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_cover_image_url IS NOT NULL AND (SELECT user_has_payment_method FROM lists_users WHERE lists.list_id = lists_users.list_id AND lists_users.user_id = user_id) = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movies have been added to a list with more than 10 followers?",
    "evidence": "",
    "SQL": "SELECT COUNT(list_id) FROM lists WHERE list_followers > 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list of movies that the user with the most followers follows?",
    "evidence": "",
    "SQL": "SELECT T1.list_title FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE T1.list_followers = (SELECT MAX(T4.list_followers) FROM lists AS T4) AND T2.user_id != T1.user_id"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list with the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 movies in the 'Action' genre that have a rating of at least 80% from user 1?",
    "evidence": "",
    "SQL": "SELECT * FROM movies WHERE movie_title_language = 'Action' AND (SELECT AVG(rating_score) FROM ratings WHERE ratings.movie_id = movies.movie_id AND ratings.user_id = 1) >= 80 ORDER BY (SELECT AVG(rating_score) FROM ratings WHERE ratings.movie_id = movies.movie_id AND ratings.user_id = 1) DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list with the most followers?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_id = (SELECT list_id FROM lists ORDER BY list_followers DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie on a list with at least 100 followers?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM lists L INNER JOIN lists_users LU ON L.list_id = LU.list_id INNER JOIN movies M ON L.list_movie_number = M.movie_id WHERE L.list_followers >= 100 GROUP BY L.list_followers, M.movie_title ORDER BY COUNT(*) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest popularity in the list with the id 1?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title FROM movies AS T1 JOIN lists AS T2 ON T1.movie_id IN (SELECT list_movie_number FROM lists WHERE list_id = 1) GROUP BY T1.movie_title ORDER BY T1.movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies have been added to the lists of users who were subscribers when they created the list?",
    "evidence": "",
    "SQL": "SELECT M.* FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id AND T2.user_subscriber = 1 INNER JOIN movies AS M ON T1.list_movie_number = M.movie_id"
  },
  {
    "db_id": "movie_platform",
    "question": "List the titles of all the lists created by a user with the ID 1.",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE user_id = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the movies that have a rating after 2015 and a critic?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.rating_timestamp_utc >= '2016-01-01' AND T1.critic IS NOT NULL GROUP BY T2.movie_title"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists have more than 3 movies and less than 5 movies?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists WHERE list_movie_number BETWEEN 3 AND 5"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists created by users who subscribed to the service have a rating of more than 4 out of 5?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_subscriber = 1 AND EXISTS (SELECT 1 FROM ratings AS T3 WHERE T3.movie_id = T1.list_movie_number AND T3.rating_score > 4)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of the users who are subscribers and rated the movie 'The Game'?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_subscriber = 1 AND T1.movie_id = (SELECT movie_id FROM movies WHERE movie_title = 'The Game')"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of followers of users who posted at least two lists?",
    "evidence": "",
    "SQL": "SELECT SUM(list_followers) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id GROUP BY T2.user_id HAVING COUNT(T1.list_id) >= 2"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles of users who have created 3 or more lists? And also provide their user_avatar_image_url.",
    "evidence": "",
    "SQL": "SELECT T2.list_title, T1.user_avatar_image_url FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T1.user_id IN (SELECT user_id FROM lists_users GROUP BY user_id HAVING COUNT(list_id) >= 3) ORDER BY T2.list_creation_timestamp_utc"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movies in the lists that have more than 1 follower and were updated after 2015?",
    "evidence": "",
    "SQL": "SELECT list_title, movies.movie_title FROM lists INNER JOIN lists_users ON lists.list_id = lists_users.list_id INNER JOIN movies ON lists.list_movie_number = movies.movie_id WHERE lists.list_followers > 1 AND lists.list_update_timestamp_utc LIKE '2015%' ORDER BY list_update_timestamp_utc DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "How many users who created a movie list have also rated a movie more than 4 stars?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT T1.user_id) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id AND T1.user_id = T2.user_id INNER JOIN ratings AS T3 ON T2.user_id = T3.user_id WHERE T3.rating_score > 4"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 rated movies by a user with the user id 1234?",
    "evidence": "",
    "SQL": "SELECT * FROM ratings WHERE user_id = 1234 ORDER BY rating_score DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most popular movies in the lists followed by the user 'user123'?",
    "evidence": "",
    "SQL": "SELECT list_title, movie_title FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id INNER JOIN movies AS T3 ON T1.list_movie_number = T3.movie_id WHERE T2.user_id = 'user123' ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies rated by users who are subscribers?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings AS T1 INNER JOIN ratings_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of ratings for movies in the list created by the user with the most number of followers?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T3.list_followers = (SELECT MAX(list_followers) FROM lists) AND T1.movie_id IN (SELECT movie_id FROM movies)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of users who rated the movie 'Drive' and had a payment method?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN ratings_users AS T3 ON T2.user_id = T3.user_id WHERE T1.movie_id IN (SELECT movie_id FROM movies WHERE movie_title = 'Drive') AND T3.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists have more than 10 movies in them?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists WHERE list_movie_number > 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the most popular list made by a paying subscriber?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists) AND user_id IN (SELECT user_id FROM ratings_users WHERE user_has_payment_method = 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the lists that contain movies rated by users who also have a payment method?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id IN (SELECT user_id FROM ratings_users WHERE user_has_payment_method = 1))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies rated by users who have a payment method set up?",
    "evidence": "",
    "SQL": "SELECT COUNT(rating_id) FROM ratings WHERE user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the lists that are updated after 2015 and belong to the user with id 123456, and whose last update timestamp is in the year 2017?",
    "evidence": "",
    "SQL": "SELECT list_id FROM lists WHERE list_update_timestamp_utc LIKE '2017%' AND user_id = 123456 ORDER BY list_update_timestamp_utc DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie was listed by the user with id 1 in the year 2017?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_movie_number = T2.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE T3.user_id = 1 AND SUBSTR(T1.list_update_timestamp_utc, 1, 4) LIKE '2017%'"
  },
  {
    "db_id": "movie_platform",
    "question": "How many users have rated the movie 'Toy Story'?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'Toy Story'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top three lists in terms of the number of followers that the user 85981819 created?",
    "evidence": "",
    "SQL": "SELECT T2.list_id, T2.list_followers FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T1.user_id = 85981819 ORDER BY T2.list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies were added to the most lists?",
    "evidence": "",
    "SQL": "SELECT T1.list_title, T2.movie_title, COUNT(*) FROM lists AS T1 INNER JOIN lists_users AS T3 ON T1.list_id = T3.list_id INNER JOIN movies AS T2 ON T3.user_id = (SELECT user_id FROM lists_users WHERE list_id = T1.list_id) GROUP BY T1.list_title, T2.movie_title ORDER BY COUNT(*) DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies were added to the lists of users who were on a trialist at the time of list creation, but didn't start a paid subscription?",
    "evidence": "",
    "SQL": "SELECT T1.list_movie_number FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_trialist = 1 AND T2.user_subscriber = 0"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list that has the most comments and what is the URL of this list?",
    "evidence": "",
    "SQL": "SELECT list_title, list_url FROM lists WHERE list_comments = (SELECT MAX(list_comments) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of the users who have rated the movie with the title 'Pavee Lackeen: The Traveller Girl'?",
    "evidence": "",
    "SQL": "SELECT AVG(T2.rating_score) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.movie_title = 'Pavee Lackeen: The Traveller Girl'"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies were released in 2015 and were listed in a movie list created by user 12345678?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM movies AS M INNER JOIN lists AS L ON M.movie_id = L.list_movie_number WHERE L.user_id = 12345678 AND M.movie_release_year = 2015"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 lists with the highest ratings from users who are paying subscribers?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_id IN (SELECT T1.list_id FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T2.user_has_payment_method = 1 ORDER BY (SELECT AVG(T3.rating_score) FROM ratings AS T3 WHERE T3.movie_id IN (SELECT T4.movie_id FROM movies AS T4 WHERE T4.movie_id IN (SELECT T5.list_id FROM lists AS T5 WHERE T5.list_id = T1.list_id))) DESC LIMIT 3)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the names of the top 5 most popular movies with the highest rating score from all Mubi users?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T2.movie_title, T2.movie_popularity FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id ORDER BY T1.rating_score DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of critics that give a rating to a movie in the Mubi list?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.critic_comments) FROM ratings AS T1 INNER JOIN lists AS T2 ON T1.user_id IN (SELECT user_id FROM lists_users WHERE list_id = T2.list_id) GROUP BY T2.list_title"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has the highest number of lists?",
    "evidence": "",
    "SQL": "SELECT L.user_id, COUNT(L.list_id) AS num_lists FROM lists_users AS L GROUP BY L.user_id ORDER BY num_lists DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which list has the highest average rating of the movies in the list among all the lists?",
    "evidence": "",
    "SQL": "SELECT list_title, AVG(rating_score) AS average_rating FROM lists INNER JOIN lists_users ON lists.list_id = lists_users.list_id INNER JOIN movies ON lists.list_movie_number = movies.movie_id INNER JOIN ratings ON movies.movie_id = ratings.movie_id GROUP BY list_title ORDER BY average_rating DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of users who have a trial plan and follow at least one list in the database?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT T1.user_id) FROM lists_users AS T1 INNER JOIN ratings_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_trialist = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles and list creation timestamps of all lists with over 1000 followers?",
    "evidence": "",
    "SQL": "SELECT list_title , list_creation_timestamp_utc FROM lists WHERE list_followers > 1000"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of the movie \"Inception\"?",
    "evidence": "",
    "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 = 'Inception'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating for the movies in the list created by user 78487553?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_id = 78487553"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of movies directed by Martin Scorsese?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'Martin Scorsese'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles of the lists that contain the movie with id 1?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id IN (SELECT user_id FROM lists_users WHERE list_id IN (SELECT list_id FROM movies WHERE movie_id = 1)))"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 most popular movies in the 'lists' table that were added before '2020-01-01'?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_update_timestamp_utc < '2020-01-01' ORDER BY list_movie_number DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "For movies rated by the most popular user, how many movies has the user rated that were released after 2000?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings AS T1 INNER JOIN ratings_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_has_payment_method = 1 AND T1.movie_id IN (SELECT T3.movie_id FROM movies AS T3 WHERE T3.movie_release_year > 2000)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of lists created by users who have a payment method?",
    "evidence": "",
    "SQL": "SELECT COUNT(list_id) FROM lists_users WHERE user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie in 1960?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_release_year = 1960 ORDER BY movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the most popular movie that has been listed by user 58149469?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_id IN (SELECT movie_id FROM lists WHERE user_id = 58149469 ORDER BY list_followers DESC LIMIT 1) ORDER BY movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the lists created by users who have given more than 3 ratings?",
    "evidence": "",
    "SQL": "SELECT T2.list_title FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id INNER JOIN ratings AS T3 ON T1.user_id = T3.user_id GROUP BY T2.list_title HAVING COUNT(T3.rating_id) > 3"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists that have a user id associated with it that is also a subscriber?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists_users WHERE user_id IN (SELECT user_id FROM ratings_users WHERE user_subscriber = 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has the most lists?",
    "evidence": "",
    "SQL": "SELECT T1.user_id FROM lists AS T1 GROUP BY T1.user_id ORDER BY COUNT(T1.list_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title of the list with the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which lists have more than 10 followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers > 10"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users have rated a movie with a title that starts with the letter 'T'?",
    "evidence": "",
    "SQL": "SELECT T1.user_id FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title LIKE 'T%' GROUP BY T1.user_id"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie list with the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top three most followed movie lists?",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies were rated by users who are also subscribers?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T1.user_id = T3.user_id WHERE T3.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 movie lists created by users with the most followers?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE user_id IN (SELECT list_id FROM lists_users GROUP BY list_id ORDER BY COUNT(*) DESC LIMIT 5)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most recent title of a list added by user 39519621?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE user_id = 39519621 ORDER BY list_update_timestamp_utc DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie has the highest average rating and its director has more than 10 movies in the database?",
    "evidence": "",
    "SQL": "SELECT M.movie_title, AVG(R.rating_score) AS average_rating FROM ratings R INNER JOIN movies M ON R.movie_id = M.movie_id GROUP BY M.movie_title HAVING M.director_id IN (SELECT M2.movie_id FROM movies M2 GROUP BY M2.director_id HAVING COUNT(M2.movie_id) > 10) ORDER BY average_rating DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of followers for the movie 'The 400 Blows'?",
    "evidence": "",
    "SQL": "SELECT COUNT(list_followers) FROM lists WHERE list_title = 'The 400 Blows'"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user with the most trialist has a list titled 'My Favorite Movies'?",
    "evidence": "",
    "SQL": "SELECT T2.user_id, COUNT(*) AS num_trialist, T2.list_title FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T1.user_trialist = 1 AND T2.list_title = 'My Favorite Movies' GROUP BY T2.user_id ORDER BY num_trialist DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie of user 12345678?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, T1.rating_score FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE T3.user_id = 12345678 ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of movies in the database?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM movies"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 most popular movies with the highest average rating score? Indicate the name of the director and when the movies were released.",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, AVG(T1.rating_score), T2.director_name, T2.movie_release_year FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id GROUP BY T2.movie_title ORDER BY AVG(T1.rating_score) DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of users who followed a list with a specific title?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists_users WHERE list_id IN (SELECT list_id FROM lists WHERE list_title = 'specific title')"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles of the top 3 lists by followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average popularity of movies rated by subscribers?",
    "evidence": "",
    "SQL": "SELECT AVG(movies.movie_popularity) FROM movies INNER JOIN ratings_users ON movies.movie_id = ratings_users.user_id WHERE ratings_users.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has the highest number of lists they are following?",
    "evidence": "",
    "SQL": "SELECT user_id, COUNT(list_id) FROM lists_users GROUP BY user_id ORDER BY COUNT(list_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which list has the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT list_id FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie has the highest rating score from users in the list '250 Favourite Films'?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, 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.list_id = T1.user_id WHERE T3.list_title = '250 Favourite Films' GROUP BY T2.movie_id ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movies with at least 50 ratings from users who are paying subscribers?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE T3.user_has_payment_method = 1 GROUP BY T2.movie_title HAVING COUNT(T1.rating_id) >= 50"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movies directed by David Lean that have the highest number of ratings?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T2.movie_title, COUNT(T1.rating_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'David Lean' GROUP BY T2.movie_title ORDER BY COUNT(T1.rating_id) DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of movies in the list with more than 10 followers?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists WHERE list_followers > 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the movie with the highest rating score among all the movies rated by users who are subscribers?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T1.user_id = T3.user_id WHERE T3.user_subscriber = 1 ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title of the list with movie_id 123?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_movie_number = 123"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of movies on lists created by users who have not been subscribers?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.list_movie_number) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id AND T2.user_subscriber = 0"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies were rated by the user with user_id = 1?",
    "evidence": "",
    "SQL": "SELECT * FROM ratings WHERE user_id = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movie release years with the least number of movies?",
    "evidence": "",
    "SQL": "SELECT DISTINCT movie_release_year FROM movies GROUP BY movie_release_year ORDER BY COUNT(movie_id) ASC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie that has the most number of ratings and also has a rating score of 5 from a paying subscriber?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE (SELECT COUNT(*) FROM ratings WHERE movie_id = movies.movie_id AND rating_score = 5 AND user_has_payment_method = 1) = (SELECT MAX(count) FROM (SELECT COUNT(*) AS count FROM ratings WHERE movie_id = movies.movie_id AND rating_score = 5 AND user_has_payment_method = 1) AS T)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average popularity rating of the movies in the list created by the user with user_id 1?",
    "evidence": "",
    "SQL": "SELECT AVG(movie_popularity) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id INNER JOIN movies AS T3 ON T1.list_id = T3.movie_id WHERE T2.user_id = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which lists have a list cover image URL and a follower count more than 10?",
    "evidence": "",
    "SQL": "SELECT list_id FROM lists WHERE list_cover_image_url IS NOT NULL AND list_followers > 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of movies listed in lists by users who have more than 1000 followers?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T3.list_followers > 1000"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies have been liked by a user with the highest number of followers in a list?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id INNER JOIN lists AS T4 ON T3.list_id = T4.list_id WHERE T4.list_followers = (SELECT MAX(list_followers) FROM lists) GROUP BY T2.movie_title"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies have been rated by a paying subscriber who has tried the service and is eligible for trial?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T1.user_id = T3.user_id WHERE T3.user_eligible_for_trial = 1 AND T3.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the lists that have at least 3 movies with a rating score of 2?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T1.list_title FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id INNER JOIN ratings AS T3 ON T2.user_id = T3.user_id WHERE T3.rating_score = 2 GROUP BY T1.list_title HAVING COUNT(T3.rating_score) >= 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie released in 2005 according to the rating?",
    "evidence": "",
    "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 = (SELECT MAX(rating_score) FROM ratings WHERE movie_id = (SELECT movie_id FROM movies WHERE movie_release_year = 2005))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the movie that has the most number of followers in the list named 'Short and pretty damn sweet'? ",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_id = (SELECT list_id FROM lists WHERE list_title = 'Short and pretty damn sweet') AND T1.list_movie_number = T2.movie_id GROUP BY T2.movie_title ORDER BY T1.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id = (SELECT list_id FROM lists GROUP BY list_id ORDER BY list_followers DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the names of the 10 most popular movies that have been updated in the last 30 days?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM movies AS T2 INNER JOIN lists AS T1 ON T2.movie_id = T1.list_id WHERE T1.list_update_timestamp_utc > DATE('now', '-30 day') ORDER BY T1.list_followers DESC LIMIT 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of movies directed by the director with the highest popularity among users?",
    "evidence": "",
    "SQL": "SELECT AVG(T2.rating_score) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.director_id = (SELECT director_id FROM movies ORDER BY movie_popularity DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating given by subscribers to the movie with the title 'A Beautiful Mind'?",
    "evidence": "",
    "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 Beautiful Mind' AND T1.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie that was most frequently rated by users in February 2016?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.rating_timestamp_utc BETWEEN '2016-02-01' AND '2016-02-29' GROUP BY T2.movie_title ORDER BY COUNT(*) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the lists created by users who have a payment method and was eligible for trial, and these lists have less than 25 movies in them?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T2.list_title FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T2.list_movie_number < 25 AND T1.user_has_payment_method = 1 AND T1.user_eligible_for_trial = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for lists that have a cover image?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists WHERE list_cover_image_url IS NOT NULL"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie of the year 2021 among users who have paid for a subscription?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM ratings r JOIN movies m ON r.movie_id = m.movie_id JOIN ratings_users ru ON r.user_id = ru.user_id WHERE ru.user_subscriber = 1 AND m.movie_release_year = 2021 ORDER BY r.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the most popular rating among users who were paying subscribers?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_id IN (SELECT movie_id FROM ratings WHERE user_has_payment_method = 1 ORDER BY rating_score DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the movies released in the year 2010 that have a rating of 4 or more?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_release_year = 2010 AND EXISTS (SELECT * FROM ratings WHERE movie_id = movies.movie_id AND rating_score >= 4)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular film in the Mubi lists?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_movie_number IN (SELECT movie_id FROM movies ORDER BY movie_popularity DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the movies directed by Quentin Tarantino?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE director_name LIKE 'Quentin Tarantino'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies with the highest rating from users who followed 'lists' 'favorites'",
    "evidence": "",
    "SQL": "SELECT * FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_id IN (SELECT user_id FROM lists_users WHERE list_id IN (SELECT list_id FROM lists WHERE list_followers > 0)) GROUP BY T2.movie_id ORDER BY T1.rating_score DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users have a list called 'Best of 2020'?",
    "evidence": "",
    "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 = 'Best of 2020'"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the total number of movies rated by users who are trialists?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT T1.user_id) FROM ratings AS T1 INNER JOIN ratings_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_trialist = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list of movies directed by Hong Sang-soo that has been added to a list by at least one user on Mubi?",
    "evidence": "",
    "SQL": "SELECT M1.movie_title FROM movies AS M1 INNER JOIN lists_users AS L1 ON M1.movie_id IN (SELECT ML1.movie_id FROM movies AS ML1 INNER JOIN lists AS ML2 ON ML1.movie_id = ML2.list_movie_number WHERE ML2.list_id IN (SELECT LL1.list_id FROM lists AS LL1 INNER JOIN lists_users AS LL2 ON LL1.list_id = LL2.list_id)) WHERE M1.director_name = 'Hong Sang-soo'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the lists created by the user who also has a rating for the movie 'The Shawshank Redemption'?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE user_id IN (SELECT user_id FROM ratings WHERE movie_id IN (SELECT movie_id FROM movies WHERE movie_title = 'The Shawshank Redemption'))"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movies with more than 3 ratings that are directed by Quentin Tarantino and their corresponding average rating score?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, AVG(T2.rating_score) AS avg_rating FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.director_name = 'Quentin Tarantino' GROUP BY T1.movie_title HAVING COUNT(T2.rating_id) > 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title of the list that has the most number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id = (SELECT list_id FROM lists ORDER BY list_followers DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the lists created by a paying subscriber after the year 2020?",
    "evidence": "",
    "SQL": "SELECT T1.list_title FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id INNER JOIN lists AS T3 ON T1.list_id = T3.list_id INNER JOIN ratings_users AS T4 ON T2.user_id = T4.user_id WHERE T4.user_has_payment_method = 1 AND T3.list_creation_timestamp_utc > '2020-01-01 00:00:00' GROUP BY T1.list_title"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the lists that contain the movie 'Pavee Lackeen: The Traveller Girl'?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id IN (SELECT user_id FROM lists_users WHERE list_id IN (SELECT movie_id FROM movies WHERE movie_title = 'Pavee Lackeen: The Traveller Girl')))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of users who have created lists with more than 10 movies?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT user_id) FROM lists_users WHERE list_id IN (SELECT list_id FROM lists WHERE list_movie_number > 10)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 lists with the most followers that have a cover image URL and what are the average rating score for each list?",
    "evidence": "",
    "SQL": "SELECT T1.list_id, AVG(T2.rating_score) AS average_rating_score, COUNT(T1.list_followers) AS follower_count FROM lists AS T1 LEFT JOIN ratings AS T2 ON T1.list_id = T2.movie_id WHERE T1.list_cover_image_url IS NOT NULL GROUP BY T1.list_id ORDER BY follower_count DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title of the list that has the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id = (SELECT list_id FROM lists ORDER BY list_followers DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies did the director of the highest movie popularity in the year 2010 or later make?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title FROM movies AS T1 WHERE T1.director_id = ( SELECT T2.director_id FROM movies AS T2 WHERE T2.movie_release_year >= 2010 ORDER BY T2.movie_popularity DESC LIMIT 1 )"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the movie with the highest rating score in the 90s and directed by a director from the USA?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.movie_release_year BETWEEN 1990 AND 1999 AND T2.rating_score = (SELECT MAX(T3.rating_score) FROM ratings AS T3 WHERE T3.movie_id = T1.movie_id AND T3.user_id IN (SELECT user_id FROM lists_users WHERE user_id IN (SELECT user_id FROM lists_users WHERE list_id IN (SELECT list_id FROM lists WHERE list_followers > 100))))"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the title of the movie with the most followers in the list with ID 123?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_movie_number = T2.movie_id WHERE T1.list_id = 123 ORDER BY T1.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating for a list that has more than 50 movies?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.list_movie_number) AS AVG_RATING FROM lists AS T1 WHERE T1.list_movie_number > 50"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies have been added to list titled 'Cool Movies' by user with id 41243278?",
    "evidence": "",
    "SQL": "SELECT list_title, movie_title FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id INNER JOIN movies AS T3 ON T1.list_movie_number = T3.movie_id WHERE T2.user_id = 41243278"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the movies which have been rated by the user with user ID 4208563 and have a rating score of 4 or above?",
    "evidence": "",
    "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 LIKE 4208563 AND CAST(SUBSTR(T1.rating_score, 1, 1) AS INTEGER) >= 4"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the rating score of the movie whose director is Quentin Tarantino?",
    "evidence": "",
    "SQL": "SELECT rating_score FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'Quentin Tarantino'"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users have rated the movie with id 1234?",
    "evidence": "",
    "SQL": "SELECT * FROM ratings_users WHERE user_id IN (SELECT user_id FROM ratings WHERE movie_id = 1234)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of movies that have been rated by users who have a non-empty avatar image URL?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T2.user_id = T3.user_id WHERE T3.user_avatar_image_url IS NOT NULL"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most popular lists in the 'movies' table that have a cover image and have more than 5 followers?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_id IN (SELECT list_id FROM lists WHERE list_cover_image_url IS NOT NULL AND list_followers > 5 ORDER BY list_followers DESC LIMIT 3)"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies have been rated by user 45579900?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, T1.movie_release_year, T2.rating_score FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T2.user_id = 45579900"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of all lists created by a user who has been a subscriber since 2019?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_creation_timestamp_utc >= '2019-01-01' AND user_id IN (SELECT user_id FROM lists_users WHERE user_subscriber = 1) ORDER BY list_creation_timestamp_utc ASC"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list that has the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the URL of the cover image of the list with title 'Female Singers You Should Know'?",
    "evidence": "",
    "SQL": "SELECT list_cover_image_url FROM lists WHERE list_title = 'Female Singers You Should Know'"
  },
  {
    "db_id": "movie_platform",
    "question": "What movie was the most popular among users who created more than 5 lists?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM movies M INNER JOIN lists_users LU ON LU.user_id = M.director_id GROUP BY M.movie_title HAVING COUNT(LU.list_id) > 5 ORDER BY M.movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of users that have created a list of movies?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT list_id) FROM lists_users"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies by popularity in the list created by user 12345?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, T2.movie_popularity FROM movies AS T2 INNER JOIN ratings AS T1 ON T2.movie_id = T1.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE T3.list_id = (SELECT list_id FROM lists WHERE user_id = 12345) ORDER BY T2.movie_popularity DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies included in all user lists?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists INNER JOIN lists_users ON lists.list_id = lists_users.list_id"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles of the lists that have movies released in the 1990s and have a rating score of 4 from at least one user?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_movie_number IN (SELECT movie_id FROM movies WHERE movie_release_year BETWEEN 1990 AND 1999) AND list_id IN (SELECT T3.list_id FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T1.rating_score = 4)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average list update time for a user who has posted at least one list?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.list_update_timestamp_utc) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id GROUP BY T2.user_id HAVING COUNT(T1.list_id) > 0"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie, directed by 'Joel Coen', has the highest rating score in the lists created by 'user 4208563'? What is the rating score?",
    "evidence": "",
    "SQL": "SELECT T1.movie_id, T1.rating_score FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'Joel Coen' AND T1.user_id IN (SELECT user_id FROM lists_users WHERE list_id IN (SELECT list_id FROM lists WHERE user_id = 4208563)) ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What movie is the most popular and directed by Quentin Tarantino?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_popularity = (SELECT MAX(movie_popularity) FROM movies) AND director_name LIKE 'Quentin Tarantino'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the movies in the list 'Top 250 Movies' which were released before 1990?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_id = T2.movie_id WHERE T1.list_title = 'Top 250 Movies' AND T2.movie_release_year < 1990"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the top 3 movies in terms of the highest number of ratings?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, COUNT(*) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id GROUP BY T1.movie_title ORDER BY COUNT(*) DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating given by subscribers for movies that were first released in the 1990s?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings WHERE movie_id IN (SELECT movie_id FROM movies WHERE movie_release_year BETWEEN 1990 AND 1999) AND user_id IN (SELECT user_id FROM lists_users WHERE user_subscriber = 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles of the 3 lists that have the highest number of movies?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_movie_number IN (SELECT MAX(list_movie_number) FROM lists GROUP BY list_movie_number ORDER BY COUNT(*) LIMIT 3)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list that has the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists GROUP BY list_title ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list that has a title containing the word 'movies' and has more than 10 followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_title LIKE '%movies%' AND list_followers > 10"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users are following the list titled 'The Best of 2022'?",
    "evidence": "",
    "SQL": "SELECT LU.user_id FROM lists AS L INNER JOIN lists_users AS LU ON L.list_id = LU.list_id WHERE L.list_title = 'The Best of 2022'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the list with the highest number of followers that has a cover image url?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists WHERE list_cover_image_url IS NOT NULL ORDER BY list_followers DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of lists where a user with ID 85981819 is a follower?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT list_id) FROM lists_users WHERE user_id = 85981819"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies with the most ratings from user 85981819?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, COUNT(*) AS rating_count FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_id = 85981819 GROUP BY T2.movie_title ORDER BY rating_count DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies have at least 100 followers on a list and are not from the year 1960?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_id IN (SELECT movie_id FROM lists WHERE list_followers > 100) AND movie_release_year != 1960"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies are most popular among the users who created lists named \"best_movies_of_the_year\"?",
    "evidence": "",
    "SQL": "SELECT T1.movie_id, COUNT(*) AS popularity FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T3.list_title = 'best_movies_of_the_year' GROUP BY T1.movie_id ORDER BY popularity DESC LIMIT 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list id of the lists created by the user who is a subscriber and has a payment method?",
    "evidence": "",
    "SQL": "SELECT T2.list_id FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T1.user_subscriber = 1 AND T1.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of followers for all users who have created a list in the month of January 2015?",
    "evidence": "",
    "SQL": "SELECT SUM(list_followers) AS total_followers FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id AND T1.list_id = T2.list_id WHERE T2.list_creation_date_utc BETWEEN '2015-01-01' AND '2015-01-31'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list created by user 85981819 with the most followers?",
    "evidence": "",
    "SQL": "SELECT T2.list_title FROM lists AS T2 INNER JOIN lists_users AS T1 ON T2.list_id = T1.list_id WHERE T1.user_id = 85981819 ORDER BY T2.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users who are subscribers or trialists have rated more than 50 movies in total?",
    "evidence": "",
    "SQL": "SELECT T1.user_id FROM lists_users AS T1 INNER JOIN ratings AS T2 ON T1.user_id = T2.user_id WHERE (T1.user_subscriber = 1 OR T1.user_trialist = 1) GROUP BY T1.user_id HAVING COUNT(T2.movie_id) > 50"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the list titled 'Best of 2018' that has the most followers?",
    "evidence": "",
    "SQL": "SELECT L.list_title FROM lists L WHERE L.list_title = 'Best of 2018' ORDER BY L.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of movies in the lists of user 39115684?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings WHERE user_id = (SELECT user_id FROM lists_users WHERE user_id = 39115684)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list with the most followers? What user created it?",
    "evidence": "",
    "SQL": "SELECT list_id, list_title, user_id FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of movies with a movie_title_language other than English in the list named 'The Greatest Movies Ever Made'?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings AS T1 INNER JOIN lists AS T2 ON T1.user_id = T2.user_id INNER JOIN movies AS T3 ON T1.movie_id = T3.movie_id WHERE T2.list_title = 'The Greatest Movies Ever Made' AND T3.movie_title_language != 'English'"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users are subscribed and have contributed a rating for at least one movie?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T1.user_id FROM ratings_users AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id WHERE T1.user_subscriber = 1 AND T2.list_id IS NOT NULL"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for the top 5 most followed lists?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists ORDER BY list_followers DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the list created by user 59988436 with the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE user_id = 59988436 ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of users who have rated at least one movie?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT T1.user_id) FROM ratings AS T1 GROUP BY T1.user_id HAVING COUNT(T1.rating_id) > 0"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the names of the movies that are part of the list with id 123456",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_id = 123456 AND T2.movie_id = T1.list_id"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of movies in a list created by user ID 1?",
    "evidence": "",
    "SQL": "SELECT AVG(list_movie_number) FROM lists WHERE user_id = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie according to the number of followers?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, T2.movie_popularity FROM movies AS T2 ORDER BY T2.movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top three movies with the highest average score in Mubi amongst the users who are both subscribers and have paid?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, SUM(T1.rating_score) / COUNT(T1.rating_id) AS average_rating FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T1.user_id = T3.user_id WHERE T3.user_subscriber = 1 AND T3.user_has_payment_method = 1 GROUP BY T2.movie_title ORDER BY average_rating DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the title of the movie with the highest popularity?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies ORDER BY movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top three lists with the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers = (SELECT max(list_followers) FROM lists) LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of the movie lists created by users who were subscribers when they created the list and have more than 50 movies in the list?",
    "evidence": "",
    "SQL": "SELECT AVG(T3.list_followers) FROM lists AS T3 INNER JOIN lists_users AS T2 ON T3.list_id = T2.list_id WHERE T2.user_subscriber = 1 AND T3.list_movie_number > 50"
  },
  {
    "db_id": "movie_platform",
    "question": "Which director has the highest average movie popularity across all their movies?",
    "evidence": "",
    "SQL": "SELECT director_name, AVG(movie_popularity) AS average_popularity FROM movies GROUP BY director_name ORDER BY average_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of lists that have more than 3 movies?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists WHERE list_movie_number > 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average popularity of movies in the list \"Classic Movies\"?",
    "evidence": "",
    "SQL": "SELECT AVG(movie_popularity) FROM movies INNER JOIN lists AS T2 ON T2.list_id = movies.movie_id WHERE T2.list_title = 'Classic Movies'"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users have more than one movie in their favorite lists?",
    "evidence": "",
    "SQL": "SELECT distinct user_id FROM lists_users WHERE list_id IN (SELECT list_id FROM lists GROUP BY list_id HAVING COUNT(list_id) > 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movie lists created by subscribers have a title that starts with the letter 'A'?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T2.user_subscriber = 1 AND T1.list_title LIKE 'A%'"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists with a title that contains the word 'Avengers' have been updated in the last month? Indicate the list_id of each list",
    "evidence": "",
    "SQL": "SELECT list_id FROM lists WHERE list_title LIKE '%Avengers%' AND DATE(list_update_timestamp_utc) > DATE('now', '-1 month')"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top three lists that the users with most payment methods have added most recently?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id IN (SELECT user_id FROM ratings_users WHERE user_has_payment_method = 1) AND list_id IN (SELECT list_id FROM lists WHERE list_update_timestamp_utc = (SELECT list_update_timestamp_utc FROM lists ORDER BY list_update_timestamp_utc DESC LIMIT 3)))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average movie rating given by users who have given a rating to a movie in the last 30 days?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings WHERE rating_timestamp_utc >= DATE('now', '-30 day') AND rating_score > 0"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie that has the highest popularity on Mubi?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_popularity = (SELECT MAX(movie_popularity) FROM movies)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the names of the directors who directed a movie in the list 'My Awesome Movie List'?",
    "evidence": "",
    "SQL": "SELECT director_name FROM movies WHERE movie_id IN (SELECT list_movie_number FROM lists WHERE list_title = 'My Awesome Movie List')"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of movies in a list named 'The List' created by a trialist?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id INNER JOIN movies AS T3 ON T1.list_id = T3.movie_id WHERE T1.list_title = 'The List' AND T2.user_trialist = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for all the lists by user 58149469?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) AS average_followers FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id = 58149469)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest average rating?",
    "evidence": "",
    "SQL": "SELECT movie_title, AVG(rating_score) AS avg_rating FROM ratings JOIN movies ON ratings.movie_id = movies.movie_id GROUP BY movie_title ORDER BY avg_rating DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the most number of ratings given by users?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id GROUP BY T1.movie_title ORDER BY COUNT(T2.rating_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most popular movies that have been rated by at least 100 users?",
    "evidence": "",
    "SQL": "SELECT T2.movie_id, COUNT(*) as user_ratings FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id GROUP BY T2.movie_id ORDER BY user_ratings DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the names of movies that were rated 4 or higher in 2020 by users who are trialists or subscribers?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T1.user_id = T3.user_id WHERE CAST(SUBSTR(T1.rating_timestamp_utc, 1, 4) AS INTEGER) = 2020 AND T3.user_trialist = 1 OR T3.user_subscriber = 1 AND CAST(SUBSTR(T1.rating_timestamp_utc, 6, 2) AS INTEGER) >= 4"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest popularity and was directed by Tim Burton?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_popularity = (SELECT MAX(movie_popularity) FROM movies) AND director_name = 'Tim Burton'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating for all movies directed by 'Woody Allen'?",
    "evidence": "",
    "SQL": "SELECT AVG(T2.rating_score) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.director_name = 'Woody Allen'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the most popular movies in the 2000s that were directed by a director who also directed a movie in the 1970s? Indicate the number of users who rated those movies as 5 stars.",
    "evidence": "",
    "SQL": "SELECT T2.movie_id, SUM(T1.rating_score = 5) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_release_year BETWEEN 2000 AND 2009 AND T2.director_id IN (SELECT T3.director_id FROM movies AS T3 WHERE T3.movie_release_year BETWEEN 1970 AND 1979) GROUP BY T2.movie_id ORDER BY T2.movie_popularity DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users created lists with the most movies?",
    "evidence": "",
    "SQL": "SELECT user_id, COUNT(*) AS num_movies FROM lists_users GROUP BY user_id ORDER BY num_movies DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movies that are in the list of movies listed by user U12345?",
    "evidence": "",
    "SQL": "SELECT * FROM movies WHERE movie_id IN (SELECT list_movie_number FROM lists WHERE user_id = 'U12345')"
  },
  {
    "db_id": "movie_platform",
    "question": "What are all the movie titles of the movies that were rated by user 85981819?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies INNER JOIN ratings ON movies.movie_id = ratings.movie_id WHERE ratings.user_id = 85981819"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of all movie lists created by the user who created the list \"All Time Favorites\"?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id = (SELECT user_id FROM lists WHERE list_title = 'All Time Favorites'))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest rating for a user who is a subscriber?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_subscriber = 1 ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest rating of the user who is a paying subscriber?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, T3.user_has_payment_method FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T1.user_id = T3.user_id WHERE T3.user_has_payment_method = 1 ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 most popular movies in the 2000s that users have rated with a score of 5?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T2.movie_title, SUM(T1.rating_score = 5) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.rating_timestamp_utc LIKE '200%' AND T1.rating_score = 5 GROUP BY T2.movie_title ORDER BY SUM(T1.rating_score = 5) DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of followers of lists created by user 5114511?",
    "evidence": "",
    "SQL": "SELECT SUM(T1.list_followers) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_id = 5114511"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie by a director who has directed at least 5 movies? Provide the director's name and the movie's release year.",
    "evidence": "",
    "SQL": "SELECT T1.director_name, T1.movie_release_year FROM movies AS T1 WHERE T1.director_id IN (SELECT director_id FROM movies AS T2 GROUP BY director_id HAVING COUNT(T2.movie_id) >= 5) ORDER BY T1.movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the lists created by user 1 that have at least 5 movies?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE user_id = 1 AND list_movie_number >= 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title of the movie list that has the most number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id = (SELECT list_id FROM lists ORDER BY list_followers DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the popularity of the movie with the title 'Taxi Driver'?",
    "evidence": "",
    "SQL": "SELECT movie_popularity FROM movies WHERE movie_title = 'Taxi Driver'"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies were directed by the same director that directed 'The Deer Hunter'?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM movies M INNER JOIN movies M1 ON M.director_id = M1.director_id WHERE M1.movie_title = 'The Deer Hunter'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title of the first list followed by a user with a trial subscription?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists INNER JOIN lists_users ON lists.list_id = lists_users.list_id INNER JOIN ratings_users ON lists_users.user_id = ratings_users.user_id WHERE ratings_users.user_trialist = 1 ORDER BY lists_users.list_id LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular list on Mubi that has more than 5 users?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_followers > 5 ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 lists that the user with user_id 10234 has followed?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id = 10234) ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 most popular movies in a user's list?",
    "evidence": "",
    "SQL": "SELECT movie_title, movie_popularity FROM movies JOIN lists_users ON movies.movie_id = lists_users.list_id JOIN lists ON lists_users.list_id = lists.list_id GROUP BY movie_title ORDER BY movie_popularity DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies with the highest rating score in the database?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, MAX(T2.rating_score) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id GROUP BY T1.movie_title ORDER BY MAX(T2.rating_score) DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie has the highest rating score among the movies directed by the director who directed the movie \"Bicycle Thieves\"?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name IN (SELECT T3.director_name FROM movies AS T3 WHERE T3.movie_title = 'Bicycle Thieves') GROUP BY T2.movie_title ORDER BY SUM(T1.rating_score) / COUNT(T1.rating_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Who is the director of the movie \"The Fifth Element\" and what's the average rating score of this movie?",
    "evidence": "",
    "SQL": "SELECT T2.director_name, AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'The Fifth Element'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list_id of the list whose list_title contains the word 'thriller' and has more than 100 followers?",
    "evidence": "",
    "SQL": "SELECT list_id FROM lists WHERE list_title LIKE '%thriller%' AND list_followers > 100"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the most popular film from 2009?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_release_year = 2009 ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movies directed by Martin Scorsese are available in the database?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM movies WHERE director_name = 'Martin Scorsese'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the movie title of the movie that has the highest rating with a critic?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.critic IS NOT NULL ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the movie with the most list followers?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_id = (SELECT list_id FROM lists ORDER BY list_followers DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie in the year 2015 according to the rating score of user 1234?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies INNER JOIN ratings ON movies.movie_id = ratings.movie_id WHERE ratings.rating_timestamp_utc LIKE '%2015%' AND ratings.user_id = 1234 ORDER BY ratings.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of comments for all lists created by users who have a cover image url that starts with 'https://assets.mubicdn.net/images/avatars'",
    "evidence": "",
    "SQL": "SELECT AVG(T2.list_comments) AS average_comments FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T1.user_cover_image_url LIKE 'https://assets.mubicdn.net/images/avatars%'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 most popular movies in the 1990s? Indicate how many users gave it a rating score of 5.",
    "evidence": "",
    "SQL": "SELECT DISTINCT T2.movie_id, SUM(T1.rating_score = 5) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_release_year BETWEEN 1990 AND 1999 ORDER BY T2.movie_popularity DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movies with a release year of 1990 or earlier, have at least 5 lists of 10 or more users?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT T1.movie_id) FROM movies AS T1 LEFT JOIN lists AS T2 ON T1.movie_id = T2.list_movie_number WHERE T1.movie_release_year <= 1990 AND T2.list_followers >= 10 GROUP BY T1.movie_id HAVING COUNT(T2.list_followers) >= 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the most popular ratings from a user who has a payment method?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T2.user_has_payment_method = 1 ORDER BY T2.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the most popular movie in the 'Action' genre?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_popularity IN (SELECT MAX(movie_popularity) FROM movies WHERE movie_title_language = 'Action')"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of the movies with a popularity of more than 11,000?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings WHERE movie_id IN (SELECT movie_id FROM movies WHERE movie_popularity > 11000)"
  },
  {
    "db_id": "movie_platform",
    "question": "Who are the top 5 subscribers with the most lists they follow?",
    "evidence": "",
    "SQL": "SELECT user_id, COUNT(*) as number_of_lists FROM lists_users GROUP BY user_id ORDER BY number_of_lists DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest rating scored by users who are not subscribers?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T2.rating_score > 0 AND T2.user_subscriber = 0 GROUP BY T1.movie_title ORDER BY T2.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average popularity of all movies that have been rated by users in a trial? ",
    "evidence": "",
    "SQL": "SELECT AVG(T2.movie_popularity) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_trialist = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has the most number of movies added to their lists and what are their follower counts?",
    "evidence": "",
    "SQL": "SELECT T2.user_avatar_image_url, COUNT(T1.list_movie_number), SUM(T1.list_followers) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id GROUP BY T2.user_avatar_image_url ORDER BY COUNT(T1.list_movie_number) DESC, SUM(T1.list_followers) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the lists with more than 20 followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers > 20"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the top 5 most popular movie lists created by users who were trialists?",
    "evidence": "",
    "SQL": "SELECT T2.list_title FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T1.user_trialist = 1 GROUP BY T2.list_title ORDER BY COUNT(T1.list_id) DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of all the lists that contain the movie 'When Will I Be Loved'?",
    "evidence": "",
    "SQL": "SELECT T2.list_title FROM lists AS T2 INNER JOIN lists_users AS T1 ON T2.list_id = T1.list_id WHERE T1.user_id IN (SELECT T3.user_id FROM ratings AS T3 WHERE T3.movie_id IN (SELECT T4.movie_id FROM movies AS T4 WHERE T4.movie_title = 'When Will I Be Loved'))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies that have a list with at least 5 followers?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists WHERE list_followers >= 5"
  },
  {
    "db_id": "movie_platform",
    "question": "Which list has the most number of followers?",
    "evidence": "",
    "SQL": "SELECT list_id FROM lists ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of the movies in the list created by the user with id 12345?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_id = 12345"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average popularity of movies followed by Mubi users from the list of movies rated by a Mubi user who loves the movie with a rating of 5?",
    "evidence": "",
    "SQL": "SELECT AVG(movies.movie_popularity) FROM movies INNER JOIN ratings ON movies.movie_id = ratings.movie_id INNER JOIN lists_users ON ratings.user_id = lists_users.user_id INNER JOIN lists ON lists_users.list_id = lists.list_id WHERE ratings.rating_score = 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the movie with the most ratings?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies INNER JOIN ratings ON movies.movie_id = ratings.movie_id GROUP BY movie_title ORDER BY COUNT(rating_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies are in the most popular lists and have been rated by at least 10 users?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, COUNT(T1.list_id) as list_count FROM lists_users AS T1 INNER JOIN movies AS T2 ON T1.list_id = T2.movie_id GROUP BY T2.movie_title HAVING COUNT(T1.list_id) >= 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of lists that have at least 10 movies? Indicate the name of each list that has received the highest number of followers.",
    "evidence": "",
    "SQL": "SELECT lists.list_title, AVG(list_followers) FROM lists GROUP BY list_title HAVING COUNT(list_movie_number) > 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of the movies listed in the list with list ID 13?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id WHERE T2.list_id = 13"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most followed lists in the database?",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest number of followers in the 'lists' table?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies INNER JOIN lists ON lists.list_movie_number = movies.movie_id ORDER BY lists.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of the movies in the list created by user 'user_x'?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T3.user_id = 'user_x'"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the number of movie lists created by the user who created the movie list 'Superhero Movies'?",
    "evidence": "",
    "SQL": "SELECT COUNT(list_id) FROM lists_users WHERE user_id = ( SELECT user_id FROM lists WHERE list_title = 'Superhero Movies' )"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of the movies in the list with the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT SUM(T1.rating_score) / COUNT(T1.rating_id) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id ORDER BY T3.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the movie with the highest number of ratings?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies INNER JOIN ratings ON movies.movie_id = ratings.movie_id GROUP BY movie_title ORDER BY COUNT(*) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users have created at least 5 lists in the 'lists' table?",
    "evidence": "",
    "SQL": "SELECT user_id FROM lists_users GROUP BY user_id HAVING COUNT(*) >= 5"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists have been updated since 2012 with more than 10 followers?",
    "evidence": "",
    "SQL": "SELECT COUNT(list_id) FROM lists WHERE list_update_timestamp_utc LIKE '2012%' AND list_followers > 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score for all movies in a list created by user 583823?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) AS avg_rating FROM ratings AS T1 INNER JOIN lists AS T2 ON T1.movie_id = (SELECT movie_id FROM movies WHERE movie_id IN (SELECT list_movie_number FROM lists WHERE user_id = 583823)) INNER JOIN lists_users AS T3 ON T2.list_id = T3.list_id AND T2.user_id = T3.user_id"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the average number of comments for movie lists created by users who have rated movies?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.list_comments) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id INNER JOIN ratings_users AS T3 ON T2.user_id = T3.user_id GROUP BY T1.user_id"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the list with the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the lists created by user 1234?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_creation_timestamp_utc IN (SELECT list_creation_timestamp_utc FROM lists_users WHERE user_id = 1234) ORDER BY list_creation_timestamp_utc DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has the most number of lists with 142 comments?",
    "evidence": "",
    "SQL": "SELECT user_id FROM lists_users WHERE list_id IN (SELECT list_id FROM lists WHERE list_comments = 142) ORDER BY (SELECT COUNT(*) FROM lists WHERE list_id = lists_users.list_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of the movies that were added to the lists created by a user named 54239094?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T3.user_id = 54239094"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies that are included in at least one list of a paying subscriber?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT T1.movie_id) FROM movies AS T1 INNER JOIN lists AS T2 ON T1.movie_id IN (SELECT list_movie_number FROM lists WHERE list_followers > 0) INNER JOIN lists_users AS T3 ON T2.list_id = T3.list_id INNER JOIN ratings_users AS T4 ON T3.user_id = T4.user_id WHERE T4.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of users that have subscribed to at least one list?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT user_id) FROM lists_users WHERE user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies with the highest number of ratings in the 'Action' genre?",
    "evidence": "",
    "SQL": "SELECT movie_title, COUNT(*) AS total_ratings FROM movies INNER JOIN ratings ON movies.movie_id = ratings.movie_id WHERE movie_title_language = 'Action' GROUP BY movie_title ORDER BY total_ratings DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of all the lists made by users who are subscribers?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings WHERE user_id IN (SELECT user_id FROM lists_users WHERE user_subscriber = 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title of the list created by user with user_id 1?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE user_id = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of lists followed by the user with the highest number of followed lists?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists_users GROUP BY user_id ORDER BY COUNT(*) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of followers of the movie with title 'It's Winter'?",
    "evidence": "",
    "SQL": "SELECT list_followers FROM lists WHERE list_title = 'It''s Winter'"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies have been added to the list of user 8516503?",
    "evidence": "",
    "SQL": "SELECT T3.list_title FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T2.user_id = 8516503"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest rating?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies, ratings WHERE movies.movie_id = ratings.movie_id ORDER BY rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of lists followed by user 12345678?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists_users WHERE user_id = 12345678"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of ratings for the movie with the highest popularity?",
    "evidence": "",
    "SQL": "SELECT COUNT(T1.rating_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id ORDER BY T2.movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which list has the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the most popular movies among users who have a payment method for a rating score above 4 in the years 2018 and 2019?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, COUNT(T1.user_id) as total_users FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T1.user_id = T3.user_id WHERE T1.rating_timestamp_utc BETWEEN '2018%' AND '2019%' AND T1.rating_score > 4 AND T3.user_has_payment_method = 1 GROUP BY T2.movie_title ORDER BY total_users DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest popularity rated by the users who were a paying subscriber when they rated the movie?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T2.user_id = T3.user_id WHERE T3.user_has_payment_method = 1 GROUP BY T1.movie_id ORDER BY T1.movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list with the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists GROUP BY list_title ORDER BY COUNT(list_title) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of users who have rated at least one movie?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT user_id) FROM ratings"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies in the list named 'Coming soon' with highest ratings?",
    "evidence": "",
    "SQL": "SELECT * FROM lists INNER JOIN movies ON lists.list_movie_number = movies.movie_id WHERE lists.list_title = 'Coming soon' AND list_followers > 0 ORDER BY movies.movie_popularity DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "Which director has directed the most movies?",
    "evidence": "",
    "SQL": "SELECT director_name, COUNT(movie_id) AS num_movies FROM movies GROUP BY director_name ORDER BY num_movies DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which lists are created by users who have given a rating score of 5 to the movie 'The Shawshank Redemption'?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T2.list_id, T2.list_title FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id INNER JOIN ratings AS T3 ON T1.user_id = T3.user_id WHERE T3.movie_id = (SELECT movie_id FROM movies WHERE movie_title = 'The Shawshank Redemption') AND T3.rating_score = 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 lists with the most followers? Show the list's title and the number of followers",
    "evidence": "",
    "SQL": "SELECT list_title, COUNT(list_followers) FROM lists GROUP BY list_title ORDER BY COUNT(list_followers) DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movie lists made by users who have a trial subscription?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists_users WHERE user_trialist = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest popularity rated by the user who created the movie list '250 Favourite Films'?",
    "evidence": "",
    "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' ORDER BY T2.movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 lists with the most followers?",
    "evidence": "",
    "SQL": "SELECT * FROM lists ORDER BY list_followers DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies with the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title, COUNT(*) AS follower_count FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id GROUP BY T1.list_title ORDER BY follower_count DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What movie directors were listed in more than 5 lists?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T2.director_name FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_id = T2.movie_id GROUP BY T2.director_name HAVING COUNT(T2.director_name) > 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie that was most rated by users after 2020/1/1?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T2.rating_timestamp_utc > '2020-01-01' GROUP BY T1.movie_title ORDER BY COUNT(T2.rating_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies with the highest user ratings?",
    "evidence": "",
    "SQL": "SELECT movie_title, rating_score FROM movies INNER JOIN ratings ON movies.movie_id = ratings.movie_id ORDER BY rating_score DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists does a user named 'John' have?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists WHERE user_id IN (SELECT user_id FROM lists_users WHERE user_cover_image_url LIKE '%John%')"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of movies that have been rated by at least 3 paying subscribers and were released after 2010?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T2.user_id = T3.user_id WHERE T1.movie_release_year > 2010 AND T3.user_has_payment_method = 1 GROUP BY T1.movie_title HAVING COUNT(T2.user_id) >= 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for lists created by users who have made at least one rating?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id IN (SELECT user_id FROM ratings_users))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of movies in the list named \"Best Movies of the 1990s\"?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T3.list_title = 'Best Movies of the 1990s'"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has the highest number of followers in the list titled 'MyFavoriteMovies'?",
    "evidence": "",
    "SQL": "SELECT L.user_id, COUNT(*) as count FROM lists_users LU INNER JOIN lists L ON LU.list_id = L.list_id WHERE L.list_title = 'MyFavoriteMovies' GROUP BY LU.user_id ORDER BY count DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of lists created by users who gave at least one rating?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.list_followers) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN ratings AS T3 ON T2.user_id = T3.user_id GROUP BY T1.list_followers HAVING COUNT(T3.rating_id) > 0"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of ratings given by users who created the top 5 most popular lists?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) AS total_ratings FROM ratings WHERE user_id IN (SELECT user_id FROM lists_users WHERE list_id IN (SELECT list_id FROM lists ORDER BY list_followers DESC LIMIT 5))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest number of ratings of 1 and in which year was it released?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, T1.movie_release_year FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T2.rating_score = 1 GROUP BY T1.movie_title, T1.movie_release_year ORDER BY COUNT(T2.rating_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 lists with the most followers and their corresponding list titles?",
    "evidence": "",
    "SQL": "SELECT list_id, list_title, list_followers FROM lists ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title of the movie with ID 1000?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id = 1000"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies in the database?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM movies"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies with the highest number of users subscribed to Mubi, excluding users who have never subscribed?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, COUNT(DISTINCT T1.user_id) as num_subscribers FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE T3.user_subscriber = 1 GROUP BY T2.movie_title ORDER BY num_subscribers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list of all users who rated the movie 'American Psycho' and also has a movie in their lists with a rating of 5?",
    "evidence": "",
    "SQL": "SELECT T1.user_id FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.user_id = T3.user_id WHERE T1.movie_id IN (SELECT movie_id FROM movies WHERE movie_title = 'American Psycho') AND EXISTS (SELECT 1 FROM ratings AS T4 WHERE T4.user_id = T1.user_id AND T4.rating_score = 5)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie in a movie list by a user who has both a trial and a paid subscription?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, T1.movie_popularity FROM lists AS T2 INNER JOIN lists_users AS T3 ON T2.list_id = T3.list_id INNER JOIN ratings_users AS T4 ON T3.user_id = T4.user_id INNER JOIN movies AS T1 ON T2.list_movie_number = T1.movie_id WHERE T4.user_trialist = 1 AND T4.user_subscriber = 1 ORDER BY T1.movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for a list that has the word 'Love' in its title?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.list_followers) FROM lists AS T1 WHERE T1.list_title LIKE '%Love%'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of all movies with the highest popularity among the movies released in the year 2010 and 2011?",
    "evidence": "",
    "SQL": "SELECT AVG(T2.rating_score) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.movie_release_year BETWEEN 2010 AND 2011 ORDER BY T1.movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie with a director's name starting with 'A' and a release year of 2010 or later has the highest average rating score?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, AVG(T1.rating_score) AS avg_rating FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name LIKE 'A%' AND T2.movie_release_year >= 2010 GROUP BY T2.movie_title ORDER BY avg_rating DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 movies of the user with id 1, ordered by most recently created lists?",
    "evidence": "",
    "SQL": "SELECT M.movie_title, M.movie_release_year FROM lists_users LU INNER JOIN lists L ON LU.list_id = L.list_id INNER JOIN movies M ON L.list_movie_number = M.movie_id WHERE LU.user_id = 1 ORDER BY L.list_creation_timestamp_utc DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score given by users who rated more than 5 movies?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings WHERE user_id IN (SELECT user_id FROM ratings GROUP BY user_id HAVING COUNT(rating_id) > 5)"
  },
  {
    "db_id": "movie_platform",
    "question": "What lists are created by the user with id 3?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE user_id = 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of movies that have more than 10 followers?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists AS T2 ON T1.movie_id = (SELECT movie_id FROM movies WHERE movie_title_language = T2.list_title) WHERE T2.list_followers > 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 lists that have the most followers?",
    "evidence": "",
    "SQL": "SELECT list_id, COUNT(*) AS follower_count FROM lists_users GROUP BY list_id ORDER BY follower_count DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has created the most lists?",
    "evidence": "",
    "SQL": "SELECT user_id, COUNT(list_id) AS list_count FROM lists_users GROUP BY user_id ORDER BY list_count DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie that is part of user 85981819's list with the most followers?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title FROM movies AS T1 INNER JOIN lists AS T2 ON T1.movie_id IN (SELECT movie_id FROM lists_users AS T3 WHERE T3.user_id = 85981819 AND T3.list_id IN (SELECT list_id FROM lists AS T4 WHERE T4.list_followers = (SELECT MAX(list_followers) FROM lists))) ORDER BY (SELECT COUNT(*) FROM ratings AS T5 WHERE T5.movie_id = T1.movie_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the lists that user 123456 has joined?",
    "evidence": "",
    "SQL": "SELECT T2.list_title FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T1.user_id = 123456"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the title of the list with the most number of movies in it?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_movie_number = (SELECT MAX(list_movie_number) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 lists with the most followers?",
    "evidence": "",
    "SQL": "SELECT * FROM lists ORDER BY list_followers DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of movies in lists that also have a rating score of 5 from users who have given a rating for at least one movie?",
    "evidence": "",
    "SQL": "SELECT AVG(T3.list_movie_number) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T1.rating_score = 5 GROUP BY T3.list_id HAVING COUNT(T1.user_id) > 0"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies have more than 10 comments that were rated by subscribers?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.critic_comments > 10 AND T1.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list that has the most movies rated by users?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists INNER JOIN ratings_users AS T1 ON lists.user_id = T1.user_id INNER JOIN movies AS T2 ON T1.user_id = T2.director_id GROUP BY list_title ORDER BY COUNT(T2.movie_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of all movies in the 'Best of 2010s' list?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists AS T2 ON T1.movie_id = T2.list_movie_number WHERE T2.list_title = 'Best of 2010s'"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie in the lists of user 17133197 has the highest rating score?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_movie_number = T2.movie_id WHERE T1.user_id = 17133197 GROUP BY T2.movie_title ORDER BY (SELECT AVG(T3.rating_score) FROM ratings AS T3 WHERE T3.movie_id = T2.movie_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie has the highest rating from a critic with more than 100 likes?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, T1.critic FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.critic_likes > 100 ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most recent movie that was added to the list with the ID 123?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_id = 123 ORDER BY list_update_timestamp_utc DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list that contains the most number of movies?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_movie_number = (SELECT MAX(list_movie_number) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 lists with the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists GROUP BY list_title ORDER BY list_followers DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of followers of the list created by user 39115684?",
    "evidence": "",
    "SQL": "SELECT COUNT(list_followers) FROM lists WHERE list_creation_timestamp_utc = (SELECT list_creation_timestamp_utc FROM lists_users WHERE user_id = 39115684)"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies have been rated by users who have a payment method?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies INNER JOIN ratings ON movies.movie_id = ratings.movie_id INNER JOIN ratings_users ON ratings.user_id = ratings_users.user_id WHERE ratings_users.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movie titles released in year 1999 that have been rated highly by the users of the Mubi platform?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_release_year = 1999 AND EXISTS (SELECT * FROM ratings WHERE ratings.movie_id = movies.movie_id AND ratings.rating_score > 4.0)"
  },
  {
    "db_id": "movie_platform",
    "question": "For all lists that have at least 100 followers, what is the average number of movies in the lists?",
    "evidence": "",
    "SQL": "SELECT AVG(list_movie_number) FROM lists WHERE list_followers >= 100"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users who are eligible for a trial created lists and followed at least 2 other lists?",
    "evidence": "",
    "SQL": "SELECT user_id FROM lists_users WHERE user_eligible_for_trial = 1 GROUP BY user_id HAVING COUNT(list_id) >= 2"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title of the movie list with the highest rating score and belongs to user 39115684?",
    "evidence": "",
    "SQL": "SELECT T1.list_title FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id AND T1.user_id = T2.user_id WHERE T1.user_id = 39115684 ORDER BY (SELECT AVG(T3.rating_score) FROM ratings AS T3 WHERE T3.movie_id = T1.list_movie_number) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of movies by users who are paying subscribers and have rated more than 5 movies?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN ratings_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_has_payment_method = 1 AND T1.user_id IN (SELECT user_id FROM ratings GROUP BY user_id HAVING COUNT(rating_id) > 5)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the first movie in the 'The Lord of the Rings' list?",
    "evidence": "",
    "SQL": "SELECT list_first_image_url FROM lists WHERE list_title = 'The Lord of the Rings'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles created by the user who has the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists INNER JOIN lists_users ON lists.list_id = lists_users.list_id WHERE lists_users.user_id IN (SELECT user_id FROM lists_users GROUP BY user_id ORDER BY COUNT(*) DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies did the user with user_id 1 have as their top 3 rated movies?",
    "evidence": "",
    "SQL": "SELECT M.movie_title, R.rating_score FROM ratings AS R INNER JOIN lists_users AS LU ON R.user_id = LU.user_id INNER JOIN movies AS M ON R.movie_id = M.movie_id WHERE LU.user_id = 1 ORDER BY R.rating_score DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the most popular movies that the user with ID 1 has liked?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists_users AS T3 ON T2.user_id = T3.user_id WHERE T3.user_id = 1 AND T2.rating_score IS NOT NULL"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list with the most movies?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists ORDER BY list_movie_number DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the director who directed the most number of movies?",
    "evidence": "",
    "SQL": "SELECT director_name FROM movies GROUP BY director_name ORDER BY COUNT(director_name) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most frequently updated lists by users who are not paying subscribers?",
    "evidence": "",
    "SQL": "SELECT T1.list_title, COUNT(T1.list_id) AS frequency FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T2.user_has_payment_method = 0 GROUP BY T1.list_title ORDER BY frequency DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for the lists created by users who have paid for a subscription?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.list_followers) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T2.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list with the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id = (SELECT list_id FROM lists ORDER BY list_followers DESC LIMIT 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of the movies directed by Christopher Nolan in the year 2010? List all the movie titles and their corresponding average rating scores.",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, AVG(T2.rating_score) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.director_name = 'Christopher Nolan' AND T1.movie_release_year = 2010 GROUP BY T1.movie_title"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies have more than 5 followers and a popularity of more than 500?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_followers > 5 AND list_movie_number > 500"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of the movies in the list with the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T3.list_followers = (SELECT MAX(list_followers) FROM lists) GROUP BY T3.list_id LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles with the most number of movies? Sort the results by the descending order of list movie count.",
    "evidence": "",
    "SQL": "SELECT list_title, COUNT(list_movie_number) AS count FROM lists GROUP BY list_title ORDER BY count DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the movie title of the list that has the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT T1.list_title FROM lists AS T1 ORDER BY T1.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of the lists created by the user who rated the movie \"The Shawshank Redemption\"?",
    "evidence": "",
    "SQL": "SELECT CAST(SUM(T4.list_followers) AS REAL) / COUNT(T2.list_id) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN movies AS T3 ON T1.movie_id = T3.movie_id INNER JOIN lists AS T4 ON T2.list_id = T4.list_id WHERE T3.movie_title = 'The Shawshank Redemption'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie that has been most frequently rated by users who have paid?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_has_payment_method = 1 GROUP BY T2.movie_title ORDER BY COUNT(T1.rating_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the top three movies with the most comments on their ratings from users?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, COUNT(*) as num_comments FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id GROUP BY T2.movie_title ORDER BY num_comments DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list with the highest number of followers and how many followers does it have?",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of movies in a list created by a user who is a trialist and has a list with at least 10 followers?",
    "evidence": "",
    "SQL": "SELECT CAST(SUM(T4.list_movie_number) AS REAL) / COUNT(T2.list_id) FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id INNER JOIN lists AS T4 ON T1.list_id = T4.list_id WHERE T1.user_trialist = 1 AND T2.list_followers >= 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies that were rated by users who had an eligible payment method?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings WHERE user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of all movies by a user who is both a trialist and a subscriber?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN ratings_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_trialist = 1 AND T2.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What movie list has the most followers?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles of the lists that were created by a user who has a payment method and has a subscriber account?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE (SELECT user_has_payment_method FROM lists_users WHERE lists.list_id = lists_users.list_id AND lists_users.user_id = user_id) = 1 AND (SELECT user_subscriber FROM lists_users WHERE lists.list_id = lists_users.list_id AND lists_users.user_id = user_id) = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of lists created by users who are both subscribers and have a payment method?",
    "evidence": "",
    "SQL": "SELECT COUNT(list_id) FROM lists_users WHERE user_subscriber = 1 AND user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of movies by the user who has the most followers on the list?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists AS T2 ON T1.user_id = T2.user_id GROUP BY T2.list_id ORDER BY COUNT(T2.list_followers) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list with the most number of movies in the lists database?",
    "evidence": "",
    "SQL": "SELECT list_title, COUNT(list_id) FROM lists GROUP BY list_title ORDER BY COUNT(list_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the most popular movies directed by Tilda Swinton?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T2.movie_title FROM movies AS T2 WHERE T2.director_name = 'Tilda Swinton' ORDER BY T2.movie_popularity DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of comments per list for lists with more than 10 followers?",
    "evidence": "",
    "SQL": "SELECT AVG(list_comments) FROM lists WHERE list_followers > 10"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movies are rated in the lists with more than 100 followers?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T3.list_followers > 100"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie in the year 2000?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_release_year = 2000 ORDER BY movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies have been rated by at least 10 users?",
    "evidence": "",
    "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 HAVING COUNT(T1.rating_id) >= 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest rating score that has the most number of comments related to the critic made by the user rating the movie?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies INNER JOIN ratings ON movies.movie_id = ratings.movie_id WHERE rating_score = (SELECT MAX(rating_score) FROM ratings WHERE critic_comments = (SELECT MAX(critic_comments) FROM ratings))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the movie released in 1995, directed by Peter Jackson, and has a popularity score of 5?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_release_year = 1995 AND director_name = 'Peter Jackson' AND movie_popularity = 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list that has the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the movie title of the list that has the most followers?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM lists AS L INNER JOIN lists_users AS LU ON L.list_id = LU.list_id INNER JOIN movies AS M ON L.list_id = M.movie_id GROUP BY M.movie_title ORDER BY COUNT(LU.list_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie has the highest rating score in the 'Lists' database?",
    "evidence": "",
    "SQL": "SELECT T1.movie_id, MAX(T1.rating_score) AS max_rating_score FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id GROUP BY T1.movie_id ORDER BY max_rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles of lists made by users who have given a rating to the movie with ID 4?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists INNER JOIN lists_users ON lists.user_id = lists_users.user_id WHERE lists.list_id IN (SELECT list_id FROM lists_users WHERE user_id IN (SELECT user_id FROM ratings WHERE movie_id = 4))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average popularity of the movies that are part of a list with at least 5 followers?",
    "evidence": "",
    "SQL": "SELECT AVG(T2.movie_popularity) FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_id IN (SELECT list_id FROM lists_users WHERE list_followers >= 5)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for a user who has created more than 10 lists?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) AS average_followers FROM lists AS T1 WHERE T1.user_id IN (SELECT user_id FROM lists_users GROUP BY user_id HAVING COUNT(list_id) > 10)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles that have more than 5 movies?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_movie_number > 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the percentage of movie lists that were created by users who were also subscribers?",
    "evidence": "",
    "SQL": "SELECT CAST(SUM(CASE WHEN user_subscriber = 1 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(list_id) FROM lists_users"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the number of subscribers that have more than 3 movie lists created?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists_users WHERE user_subscriber = 1 AND list_id > 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 lists with the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists ORDER BY list_followers DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the most number of ratings?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, COUNT(T2.rating_id) as rating_count FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id GROUP BY T1.movie_title ORDER BY rating_count DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most popular movies of the year 2015?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_release_year = 2015 ORDER BY movie_popularity DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 lists of all time with the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles of the lists that have been created by the users who have created more than 10 lists in total?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists INNER JOIN lists_users ON lists.list_id = lists_users.list_id WHERE lists_users.user_id IN (SELECT user_id FROM lists_users GROUP BY user_id HAVING COUNT(list_id) > 10)"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie directors have been involved in most movie titles?",
    "evidence": "",
    "SQL": "SELECT T1.director_name, COUNT(T2.movie_title) AS count FROM movies AS T1 LEFT JOIN movies AS T2 ON T1.director_id = T2.director_id GROUP BY T1.director_name ORDER BY count DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the movies that have a rating greater than or equal to 8.0?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies INNER JOIN ratings ON movies.movie_id = ratings.movie_id WHERE ratings.rating_score >= 8.0"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of movies that have more than 3 followers in the list?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists AS T2 ON T1.movie_id = T2.list_movie_number WHERE T2.list_followers > 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the 10 most popular movies among the top 100 lists of user 12345?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies AS T1 JOIN lists AS T2 ON T1.movie_id = T2.list_movie_number WHERE T2.user_id = 12345 AND T2.list_id IN (SELECT list_id FROM lists WHERE list_id IN (SELECT list_id FROM lists WHERE list_followers <= 100 ORDER BY list_followers DESC LIMIT 10))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie directed by Abbas Kiarostami with the highest average score?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'Abbas Kiarostami' GROUP BY T2.movie_title ORDER BY SUM(T1.rating_score) / COUNT(T1.rating_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list that contains the movie 'Pavee Lackeen: The Traveller Girl'?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists INNER JOIN lists_users ON lists.list_id = lists_users.list_id WHERE lists_users.user_id IN (SELECT user_id FROM ratings WHERE movie_id IN (SELECT movie_id FROM movies WHERE movie_title = 'Pavee Lackeen: The Traveller Girl'))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of followers for all lists created by a user?",
    "evidence": "",
    "SQL": "SELECT SUM(list_followers) FROM lists WHERE user_id IN (SELECT user_id FROM lists_users)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of movie lists created by the user 12345678?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) AS avg_followers FROM lists WHERE user_id = 12345678"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movie lists do users who also rate movies have?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists_users WHERE user_id IN (SELECT user_id FROM ratings)"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the top 3 most popular movies in the list of movies created by users with the most payment methods?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, T1.movie_popularity FROM movies AS T1 INNER JOIN lists_users AS T2 ON T1.movie_id = T2.list_id INNER JOIN ratings_users AS T3 ON T2.user_id = T3.user_id GROUP BY T1.movie_id ORDER BY T1.movie_popularity DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score given by user 12345678 on Mubi?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 WHERE T1.user_id = 12345678"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list title of the list with the highest number of followers and has a movie number of 5?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users GROUP BY list_id ORDER BY COUNT(list_id) DESC LIMIT 1) AND list_movie_number = 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of users who have rated more than one movie?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings_users AS T1 WHERE T1.user_id IN (SELECT user_id FROM ratings GROUP BY user_id HAVING COUNT(*) > 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the most popular movies of 2021 rated by user 2842?",
    "evidence": "",
    "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 = 2842 AND T2.movie_release_year = 2021 GROUP BY T2.movie_title ORDER BY COUNT(T2.movie_title) DESC LIMIT 10"
  },
  {
    "db_id": "movie_platform",
    "question": "For the lists that are about movies, what percentage of the list creators are paying subscribers?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.user_has_payment_method) * 100 AS percentage FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T2.list_title LIKE '%movie%'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of movies that are included in lists created after 2015/1/1?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists AS T2 ON T1.user_id = (SELECT user_id FROM lists_users WHERE list_id = T2.list_id AND list_update_timestamp_utc > '2015-01-01') ORDER BY T2.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movie titles that were rated by users who are subscribers?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T2.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of the movies in the list 'NYC Independent Film Fest' by user 39115684?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T3.list_title = 'NYC Independent Film Fest' AND T1.user_id = 39115684"
  },
  {
    "db_id": "movie_platform",
    "question": "What movies have a title that includes the word 'The'?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_title LIKE '% The %'"
  },
  {
    "db_id": "movie_platform",
    "question": "Which lists have more than 5 movies and the user who created them is paying subscriber?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T1.list_title FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T2.user_has_payment_method = 1 AND T1.list_movie_number > 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular list in the database having more than 20 followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers > 20 ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie by the director named 'Terrence Malick'?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE director_name='Terrence Malick' ORDER BY movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies directed by Tim Burton?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT movie_title) FROM movies WHERE director_name = 'Tim Burton'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of all movies in the list titled 'Underrated', created by the user 'user123'?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T3.list_title LIKE 'Underrated' AND T3.user_id LIKE 'user123'"
  },
  {
    "db_id": "movie_platform",
    "question": "What movie was added to the list of the user with ID 58149469 most recently?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE user_id = 58149469 ORDER BY list_update_timestamp_utc DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the URL to the first image of the movie list titled \"250 Favourite Films\"",
    "evidence": "",
    "SQL": "SELECT list_first_image_url FROM lists WHERE list_title = '250 Favourite Films'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 lists created by users who have given a 5-star rating to a movie directed by Christopher Nolan?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T4.list_id, T4.list_title, COUNT(T1.rating_id) AS count FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id INNER JOIN lists AS T4 ON T3.list_id = T4.list_id WHERE T2.director_name = 'Christopher Nolan' AND T1.rating_score = 5 GROUP BY T4.list_id, T4.list_title ORDER BY count DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 movies rated by users who have also rated the movie \"The Shawshank Redemption\"?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, AVG(T1.rating_score) AS avg_rating FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_id IN (SELECT user_id FROM ratings WHERE movie_id IN (SELECT movie_id FROM movies WHERE movie_title = 'The Shawshank Redemption')) GROUP BY T2.movie_title ORDER BY avg_rating DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the percentage of users who have a list titled 'Guilty Pleasures'?",
    "evidence": "",
    "SQL": "SELECT CAST(COUNT(*) AS REAL) * 100 / (SELECT COUNT(*) FROM lists) FROM lists WHERE list_title = 'Guilty Pleasures'"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie has the highest number of followers and which list does it belong to?",
    "evidence": "",
    "SQL": "SELECT L.list_title, L.list_id, M.movie_title FROM lists L JOIN lists_users LU ON L.list_id = LU.list_id JOIN movies M ON L.list_movie_number = M.movie_id GROUP BY L.list_title, L.list_id, M.movie_title ORDER BY COUNT(LU.list_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movies directed by the director who directed the movie with the most critic comments?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id GROUP BY T2.director_id ORDER BY COUNT(T1.critic_comments) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie that was most frequently rated by users with more than 10 ratings?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id GROUP BY T1.movie_title HAVING COUNT(T2.rating_id) > 10 ORDER BY COUNT(T2.rating_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the most popular movie directors of the 21st century, and how many movies did they direct in that century?",
    "evidence": "",
    "SQL": "SELECT director_name, COUNT(*) FROM movies WHERE movie_release_year > 2000 GROUP BY director_name ORDER BY COUNT(*) DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movie titles of movies that were released before 1950 and have more than 2 users who gave a rating score of 5?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM movies AS M INNER JOIN ratings AS R ON M.movie_id = R.movie_id WHERE M.movie_release_year < 1950 GROUP BY M.movie_title HAVING COUNT(DISTINCT R.user_id) > 2"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of users who created lists containing the movie \"The Matrix\" since 2020?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists WHERE list_movie_number IN (SELECT movie_id FROM movies WHERE movie_title = 'The Matrix') AND datetime(list_update_timestamp_utc) >= '2020-01-01 00:00:00'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of lists that have at least one movie that is directed by a director named Coppola?",
    "evidence": "",
    "SQL": "SELECT COUNT(list_id) FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_id = T2.movie_id WHERE T2.director_name LIKE 'Coppola%'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for all movie lists having at least 100 movies?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists WHERE list_movie_number >= 100"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies in the database?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM movies"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists have a follower count greater than 1000?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists WHERE list_followers > 1000"
  },
  {
    "db_id": "movie_platform",
    "question": "What movie director has the most number of movies in the database and what are the titles of these movies?",
    "evidence": "",
    "SQL": "SELECT T2.director_name, GROUP_CONCAT(T1.movie_title) AS movie_titles FROM movies AS T1 INNER JOIN (SELECT director_name, COUNT(*) as count FROM movies GROUP BY director_name ORDER BY count DESC LIMIT 1) AS T2 ON T1.director_name = T2.director_name ORDER BY T2.count DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of users who have a subscription and who have given a rating for a movie with a title starting with the letter 'A'?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_subscriber = 1 AND T1.movie_id IN (SELECT movie_id FROM movies WHERE movie_title LIKE 'A%')"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular list on Mubi?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_movie_number = ( SELECT MAX(list_movie_number) FROM lists )"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list of movies that has most comments from Mubi users?",
    "evidence": "",
    "SQL": "SELECT * FROM movies INNER JOIN lists ON movies.movie_id = lists.list_movie_number WHERE list_comments = (SELECT MAX(list_comments) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the name of the movies in list number 3's followers who have given a rating of 5?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM lists AS L INNER JOIN lists_users AS LU ON L.list_id = LU.list_id INNER JOIN ratings AS R ON LU.user_id = R.user_id INNER JOIN movies AS M ON R.movie_id = M.movie_id WHERE L.list_id = 3 AND R.rating_score = 5"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has the most number of lists?",
    "evidence": "",
    "SQL": "SELECT user_id FROM lists_users GROUP BY user_id ORDER BY COUNT(list_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie titles have been rated by a user who has an avatar image URL?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE T3.user_avatar_image_url IS NOT NULL"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie has a director who has also directed a film that belongs to a list that was created before 2010?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM movies AS T2 INNER JOIN ratings AS T1 ON T2.movie_id = T1.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id INNER JOIN lists AS T4 ON T3.list_id = T4.list_id WHERE T4.list_creation_timestamp_utc < '2010-01-01' AND T2.director_id IN (SELECT director_id FROM movies WHERE director_id IN (SELECT list_id FROM lists WHERE list_creation_timestamp_utc < '2010-01-01')) GROUP BY T2.movie_title HAVING COUNT(T1.rating_id) > 0"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of movies with a popularity score of 8 or higher that were released in 2010?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM movies WHERE movie_popularity >= 8 AND movie_release_year = 2010"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of movies in the lists that are followed by at least 5 users?",
    "evidence": "",
    "SQL": "SELECT AVG(list_movie_number) FROM lists WHERE list_followers >= 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list of movies directed by Wes Anderson?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE director_name = 'Wes Anderson'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movies in the list with id 12345 that have a rating score above 8 out of 10?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM lists AS L INNER JOIN lists_users AS LU ON L.list_id = LU.list_id AND L.user_id = LU.user_id INNER JOIN ratings AS R ON LU.user_id = R.user_id AND L.list_id = R.movie_id INNER JOIN movies AS M ON R.movie_id = M.movie_id WHERE L.list_id = 12345 AND R.rating_score > 8"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of movies on all lists created by user 13456789?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.list_movie_number) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id AND T1.user_id = T2.user_id WHERE T2.user_id = 13456789"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movie lists created by users who have a payment method?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE user_id IN (SELECT user_id FROM lists_users WHERE user_has_payment_method = 1) ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for the top 3 lists by popularity?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles of the lists that contain at least one movie released in the year 2019?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id IN (SELECT user_id FROM ratings WHERE movie_id IN (SELECT movie_id FROM movies WHERE movie_release_year = 2019)))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list that has the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id = (SELECT MAX(list_followers) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies that have been rated the most by paying subscribers?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, COUNT(*) AS ratings FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T1.user_id = T3.user_id WHERE T3.user_has_payment_method = 1 GROUP BY T2.movie_title ORDER BY ratings DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total count of users who have created more than 5 lists?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT user_id) FROM lists_users WHERE list_id IN (SELECT list_id FROM lists GROUP BY list_id HAVING COUNT(*) > 5)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list that has the most number of followers?",
    "evidence": "",
    "SQL": "SELECT T2.list_title FROM lists AS T2 INNER JOIN lists_users AS T1 ON T2.list_id = T1.list_id GROUP BY T2.list_title ORDER BY COUNT(T1.list_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie by director Martin Scorsese among Mubi users?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_popularity = (SELECT MAX(movie_popularity) FROM movies WHERE director_name = 'Martin Scorsese') ORDER BY movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the most popular ratings by a user with a trial account?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM movies AS M INNER JOIN ratings AS R ON M.movie_id = R.movie_id INNER JOIN ratings_users AS U ON R.user_id = U.user_id WHERE U.user_trialist = 1 AND R.rating_score > (SELECT AVG(rating_score) FROM ratings) ORDER BY R.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the movies in the list with the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id = (SELECT list_id FROM lists WHERE list_followers = (SELECT MAX(list_followers) FROM lists))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest number of ratings?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id GROUP BY T1.movie_title ORDER BY COUNT(T2.movie_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has rated at least one movie that has a title containing the word 'star'?",
    "evidence": "",
    "SQL": "SELECT DISTINCT user_id FROM ratings WHERE user_id IS NOT NULL AND movie_id IN (SELECT movie_id FROM movies WHERE movie_title LIKE '%star%' )"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movies that have been added to the list made by the user with ID 1234567890?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM movies AS T2 INNER JOIN lists AS T1 ON T2.movie_id = T1.list_movie_number INNER JOIN lists_users AS T3 ON T1.list_id = T3.list_id AND T3.user_id = 1234567890"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie among the users who are both trialists and subscribers?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_trialist = 1 AND T1.user_subscriber = 1 GROUP BY T2.movie_title ORDER BY COUNT(T1.user_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest rating among the films released in 2010?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_release_year = 2010 ORDER BY movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie among the users who are trialists?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM movies AS M LEFT JOIN ratings AS R ON M.movie_id = R.movie_id WHERE R.user_trialist = 1 GROUP BY M.movie_title ORDER BY COUNT(M.movie_title) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score for the movie with the title 'The Shawshank Redemption'?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 WHERE T1.movie_id = (SELECT movie_id FROM movies WHERE movie_title = 'The Shawshank Redemption')"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest popularity among the movies rated by the user who created the movie list \"250 Favourite Films\"?",
    "evidence": "",
    "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' AND T1.user_id IN (SELECT user_id FROM lists_users WHERE list_id IN (SELECT list_id FROM lists WHERE list_title = '250 Favourite Films')) ORDER BY T1.user_subscriber DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movies in the list of user with id 5 were released between 1980 to 2000?",
    "evidence": "",
    "SQL": "SELECT COUNT(list_id) FROM lists_users WHERE user_id = 5 AND list_id IN (SELECT list_id FROM lists WHERE list_movie_number IN (SELECT movie_id FROM movies WHERE movie_release_year BETWEEN 1980 AND 2000))"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the average number of followers for movies directed by Quentin Tarantino?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.list_followers) FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_movie_number = T2.movie_id WHERE T2.director_name LIKE 'Quentin Tarantino'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the lists that contain more than 5 movies?",
    "evidence": "",
    "SQL": "SELECT T1.list_title FROM lists AS T1 WHERE T1.list_movie_number > 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the most popular movie that has been rated the most times on Mubi in 2020?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.rating_timestamp_utc LIKE '2020%' GROUP BY T2.movie_title ORDER BY COUNT(T2.movie_title) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of lists created by users who are subscribers of the service, and have at least one rating given for a movie?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists_users WHERE user_subscriber = 1 AND list_id IN (SELECT distinct list_id FROM ratings_users WHERE user_id IN (SELECT user_id FROM lists_users WHERE user_subscriber = 1))"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 most popular movies that a user has rated in 2022?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, COUNT(T2.movie_title) AS rating_count FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_id IN (SELECT user_id FROM lists_users WHERE list_update_date_utc LIKE '2022%') AND T1.rating_timestamp_utc LIKE '2022%' GROUP BY T2.movie_title ORDER BY rating_count DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has not made any ratings and has a cover image?",
    "evidence": "",
    "SQL": "SELECT T1.user_id FROM ratings_users AS T1 WHERE T1.user_id NOT IN (SELECT user_id FROM ratings) AND T1.user_cover_image_url IS NOT NULL"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of lists created by users who have a payment method?",
    "evidence": "",
    "SQL": "SELECT CAST(SUM(T4.list_followers) AS REAL) / COUNT(T2.list_id) FROM ratings_users AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T4 ON T2.list_id = T4.list_id WHERE T1.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which list has the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title, MAX(list_followers) FROM lists GROUP BY list_title"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users have rated the movie \"Goodfellas\"?",
    "evidence": "",
    "SQL": "SELECT distinct user_id FROM ratings INNER JOIN movies ON ratings.movie_id = movies.movie_id WHERE movies.movie_title = 'Goodfellas'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of lists that have at least one movie with a rating below 3 and the list's movie number is greater than 2?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id INNER JOIN ratings AS T3 ON T2.user_id = T3.user_id WHERE T3.rating_score < 3 AND T1.list_movie_number > 2"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies, released after 2000, were rated by users who were subscribed at the time of the rating, and have more than 100 ratings?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.movie_release_year > 2000 AND T2.user_has_payment_method = 1 GROUP BY T1.movie_id HAVING COUNT(T2.rating_id) > 100"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest number of followers in the list with the highest number of followers among all lists?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_movie_number = T2.movie_id WHERE T1.list_followers = (SELECT MAX(T3.list_followers) FROM lists AS T3) ORDER BY T1.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie that was released after 2010 which has more than 1 million users who have rated it?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, COUNT(T3.user_id) AS total_raters FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE CAST(SUBSTR(T1.rating_timestamp_utc, 1, 4) AS INTEGER) > 2010 GROUP BY T2.movie_title ORDER BY total_raters DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie having the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_movie_number = T2.movie_id ORDER BY T1.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most popular lists of 2020?",
    "evidence": "",
    "SQL": "SELECT list_title, SUM(list_followers) AS followers_count FROM lists WHERE strftime('%Y', list_update_timestamp_utc) = '2020' GROUP BY list_title ORDER BY followers_count DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of all the movies in the 'Top Films' list created by user 12345678, along with the number of followers and the list title?",
    "evidence": "",
    "SQL": "SELECT T1.list_title, T1.list_followers, T2.movie_title FROM lists AS T1 INNER JOIN lists_users AS T3 ON T1.list_id = T3.list_id AND T3.user_id = 12345678 INNER JOIN movies AS T2 ON T1.list_movie_number = T2.movie_id"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the movie title and release year of the movie that has the most ratings?",
    "evidence": "",
    "SQL": "SELECT movie_title, movie_release_year FROM movies INNER JOIN ratings ON movies.movie_id = ratings.movie_id GROUP BY movie_title, movie_release_year ORDER BY COUNT(*) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the top 3 movies that were rated by the user with id 12345?",
    "evidence": "",
    "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 = 12345 ORDER BY T1.rating_score DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has the most lists with a title containing the word 'Movie'",
    "evidence": "",
    "SQL": "SELECT user_id, COUNT(*) FROM lists WHERE list_title LIKE '%Movie%' GROUP BY user_id ORDER BY COUNT(*) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the first 3 lists created by user id 1?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE user_id = 1 ORDER BY list_creation_timestamp_utc LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of movies with more than 10 lists?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies JOIN lists ON movies.movie_id = lists.list_movie_number GROUP BY movie_title HAVING COUNT(lists.list_id) > 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the top 10 movies directed by Martin Scorsese, ordered by their release year?",
    "evidence": "",
    "SQL": "SELECT movie_title, movie_release_year FROM movies WHERE director_name = 'Martin Scorsese' ORDER BY movie_release_year ASC LIMIT 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest number of ratings?",
    "evidence": "",
    "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.rating_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movie titles of the movies whose movie_popularity is greater than 75 and have a director named Quentin Tarantino?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_popularity > 75 AND director_name = 'Quentin Tarantino'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie among users who have not made a payment yet?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_id IN (SELECT movie_id FROM ratings WHERE user_id IN (SELECT user_id FROM lists_users WHERE user_eligible_for_trial = 1)) GROUP BY movie_title ORDER BY COUNT(movie_title) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list with the most number of movies?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_movie_number = (SELECT MAX(list_movie_number) FROM lists)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the list with the most followers?",
    "evidence": "",
    "SQL": "SELECT T1.list_title FROM lists AS T1 ORDER BY T1.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies have been rated by users who have also rated the movie 'The Shawshank Redemption'?",
    "evidence": "",
    "SQL": "SELECT M1.movie_title FROM movies AS M1 INNER JOIN ratings AS T1 ON M1.movie_id = T1.movie_id INNER JOIN ratings_users AS T2 ON T1.user_id = T2.user_id WHERE M1.movie_title != 'The Shawshank Redemption' AND T2.user_id IN (SELECT user_id FROM ratings WHERE movie_id = (SELECT movie_id FROM movies WHERE movie_title = 'The Shawshank Redemption'))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies that were added to the list with the most number of movies and the user who created the list is a paying subscriber?",
    "evidence": "",
    "SQL": "SELECT COUNT(T1.list_id) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T1.list_movie_number = (SELECT MAX(list_movie_number) FROM lists) AND T2.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the movie with the highest user rating, and which user rated it?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, T2.user_id FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id ORDER BY T2.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top three movies with the most followers?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_id = T2.movie_id ORDER BY T1.list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 movie titles by the director with the most movies between 1960 to 1985?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_release_year BETWEEN 1960 AND 1985 GROUP BY T2.director_name, T2.movie_title ORDER BY COUNT(T2.movie_id) DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists were created by user 12345678?",
    "evidence": "",
    "SQL": "SELECT COUNT(list_id) FROM lists WHERE user_id = 12345678"
  },
  {
    "db_id": "movie_platform",
    "question": "Which lists has at least 5 followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_followers >= 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movies that have a list cover image URL available, ordered by the list title?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_cover_image_url IS NOT NULL ORDER BY list_title"
  },
  {
    "db_id": "movie_platform",
    "question": "Which list contains most followers?",
    "evidence": "",
    "SQL": "SELECT list_id, list_followers FROM lists ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of ratings for movies directed by Jean-Luc Godard?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_count) FROM (SELECT movie_id, COUNT(rating_id) AS rating_count FROM ratings GROUP BY movie_id) AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'Jean-Luc Godard'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of movie lists with at least 50 movies?",
    "evidence": "",
    "SQL": "SELECT T1.list_title FROM lists AS T1 WHERE T1.list_movie_number >= 50"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the most popular movie on Mubi with a director named Ignacio Vianyi?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE director_name = 'Ignacio Vianyi' ORDER BY movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of the movies directed by Quentin Tarantino and what is the most popular one?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score), T2.movie_popularity FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'Quentin Tarantino' GROUP BY T2.movie_popularity ORDER BY T2.movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the movies directed by directors who have directed at least 5 movies between 2000 to 2010?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.director_id IN (SELECT T3.director_id FROM movies AS T3 GROUP BY T3.director_id HAVING COUNT(T3.movie_id) > 5 AND T3.movie_release_year BETWEEN 2000 AND 2010)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 most followed lists?",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists ORDER BY list_followers DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "Which list created by a user who is a subscriber has the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT T1.list_followers FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id AND T2.user_subscriber = 1 WHERE T2.user_id IN (SELECT user_id FROM lists_users GROUP BY user_id HAVING MAX(user_subscriber) = 1) ORDER BY T1.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie has the highest rating among the movies listed in a list with more than 100 followers?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM ratings AS T1 INNER JOIN lists AS T3 ON T1.user_id = T3.user_id INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T3.list_followers > 100 ORDER BY T1.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 movies with the highest average ratings from critics in the 'Drama' genre?",
    "evidence": "",
    "SQL": "SELECT movie_title, AVG(rating_score) AS average_rating FROM movies INNER JOIN ratings ON movies.movie_id = ratings.movie_id WHERE movies.movie_title_language = 'Drama' GROUP BY movie_title ORDER BY average_rating DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the rating score of the movie with the title 'Inglourious Basterds' directed by Quentin Tarantino?",
    "evidence": "",
    "SQL": "SELECT rating_score FROM ratings WHERE movie_id = (SELECT movie_id FROM movies WHERE movie_title = 'Inglourious Basterds' AND director_name = 'Quentin Tarantino')"
  },
  {
    "db_id": "movie_platform",
    "question": "What's the title of the movie with the most followers in user 85981819's movie list?",
    "evidence": "",
    "SQL": "SELECT T1.list_title FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id AND T1.user_id = T2.user_id WHERE T2.user_id = 85981819 ORDER BY T1.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 5 movies with the most ratings?",
    "evidence": "",
    "SQL": "SELECT movie_title, COUNT(rating_id) FROM movies INNER JOIN ratings ON movies.movie_id = ratings.movie_id GROUP BY movie_title ORDER BY COUNT(rating_id) DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "Which director has directed the most movies?",
    "evidence": "",
    "SQL": "SELECT director_name FROM movies GROUP BY director_name ORDER BY COUNT(movie_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the names of the top 5 users who have created lists with most followers?",
    "evidence": "",
    "SQL": "SELECT L.user_id, COUNT(*) as num_followers FROM lists L GROUP BY L.user_id ORDER BY num_followers DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the first list of user 39115684?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE user_id = 39115684 ORDER BY list_creation_timestamp_utc ASC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies registered on Mubi from year 2010 or later that have more than 1000 ratings?",
    "evidence": "",
    "SQL": "SELECT movie_title, COUNT(*) as ratings_count FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_release_year >= 2010 AND T1.rating_score > 0 GROUP BY T2.movie_title ORDER BY ratings_count DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of films directed by Terry Gilliam?",
    "evidence": "",
    "SQL": "SELECT CAST(AVG(T1.rating_score) AS INTEGER) AS average_rating FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN movies AS T3 ON T2.director_name = T3.director_name WHERE T3.director_name = 'Terry Gilliam'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie in 2014 that has the highest number of ratings?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.movie_release_year = 2014 GROUP BY T1.movie_title ORDER BY COUNT(T2.movie_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users have created lists with movies that have been rated with a score of 8 or more?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T1.user_id FROM ratings AS T2 INNER JOIN lists_users AS T1 ON T2.user_id = T1.user_id WHERE T2.rating_score >= 8"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 list titles that have the most number of ratings from users who have a payment method?",
    "evidence": "",
    "SQL": "SELECT T1.list_title, COUNT(T2.rating_id) AS num_ratings FROM lists AS T1 INNER JOIN ratings AS T2 ON T1.list_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T2.user_id = T3.user_id WHERE T3.user_has_payment_method = 1 GROUP BY T1.list_title ORDER BY num_ratings DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of movies directed by the director of the highest movie popularity?",
    "evidence": "",
    "SQL": "SELECT AVG(T2.rating_score) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.director_id = ( SELECT director_id FROM movies ORDER BY movie_popularity DESC LIMIT 1 )"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest rating?",
    "evidence": "",
    "SQL": "SELECT movie_title, rating_score FROM ratings INNER JOIN movies ON ratings.movie_id = movies.movie_id ORDER BY rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 list titles with the highest number of followers?",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top three movies with the most followers in the 'lists' table?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_movie_number = T2.movie_id ORDER BY T1.list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 10 users who follow the most number of lists and what is the average number of movies they follow in each list?",
    "evidence": "",
    "SQL": "SELECT T1.user_id, AVG(T2.list_followers) AS avg_followers FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id GROUP BY T1.user_id ORDER BY avg_followers DESC LIMIT 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of movies on a list that has at least 100 followers?",
    "evidence": "",
    "SQL": "SELECT AVG(list_movie_number) FROM lists WHERE list_followers >= 100"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average popularity of movies in the list 'Action-Packed Flicks'? ",
    "evidence": "",
    "SQL": "SELECT AVG(T2.movie_popularity) FROM lists AS T1 INNER JOIN lists_users AS T3 ON T1.list_id = T3.list_id INNER JOIN movies AS T2 ON T1.list_movie_number = T2.movie_id WHERE T3.list_id = 'Action-Packed Flicks'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the films in user 1234's favorite lists?",
    "evidence": "",
    "SQL": "SELECT T2.list_title, T2.list_movie_number, T2.list_title AS movie_title FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T1.user_id = 1234"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest average rating across all lists?",
    "evidence": "",
    "SQL": "SELECT M.movie_title, AVG(R.rating_score) AS average_rating FROM lists L INNER JOIN ratings R ON L.list_id = L.list_id INNER JOIN movies M ON R.movie_id = M.movie_id GROUP BY M.movie_title ORDER BY average_rating DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movie lists does the user who created the movie list with the title '250 Favourite Films' have?",
    "evidence": "",
    "SQL": "SELECT COUNT(list_id) FROM lists_users WHERE user_id = ( SELECT user_id FROM lists WHERE list_title = '250 Favourite Films' )"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 most popular movies directed by Christopher Nolan, in terms of number of ratings?",
    "evidence": "",
    "SQL": "SELECT COUNT(rating_id) AS rating_count, movie_title FROM ratings INNER JOIN movies ON ratings.movie_id = movies.movie_id WHERE director_name LIKE 'Christopher Nolan' GROUP BY movie_title ORDER BY rating_count DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the 5 most popular movies in 2019?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE strftime('%Y', movie_release_year) = '2019' ORDER BY movie_popularity DESC LIMIT 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the most popular movies released in the 1970s and listed by Mubi users?",
    "evidence": "",
    "SQL": "SELECT movie_id, movie_title FROM movies WHERE movie_release_year BETWEEN 1970 AND 1979 GROUP BY movie_id, movie_title ORDER BY (SELECT COUNT(list_id) FROM lists WHERE list_movie_number = movie_id) DESC"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie in Mubi's 'Top Lists' has the most followers?",
    "evidence": "",
    "SQL": "SELECT T1.list_movie_number, T2.movie_title, T1.list_followers FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_movie_number = T2.movie_id WHERE T1.list_followers = (SELECT MAX(T3.list_followers) FROM lists AS T3)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list of movies of a user who has a payment method and is a subscriber?",
    "evidence": "",
    "SQL": "SELECT list_movie_number FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_has_payment_method = 1 AND user_subscriber = 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies in the database?",
    "evidence": "",
    "SQL": "SELECT COUNT(movie_id) FROM movies"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most recent update timestamp of all Mubi lists?",
    "evidence": "",
    "SQL": "SELECT MAX(list_update_timestamp_utc) FROM lists"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the top 10 most followed lists on Mubi and how many followers do they have?",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists ORDER BY list_followers DESC LIMIT 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the name of the list with the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of lists created by the users who were paying subscribers on June 1st, 2022?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists_users WHERE user_has_payment_method = 1 AND list_creation_date_utc = '2022-06-01 00:00:00'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of all movies in the list that is followed by user 59988436?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists AS T2 ON T1.movie_id = T2.list_id INNER JOIN lists_users AS T3 ON T2.list_id = T3.list_id AND T3.user_id = 59988436"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of movies directed by Quentin Tarantino?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings WHERE critic = 'No' AND movie_id IN (SELECT movie_id FROM movies WHERE director_name = 'Quentin Tarantino')"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 lists with the most followers?",
    "evidence": "",
    "SQL": "SELECT list_title, list_followers FROM lists ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of movies in the list '123 Favourite Films' created by user '12345678'?",
    "evidence": "",
    "SQL": "SELECT COUNT(T2.list_id) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T2.user_id = 12345678 AND T1.list_title = '123 Favourite Films'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the lists created by users with at least one rating for a movie?",
    "evidence": "",
    "SQL": "SELECT T1.list_title FROM lists AS T1 INNER JOIN ratings AS T2 ON T1.user_id = T2.user_id GROUP BY T1.list_title HAVING COUNT(T2.rating_id) > 0"
  },
  {
    "db_id": "movie_platform",
    "question": "What movie has the highest rating score?",
    "evidence": "",
    "SQL": "SELECT movie_title, AVG(rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id GROUP BY T2.movie_title ORDER BY AVG(rating_score) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of lists that have been created by a user named 'test_user'?",
    "evidence": "",
    "SQL": "SELECT COUNT(DISTINCT L1.list_id) FROM lists_users AS L1 WHERE L1.user_id IN (SELECT user_id FROM lists_users WHERE user_id = 'test_user')"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user has created the most lists of movies that have been updated in the last 7 days?",
    "evidence": "",
    "SQL": "SELECT T1.user_id, COUNT(T2.list_id) as total_lists FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T2.list_update_timestamp_utc >= DATE('now', '-7 days') GROUP BY T1.user_id ORDER BY total_lists DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie has been rated the most by users who have a payment method?",
    "evidence": "",
    "SQL": "SELECT movie_title, COUNT(*) as total_ratings FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T2.user_id = T3.user_id WHERE T3.user_has_payment_method = 1 GROUP BY T1.movie_title ORDER BY total_ratings DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies have been rated by both subscribers and trialists?",
    "evidence": "",
    "SQL": "SELECT M.movie_title FROM movies M INNER JOIN ratings R ON M.movie_id = R.movie_id WHERE R.user_id IN (SELECT LU.user_id FROM lists_users LU WHERE LU.user_subscriber = 1 OR LU.user_trialist = 1) GROUP BY M.movie_title"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for the lists created by user with user_id 1?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id = 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the list titles where a user with trialist status has given a rating of 5 out of 5?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_id IN (SELECT list_id FROM lists_users WHERE user_id IN (SELECT user_id FROM ratings_users WHERE user_trialist = 1) AND user_id IN (SELECT user_id FROM ratings WHERE rating_score = 5))"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the highest popularity rating among users who have a payment method?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies JOIN ratings ON movies.movie_id = ratings.movie_id WHERE ratings.user_has_payment_method = 1 ORDER BY ratings.rating_score DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the lists that have been updated after 2022-01-01?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists WHERE list_update_timestamp_utc > '2022-01-01'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie in the list of 12 movies with highest list_followers on Mubi?",
    "evidence": "",
    "SQL": "SELECT M2.movie_title, M2.movie_popularity FROM (SELECT L1.list_id, L1.list_followers FROM lists AS L1 ORDER BY L1.list_followers DESC LIMIT 1) AS T1 INNER JOIN lists AS L2 ON T1.list_id = L2.list_id INNER JOIN movies AS M2 ON L2.list_movie_number = M2.movie_id ORDER BY M2.movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the percentage of users who gave a rating to a movie in the top 100 movies by Mubi users?",
    "evidence": "",
    "SQL": "SELECT CAST(SUM(CASE WHEN rating_timestamp_utc IS NOT NULL THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.user_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_popularity IN (SELECT movie_popularity FROM movies ORDER BY movie_popularity DESC LIMIT 100)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for the lists created by users who were subscribers when they created the list?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of lists created by users who have a cover image URL?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists_users WHERE user_cover_image_url IS NOT NULL"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies in the list created by user 12345678?",
    "evidence": "",
    "SQL": "SELECT * FROM lists WHERE user_id = 12345678 ORDER BY list_movie_number DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of all movies with more than 1000 ratings?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id GROUP BY T1.movie_title HAVING COUNT(T2.movie_id) > 1000"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie directed by Quentin Tarantino?",
    "evidence": "",
    "SQL": "SELECT T1.movie_title, MAX(T2.rating_score) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.director_name = 'Quentin Tarantino' GROUP BY T1.movie_title ORDER BY MAX(T2.rating_score) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most followed list in the database?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists ORDER BY list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of lists created by users who are both trialists and subscribers?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists_users WHERE user_trialist = 1 AND user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating of movies in a list that has a title with 'Best' in it and was created by a user who was a subscriber?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE T2.movie_title LIKE '%Best%' AND T3.user_subscriber = 1 GROUP BY list_id"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score of the movies that have been added to at least one list by a user with a subscription?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T2.user_subscriber = 1 GROUP BY T1.movie_id"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the list with the highest number of followers among the lists created by user 1234567?",
    "evidence": "",
    "SQL": "SELECT T1.list_followers FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id AND T2.list_id = T1.list_id WHERE T2.user_id = 1234567 ORDER BY T1.list_followers DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies with the most followers?",
    "evidence": "",
    "SQL": "SELECT movie_title, list_followers FROM movies M JOIN lists L ON M.movie_id = L.list_id GROUP BY movie_title ORDER BY list_followers DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers for movies in the top 3 most popular lists?",
    "evidence": "",
    "SQL": "SELECT AVG(list_followers) FROM lists WHERE list_id IN (SELECT list_id FROM lists ORDER BY list_movie_number DESC LIMIT 3)"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of followers of lists created by users with payment methods?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.list_followers) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T2.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are all the lists that have more than 50 followers and are created by a subscriber of Mubi?",
    "evidence": "",
    "SQL": "SELECT list_id, list_title FROM lists WHERE list_followers > 50 AND exists (SELECT 1 FROM lists_users WHERE lists_users.list_id = lists.list_id AND lists_users.user_subscriber = 1)"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies are not liked by more than 1 user?",
    "evidence": "",
    "SQL": "SELECT movie_id FROM ratings GROUP BY movie_id HAVING COUNT(user_id) <= 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What percentage of lists are created by users who are trialists when they create the list?",
    "evidence": "",
    "SQL": "SELECT CAST(SUM(CASE WHEN user_trialist = 1 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(list_id) FROM lists_users"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating score for movies that have been rated by a subscriber?",
    "evidence": "",
    "SQL": "SELECT AVG(rating_score) FROM ratings WHERE user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists does the user with ID 3 follow?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists_users WHERE user_id = 3"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users have created lists that include more than 10 movies?",
    "evidence": "",
    "SQL": "SELECT T2.user_id FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id GROUP BY T2.user_id HAVING COUNT(T2.list_id) > 10"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the titles of the lists created by users who were both trialists and subscribers when they created their first list?",
    "evidence": "",
    "SQL": "SELECT list_title FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id AND T2.list_id = T2.list_id WHERE T2.user_trialist = 1 AND T2.user_subscriber = 1 ORDER BY T1.list_title ASC"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie was released in the year 2000 by director Quentin Tarantino? What was its rating score and by whom?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title, T3.rating_score, T3.critic FROM movies AS T2 INNER JOIN ratings AS T3 ON T2.movie_id = T3.movie_id WHERE T2.movie_release_year = 2000 AND T2.director_name = 'Quentin Tarantino'"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie has the highest popularity and was released in the 90s?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies WHERE movie_popularity = (SELECT MAX(movie_popularity) FROM movies) AND movie_release_year >= 1990"
  },
  {
    "db_id": "movie_platform",
    "question": "Which user created the list with the most comments?",
    "evidence": "",
    "SQL": "SELECT T1.user_id FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T2.list_comments = ( SELECT MAX(list_comments) FROM lists )"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies were rated by users with more than 3 followers?",
    "evidence": "",
    "SQL": "SELECT T1.movie_id FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T3.list_followers > 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the number of movies that were rated by the user who created the list '100 Greatest Living American Filmmakers'?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T3 ON T2.list_id = T3.list_id WHERE T3.list_title = '100 Greatest Living American Filmmakers'"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the title of the movie with the most ratings?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM movies INNER JOIN ratings ON movies.movie_id = ratings.movie_id GROUP BY movie_title ORDER BY COUNT(rating_id) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "How many movies in the list titled 'Favourite Movies' created by the user with user_id 1, were released before 1980?",
    "evidence": "",
    "SQL": "SELECT COUNT(T3.movie_id) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id INNER JOIN movies AS T3 ON T1.list_movie_number = T3.movie_id WHERE T2.user_id = 1 AND T1.list_title = 'Favourite Movies' AND T3.movie_release_year < 1980"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists with more than 5 movies were created by users with more than 5 trial subscriptions?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id WHERE T1.user_id = T2.user_id AND T1.list_movie_number > 5 AND T2.user_trialist > 5"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the favourite movies of the user who created the list titled 'Classic Movies to Watch'?",
    "evidence": "",
    "SQL": "SELECT movie_title FROM lists AS T1 INNER JOIN ratings AS T2 ON T1.user_id = T2.user_id INNER JOIN movies AS T3 ON T2.movie_id = T3.movie_id WHERE T1.list_title = 'Classic Movies to Watch'"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movies in the lists with over 500 followers are highly rated by Mubi users and were released in the 1990s?",
    "evidence": "",
    "SQL": "SELECT M1.movie_title FROM lists AS L1 INNER JOIN lists_users AS LU1 ON L1.list_id = LU1.list_id INNER JOIN movies AS M1 ON L1.list_movie_number = M1.movie_id INNER JOIN ratings AS R1 ON M1.movie_id = R1.movie_id WHERE L1.list_followers > 500 AND M1.movie_release_year BETWEEN 1990 AND 1999 AND R1.rating_score > 8"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average number of comments on the lists created by users who rated the movie 'Love in the First Degree'?",
    "evidence": "",
    "SQL": "SELECT CAST(SUM(T4.list_comments) AS REAL) / COUNT(T2.list_id) FROM ratings AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id INNER JOIN lists AS T4 ON T2.list_id = T4.list_id WHERE T1.movie_id IN (SELECT movie_id FROM movies WHERE movie_title LIKE 'Love in the First Degree')"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the most popular movie in the list 'Romantic Comedies'?",
    "evidence": "",
    "SQL": "SELECT list_title, movie_title FROM lists AS T1 INNER JOIN movies AS T2 ON T1.list_id = T2.movie_id WHERE T1.list_title = 'Romantic Comedies' ORDER BY T2.movie_popularity DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top 3 movies that have been rated by more than 500 users and have a average rating of more than 4.5?",
    "evidence": "",
    "SQL": "SELECT movie_title, AVG(rating_score) AS avg_rating, COUNT(*) AS num_ratings FROM ratings INNER JOIN movies ON ratings.movie_id = movies.movie_id GROUP BY movie_title HAVING num_ratings > 500 AND avg_rating > 4.5 ORDER BY avg_rating DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the release year of the movie whose director is named Wong Kar Wai?",
    "evidence": "",
    "SQL": "SELECT movie_release_year FROM movies WHERE director_name = 'Wong Kar Wai'"
  },
  {
    "db_id": "movie_platform",
    "question": "What are the top three movie directors whose movies have the most ratings from the Mubi users?",
    "evidence": "",
    "SQL": "SELECT T2.director_name, COUNT(T1.rating_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id GROUP BY T2.director_name ORDER BY COUNT(T1.rating_id) DESC LIMIT 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the average rating given by a paying subscriber who has reviewed at least 3 movies?",
    "evidence": "",
    "SQL": "SELECT AVG(T1.rating_score) AS avg_rating FROM ratings AS T1 INNER JOIN ratings_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_has_payment_method = 1 GROUP BY T2.user_id HAVING COUNT(T1.rating_id) >= 3"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the total number of users who created a list titled 'my_list' and was a subscriber when they created it?",
    "evidence": "",
    "SQL": "SELECT COUNT(lists_users.user_id) FROM lists_users INNER JOIN lists ON lists_users.list_id = lists.list_id WHERE lists.list_title = 'my_list' AND lists_users.user_subscriber = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "Which users have at least one movie in their list with a rating score greater than 8?",
    "evidence": "",
    "SQL": "SELECT DISTINCT T1.user_id, T1.user_avatar_image_url FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id INNER JOIN ratings AS T3 ON T2.list_id = T3.movie_id WHERE T3.rating_score > 8"
  },
  {
    "db_id": "movie_platform",
    "question": "Which movie has the highest number of ratings from users who are subscribers and what is the total number of these ratings?",
    "evidence": "",
    "SQL": "SELECT * FROM ratings WHERE user_subscriber = 1 GROUP BY movie_id ORDER BY COUNT(*) DESC LIMIT 1"
  },
  {
    "db_id": "movie_platform",
    "question": "How many lists were created by users who have a payment method?",
    "evidence": "",
    "SQL": "SELECT COUNT(*) FROM lists_users AS T1 INNER JOIN ratings_users AS T2 ON T1.user_id = T2.user_id WHERE T2.user_has_payment_method = 1"
  },
  {
    "db_id": "movie_platform",
    "question": "What is the movie title of the most popular movie that has a rating score of less than 3 and was released in 1995?",
    "evidence": "",
    "SQL": "SELECT T2.movie_title FROM movies AS T2 WHERE T2.movie_popularity = (SELECT MAX(movie_popularity) FROM movies WHERE movie_release_year = 1995) AND EXISTS (SELECT * FROM ratings AS T1 WHERE T1.rating_score < 3 AND T1.movie_id = T2.movie_id)"
  }
]