Chinastark/bird_dataset huggingface dataset:
Database: movies_4
Note: horror movies refers to genre_name = 'Horror';
Question: How many horror movies are there?
SQL: SELECT count(movie_genres.movie_id) FROM movie_genres INNER JOIN genre ON movie_genres.genre_id = genre.genre_id WHERE genre.genre_name = 'Horror'
Database: movies_4
Note: second film editors refers to job = 'Second Film Editor'; movie No. 12 refers to movie_id = 12;
Question: List the person IDs of the second film editors in Movie No. 12.
SQL: SELECT person_id FROM movie_crew WHERE movie_id = 12 AND job = 'Second Film Editor'
Database: movies_4
Note: animators refers to job = 'Animation'; movie No. 129 refers to movie_id = 129;
Question: How many animators does Movie No. 129 have?
SQL: SELECT count(movie_id) FROM movie_crew WHERE movie_id = 129 AND job = 'Animation'
Database: movies_4
Note: movie No. 19 refers to movie_id = 19; department No. 7 refers to department_id = 7;
Question: In Movie No. 19, how many people are there in Department No. 7? Please give me their job.
SQL: SELECT count(DISTINCT job) FROM movie_crew WHERE movie_id = 19 AND department_id = 7
Database: movies_4
Note: casts between order numbers 1 and 10 refers to cast_order BETWEEN 2 AND 9; movie No. 285 refers to movie_id = 285;
Question: Write the person ID and character name of casts between order numbers 1 and 10 in Movie No. 285.
SQL: SELECT person_id, character_name FROM movie_cast WHERE movie_id = 285 AND cast_order BETWEEN 1 AND 10
Database: movies_4
Question: How many times did Bob Peterson appear in the movie credits?
SQL: SELECT count(movie_cast.movie_id) FROM person INNER JOIN movie_cast ON person.person_id = movie_cast.person_id WHERE person.person_name = 'Bob Peterson'
Database: movies_4
Question: Tally the movie ID and character name in the movie starring Jim Carrey.
SQL: SELECT movie_cast.movie_id, movie_cast.character_name FROM person INNER JOIN movie_cast ON person.person_id = movie_cast.person_id WHERE person.person_name = 'Jim Carrey'
Database: movies_4
Note: female cast refers to gender = 'Female'; name of cast refers to person_name; movie No. 1865 refers to movie_id = 1865;
Question: Give the names of the female cast in Movie No. 1865.
SQL: SELECT person.person_name FROM movie_cast INNER JOIN person ON movie_cast.person_id = person.person_id INNER JOIN gender ON movie_cast.gender_id = gender.gender_id WHERE movie_cast.movie_id = 1865 AND gender.gender = 'Female'
Database: movies_4
Note: Jim Carrey is the person_name;
Question: Write me the titles of the movies starring Jim Carrey.
SQL: SELECT movie.title FROM movie INNER JOIN movie_cast ON movie.movie_id = movie_cast.movie_id INNER JOIN person ON movie_cast.person_id = person.person_id WHERE person.person_name = 'Jim Carrey'
Database: movies_4
Note: director's name refers to person_name where job = 'Director'; released between 1/01/1916 and 12/31/1925 refers to release_date BETWEEN '1916-01-02' AND '1925-12-30';
Question: List the director's name of the movies released between 1/01/1916 and 12/31/1925.
SQL: SELECT person.person_name FROM movie_cast INNER JOIN person ON movie_cast.person_id = person.person_id INNER JOIN movie ON movie_cast.movie_id = movie.movie_id INNER JOIN movie_crew ON movie_cast.movie_id = movie_crew.movie_id WHERE movie_crew.job = 'Director' AND movie.release_date BETWEEN '1916-01-01' AND '1925-12-31'
Database: movies_4
Note: released between 1/2/1990 and 12/30/2000 refers to release_date BETWEEN '1990-01-02' AND '2000-12-30'; film has the same meaning as movie; starred Uma Thurman refers to person_name = 'Uma Thurman';
Question: How many films released between 1/2/1990 and 12/30/2000 starred Uma Thurman?
SQL: SELECT count(movie.movie_id) FROM movie INNER JOIN movie_cast ON movie.movie_id = movie_cast.movie_id INNER JOIN person ON movie_cast.person_id = person.person_id WHERE person.person_name = 'Uma Thurman' AND movie.release_date BETWEEN '1990-01-01' AND '2000-12-31'
Database: movies_4
Note: horror films refers to genre_name = 'Horror'; vote average of more than 7 refers to vote_average > 7;
Question: Write the titles of horror films with a vote average of more than 7.
SQL: SELECT movie.title FROM movie INNER JOIN movie_genres ON movie.movie_id = movie_genres.movie_id INNER JOIN genre ON movie_genres.genre_id = genre.genre_id WHERE genre.genre_name = 'Horror' AND vote_average > 7
Database: movies_4
Note: genre refers to genre_name; revenue is at least 120,000,000 refers to revenue >= 120000000; between 2012 and 2015 refers to release_date BETWEEN '2012-01-01' AND '2015-12-31';
Question: Give the genre and popularity of movies whose revenue is at least 120,000,000 between 2012 and 2015.
SQL: SELECT genre.genre_name, movie.popularity FROM movie INNER JOIN movie_genres ON movie.movie_id = movie_genres.movie_id INNER JOIN genre ON movie_genres.genre_id = genre.genre_id WHERE movie.revenue > 120000000 AND movie.release_date BETWEEN '2012-01-01' AND '2015-12-31'
Database: movies_4
Note: Indian movies refers to country_name = 'India'; between 1/2/1990 and 12/30/2003 refers to release_date BETWEEN '1990-01-02' AND '2003-12-30'; revenue of more than 75,000,000 refers to revenue > 75000000; popularity of no less than 20 refers to popularity >= 20;
Question: How many Indian movies between 1/2/1990 and 12/30/2003 have revenue of more than 75,000,000 and popularity of no less than 20?
SQL: SELECT count(production_country.movie_id) FROM movie INNER JOIN production_country ON movie.movie_id = production_country.movie_id WHERE movie.revenue > 75000000 AND movie.popularity >= 20 AND movie.release_date BETWEEN '1990-01-01' AND '2003-12-31'
Database: movies_4
Note: highest-budget film refers to max(budget); name the country refers to country_name;
Question: What is the title of the highest-budget film to date? Please include the revenue and name the country.
SQL: SELECT movie.title, movie.revenue, country.country_name FROM movie INNER JOIN production_country ON movie.movie_id = production_country.movie_id INNER JOIN country ON production_country.country_id = country.country_id ORDER BY movie.budget DESC LIMIT 1
Database: movies_4
Note: movies in Latin refers to language_name = 'Latin'; released between 1/01/1990 and 12/31/1995 refers to release_date BETWEEN '1990-01-01' AND '1995-12-31';
Question: List the title of movies in Latin released between 1/01/1990 and 12/31/1995.
SQL: SELECT movie.title FROM movie INNER JOIN movie_languages ON movie.movie_id = movie_languages.movie_id INNER JOIN LANGUAGE ON movie_languages.language_id = LANGUAGE.language_id WHERE LANGUAGE.language_name = 'Latin' AND movie.release_date BETWEEN '1990-01-01' AND '1995-12-31'
Database: movies_4
Note: American movies refers to country_name = 'United States of America'; in 2006 refers to release_date LIKE '2006%'; average revenue = AVG(revenue);
Question: What is the average revenue of American movies in 2006?
SQL: SELECT avg(movie.revenue) FROM movie INNER JOIN production_country ON movie.movie_id = production_country.movie_id INNER JOIN country ON production_country.country_id = country.country_id WHERE country.country_name = 'United States of America' AND cast(strftime('%Y', movie.release_date) AS INT) = 2006
Database: movies_4
Note: 2016 refers to release_date LIKE '2016%'; Indian and American films refers to country_name = 'India' and country_name = 'United States of America'; gap between the average revenue refers to subtract(divide(sum(revenue), count(movie_id)) when country_name = 'United States of America', divide(sum(revenue), count(movie_id)) when country_name = 'India');
Question: Calculate the 2016 gap between the average revenue for Indian and American films.
SQL: SELECT avg(CASE WHEN country.country_name = 'United States of America' THEN movie.revenue END) - avg(CASE WHEN country.country_name = 'India' THEN movie.revenue END) AS calculate FROM movie INNER JOIN production_country ON movie.movie_id = production_country.movie_id INNER JOIN country ON production_country.country_id = country.country_id WHERE cast(strftime('%Y', movie.release_date) AS INT) = 2016
Database: movies_4
Note: romance films refers to genre_name = 'Romance'; in India refers to country_name = 'India'; 2015 refers to release_date BETWEEN '2015-01-01' AND '2015-01-31'; percentage = divide(sum(movie_id) when genre_name = 'Romance', count(movie_id)) as percentage;
Question: What is the percentage of romance films among films produced in India in 2015?
SQL: SELECT cast(count(CASE WHEN genre.genre_name = 'Romance' THEN movie.movie_id ELSE NULL END) AS REAL) * 100 / count(movie.movie_id) FROM movie INNER JOIN movie_genres ON movie.movie_id = movie_genres.movie_id INNER JOIN production_country ON movie.movie_id = production_country.movie_id INNER JOIN genre ON movie_genres.genre_id = genre.genre_id INNER JOIN country ON production_country.country_id = country.country_id WHERE country.country_name = 'India' AND movie.release_date BETWEEN '2015-01-01' AND '2015-12-31'
Database: movies_4
Note: Which actor refers to person_name; Optimus Prime refers to character_name = 'Optimus Prime (voice)';
Question: Which actor plays Optimus Prime?
SQL: SELECT DISTINCT person.person_name FROM person INNER JOIN movie_cast ON person.person_id = movie_cast.person_id WHERE movie_cast.character_name = 'Optimus Prime (voice)'
Database: movies_4
Note: character 'USAF Master Sgt. Epps' refers to character_name = 'USAF Master Sgt. Epps';
Question: What is the gender of the character 'USAF Master Sgt. Epps?'
SQL: SELECT gender.gender FROM movie_cast INNER JOIN gender ON movie_cast.gender_id = gender.gender_id WHERE movie_cast.character_name = 'USAF Master Sgt. Epps'
Database: movies_4
Note: all companies refers to company_name; movie 'Ultramarines: A Warhammer 40,000 movie' refers to title = 'Ultramarines: A Warhammer 40,000 movie';
Question: List all companies who worked in the movie 'Ultramarines: A Warhammer 40,000 Movie.'
SQL: SELECT production_company.company_name FROM production_company INNER JOIN movie_company ON production_company.company_id = movie_company.company_id INNER JOIN movie ON movie_company.movie_id = movie.movie_id WHERE movie.title = 'Ultramarines: A Warhammer 40,000 Movie'
Database: movies_4
Note: Which movie refers to title; company 'Radiant Film GmbH' refers to company_name = 'Radiant Film GmbH';
Question: Which movie did the company 'Radiant Film GmbH' work on?
SQL: SELECT movie.title FROM production_company INNER JOIN movie_company ON production_company.company_id = movie_company.company_id INNER JOIN movie ON movie_company.movie_id = movie.movie_id WHERE production_company.company_name = 'Radiant Film GmbH'
Database: movies_4
Note: genres refers to genre_name; Sky Captain and the World of Tomorrow refers to title = 'Sky Captain and the World of Tomorrow';
Question: What are the genres of Sky Captain and the World of Tomorrow?
SQL: SELECT genre.genre_name FROM movie INNER JOIN movie_genres ON movie.movie_id = movie_genres.movie_id INNER JOIN genre ON movie_genres.genre_id = genre.genre_id WHERE movie.title = 'Sky Captain and the World of Tomorrow'
Database: movies_4
Note: keywords refers to keyword_name; movie 'Sky Captain and the World of Tomorrow' refers to title = 'Sky Captain and the World of Tomorrow';
Question: Write all the keywords belonging to the movie 'Sky Captain and the World of Tomorrow.'
SQL: SELECT keyword.keyword_name FROM movie INNER JOIN movie_keywords ON movie.movie_id = movie_keywords.movie_id INNER JOIN keyword ON movie_keywords.keyword_id = keyword.keyword_id WHERE movie.title = 'Sky Captain and the World of Tomorrow'
Database: movies_4
Note: movie 'Gojira ni-sen mireniamu' refers to title = 'Gojira ni-sen mireniamu'; which country refers to country_name;
Question: The movie 'Gojira ni-sen mireniamu' is from which country?
SQL: SELECT country.country_name FROM movie INNER JOIN production_country ON movie.movie_id = production_country.movie_id INNER JOIN country ON production_country.country_id = country.country_id WHERE movie.title = 'Gojira ni-sen mireniamu'
Database: movies_4
Note: Which movie refers to title; keyword 'extremis' refers to keyword_name = 'extremis';
Question: Which movie has the keyword 'extremis?'
SQL: SELECT movie.title FROM movie INNER JOIN movie_keywords ON movie.movie_id = movie_keywords.movie_id INNER JOIN keyword ON movie_keywords.keyword_id = keyword.keyword_id WHERE keyword.keyword_name = 'extremis'
Database: movies_4
Note: France refers to country_name = 'France';
Question: List 10 movie titles that were produced in France.
SQL: SELECT movie.title FROM movie INNER JOIN production_country ON movie.movie_id = production_country.movie_id INNER JOIN country ON production_country.country_id = country.country_id WHERE country.country_name = 'France' LIMIT 10
Database: movies_4
Note: the director refers to person_name where job = 'Director'; movie 'Transformers' refers to title = 'Transformers';
Question: Who is the director for the movie 'Transformers?'
SQL: SELECT person.person_name FROM movie INNER JOIN movie_crew ON movie.movie_id = movie_crew.movie_id INNER JOIN person ON movie_crew.person_id = person.person_id WHERE movie.title = 'Transformers' AND movie_crew.job = 'Director'
Database: movies_4
Note: crews refers to person_name; movie 'Mad Max: Fury Road' refers to title = 'Mad Max: Fury Road';
Question: List 10 crews alongside their jobs who worked on the movie 'Mad Max: Fury Road.'
SQL: SELECT person.person_name FROM movie INNER JOIN movie_crew ON movie.movie_id = movie_crew.movie_id INNER JOIN person ON movie_crew.person_id = person.person_id WHERE movie.title = 'Mad Max: Fury Road' LIMIT 10
Database: movies_4
Note: from Japan refers to country_name = 'Japan'; in the 'animation' genre refers to genre_name = 'animation'; percentage = divide(sum(movie_id) when genre_name = 'animation', count(movie_id)) as percentage;
Question: What percentage of movies that came from Japan belong in the 'animation' genre?
SQL: SELECT cast(count(CASE WHEN genre.genre_name = 'Animation' THEN movie.movie_id ELSE NULL END) AS REAL) * 100 / count(movie.movie_id) FROM movie INNER JOIN movie_genres ON movie.movie_id = movie_genres.movie_id INNER JOIN production_country ON movie.movie_id = production_country.movie_id INNER JOIN genre ON movie_genres.genre_id = genre.genre_id INNER JOIN country ON production_country.country_id = country.country_id WHERE country.country_name = 'Japan'
Database: movies_4
Note: male refers to gender = 'Male'; female refers to gender = 'Female'; movie 'Iron Man' refers to title = 'Iron Man'; ratio = divide(sum(gender = 'Female'), sum(gender = 'Male'));
Question: What is the ratio between male and female cast members of the movie 'Iron Man?' Count how many have unspecified genders.
SQL: SELECT cast(count(CASE WHEN gender.gender = 'Male' THEN 1 ELSE NULL END) AS REAL) / count(CASE WHEN gender.gender = 'Female' THEN 1 ELSE NULL END) AS ratio , count(CASE WHEN gender.gender = 'Unspecified' THEN 1 ELSE NULL END) AS ungenders FROM movie INNER JOIN movie_cast ON movie.movie_id = movie_cast.movie_id INNER JOIN gender ON movie_cast.gender_id = gender.gender_id WHERE movie.title = 'Iron Man'
Database: movies_4
Note: released before 2000 refers to release_date < '2000-01-01';
Question: List down five movie titles that were released before 2000.
SQL: SELECT title FROM movie WHERE cast(strftime('%Y', release_date) AS INT) < 2000 LIMIT 5
Database: movies_4
Note: title of "Sin City" refers to title = 'Sin City';
Question: What is the keyword ID of the movie with the title of "Sin City"?
SQL: SELECT movie_keywords.keyword_id FROM movie INNER JOIN movie_keywords ON movie.movie_id = movie_keywords.movie_id WHERE movie.title = 'Sin City'
Database: movies_4
Note: keyword of "angel" refers to keyword_name = 'angel';
Question: Look for the movie title with the keyword of "angel".
SQL: SELECT movie.title FROM movie INNER JOIN movie_keywords ON movie.movie_id = movie_keywords.movie_id INNER JOIN keyword ON movie_keywords.keyword_id = keyword.keyword_id WHERE keyword.keyword_name = 'angel'
Database: movies_4
Note: Which keywords refers to keyword_name; highest popularity refers to max(popularity);
Question: Which keywords belong to the movie titles with the highest popularity?
SQL: SELECT keyword.keyword_name FROM movie INNER JOIN movie_keywords ON movie.movie_id = movie_keywords.movie_id INNER JOIN keyword ON movie_keywords.keyword_id = keyword.keyword_id ORDER BY movie.popularity DESC LIMIT 1
Database: movies_4
Note: movie with the title of "The Dark Knight" refers to title = 'The Dark Knight';
Question: Provide the genre ID of the movie with the title of "The Dark Knight".
SQL: SELECT movie_genres.genre_id FROM movie INNER JOIN movie_genres ON movie.movie_id = movie_genres.movie_id WHERE movie.title = 'The Dark Knight'
Database: movies_4
Note: genre of thriller refers to genre_name = 'Thriller';
Question: List down the movie titles within the genre of thriller.
SQL: SELECT movie.title FROM movie INNER JOIN movie_genres ON movie.movie_id = movie_genres.movie_id INNER JOIN genre ON movie_genres.genre_id = genre.genre_id WHERE genre.genre_name = 'Thriller'
Database: movies_4
Note: rumoured movie refers to movie_status = 'rumoured'; genre of Drama refers to genre_name = 'Drama';
Question: Write down five rumoured movie titles within the genre of Drama.
SQL: SELECT movie.title FROM movie INNER JOIN movie_genres ON movie.movie_id = movie_genres.movie_id INNER JOIN genre ON movie_genres.genre_id = genre.genre_id WHERE movie.movie_status = 'Rumored' AND genre.genre_name = 'Drama' LIMIT 5
Database: movies_4
Note: genre refers to genre_name; lowest revenue refers to min(revenue);
Question: What is the genre of the movie title with the lowest revenue generated?
SQL: SELECT genre.genre_name FROM movie INNER JOIN movie_genres ON movie.movie_id = movie_genres.movie_id INNER JOIN genre ON movie_genres.genre_id = genre.genre_id ORDER BY movie.revenue LIMIT 1
Database: movies_4
Note: genre refers to genre_name; runtime of only 14 minutes refers to runtime = 14;
Question: State the genre of the movie title with a runtime of only 14 minutes.
SQL: SELECT genre.genre_name FROM movie INNER JOIN movie_genres ON movie.movie_id = movie_genres.movie_id INNER JOIN genre ON movie_genres.genre_id = genre.genre_id WHERE movie.runtime = 14
Database: movies_4
Note: genre refers to genre_name; well-received by the audiences refers to max(vote_average); lowest revenue refers to min(revenue);
Question: What is the genre of the movie title which was well-received by the audiences but made the lowest revenue?
SQL: SELECT genre.genre_name FROM movie INNER JOIN movie_genres ON movie.movie_id = movie_genres.movie_id INNER JOIN genre ON movie_genres.genre_id = genre.genre_id ORDER BY movie.vote_average DESC, movie.revenue LIMIT 1
Database: movies_4
Note: genre refers to genre_name; tagline of "A long time ago in a galaxy far, far away…" refers to tagline = 'A long time ago in a galaxy far, far away…';
Question: Provide the genre of a movie title with a tagline of "A long time ago in a galaxy far, far away…".
SQL: SELECT genre.genre_name FROM movie INNER JOIN movie_genres ON movie.movie_id = movie_genres.movie_id INNER JOIN genre ON genre.genre_id = movie_genres.genre_id WHERE movie.tagline = 'A long time ago in a galaxy far, far away...'
Database: movies_4
Note: title of "Pirates of the Caribbean: Dead Man's Chest" refers to title = 'Pirates of the Caribbean: Dead Man''s Chest';
Question: What is the country ID of the movie with the title of "Pirates of the Caribbean: Dead Man's Chest"?
SQL: SELECT production_country.country_id FROM movie INNER JOIN production_country ON movie.movie_id = production_country.movie_id WHERE movie.title LIKE 'Pirates of the Caribbean: Dead Man%s Chest'
Database: movies_4
Note: produced in Canada refers to country_name = 'Canada';
Question: List down the movie titles that were produced in Canada.
SQL: SELECT movie.title FROM movie INNER JOIN production_country ON movie.movie_id = production_country.movie_id INNER JOIN country ON production_country.country_id = country.country_id WHERE country.country_name = 'Canada'
Database: movies_4
Note: keyword of "video game" refers to keyword_name = 'video game';
Question: Accumulate the budget of the movie titles with the keyword of "video game".
SQL: SELECT sum(movie.budget) FROM movie INNER JOIN movie_keywords ON movie.movie_id = movie_keywords.movie_id INNER JOIN keyword ON movie_keywords.keyword_id = keyword.keyword_id WHERE keyword.keyword_name = 'video game'
Database: movies_4
Note: keyword of "civil war" refers to keyword_name = 'civil war'; average revenue = AVG(revenue);
Question: For movies with the keyword of "civil war", calculate the average revenue generated by these movies.
SQL: SELECT avg(movie.revenue) FROM movie INNER JOIN movie_keywords ON movie.movie_id = movie_keywords.movie_id INNER JOIN keyword ON movie_keywords.keyword_id = keyword.keyword_id WHERE keyword.keyword_name = 'civil war'
Database: movies_4
Note: highest vote count refers to max(vote_count);
Question: Find out the popularity of the movies with the highest vote count.
SQL: SELECT popularity FROM movie ORDER BY vote_count DESC LIMIT 1
Database: movies_4
Note: zero-budget refers to budget = 0; highest revenue refers to max(revenue);
Question: Among the zero-budget movie titles, which one has made the highest revenue?
SQL: SELECT title FROM movie WHERE budget = 0 ORDER BY revenue DESC LIMIT 1
Database: movies_4
Note: ID of the production company refers to company_id; movie "Gladiator" refers to title = 'Gladiator';
Question: What is the ID of the production company which produced the movie "Gladiator"?
SQL: SELECT movie_company.company_id FROM movie INNER JOIN movie_company ON movie.movie_id = movie_company.movie_id WHERE movie.title = 'Gladiator'
Database: movies_4
Note: IDs of the production companies refers to company_id; movies in 1916 refers to release_date LIKE '1916%';
Question: List down the IDs of the production companies that released the movies in 1916.
SQL: SELECT movie_company.company_id FROM movie INNER JOIN movie_company ON movie.movie_id = movie_company.movie_id WHERE cast(strftime('%Y', movie.release_date) AS INT) = 1916
Database: movies_4
Note: movies refers to title; produced by Lucasfil refers to company_name = 'Lucasfilm';
Question: List down the movies produced by Lucasfilm.
SQL: SELECT movie.title FROM production_company INNER JOIN movie_company ON production_company.company_id = movie_company.company_id INNER JOIN movie ON movie_company.movie_id = movie.movie_id WHERE production_company.company_name = 'Lucasfilm'
Database: movies_4
Note: Warner Bros. Pictures' movies refers to company_name = 'Warner Bros. Pictures'; highest revenue refers to max(revenue);
Question: Among Warner Bros. Pictures' movies, which title made the highest revenue?
SQL: SELECT movie.title FROM production_company INNER JOIN movie_company ON production_company.company_id = movie_company.company_id INNER JOIN movie ON movie_company.movie_id = movie.movie_id WHERE production_company.company_name = 'Warner Bros. Pictures' ORDER BY movie.revenue DESC LIMIT 1
Database: movies_4
Note: produced by Twentieth Century Fox Film Corporation refers to company_name = 'Twentieth Century Fox Film Corporation';
Question: Write down the release date of the movies produced by Twentieth Century Fox Film Corporation.
SQL: SELECT movie.release_date FROM production_company INNER JOIN movie_company ON production_company.company_id = movie_company.company_id INNER JOIN movie ON movie_company.movie_id = movie.movie_id WHERE production_company.company_name = 'Twentieth Century Fox Film Corporation'
Database: movies_4
Note: movie "Walk the Line" refers to title = 'Walk the Line';
Question: What is the language ID of the movie "Walk the Line"?
SQL: SELECT movie_languages.language_id FROM movie INNER JOIN movie_languages ON movie.movie_id = movie_languages.movie_id WHERE movie.title = 'Walk the Line'
Database: movies_4
Note: highest popularity refers to max(popularity);
Question: Find out the language ID of the movie with the highest popularity.
SQL: SELECT movie_languages.language_id FROM movie INNER JOIN movie_languages ON movie.movie_id = movie_languages.movie_id ORDER BY movie.popularity DESC LIMIT 1