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】
    What is the name of the superhero that has the most powers? name of the superhero refers to superhero_name; superhero that has the most powers refers to MAX(COUNT(superhero_name))

    【Evidence】
    name of the superhero refers to superhero_name; superhero that has the most powers refers to MAX(COUNT(superhero_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.superhero_name FROM superhero AS T1 INNER JOIN hero_power AS T2 ON T1.id = T2.hero_id GROUP BY T1.superhero_name ORDER BY COUNT(T2.hero_id) DESC LIMIT 1
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 vampire superheroes are there? vampire superheroes refers to race = 'Vampire'

    【Evidence】
    vampire superheroes refers to race = 'Vampire'

    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.superhero_name) FROM superhero AS T1 INNER JOIN race AS T2 ON T1.race_id = T2.id WHERE T2.race = 'Vampire'
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】
    Give the publisher ID of Star Trek. Star Trek is the publisher_name;

    【Evidence】
    Star Trek is the 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 id FROM publisher WHERE publisher_name = 'Star Trek'
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】
    Calculate the average attribute value of all superheroes. average attribute value of all superheroes refers to AVG(attribute_value)

    【Evidence】
    average attribute value of all superheroes refers to AVG(attribute_value)

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

SQL: SELECT AVG(attribute_value) FROM hero_attribute
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 total number of superheroes without full name? superheroes without full name refers to full_name IS NULL

    【Evidence】
    superheroes without full name refers to full_name IS NULL

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

SQL: SELECT COUNT(id) FROM superhero WHERE full_name IS NULL
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 eye colour of superhero with superhero ID 75? eye colour refers to colour where eye_colour_id = colour.id;

    【Evidence】
    eye colour refers to colour where eye_colour_id = colour.id;

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

SQL: SELECT T2.colour FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.eye_colour_id = T2.id WHERE T1.id = 75
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】
    Provide the superpowers of the superhero called Deathlok. superpowers refers to power_name; Deathlok refers to superhero_name = 'Deathlok'

    【Evidence】
    superpowers refers to power_name; Deathlok refers to superhero_name = 'Deathlok'

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

SQL: SELECT T3.power_name FROM superhero AS T1 INNER JOIN hero_power AS T2 ON T1.id = T2.hero_id INNER JOIN superpower AS T3 ON T2.power_id = T3.id WHERE T1.superhero_name = 'Deathlok'
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 weight of all female superheroes? female refers to gender = 'Female'; average weight refers to AVG(weight_kg)

    【Evidence】
    female refers to gender = 'Female'; average weight refers to AVG(weight_kg)

    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.weight_kg) FROM superhero AS T1 INNER JOIN gender AS T2 ON T1.gender_id = T2.id WHERE T2.gender = 'Female'