QIAN-ME/bird_schema_data huggingface dataset:
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 disney
【Schema】
# Table: revenue
[
(Year:INTEGER, Primary Key, Examples: [1991, 1992, 1993]),
(Studio Entertainment[NI 1]:REAL, Examples: [2593.0, 3115.0, 3673.4]),
(Disney Consumer Products[NI 2]:REAL, Examples: [724.0, 1081.0, 1415.1]),
(Disney Interactive[NI 3][Rev 1]:INTEGER, Examples: [174, 260, 206]),
(Walt Disney Parks and Resorts:REAL, Examples: [2794.0, 3306.0, 3440.7]),
(Disney Media Networks:TEXT, Examples: [359, 414, 4,142]),
(Total:INTEGER, Examples: [6111, 7502, 8529])
]
# Table: movies_total_gross
[
(movie_title:TEXT, Primary Key, Examples: [101 Dalmatians]),
(release_date:TEXT, Primary Key, Examples: [Jan 25, 1961, Nov 27, 1996, Nov 22, 2000]),
(genre:TEXT, Examples: [Musical, Adventure, Drama]),
(MPAA_rating:TEXT, Examples: [G, Not Rated, PG]),
(total_gross:TEXT, Examples: [$184,925,485, $84,300,000, $83,320,000]),
(inflation_adjusted_gross:TEXT, Examples: [$5,228,953,251, $2,188,229,052, $2,187,090,808])
]
# Table: characters
[
(movie_title:TEXT, Primary Key, Examples: [Aladdin]),
(release_date:TEXT, Examples: [21-Dec-37, 7-Feb-40, 13-Nov-40]),
(hero:TEXT, Examples: [Snow White, Pinocchio, Dumbo]),
(villian:TEXT, Examples: [Evil Queen, Stromboli, Chernabog]),
(song:TEXT, Examples: [Some Day My Prince Will Come])
]
# Table: director
[
(name:TEXT, Primary Key, Examples: [101 Dalmatians, Aladdin, Alice in Wonderland]),
(director:TEXT, Examples: [David Hand, Ben Sharpsteen, full credits])
]
# Table: voice-actors
[
(character:TEXT, Primary Key, Examples: [Abby Mallard, Abigail Gabble, Abis Mal]),
(voice-actor:TEXT, Examples: [Joan Cusack, Monica Evans, Jason Alexander]),
(movie:TEXT, Examples: [Chicken Little, The Aristocats, The Return of Jafar])
]
【Foreign keys】
movies_total_gross.movie_title=characters.movie_title
characters.hero=voice-actors.character
director.name=characters.movie_title
voice-actors.movie=characters.movie_title

    【Question】
    Please list the villains of all the movies directed by Wolfgang Reitherman. Wolfgang Reitherman refers to director = 'Wolfgang Reitherman';

    【Evidence】
    Wolfgang Reitherman refers to director = 'Wolfgang Reitherman';

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: 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
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 disney
【Schema】
# Table: revenue
[
(Year:INTEGER, Primary Key, Examples: [1991, 1992, 1993]),
(Studio Entertainment[NI 1]:REAL, Examples: [2593.0, 3115.0, 3673.4]),
(Disney Consumer Products[NI 2]:REAL, Examples: [724.0, 1081.0, 1415.1]),
(Disney Interactive[NI 3][Rev 1]:INTEGER, Examples: [174, 260, 206]),
(Walt Disney Parks and Resorts:REAL, Examples: [2794.0, 3306.0, 3440.7]),
(Disney Media Networks:TEXT, Examples: [359, 414, 4,142]),
(Total:INTEGER, Examples: [6111, 7502, 8529])
]
# Table: movies_total_gross
[
(movie_title:TEXT, Primary Key, Examples: [101 Dalmatians]),
(release_date:TEXT, Primary Key, Examples: [Jan 25, 1961, Nov 27, 1996, Nov 22, 2000]),
(genre:TEXT, Examples: [Musical, Adventure, Drama]),
(MPAA_rating:TEXT, Examples: [G, Not Rated, PG]),
(total_gross:TEXT, Examples: [$184,925,485, $84,300,000, $83,320,000]),
(inflation_adjusted_gross:TEXT, Examples: [$5,228,953,251, $2,188,229,052, $2,187,090,808])
]
# Table: characters
[
(movie_title:TEXT, Primary Key, Examples: [Aladdin]),
(release_date:TEXT, Examples: [21-Dec-37, 7-Feb-40, 13-Nov-40]),
(hero:TEXT, Examples: [Snow White, Pinocchio, Dumbo]),
(villian:TEXT, Examples: [Evil Queen, Stromboli, Chernabog]),
(song:TEXT, Examples: [Some Day My Prince Will Come])
]
# Table: director
[
(name:TEXT, Primary Key, Examples: [101 Dalmatians, Aladdin, Alice in Wonderland]),
(director:TEXT, Examples: [David Hand, Ben Sharpsteen, full credits])
]
# Table: voice-actors
[
(character:TEXT, Primary Key, Examples: [Abby Mallard, Abigail Gabble, Abis Mal]),
(voice-actor:TEXT, Examples: [Joan Cusack, Monica Evans, Jason Alexander]),
(movie:TEXT, Examples: [Chicken Little, The Aristocats, The Return of Jafar])
]
【Foreign keys】
movies_total_gross.movie_title=characters.movie_title
characters.hero=voice-actors.character
director.name=characters.movie_title
voice-actors.movie=characters.movie_title

    【Question】
    Among the movies directed by Wolfgang Reitherman, how many of them were released in December? Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; released in December refers to (release_date, instr(release_date, '-') + 1, 3) = 'Dec';

    【Evidence】
    Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; released in December refers to (release_date, instr(release_date, '-') + 1, 3) = 'Dec';

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: 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'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 disney
【Schema】
# Table: revenue
[
(Year:INTEGER, Primary Key, Examples: [1991, 1992, 1993]),
(Studio Entertainment[NI 1]:REAL, Examples: [2593.0, 3115.0, 3673.4]),
(Disney Consumer Products[NI 2]:REAL, Examples: [724.0, 1081.0, 1415.1]),
(Disney Interactive[NI 3][Rev 1]:INTEGER, Examples: [174, 260, 206]),
(Walt Disney Parks and Resorts:REAL, Examples: [2794.0, 3306.0, 3440.7]),
(Disney Media Networks:TEXT, Examples: [359, 414, 4,142]),
(Total:INTEGER, Examples: [6111, 7502, 8529])
]
# Table: movies_total_gross
[
(movie_title:TEXT, Primary Key, Examples: [101 Dalmatians]),
(release_date:TEXT, Primary Key, Examples: [Jan 25, 1961, Nov 27, 1996, Nov 22, 2000]),
(genre:TEXT, Examples: [Musical, Adventure, Drama]),
(MPAA_rating:TEXT, Examples: [G, Not Rated, PG]),
(total_gross:TEXT, Examples: [$184,925,485, $84,300,000, $83,320,000]),
(inflation_adjusted_gross:TEXT, Examples: [$5,228,953,251, $2,188,229,052, $2,187,090,808])
]
# Table: characters
[
(movie_title:TEXT, Primary Key, Examples: [Aladdin]),
(release_date:TEXT, Examples: [21-Dec-37, 7-Feb-40, 13-Nov-40]),
(hero:TEXT, Examples: [Snow White, Pinocchio, Dumbo]),
(villian:TEXT, Examples: [Evil Queen, Stromboli, Chernabog]),
(song:TEXT, Examples: [Some Day My Prince Will Come])
]
# Table: director
[
(name:TEXT, Primary Key, Examples: [101 Dalmatians, Aladdin, Alice in Wonderland]),
(director:TEXT, Examples: [David Hand, Ben Sharpsteen, full credits])
]
# Table: voice-actors
[
(character:TEXT, Primary Key, Examples: [Abby Mallard, Abigail Gabble, Abis Mal]),
(voice-actor:TEXT, Examples: [Joan Cusack, Monica Evans, Jason Alexander]),
(movie:TEXT, Examples: [Chicken Little, The Aristocats, The Return of Jafar])
]
【Foreign keys】
movies_total_gross.movie_title=characters.movie_title
characters.hero=voice-actors.character
director.name=characters.movie_title
voice-actors.movie=characters.movie_title

    【Question】
    The song "Once Upon a Dream" is associated with the movie directed by whom? directed by whom refers to director; movie refers to movie_title;

    【Evidence】
    directed by whom refers to director; movie refers to movie_title;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: 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'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 disney
【Schema】
# Table: revenue
[
(Year:INTEGER, Primary Key, Examples: [1991, 1992, 1993]),
(Studio Entertainment[NI 1]:REAL, Examples: [2593.0, 3115.0, 3673.4]),
(Disney Consumer Products[NI 2]:REAL, Examples: [724.0, 1081.0, 1415.1]),
(Disney Interactive[NI 3][Rev 1]:INTEGER, Examples: [174, 260, 206]),
(Walt Disney Parks and Resorts:REAL, Examples: [2794.0, 3306.0, 3440.7]),
(Disney Media Networks:TEXT, Examples: [359, 414, 4,142]),
(Total:INTEGER, Examples: [6111, 7502, 8529])
]
# Table: movies_total_gross
[
(movie_title:TEXT, Primary Key, Examples: [101 Dalmatians]),
(release_date:TEXT, Primary Key, Examples: [Jan 25, 1961, Nov 27, 1996, Nov 22, 2000]),
(genre:TEXT, Examples: [Musical, Adventure, Drama]),
(MPAA_rating:TEXT, Examples: [G, Not Rated, PG]),
(total_gross:TEXT, Examples: [$184,925,485, $84,300,000, $83,320,000]),
(inflation_adjusted_gross:TEXT, Examples: [$5,228,953,251, $2,188,229,052, $2,187,090,808])
]
# Table: characters
[
(movie_title:TEXT, Primary Key, Examples: [Aladdin]),
(release_date:TEXT, Examples: [21-Dec-37, 7-Feb-40, 13-Nov-40]),
(hero:TEXT, Examples: [Snow White, Pinocchio, Dumbo]),
(villian:TEXT, Examples: [Evil Queen, Stromboli, Chernabog]),
(song:TEXT, Examples: [Some Day My Prince Will Come])
]
# Table: director
[
(name:TEXT, Primary Key, Examples: [101 Dalmatians, Aladdin, Alice in Wonderland]),
(director:TEXT, Examples: [David Hand, Ben Sharpsteen, full credits])
]
# Table: voice-actors
[
(character:TEXT, Primary Key, Examples: [Abby Mallard, Abigail Gabble, Abis Mal]),
(voice-actor:TEXT, Examples: [Joan Cusack, Monica Evans, Jason Alexander]),
(movie:TEXT, Examples: [Chicken Little, The Aristocats, The Return of Jafar])
]
【Foreign keys】
movies_total_gross.movie_title=characters.movie_title
characters.hero=voice-actors.character
director.name=characters.movie_title
voice-actors.movie=characters.movie_title

    【Question】
    Who is the voice actor for the villain of the movie "Alice in Wonderland"? Alice in Wonderland refers to movie_title = 'Alice in Wonderland'; villain refers to character like '%'||T1.villian||'%';

    【Evidence】
    Alice in Wonderland refers to movie_title = 'Alice in Wonderland'; villain refers to character like '%'||T1.villian||'%';

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: 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'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 disney
【Schema】
# Table: revenue
[
(Year:INTEGER, Primary Key, Examples: [1991, 1992, 1993]),
(Studio Entertainment[NI 1]:REAL, Examples: [2593.0, 3115.0, 3673.4]),
(Disney Consumer Products[NI 2]:REAL, Examples: [724.0, 1081.0, 1415.1]),
(Disney Interactive[NI 3][Rev 1]:INTEGER, Examples: [174, 260, 206]),
(Walt Disney Parks and Resorts:REAL, Examples: [2794.0, 3306.0, 3440.7]),
(Disney Media Networks:TEXT, Examples: [359, 414, 4,142]),
(Total:INTEGER, Examples: [6111, 7502, 8529])
]
# Table: movies_total_gross
[
(movie_title:TEXT, Primary Key, Examples: [101 Dalmatians]),
(release_date:TEXT, Primary Key, Examples: [Jan 25, 1961, Nov 27, 1996, Nov 22, 2000]),
(genre:TEXT, Examples: [Musical, Adventure, Drama]),
(MPAA_rating:TEXT, Examples: [G, Not Rated, PG]),
(total_gross:TEXT, Examples: [$184,925,485, $84,300,000, $83,320,000]),
(inflation_adjusted_gross:TEXT, Examples: [$5,228,953,251, $2,188,229,052, $2,187,090,808])
]
# Table: characters
[
(movie_title:TEXT, Primary Key, Examples: [Aladdin]),
(release_date:TEXT, Examples: [21-Dec-37, 7-Feb-40, 13-Nov-40]),
(hero:TEXT, Examples: [Snow White, Pinocchio, Dumbo]),
(villian:TEXT, Examples: [Evil Queen, Stromboli, Chernabog]),
(song:TEXT, Examples: [Some Day My Prince Will Come])
]
# Table: director
[
(name:TEXT, Primary Key, Examples: [101 Dalmatians, Aladdin, Alice in Wonderland]),
(director:TEXT, Examples: [David Hand, Ben Sharpsteen, full credits])
]
# Table: voice-actors
[
(character:TEXT, Primary Key, Examples: [Abby Mallard, Abigail Gabble, Abis Mal]),
(voice-actor:TEXT, Examples: [Joan Cusack, Monica Evans, Jason Alexander]),
(movie:TEXT, Examples: [Chicken Little, The Aristocats, The Return of Jafar])
]
【Foreign keys】
movies_total_gross.movie_title=characters.movie_title
characters.hero=voice-actors.character
director.name=characters.movie_title
voice-actors.movie=characters.movie_title

    【Question】
    Please list the release dates of all the movies in which Alan Tudyk is a voice actor. FALSE;

    【Evidence】
    FALSE;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: 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'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 disney
【Schema】
# Table: revenue
[
(Year:INTEGER, Primary Key, Examples: [1991, 1992, 1993]),
(Studio Entertainment[NI 1]:REAL, Examples: [2593.0, 3115.0, 3673.4]),
(Disney Consumer Products[NI 2]:REAL, Examples: [724.0, 1081.0, 1415.1]),
(Disney Interactive[NI 3][Rev 1]:INTEGER, Examples: [174, 260, 206]),
(Walt Disney Parks and Resorts:REAL, Examples: [2794.0, 3306.0, 3440.7]),
(Disney Media Networks:TEXT, Examples: [359, 414, 4,142]),
(Total:INTEGER, Examples: [6111, 7502, 8529])
]
# Table: movies_total_gross
[
(movie_title:TEXT, Primary Key, Examples: [101 Dalmatians]),
(release_date:TEXT, Primary Key, Examples: [Jan 25, 1961, Nov 27, 1996, Nov 22, 2000]),
(genre:TEXT, Examples: [Musical, Adventure, Drama]),
(MPAA_rating:TEXT, Examples: [G, Not Rated, PG]),
(total_gross:TEXT, Examples: [$184,925,485, $84,300,000, $83,320,000]),
(inflation_adjusted_gross:TEXT, Examples: [$5,228,953,251, $2,188,229,052, $2,187,090,808])
]
# Table: characters
[
(movie_title:TEXT, Primary Key, Examples: [Aladdin]),
(release_date:TEXT, Examples: [21-Dec-37, 7-Feb-40, 13-Nov-40]),
(hero:TEXT, Examples: [Snow White, Pinocchio, Dumbo]),
(villian:TEXT, Examples: [Evil Queen, Stromboli, Chernabog]),
(song:TEXT, Examples: [Some Day My Prince Will Come])
]
# Table: director
[
(name:TEXT, Primary Key, Examples: [101 Dalmatians, Aladdin, Alice in Wonderland]),
(director:TEXT, Examples: [David Hand, Ben Sharpsteen, full credits])
]
# Table: voice-actors
[
(character:TEXT, Primary Key, Examples: [Abby Mallard, Abigail Gabble, Abis Mal]),
(voice-actor:TEXT, Examples: [Joan Cusack, Monica Evans, Jason Alexander]),
(movie:TEXT, Examples: [Chicken Little, The Aristocats, The Return of Jafar])
]
【Foreign keys】
movies_total_gross.movie_title=characters.movie_title
characters.hero=voice-actors.character
director.name=characters.movie_title
voice-actors.movie=characters.movie_title

    【Question】
    Among the movies in which Alan Tudyk is a voice actor, how many of them were released after 2012? released after 2012 refers to (release_date, instr(release_date, '-') + 5) > 12;

    【Evidence】
    released after 2012 refers to (release_date, instr(release_date, '-') + 5) > 12;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: 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
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 disney
【Schema】
# Table: revenue
[
(Year:INTEGER, Primary Key, Examples: [1991, 1992, 1993]),
(Studio Entertainment[NI 1]:REAL, Examples: [2593.0, 3115.0, 3673.4]),
(Disney Consumer Products[NI 2]:REAL, Examples: [724.0, 1081.0, 1415.1]),
(Disney Interactive[NI 3][Rev 1]:INTEGER, Examples: [174, 260, 206]),
(Walt Disney Parks and Resorts:REAL, Examples: [2794.0, 3306.0, 3440.7]),
(Disney Media Networks:TEXT, Examples: [359, 414, 4,142]),
(Total:INTEGER, Examples: [6111, 7502, 8529])
]
# Table: movies_total_gross
[
(movie_title:TEXT, Primary Key, Examples: [101 Dalmatians]),
(release_date:TEXT, Primary Key, Examples: [Jan 25, 1961, Nov 27, 1996, Nov 22, 2000]),
(genre:TEXT, Examples: [Musical, Adventure, Drama]),
(MPAA_rating:TEXT, Examples: [G, Not Rated, PG]),
(total_gross:TEXT, Examples: [$184,925,485, $84,300,000, $83,320,000]),
(inflation_adjusted_gross:TEXT, Examples: [$5,228,953,251, $2,188,229,052, $2,187,090,808])
]
# Table: characters
[
(movie_title:TEXT, Primary Key, Examples: [Aladdin]),
(release_date:TEXT, Examples: [21-Dec-37, 7-Feb-40, 13-Nov-40]),
(hero:TEXT, Examples: [Snow White, Pinocchio, Dumbo]),
(villian:TEXT, Examples: [Evil Queen, Stromboli, Chernabog]),
(song:TEXT, Examples: [Some Day My Prince Will Come])
]
# Table: director
[
(name:TEXT, Primary Key, Examples: [101 Dalmatians, Aladdin, Alice in Wonderland]),
(director:TEXT, Examples: [David Hand, Ben Sharpsteen, full credits])
]
# Table: voice-actors
[
(character:TEXT, Primary Key, Examples: [Abby Mallard, Abigail Gabble, Abis Mal]),
(voice-actor:TEXT, Examples: [Joan Cusack, Monica Evans, Jason Alexander]),
(movie:TEXT, Examples: [Chicken Little, The Aristocats, The Return of Jafar])
]
【Foreign keys】
movies_total_gross.movie_title=characters.movie_title
characters.hero=voice-actors.character
director.name=characters.movie_title
voice-actors.movie=characters.movie_title

    【Question】
    Among the movies directed by Wolfgang Reitherman, how many of them are Comedies? directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; comedies refers to genre = 'Comedy'; movies refer to movie_title;

    【Evidence】
    directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; comedies refers to genre = 'Comedy'; movies refer to movie_title;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: 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
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 disney
【Schema】
# Table: revenue
[
(Year:INTEGER, Primary Key, Examples: [1991, 1992, 1993]),
(Studio Entertainment[NI 1]:REAL, Examples: [2593.0, 3115.0, 3673.4]),
(Disney Consumer Products[NI 2]:REAL, Examples: [724.0, 1081.0, 1415.1]),
(Disney Interactive[NI 3][Rev 1]:INTEGER, Examples: [174, 260, 206]),
(Walt Disney Parks and Resorts:REAL, Examples: [2794.0, 3306.0, 3440.7]),
(Disney Media Networks:TEXT, Examples: [359, 414, 4,142]),
(Total:INTEGER, Examples: [6111, 7502, 8529])
]
# Table: movies_total_gross
[
(movie_title:TEXT, Primary Key, Examples: [101 Dalmatians]),
(release_date:TEXT, Primary Key, Examples: [Jan 25, 1961, Nov 27, 1996, Nov 22, 2000]),
(genre:TEXT, Examples: [Musical, Adventure, Drama]),
(MPAA_rating:TEXT, Examples: [G, Not Rated, PG]),
(total_gross:TEXT, Examples: [$184,925,485, $84,300,000, $83,320,000]),
(inflation_adjusted_gross:TEXT, Examples: [$5,228,953,251, $2,188,229,052, $2,187,090,808])
]
# Table: characters
[
(movie_title:TEXT, Primary Key, Examples: [Aladdin]),
(release_date:TEXT, Examples: [21-Dec-37, 7-Feb-40, 13-Nov-40]),
(hero:TEXT, Examples: [Snow White, Pinocchio, Dumbo]),
(villian:TEXT, Examples: [Evil Queen, Stromboli, Chernabog]),
(song:TEXT, Examples: [Some Day My Prince Will Come])
]
# Table: director
[
(name:TEXT, Primary Key, Examples: [101 Dalmatians, Aladdin, Alice in Wonderland]),
(director:TEXT, Examples: [David Hand, Ben Sharpsteen, full credits])
]
# Table: voice-actors
[
(character:TEXT, Primary Key, Examples: [Abby Mallard, Abigail Gabble, Abis Mal]),
(voice-actor:TEXT, Examples: [Joan Cusack, Monica Evans, Jason Alexander]),
(movie:TEXT, Examples: [Chicken Little, The Aristocats, The Return of Jafar])
]
【Foreign keys】
movies_total_gross.movie_title=characters.movie_title
characters.hero=voice-actors.character
director.name=characters.movie_title
voice-actors.movie=characters.movie_title

    【Question】
    Among the movies directed by Wolfgang Reitherman, which one of them was the most popular? directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; the most popular movie refers to MAX(total_gross);

    【Evidence】
    directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; the most popular movie refers to MAX(total_gross);

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: 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
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 disney
【Schema】
# Table: revenue
[
(Year:INTEGER, Primary Key, Examples: [1991, 1992, 1993]),
(Studio Entertainment[NI 1]:REAL, Examples: [2593.0, 3115.0, 3673.4]),
(Disney Consumer Products[NI 2]:REAL, Examples: [724.0, 1081.0, 1415.1]),
(Disney Interactive[NI 3][Rev 1]:INTEGER, Examples: [174, 260, 206]),
(Walt Disney Parks and Resorts:REAL, Examples: [2794.0, 3306.0, 3440.7]),
(Disney Media Networks:TEXT, Examples: [359, 414, 4,142]),
(Total:INTEGER, Examples: [6111, 7502, 8529])
]
# Table: movies_total_gross
[
(movie_title:TEXT, Primary Key, Examples: [101 Dalmatians]),
(release_date:TEXT, Primary Key, Examples: [Jan 25, 1961, Nov 27, 1996, Nov 22, 2000]),
(genre:TEXT, Examples: [Musical, Adventure, Drama]),
(MPAA_rating:TEXT, Examples: [G, Not Rated, PG]),
(total_gross:TEXT, Examples: [$184,925,485, $84,300,000, $83,320,000]),
(inflation_adjusted_gross:TEXT, Examples: [$5,228,953,251, $2,188,229,052, $2,187,090,808])
]
# Table: characters
[
(movie_title:TEXT, Primary Key, Examples: [Aladdin]),
(release_date:TEXT, Examples: [21-Dec-37, 7-Feb-40, 13-Nov-40]),
(hero:TEXT, Examples: [Snow White, Pinocchio, Dumbo]),
(villian:TEXT, Examples: [Evil Queen, Stromboli, Chernabog]),
(song:TEXT, Examples: [Some Day My Prince Will Come])
]
# Table: director
[
(name:TEXT, Primary Key, Examples: [101 Dalmatians, Aladdin, Alice in Wonderland]),
(director:TEXT, Examples: [David Hand, Ben Sharpsteen, full credits])
]
# Table: voice-actors
[
(character:TEXT, Primary Key, Examples: [Abby Mallard, Abigail Gabble, Abis Mal]),
(voice-actor:TEXT, Examples: [Joan Cusack, Monica Evans, Jason Alexander]),
(movie:TEXT, Examples: [Chicken Little, The Aristocats, The Return of Jafar])
]
【Foreign keys】
movies_total_gross.movie_title=characters.movie_title
characters.hero=voice-actors.character
director.name=characters.movie_title
voice-actors.movie=characters.movie_title

    【Question】
    Please list the movies directed by Wolfgang Reitherman that can be watched by the general audience. directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; movies refer to movie_title; general audience refers to MPAA_rating = 'G';

    【Evidence】
    directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; movies refer to movie_title; general audience refers to MPAA_rating = 'G';

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: 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'