1sf/bird-sql-train-with-schema huggingface dataset:
Database: legislator
Tables: current, current-terms, historical, historical-terms, social-media
Columns (table index, column name): -1, *, 0, ballotpedia_id, 0, bioguide_id, 0, birthday_bio, 0, cspan_id, 0, fec_id, 0, first_name, 0, gender_bio, 0, google_entity_id_id, 0, govtrack_id, 0, house_history_id, 0, icpsr_id, 0, last_name, 0, lis_id, 0, maplight_id, 0, middle_name, 0, nickname_name, 0, official_full_name, 0, opensecrets_id, 0, religion_bio, 0, suffix_name, 0, thomas_id, 0, votesmart_id, 0, wikidata_id, 0, wikipedia_id, 1, address, 1, bioguide, 1, caucus, 1, chamber, 1, class, 1, contact_form, 1, district, 1, end, 1, fax, 1, last, 1, name, 1, office, 1, party, 1, party_affiliations, 1, phone, 1, relation, 1, rss_url, 1, start, 1, state, 1, state_rank, 1, title, 1, type, 1, url, 2, ballotpedia_id, 2, bioguide_id, 2, bioguide_previous_id, 2, birthday_bio, 2, cspan_id, 2, fec_id, 2, first_name, 2, gender_bio, 2, google_entity_id_id, 2, govtrack_id, 2, house_history_alternate_id, 2, house_history_id, 2, icpsr_id, 2, last_name, 2, lis_id, 2, maplight_id, 2, middle_name, 2, nickname_name, 2, official_full_name, 2, opensecrets_id, 2, religion_bio, 2, suffix_name, 2, thomas_id, 2, votesmart_id, 2, wikidata_id, 2, wikipedia_id, 3, address, 3, bioguide, 3, chamber, 3, class, 3, contact_form, 3, district, 3, end, 3, fax, 3, last, 3, middle, 3, name, 3, office, 3, party, 3, party_affiliations, 3, phone, 3, relation, 3, rss_url, 3, start, 3, state, 3, state_rank, 3, title, 3, type, 3, url, 4, bioguide, 4, facebook, 4, facebook_id, 4, govtrack, 4, instagram, 4, instagram_id, 4, thomas, 4, twitter, 4, twitter_id, 4, youtube, 4, youtube_id
Question: Provide the current legislators' official full names who are from the Independent party.
Evidence: Independent party refers to party = 'Independent'
SQL: SELECT T1.official_full_name FROM current AS T1 INNER JOIN `current-terms` AS T2 ON T1.bioguide_id = T2.bioguide WHERE T2.party = 'Independent' GROUP BY T1.official_full_name
Database: legislator
Tables: current, current-terms, historical, historical-terms, social-media
Columns (table index, column name): -1, *, 0, ballotpedia_id, 0, bioguide_id, 0, birthday_bio, 0, cspan_id, 0, fec_id, 0, first_name, 0, gender_bio, 0, google_entity_id_id, 0, govtrack_id, 0, house_history_id, 0, icpsr_id, 0, last_name, 0, lis_id, 0, maplight_id, 0, middle_name, 0, nickname_name, 0, official_full_name, 0, opensecrets_id, 0, religion_bio, 0, suffix_name, 0, thomas_id, 0, votesmart_id, 0, wikidata_id, 0, wikipedia_id, 1, address, 1, bioguide, 1, caucus, 1, chamber, 1, class, 1, contact_form, 1, district, 1, end, 1, fax, 1, last, 1, name, 1, office, 1, party, 1, party_affiliations, 1, phone, 1, relation, 1, rss_url, 1, start, 1, state, 1, state_rank, 1, title, 1, type, 1, url, 2, ballotpedia_id, 2, bioguide_id, 2, bioguide_previous_id, 2, birthday_bio, 2, cspan_id, 2, fec_id, 2, first_name, 2, gender_bio, 2, google_entity_id_id, 2, govtrack_id, 2, house_history_alternate_id, 2, house_history_id, 2, icpsr_id, 2, last_name, 2, lis_id, 2, maplight_id, 2, middle_name, 2, nickname_name, 2, official_full_name, 2, opensecrets_id, 2, religion_bio, 2, suffix_name, 2, thomas_id, 2, votesmart_id, 2, wikidata_id, 2, wikipedia_id, 3, address, 3, bioguide, 3, chamber, 3, class, 3, contact_form, 3, district, 3, end, 3, fax, 3, last, 3, middle, 3, name, 3, office, 3, party, 3, party_affiliations, 3, phone, 3, relation, 3, rss_url, 3, start, 3, state, 3, state_rank, 3, title, 3, type, 3, url, 4, bioguide, 4, facebook, 4, facebook_id, 4, govtrack, 4, instagram, 4, instagram_id, 4, thomas, 4, twitter, 4, twitter_id, 4, youtube, 4, youtube_id
Question: How many years had Jr. John Conyers served in total?
Evidence: Jr. John Conyers is an official_full_name; years served refers to SUM(SUBTRACT(END, start))
SQL: SELECT SUM(CAST(T2.END - T2.start AS DATE)) AS sum FROM current AS T1 INNER JOIN `current-terms` AS T2 ON T1.bioguide_id = T2.bioguide WHERE T1.official_full_name = 'John Conyers, Jr.'
Database: legislator
Tables: current, current-terms, historical, historical-terms, social-media
Columns (table index, column name): -1, *, 0, ballotpedia_id, 0, bioguide_id, 0, birthday_bio, 0, cspan_id, 0, fec_id, 0, first_name, 0, gender_bio, 0, google_entity_id_id, 0, govtrack_id, 0, house_history_id, 0, icpsr_id, 0, last_name, 0, lis_id, 0, maplight_id, 0, middle_name, 0, nickname_name, 0, official_full_name, 0, opensecrets_id, 0, religion_bio, 0, suffix_name, 0, thomas_id, 0, votesmart_id, 0, wikidata_id, 0, wikipedia_id, 1, address, 1, bioguide, 1, caucus, 1, chamber, 1, class, 1, contact_form, 1, district, 1, end, 1, fax, 1, last, 1, name, 1, office, 1, party, 1, party_affiliations, 1, phone, 1, relation, 1, rss_url, 1, start, 1, state, 1, state_rank, 1, title, 1, type, 1, url, 2, ballotpedia_id, 2, bioguide_id, 2, bioguide_previous_id, 2, birthday_bio, 2, cspan_id, 2, fec_id, 2, first_name, 2, gender_bio, 2, google_entity_id_id, 2, govtrack_id, 2, house_history_alternate_id, 2, house_history_id, 2, icpsr_id, 2, last_name, 2, lis_id, 2, maplight_id, 2, middle_name, 2, nickname_name, 2, official_full_name, 2, opensecrets_id, 2, religion_bio, 2, suffix_name, 2, thomas_id, 2, votesmart_id, 2, wikidata_id, 2, wikipedia_id, 3, address, 3, bioguide, 3, chamber, 3, class, 3, contact_form, 3, district, 3, end, 3, fax, 3, last, 3, middle, 3, name, 3, office, 3, party, 3, party_affiliations, 3, phone, 3, relation, 3, rss_url, 3, start, 3, state, 3, state_rank, 3, title, 3, type, 3, url, 4, bioguide, 4, facebook, 4, facebook_id, 4, govtrack, 4, instagram, 4, instagram_id, 4, thomas, 4, twitter, 4, twitter_id, 4, youtube, 4, youtube_id
Question: How old was Jr. F. James Sensenbrenner when he first started as a legislator?
Evidence: Jr. F. James Sensenbrenner is an official_full_name; How old refers to SUBTRACT(MIN(start), birthday_bio)
SQL: SELECT CAST(MIN(T2.start) - T1.birthday_bio AS DATE) AS AGE FROM current AS T1 INNER JOIN `current-terms` AS T2 ON T1.bioguide_id = T2.bioguide WHERE T1.official_full_name = 'F. James Sensenbrenner, Jr.'
Database: legislator
Tables: current, current-terms, historical, historical-terms, social-media
Columns (table index, column name): -1, *, 0, ballotpedia_id, 0, bioguide_id, 0, birthday_bio, 0, cspan_id, 0, fec_id, 0, first_name, 0, gender_bio, 0, google_entity_id_id, 0, govtrack_id, 0, house_history_id, 0, icpsr_id, 0, last_name, 0, lis_id, 0, maplight_id, 0, middle_name, 0, nickname_name, 0, official_full_name, 0, opensecrets_id, 0, religion_bio, 0, suffix_name, 0, thomas_id, 0, votesmart_id, 0, wikidata_id, 0, wikipedia_id, 1, address, 1, bioguide, 1, caucus, 1, chamber, 1, class, 1, contact_form, 1, district, 1, end, 1, fax, 1, last, 1, name, 1, office, 1, party, 1, party_affiliations, 1, phone, 1, relation, 1, rss_url, 1, start, 1, state, 1, state_rank, 1, title, 1, type, 1, url, 2, ballotpedia_id, 2, bioguide_id, 2, bioguide_previous_id, 2, birthday_bio, 2, cspan_id, 2, fec_id, 2, first_name, 2, gender_bio, 2, google_entity_id_id, 2, govtrack_id, 2, house_history_alternate_id, 2, house_history_id, 2, icpsr_id, 2, last_name, 2, lis_id, 2, maplight_id, 2, middle_name, 2, nickname_name, 2, official_full_name, 2, opensecrets_id, 2, religion_bio, 2, suffix_name, 2, thomas_id, 2, votesmart_id, 2, wikidata_id, 2, wikipedia_id, 3, address, 3, bioguide, 3, chamber, 3, class, 3, contact_form, 3, district, 3, end, 3, fax, 3, last, 3, middle, 3, name, 3, office, 3, party, 3, party_affiliations, 3, phone, 3, relation, 3, rss_url, 3, start, 3, state, 3, state_rank, 3, title, 3, type, 3, url, 4, bioguide, 4, facebook, 4, facebook_id, 4, govtrack, 4, instagram, 4, instagram_id, 4, thomas, 4, twitter, 4, twitter_id, 4, youtube, 4, youtube_id
Question: List the full names, religions, and parties of legislators who have served in Maine.
Evidence: full names refers to official_full_name; religion refers to religion_bio; Maine refers to state = "ME"
SQL: SELECT T1.official_full_name, T2.relation, T2.party FROM current AS T1 INNER JOIN `current-terms` AS T2 ON T1.bioguide_id = T2.bioguide WHERE T2.state = 'ME' GROUP BY T1.official_full_name, T2.relation, T2.party
Database: legislator
Tables: current, current-terms, historical, historical-terms, social-media
Columns (table index, column name): -1, *, 0, ballotpedia_id, 0, bioguide_id, 0, birthday_bio, 0, cspan_id, 0, fec_id, 0, first_name, 0, gender_bio, 0, google_entity_id_id, 0, govtrack_id, 0, house_history_id, 0, icpsr_id, 0, last_name, 0, lis_id, 0, maplight_id, 0, middle_name, 0, nickname_name, 0, official_full_name, 0, opensecrets_id, 0, religion_bio, 0, suffix_name, 0, thomas_id, 0, votesmart_id, 0, wikidata_id, 0, wikipedia_id, 1, address, 1, bioguide, 1, caucus, 1, chamber, 1, class, 1, contact_form, 1, district, 1, end, 1, fax, 1, last, 1, name, 1, office, 1, party, 1, party_affiliations, 1, phone, 1, relation, 1, rss_url, 1, start, 1, state, 1, state_rank, 1, title, 1, type, 1, url, 2, ballotpedia_id, 2, bioguide_id, 2, bioguide_previous_id, 2, birthday_bio, 2, cspan_id, 2, fec_id, 2, first_name, 2, gender_bio, 2, google_entity_id_id, 2, govtrack_id, 2, house_history_alternate_id, 2, house_history_id, 2, icpsr_id, 2, last_name, 2, lis_id, 2, maplight_id, 2, middle_name, 2, nickname_name, 2, official_full_name, 2, opensecrets_id, 2, religion_bio, 2, suffix_name, 2, thomas_id, 2, votesmart_id, 2, wikidata_id, 2, wikipedia_id, 3, address, 3, bioguide, 3, chamber, 3, class, 3, contact_form, 3, district, 3, end, 3, fax, 3, last, 3, middle, 3, name, 3, office, 3, party, 3, party_affiliations, 3, phone, 3, relation, 3, rss_url, 3, start, 3, state, 3, state_rank, 3, title, 3, type, 3, url, 4, bioguide, 4, facebook, 4, facebook_id, 4, govtrack, 4, instagram, 4, instagram_id, 4, thomas, 4, twitter, 4, twitter_id, 4, youtube, 4, youtube_id
Question: Among legislators who have an Instagram account, list down their full names and nicknames who have a Thomas ID of less than 1000.
Evidence: have an Instagram account refers to instagram is not null; full names refers to official_full_name; nicknames refers to nickname_name; Thomas ID of less than 1000 refers to thomas_id < 1000;
SQL: SELECT T1.official_full_name, T1.nickname_name FROM current AS T1 INNER JOIN `social-media` AS T2 ON T2.bioguide = T1.bioguide_id WHERE T2.instagram IS NOT NULL AND T1.thomas_id < 1000
Database: legislator
Tables: current, current-terms, historical, historical-terms, social-media
Columns (table index, column name): -1, *, 0, ballotpedia_id, 0, bioguide_id, 0, birthday_bio, 0, cspan_id, 0, fec_id, 0, first_name, 0, gender_bio, 0, google_entity_id_id, 0, govtrack_id, 0, house_history_id, 0, icpsr_id, 0, last_name, 0, lis_id, 0, maplight_id, 0, middle_name, 0, nickname_name, 0, official_full_name, 0, opensecrets_id, 0, religion_bio, 0, suffix_name, 0, thomas_id, 0, votesmart_id, 0, wikidata_id, 0, wikipedia_id, 1, address, 1, bioguide, 1, caucus, 1, chamber, 1, class, 1, contact_form, 1, district, 1, end, 1, fax, 1, last, 1, name, 1, office, 1, party, 1, party_affiliations, 1, phone, 1, relation, 1, rss_url, 1, start, 1, state, 1, state_rank, 1, title, 1, type, 1, url, 2, ballotpedia_id, 2, bioguide_id, 2, bioguide_previous_id, 2, birthday_bio, 2, cspan_id, 2, fec_id, 2, first_name, 2, gender_bio, 2, google_entity_id_id, 2, govtrack_id, 2, house_history_alternate_id, 2, house_history_id, 2, icpsr_id, 2, last_name, 2, lis_id, 2, maplight_id, 2, middle_name, 2, nickname_name, 2, official_full_name, 2, opensecrets_id, 2, religion_bio, 2, suffix_name, 2, thomas_id, 2, votesmart_id, 2, wikidata_id, 2, wikipedia_id, 3, address, 3, bioguide, 3, chamber, 3, class, 3, contact_form, 3, district, 3, end, 3, fax, 3, last, 3, middle, 3, name, 3, office, 3, party, 3, party_affiliations, 3, phone, 3, relation, 3, rss_url, 3, start, 3, state, 3, state_rank, 3, title, 3, type, 3, url, 4, bioguide, 4, facebook, 4, facebook_id, 4, govtrack, 4, instagram, 4, instagram_id, 4, thomas, 4, twitter, 4, twitter_id, 4, youtube, 4, youtube_id
Question: When was the last serving date of Matt Salmon?
Evidence: Matt Salmon is an official_full_name
SQL: SELECT T1.END FROM `historical-terms` AS T1 INNER JOIN historical AS T2 ON T2.bioguide_id = T1.bioguide WHERE T2.official_full_name = 'Matt Salmon'
Database: legislator
Tables: current, current-terms, historical, historical-terms, social-media
Columns (table index, column name): -1, *, 0, ballotpedia_id, 0, bioguide_id, 0, birthday_bio, 0, cspan_id, 0, fec_id, 0, first_name, 0, gender_bio, 0, google_entity_id_id, 0, govtrack_id, 0, house_history_id, 0, icpsr_id, 0, last_name, 0, lis_id, 0, maplight_id, 0, middle_name, 0, nickname_name, 0, official_full_name, 0, opensecrets_id, 0, religion_bio, 0, suffix_name, 0, thomas_id, 0, votesmart_id, 0, wikidata_id, 0, wikipedia_id, 1, address, 1, bioguide, 1, caucus, 1, chamber, 1, class, 1, contact_form, 1, district, 1, end, 1, fax, 1, last, 1, name, 1, office, 1, party, 1, party_affiliations, 1, phone, 1, relation, 1, rss_url, 1, start, 1, state, 1, state_rank, 1, title, 1, type, 1, url, 2, ballotpedia_id, 2, bioguide_id, 2, bioguide_previous_id, 2, birthday_bio, 2, cspan_id, 2, fec_id, 2, first_name, 2, gender_bio, 2, google_entity_id_id, 2, govtrack_id, 2, house_history_alternate_id, 2, house_history_id, 2, icpsr_id, 2, last_name, 2, lis_id, 2, maplight_id, 2, middle_name, 2, nickname_name, 2, official_full_name, 2, opensecrets_id, 2, religion_bio, 2, suffix_name, 2, thomas_id, 2, votesmart_id, 2, wikidata_id, 2, wikipedia_id, 3, address, 3, bioguide, 3, chamber, 3, class, 3, contact_form, 3, district, 3, end, 3, fax, 3, last, 3, middle, 3, name, 3, office, 3, party, 3, party_affiliations, 3, phone, 3, relation, 3, rss_url, 3, start, 3, state, 3, state_rank, 3, title, 3, type, 3, url, 4, bioguide, 4, facebook, 4, facebook_id, 4, govtrack, 4, instagram, 4, instagram_id, 4, thomas, 4, twitter, 4, twitter_id, 4, youtube, 4, youtube_id
Question: Among the legislators who have served in the U.S. House, provide the party and the state of the legislators who were born in 1738.
Evidence: have served in the U.S. House refers to house_history_id IS NOT NULL; born in 1738 refers to birthday_bio = 1738
SQL: SELECT T1.party, T1.state FROM `historical-terms` AS T1 INNER JOIN historical AS T2 ON T2.bioguide_id = T1.bioguide WHERE T2.house_history_id IS NOT NULL AND T2.birthday_bio LIKE '%1738%'
Database: disney
Tables: characters, director, movies_total_gross, revenue, voice-actors
Columns (table index, column name): -1, *, 0, movie_title, 0, release_date, 0, hero, 0, villian, 0, song, 1, name, 1, director, 2, movie_title, 2, release_date, 2, genre, 2, MPAA_rating, 2, total_gross, 2, inflation_adjusted_gross, 3, Year, 3, Studio Entertainment[NI 1], 3, Disney Consumer Products[NI 2], 3, Disney Interactive[NI 3][Rev 1], 3, Walt Disney Parks and Resorts, 3, Disney Media Networks, 3, Total, 4, character, 4, voice-actor, 4, movie
Question: How many voice actors for the movie Aladdin?
Evidence: Aladdin is the name of the movie which refers to movie = 'Aladdin';
SQL: SELECT COUNT('voice-actor') FROM `voice-actors` WHERE movie = 'Aladdin'
Database: disney
Tables: characters, director, movies_total_gross, revenue, voice-actors
Columns (table index, column name): -1, *, 0, movie_title, 0, release_date, 0, hero, 0, villian, 0, song, 1, name, 1, director, 2, movie_title, 2, release_date, 2, genre, 2, MPAA_rating, 2, total_gross, 2, inflation_adjusted_gross, 3, Year, 3, Studio Entertainment[NI 1], 3, Disney Consumer Products[NI 2], 3, Disney Interactive[NI 3][Rev 1], 3, Walt Disney Parks and Resorts, 3, Disney Media Networks, 3, Total, 4, character, 4, voice-actor, 4, movie
Question: List the movie titles with the voice actor Jeff Bennet
Evidence: Jeff Bennett refers to voice-actor = 'Jeff Bennett';
SQL: SELECT movie FROM `voice-actors` WHERE 'voice-actor' = 'Jeff Bennett'
Database: disney
Tables: characters, director, movies_total_gross, revenue, voice-actors
Columns (table index, column name): -1, *, 0, movie_title, 0, release_date, 0, hero, 0, villian, 0, song, 1, name, 1, director, 2, movie_title, 2, release_date, 2, genre, 2, MPAA_rating, 2, total_gross, 2, inflation_adjusted_gross, 3, Year, 3, Studio Entertainment[NI 1], 3, Disney Consumer Products[NI 2], 3, Disney Interactive[NI 3][Rev 1], 3, Walt Disney Parks and Resorts, 3, Disney Media Networks, 3, Total, 4, character, 4, voice-actor, 4, movie
Question: Provide the director's name of Wreck-It Ralph movie.
Evidence: Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';
SQL: SELECT director FROM director WHERE name = 'Wreck-It Ralph'
Database: disney
Tables: characters, director, movies_total_gross, revenue, voice-actors
Columns (table index, column name): -1, *, 0, movie_title, 0, release_date, 0, hero, 0, villian, 0, song, 1, name, 1, director, 2, movie_title, 2, release_date, 2, genre, 2, MPAA_rating, 2, total_gross, 2, inflation_adjusted_gross, 3, Year, 3, Studio Entertainment[NI 1], 3, Disney Consumer Products[NI 2], 3, Disney Interactive[NI 3][Rev 1], 3, Walt Disney Parks and Resorts, 3, Disney Media Networks, 3, Total, 4, character, 4, voice-actor, 4, movie
Question: What movies did director Jack Kinney direct?
Evidence: FALSE;
SQL: SELECT name FROM director WHERE director = 'Jack Kinney'
Database: disney
Tables: characters, director, movies_total_gross, revenue, voice-actors
Columns (table index, column name): -1, *, 0, movie_title, 0, release_date, 0, hero, 0, villian, 0, song, 1, name, 1, director, 2, movie_title, 2, release_date, 2, genre, 2, MPAA_rating, 2, total_gross, 2, inflation_adjusted_gross, 3, Year, 3, Studio Entertainment[NI 1], 3, Disney Consumer Products[NI 2], 3, Disney Interactive[NI 3][Rev 1], 3, Walt Disney Parks and Resorts, 3, Disney Media Networks, 3, Total, 4, character, 4, voice-actor, 4, movie
Question: How many movies were released between 1937 and 1950?
Evidence: released between 1937 and 1950 refers to substr(release_date, length(release_date) - 1,length(release_date)) between '37' and '50';
SQL: SELECT COUNT(movie_title) FROM characters WHERE SUBSTR(release_date, LENGTH(release_date) - 1, LENGTH(release_date)) BETWEEN '37' AND '50'
Database: disney
Tables: characters, director, movies_total_gross, revenue, voice-actors
Columns (table index, column name): -1, *, 0, movie_title, 0, release_date, 0, hero, 0, villian, 0, song, 1, name, 1, director, 2, movie_title, 2, release_date, 2, genre, 2, MPAA_rating, 2, total_gross, 2, inflation_adjusted_gross, 3, Year, 3, Studio Entertainment[NI 1], 3, Disney Consumer Products[NI 2], 3, Disney Interactive[NI 3][Rev 1], 3, Walt Disney Parks and Resorts, 3, Disney Media Networks, 3, Total, 4, character, 4, voice-actor, 4, movie
Question: Provide the name of the song from the movie directed by Ben Sharpsteen.
Evidence: Ben Sharpsteen refers to director = 'Ben Sharpsteen';
SQL: SELECT T1.song FROM characters AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name WHERE T2.director = 'Ben Sharpsteen'
Database: disney
Tables: characters, director, movies_total_gross, revenue, voice-actors
Columns (table index, column name): -1, *, 0, movie_title, 0, release_date, 0, hero, 0, villian, 0, song, 1, name, 1, director, 2, movie_title, 2, release_date, 2, genre, 2, MPAA_rating, 2, total_gross, 2, inflation_adjusted_gross, 3, Year, 3, Studio Entertainment[NI 1], 3, Disney Consumer Products[NI 2], 3, Disney Interactive[NI 3][Rev 1], 3, Walt Disney Parks and Resorts, 3, Disney Media Networks, 3, Total, 4, character, 4, voice-actor, 4, movie
Question: Indicate the release date of the film The Lion King directed by Roger Allers.
Evidence: The Lion King refers to movie_title = 'The Lion King'; Roger Allers refers to director = 'Roger Allers';
SQL: SELECT T1.release_date FROM characters AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name WHERE T2.director = 'Roger Allers' AND T1.movie_title = 'The Lion King'
Database: disney
Tables: characters, director, movies_total_gross, revenue, voice-actors
Columns (table index, column name): -1, *, 0, movie_title, 0, release_date, 0, hero, 0, villian, 0, song, 1, name, 1, director, 2, movie_title, 2, release_date, 2, genre, 2, MPAA_rating, 2, total_gross, 2, inflation_adjusted_gross, 3, Year, 3, Studio Entertainment[NI 1], 3, Disney Consumer Products[NI 2], 3, Disney Interactive[NI 3][Rev 1], 3, Walt Disney Parks and Resorts, 3, Disney Media Networks, 3, Total, 4, character, 4, voice-actor, 4, movie
Question: Name the villain of the movie with Scott Weinger and Brad Kane as voice actors.
Evidence: FALSE;
SQL: SELECT T1.villian FROM characters AS T1 INNER JOIN `voice-actors` AS T2 ON T1.movie_title = T2.movie WHERE T2.`voice-actor` = 'Scott Weinger Brad Kane'
Database: disney
Tables: characters, director, movies_total_gross, revenue, voice-actors
Columns (table index, column name): -1, *, 0, movie_title, 0, release_date, 0, hero, 0, villian, 0, song, 1, name, 1, director, 2, movie_title, 2, release_date, 2, genre, 2, MPAA_rating, 2, total_gross, 2, inflation_adjusted_gross, 3, Year, 3, Studio Entertainment[NI 1], 3, Disney Consumer Products[NI 2], 3, Disney Interactive[NI 3][Rev 1], 3, Walt Disney Parks and Resorts, 3, Disney Media Networks, 3, Total, 4, character, 4, voice-actor, 4, movie
Question: Which movies of director Wolfgang Reitherman do not have villain?
Evidence: which movies do not have villain refer to movie_title where villian is null;
SQL: SELECT T1.movie_title FROM characters AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name WHERE T2.director = 'Wolfgang Reitherman' AND T1.villian IS NULL
Database: disney
Tables: characters, director, movies_total_gross, revenue, voice-actors
Columns (table index, column name): -1, *, 0, movie_title, 0, release_date, 0, hero, 0, villian, 0, song, 1, name, 1, director, 2, movie_title, 2, release_date, 2, genre, 2, MPAA_rating, 2, total_gross, 2, inflation_adjusted_gross, 3, Year, 3, Studio Entertainment[NI 1], 3, Disney Consumer Products[NI 2], 3, Disney Interactive[NI 3][Rev 1], 3, Walt Disney Parks and Resorts, 3, Disney Media Networks, 3, Total, 4, character, 4, voice-actor, 4, movie
Question: List the titles of movies directed by Jack Kinney that were released before 1947.
Evidence: Jack Kinney refers to director = 'Jack Kinney'; released before 1947 refers to substr(release_date, length(release_date) - 1, length(release_date)) < '47';
SQL: SELECT T1.movie_title FROM characters AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name WHERE T2.director = 'Jack Kinney' AND SUBSTR(T1.release_date, LENGTH(T1.release_date) - 1, LENGTH(T1.release_date)) < '47'
Database: disney
Tables: characters, director, movies_total_gross, revenue, voice-actors
Columns (table index, column name): -1, *, 0, movie_title, 0, release_date, 0, hero, 0, villian, 0, song, 1, name, 1, director, 2, movie_title, 2, release_date, 2, genre, 2, MPAA_rating, 2, total_gross, 2, inflation_adjusted_gross, 3, Year, 3, Studio Entertainment[NI 1], 3, Disney Consumer Products[NI 2], 3, Disney Interactive[NI 3][Rev 1], 3, Walt Disney Parks and Resorts, 3, Disney Media Networks, 3, Total, 4, character, 4, voice-actor, 4, movie
Question: List the names of the directors whose films grossed over $100 million.
Evidence: films grossed over $100 million refer to movie_title where total_gross > 100000000;
SQL: SELECT DISTINCT T2.director FROM characters AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name INNER JOIN movies_total_gross AS T3 ON T1.movie_title = T3.movie_title WHERE CAST(REPLACE(trim(T3.total_gross, '$'), ',', '') AS REAL) > 100000000