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】 video_games
【Schema】
# Table: region_sales
[
(region_id:INTEGER, Examples: [1, 2, 3]),
(game_platform_id:INTEGER, Examples: [50, 51, 52]),
(num_sales:REAL, Examples: [3.5, 1.43, 0.51])
]
# Table: game
[
(id:INTEGER, Primary Key, Examples: [44, 45, 46]),
(genre_id:INTEGER, Examples: [4, 5, 11]),
(game_name:TEXT, Examples: [2 Games in 1: Sonic Advance & ChuChu Rocket!])
]
# Table: game_platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_publisher_id:INTEGER, Examples: [8564, 9852, 11063]),
(platform_id:INTEGER, Examples: [4, 7, 15]),
(release_year:INTEGER, Examples: [2007, 2006, 2011])
]
# Table: game_publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_id:INTEGER, Examples: [10866, 9244, 5464]),
(publisher_id:INTEGER, Examples: [369, 328, 498])
]
# Table: platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(platform_name:TEXT, Examples: [Wii, NES, GB])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [10TACLE Studios])
]
# Table: genre
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(genre_name:TEXT, Examples: [Action, Adventure, Fighting])
]
# Table: region
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(region_name:TEXT, Examples: [North America, Europe, Japan])
]
【Foreign keys】
region_sales.game_platform_id=game_platform.id
region_sales.region_id=region.id
game.genre_id=genre.id
game_platform.game_publisher_id=game_publisher.id
game_platform.platform_id=platform.id
game_publisher.game_id=game.id
game_publisher.publisher_id=publisher.id

    【Question】
    Find out the difference between the number of publishers who released the games on the PS3 and X360. difference = SUBTRACT(SUM(platform_name = 'PS3'), SUM(platform_name = 'X360')); PS3 refers to platform_name = 'PS3'; X360 refers to platform_name = 'X360';

    【Evidence】
    difference = SUBTRACT(SUM(platform_name = 'PS3'), SUM(platform_name = 'X360')); PS3 refers to platform_name = 'PS3'; X360 refers to platform_name = 'X360';

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

SQL: SELECT COUNT(CASE WHEN T2.platform_name = 'PS3' THEN T1.game_publisher_id ELSE NULL END) - COUNT(CASE WHEN T2.platform_name = 'X360' THEN T1.game_publisher_id ELSE NULL END) FROM game_platform AS T1 INNER JOIN platform AS T2 ON T1.platform_id = T2.id
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 video_games
【Schema】
# Table: region_sales
[
(region_id:INTEGER, Examples: [1, 2, 3]),
(game_platform_id:INTEGER, Examples: [50, 51, 52]),
(num_sales:REAL, Examples: [3.5, 1.43, 0.51])
]
# Table: game
[
(id:INTEGER, Primary Key, Examples: [44, 45, 46]),
(genre_id:INTEGER, Examples: [4, 5, 11]),
(game_name:TEXT, Examples: [2 Games in 1: Sonic Advance & ChuChu Rocket!])
]
# Table: game_platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_publisher_id:INTEGER, Examples: [8564, 9852, 11063]),
(platform_id:INTEGER, Examples: [4, 7, 15]),
(release_year:INTEGER, Examples: [2007, 2006, 2011])
]
# Table: game_publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_id:INTEGER, Examples: [10866, 9244, 5464]),
(publisher_id:INTEGER, Examples: [369, 328, 498])
]
# Table: platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(platform_name:TEXT, Examples: [Wii, NES, GB])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [10TACLE Studios])
]
# Table: genre
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(genre_name:TEXT, Examples: [Action, Adventure, Fighting])
]
# Table: region
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(region_name:TEXT, Examples: [North America, Europe, Japan])
]
【Foreign keys】
region_sales.game_platform_id=game_platform.id
region_sales.region_id=region.id
game.genre_id=genre.id
game_platform.game_publisher_id=game_publisher.id
game_platform.platform_id=platform.id
game_publisher.game_id=game.id
game_publisher.publisher_id=publisher.id

    【Question】
    What are the game IDs of the games published by Bethesda Softworks? Bethesda Softworks refers to publisher_name = 'Bethesda Softworks';

    【Evidence】
    Bethesda Softworks refers to publisher_name = 'Bethesda Softworks';

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

SQL: SELECT T1.game_id FROM game_publisher AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id WHERE T2.publisher_name = 'Bethesda Softworks'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 video_games
【Schema】
# Table: region_sales
[
(region_id:INTEGER, Examples: [1, 2, 3]),
(game_platform_id:INTEGER, Examples: [50, 51, 52]),
(num_sales:REAL, Examples: [3.5, 1.43, 0.51])
]
# Table: game
[
(id:INTEGER, Primary Key, Examples: [44, 45, 46]),
(genre_id:INTEGER, Examples: [4, 5, 11]),
(game_name:TEXT, Examples: [2 Games in 1: Sonic Advance & ChuChu Rocket!])
]
# Table: game_platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_publisher_id:INTEGER, Examples: [8564, 9852, 11063]),
(platform_id:INTEGER, Examples: [4, 7, 15]),
(release_year:INTEGER, Examples: [2007, 2006, 2011])
]
# Table: game_publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_id:INTEGER, Examples: [10866, 9244, 5464]),
(publisher_id:INTEGER, Examples: [369, 328, 498])
]
# Table: platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(platform_name:TEXT, Examples: [Wii, NES, GB])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [10TACLE Studios])
]
# Table: genre
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(genre_name:TEXT, Examples: [Action, Adventure, Fighting])
]
# Table: region
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(region_name:TEXT, Examples: [North America, Europe, Japan])
]
【Foreign keys】
region_sales.game_platform_id=game_platform.id
region_sales.region_id=region.id
game.genre_id=genre.id
game_platform.game_publisher_id=game_publisher.id
game_platform.platform_id=platform.id
game_publisher.game_id=game.id
game_publisher.publisher_id=publisher.id

    【Question】
    Calculate the total number of IDs for the game published by Capcom and Sony Computer Entertainment. Capcom refers to publisher_name = 'Capcom';  Sony Computer Entertainment refers to publisher_name = 'Sony Computer Entertainment';

    【Evidence】
    Capcom refers to publisher_name = 'Capcom';  Sony Computer Entertainment refers to publisher_name = 'Sony Computer Entertainment';

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

SQL: SELECT COUNT(DISTINCT T1.game_id) FROM game_publisher AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id WHERE T2.publisher_name IN ('Capcom', 'Sony Computer Entertainment')
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 video_games
【Schema】
# Table: region_sales
[
(region_id:INTEGER, Examples: [1, 2, 3]),
(game_platform_id:INTEGER, Examples: [50, 51, 52]),
(num_sales:REAL, Examples: [3.5, 1.43, 0.51])
]
# Table: game
[
(id:INTEGER, Primary Key, Examples: [44, 45, 46]),
(genre_id:INTEGER, Examples: [4, 5, 11]),
(game_name:TEXT, Examples: [2 Games in 1: Sonic Advance & ChuChu Rocket!])
]
# Table: game_platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_publisher_id:INTEGER, Examples: [8564, 9852, 11063]),
(platform_id:INTEGER, Examples: [4, 7, 15]),
(release_year:INTEGER, Examples: [2007, 2006, 2011])
]
# Table: game_publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_id:INTEGER, Examples: [10866, 9244, 5464]),
(publisher_id:INTEGER, Examples: [369, 328, 498])
]
# Table: platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(platform_name:TEXT, Examples: [Wii, NES, GB])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [10TACLE Studios])
]
# Table: genre
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(genre_name:TEXT, Examples: [Action, Adventure, Fighting])
]
# Table: region
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(region_name:TEXT, Examples: [North America, Europe, Japan])
]
【Foreign keys】
region_sales.game_platform_id=game_platform.id
region_sales.region_id=region.id
game.genre_id=genre.id
game_platform.game_publisher_id=game_publisher.id
game_platform.platform_id=platform.id
game_publisher.game_id=game.id
game_publisher.publisher_id=publisher.id

    【Question】
    What is the genre of the game "Grand Theft Auto V"? genre refers to genre_name; "Grand Theft Auto V" refers to game_name = 'Grand Theft Auto V';

    【Evidence】
    genre refers to genre_name; "Grand Theft Auto V" refers to game_name = 'Grand Theft Auto V';

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

SQL: SELECT T2.genre_name FROM game AS T1 INNER JOIN genre AS T2 ON T1.genre_id = T2.id WHERE T1.game_name = 'Grand Theft Auto V'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 video_games
【Schema】
# Table: region_sales
[
(region_id:INTEGER, Examples: [1, 2, 3]),
(game_platform_id:INTEGER, Examples: [50, 51, 52]),
(num_sales:REAL, Examples: [3.5, 1.43, 0.51])
]
# Table: game
[
(id:INTEGER, Primary Key, Examples: [44, 45, 46]),
(genre_id:INTEGER, Examples: [4, 5, 11]),
(game_name:TEXT, Examples: [2 Games in 1: Sonic Advance & ChuChu Rocket!])
]
# Table: game_platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_publisher_id:INTEGER, Examples: [8564, 9852, 11063]),
(platform_id:INTEGER, Examples: [4, 7, 15]),
(release_year:INTEGER, Examples: [2007, 2006, 2011])
]
# Table: game_publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_id:INTEGER, Examples: [10866, 9244, 5464]),
(publisher_id:INTEGER, Examples: [369, 328, 498])
]
# Table: platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(platform_name:TEXT, Examples: [Wii, NES, GB])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [10TACLE Studios])
]
# Table: genre
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(genre_name:TEXT, Examples: [Action, Adventure, Fighting])
]
# Table: region
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(region_name:TEXT, Examples: [North America, Europe, Japan])
]
【Foreign keys】
region_sales.game_platform_id=game_platform.id
region_sales.region_id=region.id
game.genre_id=genre.id
game_platform.game_publisher_id=game_publisher.id
game_platform.platform_id=platform.id
game_publisher.game_id=game.id
game_publisher.publisher_id=publisher.id

    【Question】
    List down the names of the games in the racing genre. name of games refers to game_name; racing genre refers to genre_name = 'Racing';

    【Evidence】
    name of games refers to game_name; racing genre refers to genre_name = 'Racing';

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

SQL: SELECT T1.game_name FROM game AS T1 INNER JOIN genre AS T2 ON T1.genre_id = T2.id WHERE T2.genre_name = 'Racing'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 video_games
【Schema】
# Table: region_sales
[
(region_id:INTEGER, Examples: [1, 2, 3]),
(game_platform_id:INTEGER, Examples: [50, 51, 52]),
(num_sales:REAL, Examples: [3.5, 1.43, 0.51])
]
# Table: game
[
(id:INTEGER, Primary Key, Examples: [44, 45, 46]),
(genre_id:INTEGER, Examples: [4, 5, 11]),
(game_name:TEXT, Examples: [2 Games in 1: Sonic Advance & ChuChu Rocket!])
]
# Table: game_platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_publisher_id:INTEGER, Examples: [8564, 9852, 11063]),
(platform_id:INTEGER, Examples: [4, 7, 15]),
(release_year:INTEGER, Examples: [2007, 2006, 2011])
]
# Table: game_publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_id:INTEGER, Examples: [10866, 9244, 5464]),
(publisher_id:INTEGER, Examples: [369, 328, 498])
]
# Table: platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(platform_name:TEXT, Examples: [Wii, NES, GB])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [10TACLE Studios])
]
# Table: genre
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(genre_name:TEXT, Examples: [Action, Adventure, Fighting])
]
# Table: region
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(region_name:TEXT, Examples: [North America, Europe, Japan])
]
【Foreign keys】
region_sales.game_platform_id=game_platform.id
region_sales.region_id=region.id
game.genre_id=genre.id
game_platform.game_publisher_id=game_publisher.id
game_platform.platform_id=platform.id
game_publisher.game_id=game.id
game_publisher.publisher_id=publisher.id

    【Question】
    Calculate the number of games in the fighting genre. fighting genre refers to genre_name = 'Fighting';

    【Evidence】
    fighting genre refers to genre_name = 'Fighting';

    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.id) FROM game AS T1 INNER JOIN genre AS T2 ON T1.genre_id = T2.id WHERE T2.genre_name = 'Fighting'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 video_games
【Schema】
# Table: region_sales
[
(region_id:INTEGER, Examples: [1, 2, 3]),
(game_platform_id:INTEGER, Examples: [50, 51, 52]),
(num_sales:REAL, Examples: [3.5, 1.43, 0.51])
]
# Table: game
[
(id:INTEGER, Primary Key, Examples: [44, 45, 46]),
(genre_id:INTEGER, Examples: [4, 5, 11]),
(game_name:TEXT, Examples: [2 Games in 1: Sonic Advance & ChuChu Rocket!])
]
# Table: game_platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_publisher_id:INTEGER, Examples: [8564, 9852, 11063]),
(platform_id:INTEGER, Examples: [4, 7, 15]),
(release_year:INTEGER, Examples: [2007, 2006, 2011])
]
# Table: game_publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_id:INTEGER, Examples: [10866, 9244, 5464]),
(publisher_id:INTEGER, Examples: [369, 328, 498])
]
# Table: platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(platform_name:TEXT, Examples: [Wii, NES, GB])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [10TACLE Studios])
]
# Table: genre
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(genre_name:TEXT, Examples: [Action, Adventure, Fighting])
]
# Table: region
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(region_name:TEXT, Examples: [North America, Europe, Japan])
]
【Foreign keys】
region_sales.game_platform_id=game_platform.id
region_sales.region_id=region.id
game.genre_id=genre.id
game_platform.game_publisher_id=game_publisher.id
game_platform.platform_id=platform.id
game_publisher.game_id=game.id
game_publisher.publisher_id=publisher.id

    【Question】
    What are the genres of games published by the publisher with an ID of 464? genres of games refers to genre_name; publisher with an ID of 464 refers to publisher_id = 464;

    【Evidence】
    genres of games refers to genre_name; publisher with an ID of 464 refers to publisher_id = 464;

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

SQL: SELECT DISTINCT T2.genre_name FROM game AS T1 INNER JOIN genre AS T2 ON T1.genre_id = T2.id INNER JOIN game_publisher AS T3 ON T1.id = T3.game_id WHERE T3.publisher_id = 464
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 video_games
【Schema】
# Table: region_sales
[
(region_id:INTEGER, Examples: [1, 2, 3]),
(game_platform_id:INTEGER, Examples: [50, 51, 52]),
(num_sales:REAL, Examples: [3.5, 1.43, 0.51])
]
# Table: game
[
(id:INTEGER, Primary Key, Examples: [44, 45, 46]),
(genre_id:INTEGER, Examples: [4, 5, 11]),
(game_name:TEXT, Examples: [2 Games in 1: Sonic Advance & ChuChu Rocket!])
]
# Table: game_platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_publisher_id:INTEGER, Examples: [8564, 9852, 11063]),
(platform_id:INTEGER, Examples: [4, 7, 15]),
(release_year:INTEGER, Examples: [2007, 2006, 2011])
]
# Table: game_publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_id:INTEGER, Examples: [10866, 9244, 5464]),
(publisher_id:INTEGER, Examples: [369, 328, 498])
]
# Table: platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(platform_name:TEXT, Examples: [Wii, NES, GB])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [10TACLE Studios])
]
# Table: genre
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(genre_name:TEXT, Examples: [Action, Adventure, Fighting])
]
# Table: region
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(region_name:TEXT, Examples: [North America, Europe, Japan])
]
【Foreign keys】
region_sales.game_platform_id=game_platform.id
region_sales.region_id=region.id
game.genre_id=genre.id
game_platform.game_publisher_id=game_publisher.id
game_platform.platform_id=platform.id
game_publisher.game_id=game.id
game_publisher.publisher_id=publisher.id

    【Question】
    Find out the platform of the game "Final Fantasy XIII-2". platform of the game refers to platform_name; "Final Fantasy XIII-2" refers to game_name = 'Final Fantasy XIII-2';

    【Evidence】
    platform of the game refers to platform_name; "Final Fantasy XIII-2" refers to game_name = 'Final Fantasy XIII-2';

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

SQL: SELECT T4.platform_name FROM game AS T1 INNER JOIN game_publisher AS T2 ON T1.id = T2.game_id INNER JOIN game_platform AS T3 ON T2.id = T3.game_publisher_id INNER JOIN platform AS T4 ON T3.platform_id = T4.id WHERE T1.game_name = 'Final Fantasy XIII-2'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 video_games
【Schema】
# Table: region_sales
[
(region_id:INTEGER, Examples: [1, 2, 3]),
(game_platform_id:INTEGER, Examples: [50, 51, 52]),
(num_sales:REAL, Examples: [3.5, 1.43, 0.51])
]
# Table: game
[
(id:INTEGER, Primary Key, Examples: [44, 45, 46]),
(genre_id:INTEGER, Examples: [4, 5, 11]),
(game_name:TEXT, Examples: [2 Games in 1: Sonic Advance & ChuChu Rocket!])
]
# Table: game_platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_publisher_id:INTEGER, Examples: [8564, 9852, 11063]),
(platform_id:INTEGER, Examples: [4, 7, 15]),
(release_year:INTEGER, Examples: [2007, 2006, 2011])
]
# Table: game_publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_id:INTEGER, Examples: [10866, 9244, 5464]),
(publisher_id:INTEGER, Examples: [369, 328, 498])
]
# Table: platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(platform_name:TEXT, Examples: [Wii, NES, GB])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [10TACLE Studios])
]
# Table: genre
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(genre_name:TEXT, Examples: [Action, Adventure, Fighting])
]
# Table: region
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(region_name:TEXT, Examples: [North America, Europe, Japan])
]
【Foreign keys】
region_sales.game_platform_id=game_platform.id
region_sales.region_id=region.id
game.genre_id=genre.id
game_platform.game_publisher_id=game_publisher.id
game_platform.platform_id=platform.id
game_publisher.game_id=game.id
game_publisher.publisher_id=publisher.id

    【Question】
    Calculate the total sales made by the games released in 2000. total sales = SUM(num_sales); released in 2000 refers to release_year = 2000;

    【Evidence】
    total sales = SUM(num_sales); released in 2000 refers to release_year = 2000;

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

SQL: SELECT SUM(T1.num_sales) FROM region_sales AS T1 INNER JOIN game_platform AS T2 ON T1.game_platform_id = T2.id WHERE T2.release_year = 2000
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 video_games
【Schema】
# Table: region_sales
[
(region_id:INTEGER, Examples: [1, 2, 3]),
(game_platform_id:INTEGER, Examples: [50, 51, 52]),
(num_sales:REAL, Examples: [3.5, 1.43, 0.51])
]
# Table: game
[
(id:INTEGER, Primary Key, Examples: [44, 45, 46]),
(genre_id:INTEGER, Examples: [4, 5, 11]),
(game_name:TEXT, Examples: [2 Games in 1: Sonic Advance & ChuChu Rocket!])
]
# Table: game_platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_publisher_id:INTEGER, Examples: [8564, 9852, 11063]),
(platform_id:INTEGER, Examples: [4, 7, 15]),
(release_year:INTEGER, Examples: [2007, 2006, 2011])
]
# Table: game_publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(game_id:INTEGER, Examples: [10866, 9244, 5464]),
(publisher_id:INTEGER, Examples: [369, 328, 498])
]
# Table: platform
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(platform_name:TEXT, Examples: [Wii, NES, GB])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [10TACLE Studios])
]
# Table: genre
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(genre_name:TEXT, Examples: [Action, Adventure, Fighting])
]
# Table: region
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(region_name:TEXT, Examples: [North America, Europe, Japan])
]
【Foreign keys】
region_sales.game_platform_id=game_platform.id
region_sales.region_id=region.id
game.genre_id=genre.id
game_platform.game_publisher_id=game_publisher.id
game_platform.platform_id=platform.id
game_publisher.game_id=game.id
game_publisher.publisher_id=publisher.id

    【Question】
    Calculate the difference in sales between the games released in 1990 and 2000. difference = SUBTRACT(SUM(num_sales WHERE release_year = 2000), SUM(num_sales WHERE release_year = 1990));

    【Evidence】
    difference = SUBTRACT(SUM(num_sales WHERE release_year = 2000), SUM(num_sales WHERE release_year = 1990));

    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 T2.release_year = 2000 THEN T1.num_sales ELSE 0 END) - SUM(CASE WHEN T2.release_year = 1990 THEN T1.num_sales ELSE 0 END) FROM region_sales AS T1 INNER JOIN game_platform AS T2 ON T1.game_platform_id = T2.id