db_id
stringlengths
4
31
SQL
stringlengths
18
1.45k
input_sequence
stringlengths
148
11k
question
stringlengths
16
325
mental_health_survey
select count(distinct t1.questionid) from answer as t1 inner join question as t2 on t1.questionid = t2.questionid inner join survey as t3 on t1.surveyid = t3.surveyid where t2.questiontext = 'what country do you work in?'
Question: tell the number of surveys that contained the question what country do you work in?. | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
tell the number of surveys that contained the question what country do you work in?.
mental_health_survey
select t1.answertext from answer as t1 inner join question as t2 on t1.questionid = t2.questionid where t2.questiontext = 'do you currently have a mental health disorder?' and t1.userid = 2681
Question: what answer did user no. 2681 give to the question 'do you currently have a mental health disorder?'? | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
what answer did user no. 2681 give to the question 'do you currently have a mental health disorder?'?
mental_health_survey
select count(distinct t1.userid) from answer as t1 inner join survey as t2 on t1.surveyid = t2.surveyid where t2.description = 'mental health survey for 2016'
Question: provide the number of users who took part in the 'mental health survey for 2016'. | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
provide the number of users who took part in the 'mental health survey for 2016'.
mental_health_survey
select t1.answertext from answer as t1 inner join question as t2 on t1.questionid = t2.questionid where t2.questiontext = 'what country do you work in?' group by t1.answertext order by count(t1.answertext) desc limit 1
Question: what was the most common answer for the question 'what country do you work in?'? | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
what was the most common answer for the question 'what country do you work in?'?
mental_health_survey
select count(distinct t1.answertext) from answer as t1 inner join question as t2 on t1.questionid = t2.questionid where t2.questiontext like 'describe the conversation you had with your previous employer about your mental health, including their reactions and actions taken to address your mental health issue/questions....
Question: how many different answers did the question 'describe the conversation you had with your previous employer about your mental health, including their reactions and actions taken to address your mental health issue/questions.' get? | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description....
how many different answers did the question 'describe the conversation you had with your previous employer about your mental health, including their reactions and actions taken to address your mental health issue/questions.' get?
mental_health_survey
select count(t1.userid) from answer as t1 inner join question as t2 on t1.questionid = t2.questionid where t2.questiontext like 'what us state or territory do you work in?' and t1.answertext = 'kansas'
Question: for the question what us state or territory do you work in?, how many people gave 'kansas' as the answer? | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
for the question what us state or territory do you work in?, how many people gave 'kansas' as the answer?
mental_health_survey
select count(t1.userid) from answer as t1 inner join question as t2 on t1.questionid = t2.questionid where t2.questiontext like 'any additional notes or comments' and t1.answertext is not null
Question: how many people wrote comments for the question 'any additional notes or comments.'? | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
how many people wrote comments for the question 'any additional notes or comments.'?
mental_health_survey
select count(t1.userid) from answer as t1 inner join question as t2 on t1.questionid = t2.questionid where t2.questiontext like 'have you ever been diagnosed with a mental health disorder?' and t1.answertext = 'yes'
Question: for all the users who have been asked 'have you ever been diagnosed with a mental health disorder?', how many of them said 'yes'? | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
for all the users who have been asked 'have you ever been diagnosed with a mental health disorder?', how many of them said 'yes'?
mental_health_survey
select count(distinct t1.userid) from answer as t1 inner join survey as t2 on t1.surveyid = t2.surveyid where t2.description = 'mental health survey for 2018'
Question: give the number of users who took the 'mental health survey for 2018'. | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
give the number of users who took the 'mental health survey for 2018'.
mental_health_survey
select count(t1.userid) from answer as t1 inner join question as t2 on t1.questionid = t2.questionid where t2.questiontext like 'overall, how much importance does your employer place on physical health?'
Question: how many users answered the question 'overall, how much importance does your employer place on physical health?'? | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
how many users answered the question 'overall, how much importance does your employer place on physical health?'?
mental_health_survey
select t1.answertext from answer as t1 inner join question as t2 on t1.questionid = t2.questionid where t2.questionid = 2183 and t1.answertext = 'mood disorder (depression, bipolar disorder, etc)'
Question: for which question did the user no.2183 gave the answer 'mood disorder (depression, bipolar disorder, etc)'? | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
for which question did the user no.2183 gave the answer 'mood disorder (depression, bipolar disorder, etc)'?
mental_health_survey
select cast(sum(case when t1.answertext like 'yes' then 1 else 0 end) as real) * 100 / count(t1.userid) from answer as t1 inner join question as t2 on t1.questionid = t2.questionid where t2.questiontext like 'has your employer ever formally discussed mental health (for example, as part of a wellness campaign or other ...
Question: what was the percentage for the answer of 'yes' was given to the question 'has your employer ever formally discussed mental health (for example, as part of a wellness campaign or other official communication)?'? | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerT...
what was the percentage for the answer of 'yes' was given to the question 'has your employer ever formally discussed mental health (for example, as part of a wellness campaign or other official communication)?'?
mental_health_survey
select cast(count(t1.userid) as real) / ( select count(t1.userid) from answer as t1 inner join survey as t2 on t1.surveyid = t2.surveyid where t2.description = 'mental health survey for 2018' ) from answer as t1 inner join survey as t2 on t1.surveyid = t2.surveyid where t2.description = 'mental health survey for 2017'
Question: how many times more for the number of users who took the 'mental health survey for 2017' than 'mental health survey for 2018'? | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
how many times more for the number of users who took the 'mental health survey for 2017' than 'mental health survey for 2018'?
mental_health_survey
select cast(sum(case when t1.answertext like 'yes' then 1 else 0 end) as real) * 100 / count(t1.surveyid) from answer as t1 inner join question as t2 on t1.questionid = t2.questionid where t1.questionid = 32 and t1.surveyid = 2016
Question: among respondents who participated in the survey in 2016, what percentage had a mental health disorder in the past? | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
among respondents who participated in the survey in 2016, what percentage had a mental health disorder in the past?
mental_health_survey
select count(distinct t1.userid) from answer as t1 inner join question as t2 on t1.questionid = t2.questionid where t1.questionid = 1 and t1.surveyid = 2016 and t1.answertext <= 25
Question: how many respondents younger than 25 years old did participate in the survey in 2016? | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
how many respondents younger than 25 years old did participate in the survey in 2016?
mental_health_survey
select cast(count(surveyid) as real) / 5 from answer where surveyid between 2014 and 2019
Question: what is the average number of respondents per survey between 2014 and 2019? | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
what is the average number of respondents per survey between 2014 and 2019?
mental_health_survey
select count(t1.userid) from answer as t1 inner join question as t2 on t1.questionid = t2.questionid where t1.questionid = 7 and t1.surveyid = 2019 and t1.answertext = 1
Question: how many respondents who participated in the survey in 2019 have ever sought treatment for a mental health disorder from a mental health professional? | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
how many respondents who participated in the survey in 2019 have ever sought treatment for a mental health disorder from a mental health professional?
mental_health_survey
select count(t1.answertext) from answer as t1 inner join question as t2 on t1.questionid = t2.questionid where t1.questionid = 93 and t1.surveyid = 2014 and t1.answertext = 'yes'
Question: how many respondents who participated in the survey in 2014 work remotely at least 50% of the time? | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
how many respondents who participated in the survey in 2014 work remotely at least 50% of the time?
mental_health_survey
select count(questiontext) from question
Question: how many questions were asked in the questionary for the mental health survey? | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
how many questions were asked in the questionary for the mental health survey?
mental_health_survey
select count(answertext) from answer where answertext like 'substance use disorder'
Question: how many respondents of the mental health survey were diagnosed with 'substance use disorder'? | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
how many respondents of the mental health survey were diagnosed with 'substance use disorder'?
mental_health_survey
select answertext from answer where questionid = 85 and surveyid = 2017 group by answertext order by count(answertext) desc limit 3
Question: list the top three popular responses to the question of the survey in 2017 with the question id no.85. | Tables: Question -> questiontext, questionid. Survey -> SurveyID, Description. Answer -> AnswerText, SurveyID, UserID, QuestionID. | Joins:
list the top three popular responses to the question of the survey in 2017 with the question id no.85.
disney
select sum(case when `year` = 1998 then total else 0 end) - sum(case when `year` = 1997 then total else 0 end) from revenue
Question: how much more total box office gross did the walt disney company have in revenue in 1998 than in 1997? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross....
how much more total box office gross did the walt disney company have in revenue in 1998 than in 1997?
disney
select case when 'studio entertainment[ni 1]' > 'disney media networks' then 'studio entertainment[ni 1]' else 'disney media networks' end from revenue where `year` = 1998
Question: in which segment did the walt disney company earned a bigger revenue in 1998, studio entertainment or disney media networks? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inf...
in which segment did the walt disney company earned a bigger revenue in 1998, studio entertainment or disney media networks?
disney
select director from director where name = 'pinocchio'
Question: who is the director of the movie pinocchio? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney Consum...
who is the director of the movie pinocchio?
disney
select t2.villian from director as t1 inner join characters as t2 on t1.name = t2.movie_title where t1.director = 'wolfgang reitherman' and t2.villian is not null
Question: please list the villains of all the movies directed by wolfgang reitherman. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio En...
please list the villains of all the movies directed by wolfgang reitherman.
disney
select count(movie_title) from characters as t1 inner join director as t2 on t1.movie_title = t2.name where substr(release_date, instr(release_date, '-') + 1, 3) = 'dec' and t2.director = 'wolfgang reitherman'
Question: among the movies directed by wolfgang reitherman, how many of them were released in december? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue ...
among the movies directed by wolfgang reitherman, how many of them were released in december?
disney
select t2.director from characters as t1 inner join director as t2 on t1.movie_title = t2.name where t1.song = 'once upon a dream'
Question: the song 'once upon a dream' is associated with the movie directed by whom? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio En...
the song 'once upon a dream' is associated with the movie directed by whom?
disney
select t1.`voice-actor` from `voice-actors` as t1 inner join characters as t2 on t1.movie = t2.movie_title where t1.character like '%' or t2.villian or '%' and t2.movie_title = 'alice in wonderland'
Question: who is the voice actor for the villain of the movie 'alice in wonderland'? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Ent...
who is the voice actor for the villain of the movie 'alice in wonderland'?
disney
select t2.release_date from `voice-actors` as t1 inner join characters as t2 on t1.movie = t2.movie_title where t1.`voice-actor` = 'alan tudyk'
Question: please list the release dates of all the movies in which alan tudyk is a voice actor. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year,...
please list the release dates of all the movies in which alan tudyk is a voice actor.
disney
select count(t2.movie) from characters as t1 inner join `voice-actors` as t2 on t1.movie_title = t2.movie where t2.`voice-actor` = 'alan tudyk' and substr(release_date, instr(release_date, '-') + 5) > 12
Question: among the movies in which alan tudyk is a voice actor, how many of them were released after 2012? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. reve...
among the movies in which alan tudyk is a voice actor, how many of them were released after 2012?
disney
select count(t3.name) from ( select t2.name from `movies_total_gross` as t1 inner join director as t2 on t1.movie_title = t2.name where t2.director = 'wolfgang reitherman' and t1.genre = 'comedy' group by t2.name ) t3
Question: among the movies directed by wolfgang reitherman, how many of them are comedies? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Stud...
among the movies directed by wolfgang reitherman, how many of them are comedies?
disney
select t2.movie_title from director as t1 inner join movies_total_gross as t2 on t1.name = t2.movie_title where t1.director = 'wolfgang reitherman' order by t2.total_gross desc limit 1
Question: among the movies directed by wolfgang reitherman, which one of them was the most popular? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Y...
among the movies directed by wolfgang reitherman, which one of them was the most popular?
disney
select t1.movie_title from `movies_total_gross` as t1 inner join director as t2 on t1.movie_title = t2.name where t1.mpaa_rating = 'g' and t2.director = 'wolfgang reitherman'
Question: please list the movies directed by wolfgang reitherman that can be watched by the general audience. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. re...
please list the movies directed by wolfgang reitherman that can be watched by the general audience.
disney
select t2.villian from `movies_total_gross` as t1 inner join characters as t2 on t1.movie_title = t2.movie_title order by t1.total_gross desc limit 1
Question: which character is the villain of the most popular movie? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1],...
which character is the villain of the most popular movie?
disney
select t2.genre from characters as t1 inner join movies_total_gross as t2 on t2.movie_title = t1.movie_title where t1.villian = 'commander rourke'
Question: what is the genre of the movie whose villain is commander rourke? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainmen...
what is the genre of the movie whose villain is commander rourke?
disney
select villian from characters where movie_title = 'beauty and the beast'
Question: who is the villain of the movie 'beauty and the beast'? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], D...
who is the villain of the movie 'beauty and the beast'?
disney
select movie_title from characters where hero = 'robin hood'
Question: which movie is the character robin hood in? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney Consum...
which movie is the character robin hood in?
disney
select movie_title from characters where song = 'i thought i lost you'
Question: give the name of the movie which the song 'i thought i lost you' is associated with. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, ...
give the name of the movie which the song 'i thought i lost you' is associated with.
disney
select `voice-actor` from `voice-actors` where character = 'binkie muddlefoot'
Question: who is the voice actor of the character 'binkie muddlefoot'? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI ...
who is the voice actor of the character 'binkie muddlefoot'?
disney
select t1.hero from characters as t1 inner join movies_total_gross as t2 on t2.movie_title = t1.movie_title where t2.total_gross = '$222,527,828'
Question: who is the hero character of the movie whose total gross was $222,527,828? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Ent...
who is the hero character of the movie whose total gross was $222,527,828?
disney
select t2.song from movies_total_gross as t1 inner join characters as t2 on t1.movie_title = t2.movie_title where cast(substr(t1.release_date, instr(t1.release_date, ', ') + 1) as int) between 1970 and 1979 order by cast(replace(substr(t1.total_gross, 2), ',', '') as float) desc limit 1
Question: which song is associated with the most popular disney movie in 1970s? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertai...
which song is associated with the most popular disney movie in 1970s?
disney
select t1.hero from characters as t1 inner join director as t2 on t2.name = t1.movie_title where t2.director = 'will finn'
Question: who is the hero character of the disney movie directed by will finn? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertain...
who is the hero character of the disney movie directed by will finn?
disney
select t2.`voice-actor` from characters as t1 inner join `voice-actors` as t2 on t2.movie = t1.movie_title where t1.movie_title = 'the little mermaid' and t2.character = t1.hero
Question: who is the voice actor of the hero character from the movie the little mermaid? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studi...
who is the voice actor of the hero character from the movie the little mermaid?
disney
select t1.director from director as t1 inner join `voice-actors` as t2 on t2.movie = t1.name where t2.character = 'aunt sarah' and t2.`voice-actor` = 'verna felton'
Question: give the name of the director of the movie in which verna felton was the voice actor for its character 'aunt sarah'. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_a...
give the name of the director of the movie in which verna felton was the voice actor for its character 'aunt sarah'.
disney
select t1.release_date from characters as t1 inner join `voice-actors` as t2 on t2.movie = t1.movie_title where t2.character = 'hyacinth hippo' and t2.`voice-actor` = 'tress macneille'
Question: for the movie in which tress macneille was the voice actor for its character 'hyacinth hippo', what was the release date of that movie? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total...
for the movie in which tress macneille was the voice actor for its character 'hyacinth hippo', what was the release date of that movie?
disney
select t1.director from director as t1 inner join movies_total_gross as t2 on t2.movie_title = t1.name where t2.genre = 'adventure' and t2.release_date = 'mar 30, 2007'
Question: who is the director of the adventure movie which was released on 2007/3/30? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio En...
who is the director of the adventure movie which was released on 2007/3/30?
disney
select t1.movie_title from movies_total_gross as t1 inner join director as t2 on t1.movie_title = t2.name where t2.director = 'wolfgang reitherman' order by cast(replace(substr(inflation_adjusted_gross, 2), ',', '') as real) desc limit 1
Question: wolfgang reitherman has directed several disney movies, which one has the highest grossing after accounting for inflation? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, infla...
wolfgang reitherman has directed several disney movies, which one has the highest grossing after accounting for inflation?
disney
select t1.hero from characters as t1 inner join movies_total_gross as t2 on t2.movie_title = t1.movie_title where t2.genre = 'adventure' and t1.release_date = '4-mar-16'
Question: who is the hero character of the adventure movie which was released on 2016/3/4? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Stud...
who is the hero character of the adventure movie which was released on 2016/3/4?
disney
select t1.movie_title from movies_total_gross as t1 inner join characters as t2 on t1.movie_title = t2.movie_title where t2.hero = 'donald duck' order by cast(replace(substr(total_gross, 2), ',', '') as real) desc limit 1
Question: the character donald duck has appeared in two disney movies, which one has more grossing? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Y...
the character donald duck has appeared in two disney movies, which one has more grossing?
disney
select count(name) from director where director = 'wolfgang reitherman'
Question: how many movies did wolfgang reitherman direct? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney Co...
how many movies did wolfgang reitherman direct?
disney
select director from director group by director order by count(name) desc limit 1
Question: who is the most productive director? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney Consumer Prod...
who is the most productive director?
disney
select count(movie_title) from movies_total_gross where mpaa_rating = 'r' and genre = 'horror' and cast(substr(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015
Question: how many restricted horror movies were released between 1/1/1990 to 12/31/2015? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studi...
how many restricted horror movies were released between 1/1/1990 to 12/31/2015?
disney
select character from `voice-actors` where 'voice-actor' = 'frank welker'
Question: what are the names of the characters voiced by frank welker? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI ...
what are the names of the characters voiced by frank welker?
disney
select t1.total_gross from movies_total_gross as t1 inner join characters as t2 on t2.movie_title = t1.movie_title where t2.song = 'little wonders'
Question: how much is the total gross of the movie with a song titled 'little wonders'? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio ...
how much is the total gross of the movie with a song titled 'little wonders'?
disney
select t1.mpaa_rating from movies_total_gross as t1 inner join characters as t2 on t2.movie_title = t1.movie_title where t2.villian = 'turbo'
Question: what is the motion picture association of america rating for the movie featuring a villain named turbo? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross...
what is the motion picture association of america rating for the movie featuring a villain named turbo?
disney
select count(t.movie) from ( select t1.movie from `voice-actors` as t1 inner join movies_total_gross as t2 on t1.movie = t2.movie_title where mpaa_rating = 'pg' and `voice-actor` = 'bill thompson' group by t1.movie ) as t
Question: how many movies for mature audiences or parental guidance suggested did bill thompson work as a voice actor? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_...
how many movies for mature audiences or parental guidance suggested did bill thompson work as a voice actor?
disney
select count(t.name) from ( select t1.name from director as t1 inner join movies_total_gross as t2 on t1.name = t2.movie_title where t1.director = 'gary trousdale' and t2.genre = 'adventure' group by t1.name ) t
Question: how many of gary trousdale's movies are adventure movies? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1],...
how many of gary trousdale's movies are adventure movies?
disney
select director from director as t1 inner join `voice-actors` as t2 on t1.name = t2.movie where t2.`voice-actor` = 'bill thompson' group by director order by count(director) desc limit 1
Question: which director did bill thompson work the most with? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disn...
which director did bill thompson work the most with?
disney
select t2.name from movies_total_gross as t1 inner join director as t2 on t2.name = t1.movie_title where t2.director = 'ron clements' order by cast(replace(substr(total_gross, 2), ',', '') as int) desc limit 1
Question: what is the most popular movie directed by ron clements? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], ...
what is the most popular movie directed by ron clements?
disney
select t2.`voice-actor` from director as t1 inner join `voice-actors` as t2 inner join movies_total_gross as t3 on t1.name = t2.movie and t2.movie = t3.movie_title where t1.director = 'ben sharpsteen' and t3.release_date = 'feb 9, 1940' and t2.`voice-actor` != 'none' group by t2.`voice-actor`
Question: list all the voice actors in the movie directed by ben sharpsteen which was released on february 9, 1940. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gro...
list all the voice actors in the movie directed by ben sharpsteen which was released on february 9, 1940.
disney
select count(*) from director as t1 inner join movies_total_gross as t2 on t1.name = t2.movie_title where t1.director = 'ron clements' and t2.mpaa_rating = 'pg' and t2.genre = 'adventure'
Question: how many pg adventure movies did ron clements direct? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Dis...
how many pg adventure movies did ron clements direct?
disney
select count(movie_title) from `movies_total_gross` where genre = 'horror'
Question: how many horror movies are there? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney Consumer Product...
how many horror movies are there?
disney
select villian from characters where movie_title = 'the great mouse detective'
Question: who is the villain in the movie 'the great mouse detective'? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI ...
who is the villain in the movie 'the great mouse detective'?
disney
select 'voice-actor' from `voice-actors` where movie = 'meet the robinsons'
Question: list the voice actors from the movie 'meet the robinsons'. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1]...
list the voice actors from the movie 'meet the robinsons'.
disney
select director, count(name) from director group by director order by count(name) desc limit 1
Question: which director has made the most movies? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney Consumer ...
which director has made the most movies?
disney
select `year` from revenue where `year` between 2000 and 2010 order by `studio entertainment[ni 1]` desc limit 1
Question: from 2000 to 2010, in which year did the studio entertainment segment make the most revenue? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -...
from 2000 to 2010, in which year did the studio entertainment segment make the most revenue?
disney
select song from movies_total_gross as t1 inner join characters as t2 on t1.movie_title = t2.movie_title where t1.genre = 'drama' group by song
Question: list all the songs associated with drama movies. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney C...
list all the songs associated with drama movies.
disney
select t2.`voice-actor` from characters as t1 inner join `voice-actors` as t2 on t2.character = t1.hero where t2.movie = t1.movie_title
Question: who are the voice actors for all the heroes? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney Consu...
who are the voice actors for all the heroes?
disney
select t2.director from movies_total_gross as t1 inner join director as t2 on t1.movie_title = t2.name and cast(substr(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2000 group by t2.director
Question: provide a list of directors from the 1990s. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney Consum...
provide a list of directors from the 1990s.
disney
select t1.`voice-actor` from `voice-actors` as t1 inner join characters as t2 on t2.movie_title = t1.movie where t2.movie_title = 'the rescuers' and t1.character = t2.villian
Question: who voiced the villain in 'the rescuers'? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney Consumer...
who voiced the villain in 'the rescuers'?
disney
select t1.name, t2.`voice-actor` from director as t1 inner join `voice-actors` as t2 on t1.name = t2.movie where t1.director = 'wolfgang reitherman'
Question: list all of wolfgang reitherman's movies and their voice actors. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment...
list all of wolfgang reitherman's movies and their voice actors.
disney
select distinct t2.character from movies_total_gross as t1 inner join `voice-actors` as t2 on t1.movie_title = t2.movie where t1.mpaa_rating = 'pg'
Question: what are the characters in the pg movies? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney Consumer...
what are the characters in the pg movies?
disney
select t1.movie_title from movies_total_gross as t1 inner join characters as t2 on t2.movie_title = t1.movie_title where t2.song is null order by cast(replace(trim(t1.total_gross, '$'), ',', '') as real) desc limit 1
Question: what is the highest grossing movie without a song? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney...
what is the highest grossing movie without a song?
disney
select t2.director, count(distinct t1.`voice-actor`) from `voice-actors` as t1 inner join director as t2 on t1.movie = t2.name group by t2.director order by count(distinct t1.`voice-actor`) desc limit 1
Question: who directed the movie with the most voice actors? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney...
who directed the movie with the most voice actors?
disney
select t2.`voice-actor` from movies_total_gross as t1 inner join `voice-actors` as t2 on t1.movie_title = t2.movie where t1.release_date = 'nov 24, 2010'
Question: who are the voice actors in the movie that came out on 11/24/2010? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainme...
who are the voice actors in the movie that came out on 11/24/2010?
disney
select t2.director from characters as t1 inner join director as t2 on t1.movie_title = t2.name where t1.song is not null group by t2.director
Question: list the directors of movies that feature a song. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney ...
list the directors of movies that feature a song.
disney
select t2.movie_title from `voice-actors` as t1 inner join movies_total_gross as t2 on t2.movie_title = t1.movie where t1.`voice-actor` = 'jim cummings' order by cast(replace(trim(t2.total_gross, '$'), ',', '') as real) desc limit 1
Question: what are the total grosses for the movies with jim cummings as the voice actor? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studi...
what are the total grosses for the movies with jim cummings as the voice actor?
disney
select t2.movie_title from director as t1 inner join movies_total_gross as t2 on t1.name = t2.movie_title where t1.director = 'ron clements' order by cast(replace(trim(t2.total_gross, '$'), ',', '') as real) desc limit 1
Question: which of the movies directed by ron clements has the highest total gross? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Ente...
which of the movies directed by ron clements has the highest total gross?
disney
select sum(cast(replace(trim(t2.total_gross, '$'), ',', '') as real)) / count(t2.movie_title) from `voice-actors` as t1 inner join movies_total_gross as t2 on t1.movie = t2.movie_title where t1.`voice-actor` = 'sterling holloway'
Question: what is the average total gross for the movies featuring sterling holloway? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio En...
what is the average total gross for the movies featuring sterling holloway?
disney
select cast(count(case when t1.song is not null then t2.movie_title else null end) as real) * 100 / count(t2.movie_title) from characters as t1 inner join movies_total_gross as t2 on t1.movie_title = t2.movie_title
Question: what proportion of the total gross of all movies is from movies with songs? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio En...
what proportion of the total gross of all movies is from movies with songs?
disney
select movie_title, genre from movies_total_gross where substr(release_date, length(release_date) - 3, length(release_date)) = '2016'
Question: list the movies and genres released in 2016. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney Consu...
list the movies and genres released in 2016.
disney
select villian from characters where movie_title = 'little mermaid'
Question: who is the villain in little mermaid? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney Consumer Pro...
who is the villain in little mermaid?
disney
select name from director where director = 'jack kinney'
Question: list the movie titles directed by jack kinney. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney Con...
list the movie titles directed by jack kinney.
disney
select movie_title, cast(replace(trim(inflation_adjusted_gross, '$'), ',', '') as real) / cast(replace(trim(total_gross, '$'), ',', '') as real) from movies_total_gross order by cast(replace(trim(total_gross, '$'), ',', '') as real) desc limit 1
Question: provide the movie titles and the estimated inflation rate of the highest total grossed movie. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue ...
provide the movie titles and the estimated inflation rate of the highest total grossed movie.
disney
select movie_title, release_date from movies_total_gross where mpaa_rating = 'pg-13' and genre = 'romantic comedy'
Question: list the pg-13 romantic comedy movie titles and their release dates. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertain...
list the pg-13 romantic comedy movie titles and their release dates.
disney
select movie, character from `voice-actors` where 'voice-actor' = 'bill thompson'
Question: list the movie titles and character names by bill thompson. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1...
list the movie titles and character names by bill thompson.
disney
select t1.movie_title, t1.song from characters as t1 inner join director as t2 on t1.movie_title = t2.name where t2.director = 'ron clements'
Question: list the movie titles and associated songs directed by ron clements. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertain...
list the movie titles and associated songs directed by ron clements.
disney
select t1.movie_title, t2.hero, t2.song from movies_total_gross as t1 inner join characters as t2 on t1.movie_title = t2.movie_title inner join director as t3 on t1.movie_title = t3.name where t3.director = 'wolfgang reitherman' and substr(t1.release_date, length(t1.release_date) - 3, length(t1.release_date)) = '1977'
Question: provide the titles, main characters, and associated songs of the movies directed by wolfgang reitherman in 1977. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjus...
provide the titles, main characters, and associated songs of the movies directed by wolfgang reitherman in 1977.
disney
select t1.movie_title, t2.director from characters as t1 inner join director as t2 on t1.movie_title = t2.name where t1.hero = 'donald duck'
Question: which movies had the main character named donald duck and who directed them? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio E...
which movies had the main character named donald duck and who directed them?
disney
select t1.hero, t2.director, t1.release_date from characters as t1 inner join director as t2 on t1.movie_title = t2.name where t1.movie_title = 'mulan'
Question: describe the hero, director, and the release date of mulan. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1...
describe the hero, director, and the release date of mulan.
disney
select t1.movie_title, t1.total_gross, t1.mpaa_rating from movies_total_gross as t1 inner join characters as t2 on t1.movie_title = t2.movie_title inner join director as t3 on t3.name = t1.movie_title where t2.hero = 'elsa'
Question: provide the title, total gross, and mpaa rating of the movie which has a hero named elsa. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Y...
provide the title, total gross, and mpaa rating of the movie which has a hero named elsa.
disney
select t1.movie, t3.director, t2.release_date from `voice-actors` as t1 inner join characters as t2 on t1.movie = t2.movie_title inner join director as t3 on t3.name = t2.movie_title where t1.`voice-actor` = 'freddie jones'
Question: provide the title, director, and release date of the movie voice-acted by freddie jones. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Ye...
provide the title, director, and release date of the movie voice-acted by freddie jones.
disney
select t1.movie_title, t1.total_gross from movies_total_gross as t1 inner join `voice-actors` as t2 on t1.movie_title = t2.movie where t2.`voice-actor` = 'frank welker' and cast(replace(trim(t1.inflation_adjusted_gross, '$'), ',', '') as real) * 1.0 / cast(replace(trim(t1.total_gross, '$'), ',', '') as real) * 1.0 < 2
Question: among frank welker's voice-acted movies, list the movie titles and the total gross when the estimated inflation rate was less than 2. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_g...
among frank welker's voice-acted movies, list the movie titles and the total gross when the estimated inflation rate was less than 2.
disney
select t2.director from movies_total_gross as t1 inner join director as t2 on t1.movie_title = t2.name order by cast(replace(trim(t1.total_gross, '$'), ',', '') as real) desc limit 1
Question: who directed the most popular movie? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney Consumer Prod...
who directed the most popular movie?
disney
select t1.`voice-actor`, t2.villian from `voice-actors` as t1 inner join characters as t2 on t1.movie = t2.movie_title where t2.movie_title = 'cinderella'
Question: describe the voice actors and villains in cinderella. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Dis...
describe the voice actors and villains in cinderella.
disney
select t1.`voice-actor` from `voice-actors` as t1 inner join characters as t2 on t1.movie = t2.movie_title where t2.movie_title = 'lion king' and t1.character = 'lion king'
Question: who is the voice actor of the hero in lion king? | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertainment[NI 1], Disney C...
who is the voice actor of the hero in lion king?
disney
select t2.director, t1.mpaa_rating from movies_total_gross as t1 inner join director as t2 on t1.movie_title = t2.name where t1.genre = 'musical' and substr(t1.release_date, length(t1.release_date) - 3, length(t1.release_date)) = '1993'
Question: provide the directors and mpaa ratings of the musical movies released in 1993. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio...
provide the directors and mpaa ratings of the musical movies released in 1993.
disney
select cast(count(case when t1.genre = 'comedy' then t1.movie_title else null end) as real) * 100 / count(t1.movie_title), group_concat(t1.movie_title), group_concat(t2.director) from movies_total_gross as t1 inner join director as t2 on t1.movie_title = t2.name where substr(t1.release_date, length(t1.release_date) - 3...
Question: among the movies released from 1991 to 2000, calculate the percentage of comedy movies. provide any five movie titles and directors. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gr...
among the movies released from 1991 to 2000, calculate the percentage of comedy movies. provide any five movie titles and directors.
disney
select t2.name, t2.director from movies_total_gross as t1 inner join director as t2 on t1.movie_title = t2.name where substr(t1.release_date, length(t1.release_date) - 3, length(t1.release_date)) between '2001' and '2005' and cast(replace(trim(t1.total_gross, '$'), ',', '') as real) / ( select sum(cast(replace(trim(t3....
Question: among the movies released from 2001 to 2005, list down the titles and directors of the movies which had a total gross of more than 100% above the average. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre,...
among the movies released from 2001 to 2005, list down the titles and directors of the movies which had a total gross of more than 100% above the average.
disney
select `voice-actor` from `voice-actors` where movie = 'hercules' and character = 'calliope'
Question: name the voice actor of the character calliope in the movie hercules. | Tables: characters -> movie_title, release_date, hero, villian, song. director -> name, director. movies_total_gross -> movie_title, release_date, genre, MPAA_rating, total_gross, inflation_adjusted_gross. revenue -> Year, Studio Entertai...
name the voice actor of the character calliope in the movie hercules.