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】 superhero
【Schema】
# Table: hero_power
[
(hero_id:INTEGER, Examples: [1, 2, 3]),
(power_id:INTEGER, Examples: [1, 18, 26])
]
# Table: colour
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(colour:TEXT, Examples: [No Colour, Amber, Auburn])
]
# Table: superpower
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(power_name:TEXT, Examples: [Agility, Accelerated Healing, Lantern Power Ring])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [ABC Studios, Dark Horse Comics, DC Comics])
]
# Table: superhero
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(superhero_name:TEXT, Examples: [3-D Man, A-Bomb, Abe Sapien]),
(full_name:TEXT, Examples: [Charles Chandler]),
(gender_id:INTEGER, Examples: [1, 2, 3]),
(eye_colour_id:INTEGER, Examples: [9, 33, 7]),
(hair_colour_id:INTEGER, Examples: [13, 1, 4]),
(skin_colour_id:INTEGER, Examples: [1, 7, 23]),
(race_id:INTEGER, Examples: [1, 24, 33]),
(publisher_id:INTEGER, Examples: [13, 3, 4]),
(alignment_id:INTEGER, Examples: [1, 2, 3]),
(height_cm:INTEGER, Examples: [188, 203, 191]),
(weight_kg:INTEGER, Examples: [90, 441, 65])
]
# Table: attribute
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(attribute_name:TEXT, Examples: [Intelligence, Strength, Speed])
]
# Table: hero_attribute
[
(hero_id:INTEGER, Examples: [1, 2, 3]),
(attribute_id:INTEGER, Examples: [1, 2, 3]),
(attribute_value:INTEGER, Examples: [80, 75, 95])
]
# Table: alignment
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(alignment:TEXT, Examples: [Good, Bad, Neutral])
]
# Table: race
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(race:TEXT, Examples: [-, Alien, Alpha])
]
# Table: gender
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(gender:TEXT, Examples: [Male, Female, N/A])
]
【Foreign keys】
hero_power.hero_id=superhero.id
hero_power.power_id=superpower.id
superhero.alignment_id=alignment.id
superhero.eye_colour_id=colour.id
superhero.gender_id=gender.id
superhero.hair_colour_id=colour.id
superhero.publisher_id=publisher.id
superhero.race_id=race.id
superhero.skin_colour_id=colour.id
hero_attribute.attribute_id=attribute.id
hero_attribute.hero_id=superhero.id

    【Question】
    How many superheroes are published by Marvel Comics? published by Marvel Comics refers to publisher_name = 'Marvel Comics'

    【Evidence】
    published by Marvel Comics refers to publisher_name = 'Marvel Comics'

    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 superhero AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id WHERE T2.publisher_name = 'Marvel Comics'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 superhero
【Schema】
# Table: hero_power
[
(hero_id:INTEGER, Examples: [1, 2, 3]),
(power_id:INTEGER, Examples: [1, 18, 26])
]
# Table: colour
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(colour:TEXT, Examples: [No Colour, Amber, Auburn])
]
# Table: superpower
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(power_name:TEXT, Examples: [Agility, Accelerated Healing, Lantern Power Ring])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [ABC Studios, Dark Horse Comics, DC Comics])
]
# Table: superhero
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(superhero_name:TEXT, Examples: [3-D Man, A-Bomb, Abe Sapien]),
(full_name:TEXT, Examples: [Charles Chandler]),
(gender_id:INTEGER, Examples: [1, 2, 3]),
(eye_colour_id:INTEGER, Examples: [9, 33, 7]),
(hair_colour_id:INTEGER, Examples: [13, 1, 4]),
(skin_colour_id:INTEGER, Examples: [1, 7, 23]),
(race_id:INTEGER, Examples: [1, 24, 33]),
(publisher_id:INTEGER, Examples: [13, 3, 4]),
(alignment_id:INTEGER, Examples: [1, 2, 3]),
(height_cm:INTEGER, Examples: [188, 203, 191]),
(weight_kg:INTEGER, Examples: [90, 441, 65])
]
# Table: attribute
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(attribute_name:TEXT, Examples: [Intelligence, Strength, Speed])
]
# Table: hero_attribute
[
(hero_id:INTEGER, Examples: [1, 2, 3]),
(attribute_id:INTEGER, Examples: [1, 2, 3]),
(attribute_value:INTEGER, Examples: [80, 75, 95])
]
# Table: alignment
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(alignment:TEXT, Examples: [Good, Bad, Neutral])
]
# Table: race
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(race:TEXT, Examples: [-, Alien, Alpha])
]
# Table: gender
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(gender:TEXT, Examples: [Male, Female, N/A])
]
【Foreign keys】
hero_power.hero_id=superhero.id
hero_power.power_id=superpower.id
superhero.alignment_id=alignment.id
superhero.eye_colour_id=colour.id
superhero.gender_id=gender.id
superhero.hair_colour_id=colour.id
superhero.publisher_id=publisher.id
superhero.race_id=race.id
superhero.skin_colour_id=colour.id
hero_attribute.attribute_id=attribute.id
hero_attribute.hero_id=superhero.id

    【Question】
    Rank heroes published by Marvel Comics by their height in descending order. name refers to superhero_name; the tallest hero refers to MAX(height_cm); published by Marvel Comics refers to publisher_name = 'Marvel Comics'

    【Evidence】
    name refers to superhero_name; the tallest hero refers to MAX(height_cm); published by Marvel Comics refers to publisher_name = 'Marvel Comics'

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

SQL: SELECT superhero_name, height_cm, RANK() OVER (ORDER BY height_cm DESC) AS HeightRank FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id WHERE publisher.publisher_name = 'Marvel Comics'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 superhero
【Schema】
# Table: hero_power
[
(hero_id:INTEGER, Examples: [1, 2, 3]),
(power_id:INTEGER, Examples: [1, 18, 26])
]
# Table: colour
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(colour:TEXT, Examples: [No Colour, Amber, Auburn])
]
# Table: superpower
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(power_name:TEXT, Examples: [Agility, Accelerated Healing, Lantern Power Ring])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [ABC Studios, Dark Horse Comics, DC Comics])
]
# Table: superhero
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(superhero_name:TEXT, Examples: [3-D Man, A-Bomb, Abe Sapien]),
(full_name:TEXT, Examples: [Charles Chandler]),
(gender_id:INTEGER, Examples: [1, 2, 3]),
(eye_colour_id:INTEGER, Examples: [9, 33, 7]),
(hair_colour_id:INTEGER, Examples: [13, 1, 4]),
(skin_colour_id:INTEGER, Examples: [1, 7, 23]),
(race_id:INTEGER, Examples: [1, 24, 33]),
(publisher_id:INTEGER, Examples: [13, 3, 4]),
(alignment_id:INTEGER, Examples: [1, 2, 3]),
(height_cm:INTEGER, Examples: [188, 203, 191]),
(weight_kg:INTEGER, Examples: [90, 441, 65])
]
# Table: attribute
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(attribute_name:TEXT, Examples: [Intelligence, Strength, Speed])
]
# Table: hero_attribute
[
(hero_id:INTEGER, Examples: [1, 2, 3]),
(attribute_id:INTEGER, Examples: [1, 2, 3]),
(attribute_value:INTEGER, Examples: [80, 75, 95])
]
# Table: alignment
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(alignment:TEXT, Examples: [Good, Bad, Neutral])
]
# Table: race
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(race:TEXT, Examples: [-, Alien, Alpha])
]
# Table: gender
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(gender:TEXT, Examples: [Male, Female, N/A])
]
【Foreign keys】
hero_power.hero_id=superhero.id
hero_power.power_id=superpower.id
superhero.alignment_id=alignment.id
superhero.eye_colour_id=colour.id
superhero.gender_id=gender.id
superhero.hair_colour_id=colour.id
superhero.publisher_id=publisher.id
superhero.race_id=race.id
superhero.skin_colour_id=colour.id
hero_attribute.attribute_id=attribute.id
hero_attribute.hero_id=superhero.id

    【Question】
    Who is the publisher of Sauron? the publisher refers to publisher_name; Sauron refers to superhero_name = 'Sauron'

    【Evidence】
    the publisher refers to publisher_name; Sauron refers to superhero_name = 'Sauron'

    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 superhero AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id WHERE T1.superhero_name = 'Sauron'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 superhero
【Schema】
# Table: hero_power
[
(hero_id:INTEGER, Examples: [1, 2, 3]),
(power_id:INTEGER, Examples: [1, 18, 26])
]
# Table: colour
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(colour:TEXT, Examples: [No Colour, Amber, Auburn])
]
# Table: superpower
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(power_name:TEXT, Examples: [Agility, Accelerated Healing, Lantern Power Ring])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [ABC Studios, Dark Horse Comics, DC Comics])
]
# Table: superhero
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(superhero_name:TEXT, Examples: [3-D Man, A-Bomb, Abe Sapien]),
(full_name:TEXT, Examples: [Charles Chandler]),
(gender_id:INTEGER, Examples: [1, 2, 3]),
(eye_colour_id:INTEGER, Examples: [9, 33, 7]),
(hair_colour_id:INTEGER, Examples: [13, 1, 4]),
(skin_colour_id:INTEGER, Examples: [1, 7, 23]),
(race_id:INTEGER, Examples: [1, 24, 33]),
(publisher_id:INTEGER, Examples: [13, 3, 4]),
(alignment_id:INTEGER, Examples: [1, 2, 3]),
(height_cm:INTEGER, Examples: [188, 203, 191]),
(weight_kg:INTEGER, Examples: [90, 441, 65])
]
# Table: attribute
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(attribute_name:TEXT, Examples: [Intelligence, Strength, Speed])
]
# Table: hero_attribute
[
(hero_id:INTEGER, Examples: [1, 2, 3]),
(attribute_id:INTEGER, Examples: [1, 2, 3]),
(attribute_value:INTEGER, Examples: [80, 75, 95])
]
# Table: alignment
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(alignment:TEXT, Examples: [Good, Bad, Neutral])
]
# Table: race
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(race:TEXT, Examples: [-, Alien, Alpha])
]
# Table: gender
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(gender:TEXT, Examples: [Male, Female, N/A])
]
【Foreign keys】
hero_power.hero_id=superhero.id
hero_power.power_id=superpower.id
superhero.alignment_id=alignment.id
superhero.eye_colour_id=colour.id
superhero.gender_id=gender.id
superhero.hair_colour_id=colour.id
superhero.publisher_id=publisher.id
superhero.race_id=race.id
superhero.skin_colour_id=colour.id
hero_attribute.attribute_id=attribute.id
hero_attribute.hero_id=superhero.id

    【Question】
    Rank superheroes from Marvel Comics by their eye color popularity, starting with the most common color. the superheroes from Marvel Comics refers to publisher_name = 'Marvel Comics'; most common color refers to COUNT(superhero.id) DESC;

    【Evidence】
    the superheroes from Marvel Comics refers to publisher_name = 'Marvel Comics'; most common color refers to COUNT(superhero.id) DESC;

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

SQL: SELECT colour.colour AS EyeColor, COUNT(superhero.id) AS Count, RANK() OVER (ORDER BY COUNT(superhero.id) DESC) AS PopularityRank FROM superhero INNER JOIN colour ON superhero.eye_colour_id = colour.id INNER JOIN publisher ON superhero.publisher_id = publisher.id WHERE publisher.publisher_name = 'Marvel Comics' GROUP BY colour.colour
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 superhero
【Schema】
# Table: hero_power
[
(hero_id:INTEGER, Examples: [1, 2, 3]),
(power_id:INTEGER, Examples: [1, 18, 26])
]
# Table: colour
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(colour:TEXT, Examples: [No Colour, Amber, Auburn])
]
# Table: superpower
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(power_name:TEXT, Examples: [Agility, Accelerated Healing, Lantern Power Ring])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [ABC Studios, Dark Horse Comics, DC Comics])
]
# Table: superhero
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(superhero_name:TEXT, Examples: [3-D Man, A-Bomb, Abe Sapien]),
(full_name:TEXT, Examples: [Charles Chandler]),
(gender_id:INTEGER, Examples: [1, 2, 3]),
(eye_colour_id:INTEGER, Examples: [9, 33, 7]),
(hair_colour_id:INTEGER, Examples: [13, 1, 4]),
(skin_colour_id:INTEGER, Examples: [1, 7, 23]),
(race_id:INTEGER, Examples: [1, 24, 33]),
(publisher_id:INTEGER, Examples: [13, 3, 4]),
(alignment_id:INTEGER, Examples: [1, 2, 3]),
(height_cm:INTEGER, Examples: [188, 203, 191]),
(weight_kg:INTEGER, Examples: [90, 441, 65])
]
# Table: attribute
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(attribute_name:TEXT, Examples: [Intelligence, Strength, Speed])
]
# Table: hero_attribute
[
(hero_id:INTEGER, Examples: [1, 2, 3]),
(attribute_id:INTEGER, Examples: [1, 2, 3]),
(attribute_value:INTEGER, Examples: [80, 75, 95])
]
# Table: alignment
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(alignment:TEXT, Examples: [Good, Bad, Neutral])
]
# Table: race
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(race:TEXT, Examples: [-, Alien, Alpha])
]
# Table: gender
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(gender:TEXT, Examples: [Male, Female, N/A])
]
【Foreign keys】
hero_power.hero_id=superhero.id
hero_power.power_id=superpower.id
superhero.alignment_id=alignment.id
superhero.eye_colour_id=colour.id
superhero.gender_id=gender.id
superhero.hair_colour_id=colour.id
superhero.publisher_id=publisher.id
superhero.race_id=race.id
superhero.skin_colour_id=colour.id
hero_attribute.attribute_id=attribute.id
hero_attribute.hero_id=superhero.id

    【Question】
    What is the average height of the superheroes from Marvel Comics? superheroes from Marvel Comics refers to publisher_name = 'Marvel Comics'; average height of the superheroes refers to AVG(height_cm)

    【Evidence】
    superheroes from Marvel Comics refers to publisher_name = 'Marvel Comics'; average height of the superheroes refers to AVG(height_cm)

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

SQL: SELECT AVG(T1.height_cm) FROM superhero AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id WHERE T2.publisher_name = 'Marvel Comics'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 superhero
【Schema】
# Table: hero_power
[
(hero_id:INTEGER, Examples: [1, 2, 3]),
(power_id:INTEGER, Examples: [1, 18, 26])
]
# Table: colour
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(colour:TEXT, Examples: [No Colour, Amber, Auburn])
]
# Table: superpower
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(power_name:TEXT, Examples: [Agility, Accelerated Healing, Lantern Power Ring])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [ABC Studios, Dark Horse Comics, DC Comics])
]
# Table: superhero
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(superhero_name:TEXT, Examples: [3-D Man, A-Bomb, Abe Sapien]),
(full_name:TEXT, Examples: [Charles Chandler]),
(gender_id:INTEGER, Examples: [1, 2, 3]),
(eye_colour_id:INTEGER, Examples: [9, 33, 7]),
(hair_colour_id:INTEGER, Examples: [13, 1, 4]),
(skin_colour_id:INTEGER, Examples: [1, 7, 23]),
(race_id:INTEGER, Examples: [1, 24, 33]),
(publisher_id:INTEGER, Examples: [13, 3, 4]),
(alignment_id:INTEGER, Examples: [1, 2, 3]),
(height_cm:INTEGER, Examples: [188, 203, 191]),
(weight_kg:INTEGER, Examples: [90, 441, 65])
]
# Table: attribute
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(attribute_name:TEXT, Examples: [Intelligence, Strength, Speed])
]
# Table: hero_attribute
[
(hero_id:INTEGER, Examples: [1, 2, 3]),
(attribute_id:INTEGER, Examples: [1, 2, 3]),
(attribute_value:INTEGER, Examples: [80, 75, 95])
]
# Table: alignment
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(alignment:TEXT, Examples: [Good, Bad, Neutral])
]
# Table: race
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(race:TEXT, Examples: [-, Alien, Alpha])
]
# Table: gender
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(gender:TEXT, Examples: [Male, Female, N/A])
]
【Foreign keys】
hero_power.hero_id=superhero.id
hero_power.power_id=superpower.id
superhero.alignment_id=alignment.id
superhero.eye_colour_id=colour.id
superhero.gender_id=gender.id
superhero.hair_colour_id=colour.id
superhero.publisher_id=publisher.id
superhero.race_id=race.id
superhero.skin_colour_id=colour.id
hero_attribute.attribute_id=attribute.id
hero_attribute.hero_id=superhero.id

    【Question】
    List the superheroes from Marvel Comics who have the super power of 'Super Strength'. the superheroes from Marvel Comics refers to publisher_name = 'Marvel Comics'; super power of "Super Strength" refers to power_name = 'Super Strength';

    【Evidence】
    the superheroes from Marvel Comics refers to publisher_name = 'Marvel Comics'; super power of "Super Strength" refers to power_name = 'Super Strength';

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

SQL: SELECT superhero_name FROM superhero AS T1 WHERE EXISTS (SELECT 1 FROM hero_power AS T2 INNER JOIN superpower AS T3 ON T2.power_id = T3.id WHERE T3.power_name = 'Super Strength' AND T1.id = T2.hero_id)AND EXISTS (SELECT 1 FROM publisher AS T4 WHERE T4.publisher_name = 'Marvel Comics' AND T1.publisher_id = T4.id)
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 superhero
【Schema】
# Table: hero_power
[
(hero_id:INTEGER, Examples: [1, 2, 3]),
(power_id:INTEGER, Examples: [1, 18, 26])
]
# Table: colour
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(colour:TEXT, Examples: [No Colour, Amber, Auburn])
]
# Table: superpower
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(power_name:TEXT, Examples: [Agility, Accelerated Healing, Lantern Power Ring])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [ABC Studios, Dark Horse Comics, DC Comics])
]
# Table: superhero
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(superhero_name:TEXT, Examples: [3-D Man, A-Bomb, Abe Sapien]),
(full_name:TEXT, Examples: [Charles Chandler]),
(gender_id:INTEGER, Examples: [1, 2, 3]),
(eye_colour_id:INTEGER, Examples: [9, 33, 7]),
(hair_colour_id:INTEGER, Examples: [13, 1, 4]),
(skin_colour_id:INTEGER, Examples: [1, 7, 23]),
(race_id:INTEGER, Examples: [1, 24, 33]),
(publisher_id:INTEGER, Examples: [13, 3, 4]),
(alignment_id:INTEGER, Examples: [1, 2, 3]),
(height_cm:INTEGER, Examples: [188, 203, 191]),
(weight_kg:INTEGER, Examples: [90, 441, 65])
]
# Table: attribute
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(attribute_name:TEXT, Examples: [Intelligence, Strength, Speed])
]
# Table: hero_attribute
[
(hero_id:INTEGER, Examples: [1, 2, 3]),
(attribute_id:INTEGER, Examples: [1, 2, 3]),
(attribute_value:INTEGER, Examples: [80, 75, 95])
]
# Table: alignment
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(alignment:TEXT, Examples: [Good, Bad, Neutral])
]
# Table: race
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(race:TEXT, Examples: [-, Alien, Alpha])
]
# Table: gender
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(gender:TEXT, Examples: [Male, Female, N/A])
]
【Foreign keys】
hero_power.hero_id=superhero.id
hero_power.power_id=superpower.id
superhero.alignment_id=alignment.id
superhero.eye_colour_id=colour.id
superhero.gender_id=gender.id
superhero.hair_colour_id=colour.id
superhero.publisher_id=publisher.id
superhero.race_id=race.id
superhero.skin_colour_id=colour.id
hero_attribute.attribute_id=attribute.id
hero_attribute.hero_id=superhero.id

    【Question】
    How many superheroes did DC Comics publish? superheroes that DC Comics published refers to publisher_name = 'DC Comics'

    【Evidence】
    superheroes that DC Comics published refers to publisher_name = 'DC Comics'

    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 superhero AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id WHERE T2.publisher_name = 'DC Comics'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 superhero
【Schema】
# Table: hero_power
[
(hero_id:INTEGER, Examples: [1, 2, 3]),
(power_id:INTEGER, Examples: [1, 18, 26])
]
# Table: colour
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(colour:TEXT, Examples: [No Colour, Amber, Auburn])
]
# Table: superpower
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(power_name:TEXT, Examples: [Agility, Accelerated Healing, Lantern Power Ring])
]
# Table: publisher
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(publisher_name:TEXT, Examples: [ABC Studios, Dark Horse Comics, DC Comics])
]
# Table: superhero
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(superhero_name:TEXT, Examples: [3-D Man, A-Bomb, Abe Sapien]),
(full_name:TEXT, Examples: [Charles Chandler]),
(gender_id:INTEGER, Examples: [1, 2, 3]),
(eye_colour_id:INTEGER, Examples: [9, 33, 7]),
(hair_colour_id:INTEGER, Examples: [13, 1, 4]),
(skin_colour_id:INTEGER, Examples: [1, 7, 23]),
(race_id:INTEGER, Examples: [1, 24, 33]),
(publisher_id:INTEGER, Examples: [13, 3, 4]),
(alignment_id:INTEGER, Examples: [1, 2, 3]),
(height_cm:INTEGER, Examples: [188, 203, 191]),
(weight_kg:INTEGER, Examples: [90, 441, 65])
]
# Table: attribute
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(attribute_name:TEXT, Examples: [Intelligence, Strength, Speed])
]
# Table: hero_attribute
[
(hero_id:INTEGER, Examples: [1, 2, 3]),
(attribute_id:INTEGER, Examples: [1, 2, 3]),
(attribute_value:INTEGER, Examples: [80, 75, 95])
]
# Table: alignment
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(alignment:TEXT, Examples: [Good, Bad, Neutral])
]
# Table: race
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(race:TEXT, Examples: [-, Alien, Alpha])
]
# Table: gender
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(gender:TEXT, Examples: [Male, Female, N/A])
]
【Foreign keys】
hero_power.hero_id=superhero.id
hero_power.power_id=superpower.id
superhero.alignment_id=alignment.id
superhero.eye_colour_id=colour.id
superhero.gender_id=gender.id
superhero.hair_colour_id=colour.id
superhero.publisher_id=publisher.id
superhero.race_id=race.id
superhero.skin_colour_id=colour.id
hero_attribute.attribute_id=attribute.id
hero_attribute.hero_id=superhero.id

    【Question】
    Which publisher published the slowest superhero? the slowest superhero refers to attribute_name = 'Speed' where MIN(attribute_value); publisher refers to publisher_name

    【Evidence】
    the slowest superhero refers to attribute_name = 'Speed' where MIN(attribute_value); publisher refers to publisher_name

    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 superhero AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id INNER JOIN hero_attribute AS T3 ON T1.id = T3.hero_id INNER JOIN attribute AS T4 ON T3.attribute_id = T4.id WHERE T4.attribute_name = 'Speed' ORDER BY T3.attribute_value LIMIT 1