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】
    Name actors who voiced more than five Disney characters. Actors who voiced refer to voice-actor;

    【Evidence】
    Actors who voiced refer to voice-actor;

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

SQL: SELECT 'voice-actor' FROM `voice-actors` GROUP BY 'voice-actor' HAVING COUNT(movie) > 5
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】
    Name the top 5 highest-grossing Disney movies adjusted for inflation. Identify the percentage they contributed to the total of Disney's current gross. The top 5 highest-grossing movies adjusted for inflation refer to MAX(inflation_adjusted_gross)LIMIT 5; DIVIDE(SUM(MAX(inflation_adjusted_gross LIMIT 5)), SUM(inflation_adjusted_gross)) as percentage;

    【Evidence】
    The top 5 highest-grossing movies adjusted for inflation refer to MAX(inflation_adjusted_gross)LIMIT 5; DIVIDE(SUM(MAX(inflation_adjusted_gross LIMIT 5)), SUM(inflation_adjusted_gross)) as percentage;

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

SQL: SELECT SUM(CASE WHEN CAST(REPLACE(trim(inflation_adjusted_gross, '$'), ',', '') AS REAL) > 1236035515 THEN CAST(REPLACE(trim(inflation_adjusted_gross, '$'), ',', '') AS REAL) ELSE 0 END) * 100 / SUM(CAST(REPLACE(trim(inflation_adjusted_gross, '$'), ',', '') AS REAL)) FROM movies_total_gross
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 all Disney movies directed by Gary Trousdale, determine the percentage that earned over USD100m based on actual grossing. DIVIDE(COUNT(movie_title where director = 'Gary Trousdale' and total_gross > 100000000), COUNT(movie_title where director = 'Gary Trousdale')) as percentage;

    【Evidence】
    DIVIDE(COUNT(movie_title where director = 'Gary Trousdale' and total_gross > 100000000), COUNT(movie_title where director = 'Gary Trousdale')) as percentage;

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

SQL: SELECT CAST(COUNT(CASE WHEN CAST(REPLACE(trim(T1.total_gross, '$'), ',', '') AS REAL) > 100000000 THEN T1.movie_title ELSE NULL END) AS REAL) * 100 / COUNT(T1.movie_title) FROM movies_total_gross AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name WHERE T2.director = 'Gary Trousdale'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 olympics
【Schema】
# Table: person_region
[
(person_id:INTEGER, Examples: [1, 2, 3]),
(region_id:INTEGER, Examples: [42, 56, 146])
]
# Table: competitor_event
[
(event_id:INTEGER, Examples: [1, 2, 3]),
(competitor_id:INTEGER, Examples: [1, 2, 3]),
(medal_id:INTEGER, Examples: [4, 1, 3])
]
# Table: games_city
[
(games_id:INTEGER, Examples: [1, 2, 3]),
(city_id:INTEGER, Examples: [1, 2, 3])
]
# Table: noc_region
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(noc:TEXT, Examples: [AFG, AHO, ALB]),
(region_name:TEXT, Examples: [Afghanistan, Netherlands Antilles, Albania])
]
# Table: person
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(full_name:TEXT, Examples: [A Dijiang, A Lamusi, Gunnar Nielsen Aaby]),
(gender:TEXT, Examples: [M, F]),
(height:INTEGER, Examples: [180, 170, 0]),
(weight:INTEGER, Examples: [80, 60, 0])
]
# Table: event
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(sport_id:INTEGER, Examples: [9, 33, 25]),
(event_name:TEXT, Examples: [Basketball Men's Basketball])
]
# Table: games
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(games_year:INTEGER, Examples: [1992, 2012, 1920]),
(games_name:TEXT, Examples: [1992 Summer, 2012 Summer, 1920 Summer]),
(season:TEXT, Examples: [Summer, Winter])
]
# Table: medal
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(medal_name:TEXT, Examples: [Gold, Silver, Bronze])
]
# Table: sport
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(sport_name:TEXT, Examples: [Aeronautics, Alpine Skiing, Alpinism])
]
# Table: games_competitor
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(games_id:INTEGER, Examples: [1, 2, 3]),
(person_id:INTEGER, Examples: [1, 2, 3]),
(age:INTEGER, Examples: [24, 23, 34])
]
# Table: city
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(city_name:TEXT, Examples: [Barcelona, London, Antwerpen])
]
【Foreign keys】
person_region.person_id=person.id
person_region.region_id=noc_region.id
competitor_event.competitor_id=games_competitor.id
competitor_event.event_id=event.id
competitor_event.medal_id=medal.id
games_city.city_id=city.id
games_city.games_id=games.id
event.sport_id=sport.id
games_competitor.games_id=games.id
games_competitor.person_id=person.id

    【Question】
    Please list the names of all the Olympic games that John Aalberg has taken part in. name of the Olympic games refers to games_name;

    【Evidence】
    name of the Olympic games refers to games_name;

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

SQL: SELECT T1.games_name FROM games AS T1 INNER JOIN games_competitor AS T2 ON T1.id = T2.games_id INNER JOIN person AS T3 ON T2.person_id = T3.id WHERE T3.full_name = 'John Aalberg'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 olympics
【Schema】
# Table: person_region
[
(person_id:INTEGER, Examples: [1, 2, 3]),
(region_id:INTEGER, Examples: [42, 56, 146])
]
# Table: competitor_event
[
(event_id:INTEGER, Examples: [1, 2, 3]),
(competitor_id:INTEGER, Examples: [1, 2, 3]),
(medal_id:INTEGER, Examples: [4, 1, 3])
]
# Table: games_city
[
(games_id:INTEGER, Examples: [1, 2, 3]),
(city_id:INTEGER, Examples: [1, 2, 3])
]
# Table: noc_region
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(noc:TEXT, Examples: [AFG, AHO, ALB]),
(region_name:TEXT, Examples: [Afghanistan, Netherlands Antilles, Albania])
]
# Table: person
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(full_name:TEXT, Examples: [A Dijiang, A Lamusi, Gunnar Nielsen Aaby]),
(gender:TEXT, Examples: [M, F]),
(height:INTEGER, Examples: [180, 170, 0]),
(weight:INTEGER, Examples: [80, 60, 0])
]
# Table: event
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(sport_id:INTEGER, Examples: [9, 33, 25]),
(event_name:TEXT, Examples: [Basketball Men's Basketball])
]
# Table: games
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(games_year:INTEGER, Examples: [1992, 2012, 1920]),
(games_name:TEXT, Examples: [1992 Summer, 2012 Summer, 1920 Summer]),
(season:TEXT, Examples: [Summer, Winter])
]
# Table: medal
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(medal_name:TEXT, Examples: [Gold, Silver, Bronze])
]
# Table: sport
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(sport_name:TEXT, Examples: [Aeronautics, Alpine Skiing, Alpinism])
]
# Table: games_competitor
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(games_id:INTEGER, Examples: [1, 2, 3]),
(person_id:INTEGER, Examples: [1, 2, 3]),
(age:INTEGER, Examples: [24, 23, 34])
]
# Table: city
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(city_name:TEXT, Examples: [Barcelona, London, Antwerpen])
]
【Foreign keys】
person_region.person_id=person.id
person_region.region_id=noc_region.id
competitor_event.competitor_id=games_competitor.id
competitor_event.event_id=event.id
competitor_event.medal_id=medal.id
games_city.city_id=city.id
games_city.games_id=games.id
event.sport_id=sport.id
games_competitor.games_id=games.id
games_competitor.person_id=person.id

    【Question】
    What was the name of the Olympic game that John Aalberg took part in when he was 31? when he was 31 refers to age = 31; name of the Olympic games refers to games_name;

    【Evidence】
    when he was 31 refers to age = 31; name of the Olympic games refers to games_name;

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

SQL: SELECT T1.games_name FROM games AS T1 INNER JOIN games_competitor AS T2 ON T1.id = T2.games_id INNER JOIN person AS T3 ON T2.person_id = T3.id WHERE T3.full_name = 'John Aalberg' AND T2.age = 31
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 olympics
【Schema】
# Table: person_region
[
(person_id:INTEGER, Examples: [1, 2, 3]),
(region_id:INTEGER, Examples: [42, 56, 146])
]
# Table: competitor_event
[
(event_id:INTEGER, Examples: [1, 2, 3]),
(competitor_id:INTEGER, Examples: [1, 2, 3]),
(medal_id:INTEGER, Examples: [4, 1, 3])
]
# Table: games_city
[
(games_id:INTEGER, Examples: [1, 2, 3]),
(city_id:INTEGER, Examples: [1, 2, 3])
]
# Table: noc_region
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(noc:TEXT, Examples: [AFG, AHO, ALB]),
(region_name:TEXT, Examples: [Afghanistan, Netherlands Antilles, Albania])
]
# Table: person
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(full_name:TEXT, Examples: [A Dijiang, A Lamusi, Gunnar Nielsen Aaby]),
(gender:TEXT, Examples: [M, F]),
(height:INTEGER, Examples: [180, 170, 0]),
(weight:INTEGER, Examples: [80, 60, 0])
]
# Table: event
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(sport_id:INTEGER, Examples: [9, 33, 25]),
(event_name:TEXT, Examples: [Basketball Men's Basketball])
]
# Table: games
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(games_year:INTEGER, Examples: [1992, 2012, 1920]),
(games_name:TEXT, Examples: [1992 Summer, 2012 Summer, 1920 Summer]),
(season:TEXT, Examples: [Summer, Winter])
]
# Table: medal
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(medal_name:TEXT, Examples: [Gold, Silver, Bronze])
]
# Table: sport
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(sport_name:TEXT, Examples: [Aeronautics, Alpine Skiing, Alpinism])
]
# Table: games_competitor
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(games_id:INTEGER, Examples: [1, 2, 3]),
(person_id:INTEGER, Examples: [1, 2, 3]),
(age:INTEGER, Examples: [24, 23, 34])
]
# Table: city
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(city_name:TEXT, Examples: [Barcelona, London, Antwerpen])
]
【Foreign keys】
person_region.person_id=person.id
person_region.region_id=noc_region.id
competitor_event.competitor_id=games_competitor.id
competitor_event.event_id=event.id
competitor_event.medal_id=medal.id
games_city.city_id=city.id
games_city.games_id=games.id
event.sport_id=sport.id
games_competitor.games_id=games.id
games_competitor.person_id=person.id

    【Question】
    When John Aalberg took part in the 1994 Winter Olympic Game, how old was he? how old was he refers to age; 1994 Winter refers to games_name = '1994 Winter';

    【Evidence】
    how old was he refers to age; 1994 Winter refers to games_name = '1994 Winter';

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

SQL: SELECT T2.age FROM games AS T1 INNER JOIN games_competitor AS T2 ON T1.id = T2.games_id INNER JOIN person AS T3 ON T2.person_id = T3.id WHERE T3.full_name = 'John Aalberg' AND T1.games_name = '1994 Winter'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 olympics
【Schema】
# Table: person_region
[
(person_id:INTEGER, Examples: [1, 2, 3]),
(region_id:INTEGER, Examples: [42, 56, 146])
]
# Table: competitor_event
[
(event_id:INTEGER, Examples: [1, 2, 3]),
(competitor_id:INTEGER, Examples: [1, 2, 3]),
(medal_id:INTEGER, Examples: [4, 1, 3])
]
# Table: games_city
[
(games_id:INTEGER, Examples: [1, 2, 3]),
(city_id:INTEGER, Examples: [1, 2, 3])
]
# Table: noc_region
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(noc:TEXT, Examples: [AFG, AHO, ALB]),
(region_name:TEXT, Examples: [Afghanistan, Netherlands Antilles, Albania])
]
# Table: person
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(full_name:TEXT, Examples: [A Dijiang, A Lamusi, Gunnar Nielsen Aaby]),
(gender:TEXT, Examples: [M, F]),
(height:INTEGER, Examples: [180, 170, 0]),
(weight:INTEGER, Examples: [80, 60, 0])
]
# Table: event
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(sport_id:INTEGER, Examples: [9, 33, 25]),
(event_name:TEXT, Examples: [Basketball Men's Basketball])
]
# Table: games
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(games_year:INTEGER, Examples: [1992, 2012, 1920]),
(games_name:TEXT, Examples: [1992 Summer, 2012 Summer, 1920 Summer]),
(season:TEXT, Examples: [Summer, Winter])
]
# Table: medal
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(medal_name:TEXT, Examples: [Gold, Silver, Bronze])
]
# Table: sport
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(sport_name:TEXT, Examples: [Aeronautics, Alpine Skiing, Alpinism])
]
# Table: games_competitor
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(games_id:INTEGER, Examples: [1, 2, 3]),
(person_id:INTEGER, Examples: [1, 2, 3]),
(age:INTEGER, Examples: [24, 23, 34])
]
# Table: city
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(city_name:TEXT, Examples: [Barcelona, London, Antwerpen])
]
【Foreign keys】
person_region.person_id=person.id
person_region.region_id=noc_region.id
competitor_event.competitor_id=games_competitor.id
competitor_event.event_id=event.id
competitor_event.medal_id=medal.id
games_city.city_id=city.id
games_city.games_id=games.id
event.sport_id=sport.id
games_competitor.games_id=games.id
games_competitor.person_id=person.id

    【Question】
    How many Olympic competitors are from Finland? competitors refer to person_id; from Finland refers to region_name = 'Finland';

    【Evidence】
    competitors refer to person_id; from Finland refers to region_name = 'Finland';

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

SQL: SELECT COUNT(T1.person_id) FROM person_region AS T1 INNER JOIN noc_region AS T2 ON T1.region_id = T2.id WHERE T2.region_name = 'Finland'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 olympics
【Schema】
# Table: person_region
[
(person_id:INTEGER, Examples: [1, 2, 3]),
(region_id:INTEGER, Examples: [42, 56, 146])
]
# Table: competitor_event
[
(event_id:INTEGER, Examples: [1, 2, 3]),
(competitor_id:INTEGER, Examples: [1, 2, 3]),
(medal_id:INTEGER, Examples: [4, 1, 3])
]
# Table: games_city
[
(games_id:INTEGER, Examples: [1, 2, 3]),
(city_id:INTEGER, Examples: [1, 2, 3])
]
# Table: noc_region
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(noc:TEXT, Examples: [AFG, AHO, ALB]),
(region_name:TEXT, Examples: [Afghanistan, Netherlands Antilles, Albania])
]
# Table: person
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(full_name:TEXT, Examples: [A Dijiang, A Lamusi, Gunnar Nielsen Aaby]),
(gender:TEXT, Examples: [M, F]),
(height:INTEGER, Examples: [180, 170, 0]),
(weight:INTEGER, Examples: [80, 60, 0])
]
# Table: event
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(sport_id:INTEGER, Examples: [9, 33, 25]),
(event_name:TEXT, Examples: [Basketball Men's Basketball])
]
# Table: games
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(games_year:INTEGER, Examples: [1992, 2012, 1920]),
(games_name:TEXT, Examples: [1992 Summer, 2012 Summer, 1920 Summer]),
(season:TEXT, Examples: [Summer, Winter])
]
# Table: medal
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(medal_name:TEXT, Examples: [Gold, Silver, Bronze])
]
# Table: sport
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(sport_name:TEXT, Examples: [Aeronautics, Alpine Skiing, Alpinism])
]
# Table: games_competitor
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(games_id:INTEGER, Examples: [1, 2, 3]),
(person_id:INTEGER, Examples: [1, 2, 3]),
(age:INTEGER, Examples: [24, 23, 34])
]
# Table: city
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(city_name:TEXT, Examples: [Barcelona, London, Antwerpen])
]
【Foreign keys】
person_region.person_id=person.id
person_region.region_id=noc_region.id
competitor_event.competitor_id=games_competitor.id
competitor_event.event_id=event.id
competitor_event.medal_id=medal.id
games_city.city_id=city.id
games_city.games_id=games.id
event.sport_id=sport.id
games_competitor.games_id=games.id
games_competitor.person_id=person.id

    【Question】
    Please list the names of all the Olympic competitors from Finland. names of competitors refer to full_name; from Finland refers to region_name = 'Finland';

    【Evidence】
    names of competitors refer to full_name; from Finland refers to region_name = 'Finland';

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

SQL: SELECT T3.full_name FROM noc_region AS T1 INNER JOIN person_region AS T2 ON T1.id = T2.region_id INNER JOIN person AS T3 ON T2.person_id = T3.id WHERE T1.region_name = 'Finland'