Chinastark/bird_dataset huggingface dataset:
Database: superhero
Note: skin colours are gold refers to colour.colour = 'Gold' WHERE skin_colour_id = colour.id;
Question: Provide the eye colours of the heroes whose skin colours are gold.
SQL: SELECT colour.colour FROM superhero INNER JOIN colour ON superhero.eye_colour_id = colour.id INNER JOIN colour ON superhero.skin_colour_id = colour.id WHERE colour.colour = 'Gold'
Database: superhero
Note: vampire heroes refers to race = 'Vampire';
Question: Provide the full names of vampire heroes.
SQL: SELECT superhero.full_name FROM superhero INNER JOIN race ON superhero.race_id = race.id WHERE race.race = 'Vampire'
Database: superhero
Note: names of superheroes refers to superhero_name; neutral alignment refers to alignment = 'Neutral';
Question: Describe the names of neutral alignment superheroes.
SQL: SELECT superhero.superhero_name FROM superhero INNER JOIN alignment ON superhero.alignment_id = alignment.id WHERE alignment.alignment = 'Neutral'
Database: superhero
Note: highest attribute value in strength refers to MAX(attribute_value) WHERE attribute_name = 'Strength';
Question: How many heroes have the highest attribute value in strength?
SQL: SELECT count(hero_attribute.hero_id) FROM hero_attribute INNER JOIN attribute ON hero_attribute.attribute_id = attribute.id WHERE attribute.attribute_name = 'Strength' AND hero_attribute.attribute_value = ( SELECT max(attribute_value) FROM hero_attribute )
Database: superhero
Note: Cameron Hicks refers to superhero_name = 'Cameron Hicks';
Question: What are the race and alignment of Cameron Hicks?
SQL: SELECT race.race, alignment.alignment FROM superhero INNER JOIN race ON superhero.race_id = race.id INNER JOIN alignment ON superhero.alignment_id = alignment.id WHERE superhero.superhero_name = 'Cameron Hicks'
Database: superhero
Note: percent = MULTIPLY(DIVidE(SUM(gender = 'Female' WHERE publisher_name = 'Marvel Comics'), COUNT(publisher_name = 'Marvel Comics')), 100); female heroes refers to gender = 'Female'; Marvel Comics refers to publisher_name = 'Marvel Comics';
Question: How many percent of female heroes were published by Marvel Comics?
SQL: SELECT cast(count(CASE WHEN publisher.publisher_name = 'Marvel Comics' THEN 1 ELSE NULL END) AS REAL) * 100 / count(superhero.id) FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id INNER JOIN gender ON superhero.gender_id = gender.id WHERE gender.gender = 'Female'
Database: superhero
Note: average = AVG(weight_kg); aliens refers to race = 'Alien';
Question: Find the average weight of the heroes who are aliens.
SQL: SELECT cast(sum(superhero.weight_kg) AS REAL) / count(superhero.id) FROM superhero INNER JOIN race ON superhero.race_id = race.id WHERE race.race = 'Alien'
Database: superhero
Note: difference = SUBTRACT(SUM(weight_kg WHERE full_name = 'Emil Blonsky'), SUM(weight_kg WHERE full_name = 'Charles Chandler')); Emil Blonsky is the full name of superhero; Charles Chandler is the full name of superhero;
Question: Calculate the difference between Emil Blonsky's weight and Charles Chandler's weight.
SQL: SELECT ( SELECT weight_kg FROM superhero WHERE full_name LIKE 'Emil Blonsky' ) - ( SELECT weight_kg FROM superhero WHERE full_name LIKE 'Charles Chandler' ) AS calculate
Database: superhero
Note: average = DIVidE(SUM(height_cm), COUNT(all heros));
Question: Calculate the average height for each superhero.
SQL: SELECT cast(sum(height_cm) AS REAL) / count(id) FROM superhero
Database: superhero
Note: Abomination refers to superhero_name = 'Abomination'; superpower refers to power_name;
Question: What is Abomination's superpower?
SQL: SELECT superpower.power_name FROM superhero INNER JOIN hero_power ON superhero.id = hero_power.hero_id INNER JOIN superpower ON hero_power.power_id = superpower.id WHERE superhero.superhero_name = 'Abomination'
Database: superhero
Note: race "god/eternal" refers to race_id = 21; male refers to gender.id = 1;
Question: Among the superheroes with the race of god/eternal, how many of them are male
SQL: SELECT count(*) FROM superhero INNER JOIN race ON superhero.race_id = race.id INNER JOIN gender ON gender.id = superhero.gender_id WHERE superhero.race_id = 21 AND superhero.gender_id = 1
Database: superhero
Note: which hero refers to superhero_name; fastest refers to MAX(attribute_value) WHERE attribute_name = 'Speed';
Question: Which hero was the fastest?
SQL: SELECT superhero.superhero_name FROM superhero INNER JOIN hero_attribute ON superhero.id = hero_attribute.hero_id INNER JOIN attribute ON hero_attribute.attribute_id = attribute.id WHERE attribute.attribute_name = 'Speed' ORDER BY hero_attribute.attribute_value DESC LIMIT 1
Database: superhero
Note: neutral alignment refers to alignment_id = 3;
Question: How many superheroes have a neutral alignment?
SQL: SELECT count(superhero.id) FROM superhero INNER JOIN alignment ON superhero.alignment_id = alignment.id WHERE alignment.alignment = 'Neutral'
Database: superhero
Note: 3-D Man is the superhero_name. attributes refers to attribute_name; values refers to attribute_value;
Question: State all of 3-D Man's attributes along with their values.
SQL: SELECT attribute.attribute_name, hero_attribute.attribute_value FROM superhero INNER JOIN hero_attribute ON superhero.id = hero_attribute.hero_id INNER JOIN attribute ON hero_attribute.attribute_id = attribute.id WHERE superhero.superhero_name = '3-D Man'
Database: superhero
Note: which superheroes refers to superhero_name; blue eyes refers to color = 'Blue' and color.id = eye_colour_id; brown hair refers to color = 'Brown' and color.id = hair_colour_id;
Question: Which superheroes have blue eyes with brown hair?
SQL: SELECT superhero.superhero_name FROM superhero INNER JOIN colour ON superhero.eye_colour_id = colour.id INNER JOIN colour ON superhero.hair_colour_id = colour.id WHERE colour.colour = 'Blue' AND colour.colour = 'Brown'
Database: superhero
Note: publisher refers to publisher_name; Hawkman refers to superhero_name = 'Hawkman'; Karate Kid refers to superhero_name = 'Karate Kid'; Speedy refers to superhero_name = 'Speedy';
Question: What is the publisher for Hawkman, Karate Kid and Speedy?
SQL: SELECT publisher.publisher_name FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id WHERE superhero.superhero_name IN ('Hawkman', 'Karate Kid', 'Speedy')
Database: superhero
Note: didn't have any publisher refers to publisher.id = 1;
Question: How many superheroes didn't have any publisher?
SQL: SELECT count(superhero.id) FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id WHERE publisher.id = 1
Database: superhero
Note: percentage = MULTIPLY(DIVidE(SUM(superhero_name WHERE color = 'Blue'), COUNT(superhero_name)), 100.0); blue eyes refers to color = 'Blue' and color.id =  eye_colour_id = 7;
Question: Calculate the percentage of superheroes with blue eyes.
SQL: SELECT cast(count(CASE WHEN colour.colour = 'Blue' THEN 1 ELSE NULL END) AS REAL) * 100 / count(superhero.id) FROM superhero INNER JOIN colour ON superhero.eye_colour_id = colour.id
Database: superhero
Note: ratio = DIVidE(SUM(gender_id = 1) / SUM(gender_id = 2)); male superheroes refers to gender = 'Female'; female superheroes refers to gender = 'Male';
Question: Find the ratio between male superheroes and female superheroes.
SQL: SELECT cast(count(CASE WHEN gender.gender = 'Male' THEN superhero.id ELSE NULL END) AS REAL) / count(CASE WHEN gender.gender = 'Female' THEN superhero.id ELSE NULL END) FROM superhero INNER JOIN gender ON superhero.gender_id = gender.id
Database: superhero
Note: who refers to superhero_name; tallest superhero refers to MAX(height_cm);
Question: Who is the tallest superhero?
SQL: SELECT superhero_name FROM superhero ORDER BY height_cm DESC LIMIT 1
Database: superhero
Note: power id refers to superpower.id; cryokinesis refers to power_name = 'cryokinesis';
Question: What is the power ID of cryokinesis?
SQL: SELECT id FROM superpower WHERE power_name = 'Cryokinesis'
Database: superhero
Note: name of superhero refers to superhero_name; superhero id 294 refers to superhero.id = 294;
Question: Provide the name of superhero with superhero ID 294.
SQL: SELECT superhero_name FROM superhero WHERE id = 294
Database: superhero
Note: missing weight refers to weight_kg = 0 OR weight_kg = NULL;
Question: List the full names of superheroes with missing weight.
SQL: SELECT DISTINCT full_name FROM superhero WHERE full_name IS NOT NULL AND (weight_kg IS NULL OR weight_kg = 0)
Database: superhero
Note: eye colour refers to colour.colour where eye_colour_id = colour.id; Karen Beecher-Duncan is the full name of superhero;
Question: Provide the eye colour of the superhero who has Karen Beecher-Duncan as their full name.
SQL: SELECT colour.colour FROM superhero INNER JOIN colour ON superhero.eye_colour_id = colour.id WHERE superhero.full_name = 'Karen Beecher-Duncan'
Database: superhero
Note: superpowers refers to power_name; Helen Parr is the full name of superhero;
Question: What is the superpowers of the superhero has Helen Parr as their full name?
SQL: SELECT superpower.power_name FROM superhero INNER JOIN hero_power ON superhero.id = hero_power.hero_id INNER JOIN superpower ON hero_power.power_id = superpower.id WHERE superhero.full_name = 'Helen Parr'
Database: superhero
Note: weighs 108kg refers to weight_kg = 108; 188cm tall refers to height_cm = 188;
Question: Find the race of the superhero who weighs 108kg and is 188cm tall.
SQL: SELECT DISTINCT race.race FROM superhero INNER JOIN race ON superhero.race_id = race.id WHERE superhero.weight_kg = 108 AND superhero.height_cm = 188
Database: superhero
Note: superhero id 38 refers to superhero.id = 38;
Question: What is the publisher name of the superhero ID 38?
SQL: SELECT publisher.publisher_name FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id WHERE superhero.id = 38
Database: superhero
Note: maximum attribute value refers to MAX(attribute_value);
Question: What is the race of the superhero with maximum attribute value?
SQL: SELECT race.race FROM superhero INNER JOIN hero_attribute ON superhero.id = hero_attribute.hero_id INNER JOIN race ON superhero.race_id = race.id ORDER BY hero_attribute.attribute_value DESC LIMIT 1
Database: superhero
Note: superpowers refers to power_name;
Question: Give the alignment and superpowers of the superhero named Atom IV.
SQL: SELECT alignment.alignment, superpower.power_name FROM superhero INNER JOIN hero_power ON superhero.id = hero_power.hero_id INNER JOIN superpower ON superpower.id = hero_power.power_id INNER JOIN alignment ON superhero.alignment_id = alignment.id WHERE superhero.superhero_name = 'Atom IV'
Database: superhero
Note: blue eyes refers to colour.colour = 'Blue' WHERE eye_colour_id = colour.id; Name of superheroes refers to superhero_name;
Question: List down at least five full names of superheroes with blue eyes.
SQL: SELECT superhero.superhero_name FROM superhero INNER JOIN colour ON superhero.eye_colour_id = colour.id WHERE colour.colour = 'Blue' LIMIT 5
Database: superhero
Note: average = AVG(attribute_value); neutral superheroes refers to alignment_id = 3;
Question: Calculate the average attribute value of all neutral superheroes.
SQL: SELECT avg(hero_attribute.attribute_value) FROM hero_attribute INNER JOIN superhero ON hero_attribute.hero_id = superhero.id INNER JOIN alignment ON superhero.alignment_id = alignment.id WHERE alignment.alignment = 'Neutral'
Database: superhero
Note: skin colour refers to colour.colour where skin_colour_id = colour.id; 100 attribute value refers to attribute_value = 100;
Question: List the skin colour of the superheroes with 100 attribute value.
SQL: SELECT DISTINCT colour.colour FROM superhero INNER JOIN colour ON superhero.skin_colour_id = colour.id INNER JOIN hero_attribute ON superhero.id = hero_attribute.hero_id WHERE hero_attribute.attribute_value = 100
Database: superhero
Note: good refers to alignment.id = 1; female refers to gender.id = 2;
Question: Count the good female superheroes.
SQL: SELECT count(superhero.id) FROM superhero INNER JOIN alignment ON superhero.alignment_id = alignment.id INNER JOIN gender ON superhero.gender_id = gender.id WHERE alignment.alignment = 'Good' AND gender.gender = 'Female'
Database: superhero
Note: names of superheroes refers to superhero_name; attribute value between 75 to 80 refers to attribute_value BETWEEN 75 AND 80;
Question: Provide the names of superheroes with attribute value between 75 to 80.
SQL: SELECT superhero.superhero_name FROM superhero INNER JOIN hero_attribute ON superhero.id = hero_attribute.hero_id WHERE hero_attribute.attribute_value BETWEEN 75 AND 80
Database: superhero
Note: blue-haired refers to colour.colour = 'blue' WHERE hair_colour_id = colour.id; male refers to gender = 'male';
Question: Give the race of the blue-haired male superhero.
SQL: SELECT race.race FROM superhero INNER JOIN colour ON superhero.hair_colour_id = colour.id INNER JOIN race ON superhero.race_id = race.id INNER JOIN gender ON superhero.gender_id = gender.id WHERE colour.colour = 'Blue' AND gender.gender = 'Male'
Database: superhero
Note: bad superheroes refers to alignment.id = 2; percentage = MULTIPLY(DIVidE(SUM(gender.id = 2 WHERE alignment.id = 2), COUNT(alignment.id = 2)), 100.0); female refers to gender.id = 2;
Question: Among the bad superheroes, what is the percentage of female superheroes?
SQL: SELECT cast(count(CASE WHEN gender.gender = 'Female' THEN superhero.id ELSE NULL END) AS REAL) * 100 / count(superhero.id) FROM superhero INNER JOIN alignment ON superhero.alignment_id = alignment.id INNER JOIN gender ON superhero.gender_id = gender.id WHERE alignment.alignment = 'Bad'
Database: superhero
Note: missing weight data refers to weight_kg = 0 OR T1.weight_kg = NULL; difference = SUBTRACT(SUM(colour.id = 7), SUM(colour.id = 1)); blue eyes refers to eye_colour_id WHERE colour.id = 7; no eye color refers to eye_colour_id WHERE colour.id = 1;
Question: In superheroes with missing weight data, calculate the difference between the number of superheroes with blue eyes and no eye color.
SQL: SELECT sum(CASE WHEN colour.id = 7 THEN 1 ELSE 0 END) - sum(CASE WHEN colour.id = 1 THEN 1 ELSE 0 END) FROM superhero INNER JOIN colour ON superhero.eye_colour_id = colour.id WHERE superhero.weight_kg = 0 OR superhero.weight_kg IS NULL
Database: superhero
Note: how strong refers to attribute_value WHERE attribute_name = 'Strength'; the Hulk refers to superhero_name = 'Hulk';
Question: How strong is the Hulk?
SQL: SELECT hero_attribute.attribute_value FROM superhero INNER JOIN hero_attribute ON superhero.id = hero_attribute.hero_id INNER JOIN attribute ON hero_attribute.attribute_id = attribute.id WHERE superhero.superhero_name = 'Hulk' AND attribute.attribute_name = 'Strength'
Database: superhero
Note: Ajax refers to superhero_name = 'Ajax'; superpowers refers to power_name;
Question: List down Ajax's superpowers.
SQL: SELECT superpower.power_name FROM superhero INNER JOIN hero_power ON superhero.id = hero_power.hero_id INNER JOIN superpower ON hero_power.power_id = superpower.id WHERE superhero.superhero_name = 'Ajax'
Database: superhero
Note: green-skinned refers to colour.colour = 'Green' WHERE skin_colour_id = colour.id; villains refers to alignment = 'Bad';
Question: How many green-skinned villains are there in the superhero universe?
SQL: SELECT count(superhero.id) FROM superhero INNER JOIN alignment ON superhero.alignment_id = alignment.id INNER JOIN colour ON superhero.skin_colour_id = colour.id WHERE alignment.alignment = 'Bad' AND colour.colour = 'Green'
Database: superhero
Note: female refers to gender = 'Female'; Marvel Comics refers to publisher_name = 'Marvel Comics';
Question: How many female superheroes are in Marvel Comics?
SQL: SELECT count(superhero.id) FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id INNER JOIN gender ON superhero.gender_id = gender.id WHERE publisher.publisher_name = 'Marvel Comics' AND gender.gender = 'Female'
Database: superhero
Note: superheroes refers to superhero_name; can control wind refers to power_name = 'Wind Control';
Question: Identify superheroes who can control wind and list their names in alphabetical order.
SQL: SELECT superhero.superhero_name FROM superhero INNER JOIN hero_power ON superhero.id = hero_power.hero_id INNER JOIN superpower ON hero_power.power_id = superpower.id WHERE superpower.power_name = 'Wind Control' ORDER BY superhero.superhero_name
Database: superhero
Note: ability of Phoenix Force refers to power_name = 'Phoenix Force';
Question: Identify the gender of the superhero who has the ability of Phoenix Force.
SQL: SELECT gender.gender FROM superhero INNER JOIN hero_power ON superhero.id = hero_power.hero_id INNER JOIN superpower ON hero_power.power_id = superpower.id INNER JOIN gender ON superhero.gender_id = gender.id WHERE superpower.power_name = 'Phoenix Force'
Database: superhero
Note: heaviest refers to MAX(weight_kg); DC Comics refers to publisher_name = 'DC Comics'; superhero refers to superhero_name;
Question: Identify the heaviest superhero in DC Comics.
SQL: SELECT superhero.superhero_name FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id WHERE publisher.publisher_name = 'DC Comics' ORDER BY superhero.weight_kg DESC LIMIT 1
Database: superhero
Note: average = AVG(height_cm); non-human superhero refers to race <> 'Human'; Dark Horse Comics refers to publisher_name = 'Dark Horse Comics';
Question: What is the average height of a non-human superhero in Dark Horse Comics?
SQL: SELECT avg(superhero.height_cm) FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id INNER JOIN race ON superhero.race_id = race.id WHERE publisher.publisher_name = 'Dark Horse Comics' AND race.race != 'Human'
Database: superhero
Note: fastest refers to attribute_value = 100 WHERE attribute_name = 'Speed';
Question: Count the fastest superheroes.
SQL: SELECT count(superhero.superhero_name) FROM hero_attribute INNER JOIN attribute ON hero_attribute.attribute_id = attribute.id INNER JOIN superhero ON hero_attribute.hero_id = superhero.id WHERE attribute.attribute_name = 'Speed' AND hero_attribute.attribute_value = 100
Database: superhero
Note: DC refers to publisher_name = 'DC Comics'; Marvel Comics refers to publisher_name = 'Marvel Comics'; difference = SUBTRACT(SUM(publisher_name = 'DC Comics'), SUM(publisher_name = 'Marvel Comics'));
Question: Which publisher created more superheroes: DC or Marvel Comics? Find the difference in the number of superheroes.
SQL: SELECT sum(CASE WHEN publisher.publisher_name = 'DC Comics' THEN 1 ELSE 0 END) - sum(CASE WHEN publisher.publisher_name = 'Marvel Comics' THEN 1 ELSE 0 END) FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id
Database: superhero
Note: weakest attribute refers to attribute_name WHERE MIN(attribute_value); Black Panther refers to superhero_name = 'Black Panther';
Question: Identify the weakest attribute of the Black Panther.
SQL: SELECT attribute.attribute_name FROM superhero INNER JOIN hero_attribute ON superhero.id = hero_attribute.hero_id INNER JOIN attribute ON hero_attribute.attribute_id = attribute.id WHERE superhero.superhero_name = 'Black Panther' ORDER BY hero_attribute.attribute_value ASC LIMIT 1
Database: superhero
Note: Abomination refers to superhero_name = 'Abomination'; eye colour refers to colour.colour where eye_colour_id = colour.id;
Question: What is Abomination's eye colour?
SQL: SELECT colour.colour FROM superhero INNER JOIN colour ON superhero.eye_colour_id = colour.id WHERE superhero.superhero_name = 'Abomination'
Database: superhero
Note: tallest superhero refers to MAX(height_cm);
Question: Name the tallest superhero.
SQL: SELECT superhero_name FROM superhero ORDER BY height_cm DESC LIMIT 1
Database: superhero
Note: name the superhero refers to superhero_name; Charles Chandler is the full name of superhero;
Question: Name the superhero, otherwise known as Charles Chandler.
SQL: SELECT superhero_name FROM superhero WHERE full_name = 'Charles Chandler'
Database: superhero
Note: created by George Lucas refers to publisher_name = 'George Lucas'; percentage = MULTIPLY(DIVidE(SUM(gender = 'Female' WHERE publisher_name = 'George Lucas'), COUNT(publisher_name = 'George Lucas')), 100.0); female refers to gender = 'Female';
Question: Among all superheroes created by George Lucas, identify the percentage of female superheroes.
SQL: SELECT cast(count(CASE WHEN gender.gender = 'Female' THEN 1 ELSE NULL END) AS REAL) * 100 / count(superhero.id) FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id INNER JOIN gender ON superhero.gender_id = gender.id WHERE publisher.publisher_name = 'George Lucas'
Database: superhero
Note: Marvel Comics refers to publisher_name = 'Marvel Comics'; percentage = MULTIPLY(DIVidE(SUM(alignment = 'Good' WHERE publisher_name = 'Marvel Comics'), COUNT(publisher_name = 'Marvel Comics')), 100.0); good superheroes refers to alignment = 'Good';
Question: Among all superheroes in Marvel Comics, identify the percentage of 'good' superheroes.
SQL: SELECT cast(count(CASE WHEN alignment.alignment = 'Good' THEN superhero.id ELSE NULL END) AS REAL) * 100 / count(superhero.id) FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id INNER JOIN alignment ON superhero.alignment_id = alignment.id WHERE publisher.publisher_name = 'Marvel Comics'
Database: superhero
Note: have John as their first name refers to full_name LIKE 'John%';
Question: What is the total number of superheroes that have John as their first name?
SQL: SELECT count(id) FROM superhero WHERE full_name LIKE 'John%'
Database: superhero
Note: lowest attribute value refers to MIN(attribute_value);
Question: Give the hero ID of superhero with the lowest attribute value.
SQL: SELECT hero_id FROM hero_attribute WHERE attribute_value = ( SELECT min(attribute_value) FROM hero_attribute )
Database: superhero
Question: Provide the full name of the superhero named Alien.
SQL: SELECT full_name FROM superhero WHERE superhero_name = 'Alien'
Database: superhero
Note: weight less than 100 refers to weight_kg < 100;
Question: In superheroes with weight less than 100, list the full name of the superheroes with brown eyes.
SQL: SELECT superhero.full_name FROM superhero INNER JOIN colour ON superhero.eye_colour_id = colour.id WHERE superhero.weight_kg < 100 AND colour.colour = 'Brown'
Database: superhero
Question: List the attribute value of the superhero named Aquababy.
SQL: SELECT hero_attribute.attribute_value FROM superhero INNER JOIN hero_attribute ON superhero.id = hero_attribute.hero_id WHERE superhero.superhero_name = 'Aquababy'
Database: superhero
Note: weight refers to weight_kg; superhero id 40 refers to superhero.id = 40;
Question: Provide the weight and race of the superhero with superhero ID 40.
SQL: SELECT superhero.weight_kg, race.race FROM superhero INNER JOIN race ON superhero.race_id = race.id WHERE superhero.id = 40
Database: superhero
Question: Calculate the average height of all neutral superheroes.
SQL: SELECT avg(superhero.height_cm) FROM superhero INNER JOIN alignment ON superhero.alignment_id = alignment.id WHERE alignment.alignment = 'Neutral'
Database: superhero
Note: hero id refers to superhero.id; have intelligence as their power refers to power_name = 'Intelligence';
Question: List the hero ID of superheroes have intellegence as their power.
SQL: SELECT hero_power.hero_id FROM hero_power INNER JOIN superpower ON hero_power.power_id = superpower.id WHERE superpower.power_name = 'Intelligence'
Database: superhero
Note: eye colour refers to colour.colour where eye_colour_id = colour.id; Blackwulf refers to superhero_name = 'Blackwulf';
Question: Give the eye colour of Blackwulf.
SQL: SELECT colour.colour FROM superhero INNER JOIN colour ON superhero.eye_colour_id = colour.id WHERE superhero.superhero_name = 'Blackwulf'