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】
    In which platform does the game titled 15 Days available? platform refers to platform_name; the game titled 15 Days refers to game_name = '15 Days'

    【Evidence】
    platform refers to platform_name; the game titled 15 Days refers to game_name = '15 Days'

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

SQL: SELECT T1.platform_name FROM platform AS T1 INNER JOIN game_platform AS T2 ON T1.id = T2.platform_id INNER JOIN game_publisher AS T3 ON T2.game_publisher_id = T3.id INNER JOIN game AS T4 ON T3.game_id = T4.id WHERE T4.game_name = 'Counter Force'
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】
    Give the name of the publisher of the game ID 75. name of publisher refers to publisher_name; the game ID 75 refers to game_id = 75

    【Evidence】
    name of publisher refers to publisher_name; the game ID 75 refers to game_id = 75

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

SQL: SELECT T2.publisher_name FROM game_publisher AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id WHERE T1.game_id = 75
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 title of the game that gained the most sales in Japan? title of the game refers to game_name; gained the most sales refers to max(num_sales); in Japan refers to region_name = 'Japan'

    【Evidence】
    title of the game refers to game_name; gained the most sales refers to max(num_sales); in Japan refers to region_name = 'Japan'

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

SQL: SELECT T.game_name FROM ( SELECT T5.game_name FROM region AS T1 INNER JOIN region_sales AS T2 ON T1.id = T2.region_id INNER JOIN game_platform AS T3 ON T2.game_platform_id = T3.id INNER JOIN game_publisher AS T4 ON T3.game_publisher_id = T4.id INNER JOIN game AS T5 ON T4.game_id = T5.id WHERE T1.region_name = 'Japan' ORDER BY T2.num_sales DESC LIMIT 1 ) t
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】
    Provide the game publisher's name of the game with sales greater than 90% of the average sales in Japan. game publisher's name refers to publisher_name; sales greater than 90% of the average sales refers to num_sales > multiply(0.9, avg(num_sales)); in Japan refers to region_name = 'Japan'

    【Evidence】
    game publisher's name refers to publisher_name; sales greater than 90% of the average sales refers to num_sales > multiply(0.9, avg(num_sales)); in Japan refers to region_name = 'Japan'

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

SQL: SELECT DISTINCT T5.publisher_name FROM region AS T1 INNER JOIN region_sales AS T2 ON T1.id = T2.region_id INNER JOIN game_platform AS T3 ON T2.game_platform_id = T3.id INNER JOIN game_publisher AS T4 ON T3.game_publisher_id = T4.id INNER JOIN publisher AS T5 ON T4.publisher_id = T5.id WHERE T2.num_sales * 10000000 > ( SELECT AVG(T2.num_sales) * 100000 * 90 FROM region AS T1 INNER JOIN region_sales AS T2 ON T1.id = T2.region_id WHERE T1.region_name = 'Japan' )
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】
    Among the games released in 2004, what is the percentage of games on PSP? in 2004 refers to release_year = 2004; on PSP refers to platform_name = 'PSP'; percentage = divide(sum(platform_id where platform_name = 'PSP'), count(platform_id)) * 100% where release_year = 2004

    【Evidence】
    in 2004 refers to release_year = 2004; on PSP refers to platform_name = 'PSP'; percentage = divide(sum(platform_id where platform_name = 'PSP'), count(platform_id)) * 100% where release_year = 2004

    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 T1.platform_name = 'PSP' THEN T3.game_id ELSE NULL END) AS REAL) * 100 / COUNT(T3.game_id) FROM platform AS T1 INNER JOIN game_platform AS T2 ON T1.id = T2.platform_id INNER JOIN game_publisher AS T3 ON T2.game_publisher_id = T3.id WHERE T2.release_year = 2004
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】
    How many games were released in 1981? released in 1981 refers to release_year = 1981

    【Evidence】
    released in 1981 refers to release_year = 1981

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

SQL: SELECT COUNT(T.id) FROM game_platform AS T WHERE T.release_year = 1981
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 ID of the '2Xtreme' game? the '2Xtreme' game refers to game_name = '2Xtreme'

    【Evidence】
    the '2Xtreme' game refers to game_name = '2Xtreme'

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

SQL: SELECT T.genre_id FROM game AS T WHERE T.game_name = '2Xtreme'
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】
    Sum the total game sales in every region for platform ID 9658. total game sales refers to multiply(sum(num_sales), 100000); platform ID 9658 refers to game_platform_id = 9658

    【Evidence】
    total game sales refers to multiply(sum(num_sales), 100000); platform ID 9658 refers to game_platform_id = 9658

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

SQL: SELECT SUM(T.num_sales) * 100000 FROM region_sales AS T WHERE T.game_platform_id = 9658
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】
    Provide the ID of 1C Company. ID refers to publisher.id; 1C Company refers to publisher_name = '1C Company'

    【Evidence】
    ID refers to publisher.id; 1C Company refers to publisher_name = '1C Company'

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

SQL: SELECT T.id FROM publisher AS T WHERE T.publisher_name = '1C Company'
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】
    Provide the genre name of the genre ID 3. genre ID 3 refers to genre.id = 3

    【Evidence】
    genre ID 3 refers to genre.id = 3

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

SQL: SELECT T.genre_name FROM genre AS T WHERE T.id = 3