Chinastark/bird_dataset huggingface dataset:
Database: superhero
Note: blue eyes refers to colour = 'Blue' and eye_colour_id = colour.id; super power of "Agility" refers to power_name = 'Agility';
Question: Among the superheroes with blue eyes, how many of them have the super power of "Agility"?
SQL: SELECT count(superhero.id) 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 colour ON superhero.eye_colour_id = colour.id WHERE superpower.power_name = 'Agility' AND colour.colour = 'Blue'
Database: superhero
Note: blue eyes refers to colour = 'Blue' and eye_colour_id = colour.id; blond hair refers to colour = 'Blond' and hair_colour_id = colour.id; super power of "Agility" refers to power_name = 'Agility';
Question: Please list the superhero names of all the superheroes that have blue eyes and blond 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 = 'Blond'
Database: superhero
Note: published by Marvel Comics refers to publisher_name = 'Marvel Comics';
Question: How many superheroes are published by Marvel Comics?
SQL: SELECT count(superhero.id) FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id WHERE publisher.publisher_name = 'Marvel Comics'
Database: superhero
Note: name refers to superhero_name; the tallest hero refers to MAX(height_cm); published by Marvel Comics refers to publisher_name = 'Marvel Comics';
Question: Rank heroes published by Marvel Comics by their height in descending order.
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'
Database: superhero
Note: the publisher refers to publisher_name; Sauron refers to superhero_name = 'Sauron';
Question: Who is the publisher of Sauron?
SQL: SELECT publisher.publisher_name FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id WHERE superhero.superhero_name = 'Sauron'
Database: superhero
Note: the superheroes from Marvel Comics refers to publisher_name = 'Marvel Comics'; most common color refers to COUNT(superhero.id) DESC;
Question: Rank superheroes from Marvel Comics by their eye color popularity, starting with the most common color.
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
Database: superhero
Note: superheroes from Marvel Comics refers to publisher_name = 'Marvel Comics'; average height of the superheroes refers to AVG(height_cm);
Question: What is the average height of the superheroes from Marvel Comics?
SQL: SELECT avg(superhero.height_cm) FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id WHERE publisher.publisher_name = 'Marvel Comics'
Database: superhero
Note: the superheroes from Marvel Comics refers to publisher_name = 'Marvel Comics'; super power of "Super Strength" refers to power_name = 'Super Strength';
Question: List the superheroes from Marvel Comics who have the super power of 'Super Strength'.
SQL: SELECT superhero_name FROM superhero WHERE EXISTS (SELECT 1 FROM hero_power INNER JOIN superpower ON hero_power.power_id = superpower.id WHERE superpower.power_name = 'Super Strength' AND superhero.id = hero_power.hero_id)AND EXISTS (SELECT 1 FROM publisher WHERE publisher.publisher_name = 'Marvel Comics' AND superhero.publisher_id = publisher.id)
Database: superhero
Note: superheroes that DC Comics published refers to publisher_name = 'DC Comics';
Question: How many superheroes did DC Comics publish?
SQL: SELECT count(superhero.id) FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id WHERE publisher.publisher_name = 'DC Comics'
Database: superhero
Note: the slowest superhero refers to attribute_name = 'Speed' where MIN(attribute_value); publisher refers to publisher_name;
Question: Which publisher published the slowest superhero?
SQL: SELECT publisher.publisher_name FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id 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 LIMIT 1
Database: superhero
Note: gold-eyed refers to colour = 'Gold' where eye_colour_id = colour.id; superheroes that Marvel Comics published refers to publisher_name = 'Marvel Comics';
Question: How many gold-eyed superheroes did Marvel Comics publish?
SQL: SELECT count(superhero.id) FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id INNER JOIN colour ON superhero.eye_colour_id = colour.id WHERE publisher.publisher_name = 'Marvel Comics' AND colour.colour = 'Gold'
Database: superhero
Note: Blue Beetle II refers to superhero_name = 'Blue Beetle II';
Question: What is the publisher's name of Blue Beetle II?
SQL: SELECT publisher.publisher_name FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id WHERE superhero.superhero_name = 'Blue Beetle II'
Database: superhero
Note: superheroes with blonde hair refers to colour = 'Blond' where hair_colour_id = colour.id;
Question: How many superheroes with blonde hair are there?
SQL: SELECT count(superhero.id) FROM superhero INNER JOIN colour ON superhero.hair_colour_id = colour.id WHERE colour.colour = 'Blond'
Database: superhero
Note: the dumbest superhero refers to MIN(attribute_value) where attribute_name = 'Intelligence';
Question: Who is the dumbest superhero?
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 = 'Intelligence' ORDER BY hero_attribute.attribute_value LIMIT 1
Database: superhero
Note: Copycat is the superhero_name;
Question: What is Copycat's race?
SQL: SELECT race.race FROM superhero INNER JOIN race ON superhero.race_id = race.id WHERE superhero.superhero_name = 'Copycat'
Database: superhero
Note: durability of less than 50 refers to attribute_name = 'Durability' AND attribute_value < 50;
Question: Which superheroes have a durability attribute value of less than 50?
SQL: SELECT superhero_name FROM superhero WHERE EXISTS (SELECT 1 FROM hero_attribute INNER JOIN attribute ON hero_attribute.attribute_id = attribute.id WHERE attribute.attribute_name = 'Durability' AND hero_attribute.attribute_value < 50 AND superhero.id = hero_attribute.hero_id)
Database: superhero
Note: name of superheroes refers to refers to superhero_name; the power of death touch refers to power_name = 'Death Touch';
Question: What are the names of the superheroes with the power of death touch?
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 = 'Death Touch'
Database: superhero
Note: female refers to gender = 'Female'; strength value of 100 refers to attribute_name = 'Strength' AND attribute_value = 100;
Question: How many female superheroes have a strength value of 100?
SQL: SELECT count(superhero.id) FROM superhero INNER JOIN hero_attribute ON superhero.id = hero_attribute.hero_id INNER JOIN attribute ON hero_attribute.attribute_id = attribute.id INNER JOIN gender ON superhero.gender_id = gender.id WHERE attribute.attribute_name = 'Strength' AND hero_attribute.attribute_value = 100 AND gender.gender = 'Female'
Database: superhero
Note: name of the superhero refers to superhero_name; superhero that has the most powers refers to MAX(COUNT(superhero_name));
Question: What is the name of the superhero that has the most powers?
SQL: SELECT superhero.superhero_name FROM superhero INNER JOIN hero_power ON superhero.id = hero_power.hero_id GROUP BY superhero.superhero_name ORDER BY count(hero_power.hero_id) DESC LIMIT 1
Database: superhero
Note: vampire superheroes refers to race = 'Vampire';
Question: How many vampire superheroes are there?
SQL: SELECT count(superhero.superhero_name) FROM superhero INNER JOIN race ON superhero.race_id = race.id WHERE race.race = 'Vampire'
Database: superhero
Note: published by Marvel Comics refers to publisher_name = 'Marvel Comics'; superheroes who act in their own self-interest or make decisions based on their own moral code refers to alignment = 'Bad'; calculation = MULTIPLY(DIVidE(SUM(alignment = 'Bad); count(id)), 100);
Question: What is the percentage of superheroes who act in their own self-interest or make decisions based on their own moral code? Indicate how many of the said superheroes were published by Marvel Comics.
SQL: SELECT (cast(count(*) AS REAL) * 100 / (SELECT count(*) FROM superhero)), cast(sum(CASE WHEN publisher.publisher_name = 'Marvel Comics' THEN 1 ELSE 0 END) AS REAL) FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id INNER JOIN alignment ON alignment.id = superhero.alignment_id WHERE alignment.alignment = 'Bad'
Database: superhero
Note: DC refers to publisher_name = 'DC Comics'; Marvel Comics refers to publisher_name = 'Marvel Comics'; calculation = SUBTRACT(SUM(publisher_name = 'Marvel Comics'), SUM(publisher_name = 'DC Comics'));
Question: Between DC and Marvel Comics, which publisher has published more superheroes? Find the difference in the number of superheroes they have published.
SQL: SELECT sum(CASE WHEN publisher.publisher_name = 'Marvel Comics' THEN 1 ELSE 0 END) - sum(CASE WHEN publisher.publisher_name = 'DC Comics' THEN 1 ELSE 0 END) FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id
Database: superhero
Note: Star Trek is the publisher_name;
Question: Give the publisher ID of Star Trek.
SQL: SELECT id FROM publisher WHERE publisher_name = 'Star Trek'
Database: superhero
Note: average attribute value of all superheroes refers to AVG(attribute_value);
Question: Calculate the average attribute value of all superheroes.
SQL: SELECT avg(attribute_value) FROM hero_attribute
Database: superhero
Note: superheroes without full name refers to full_name IS NULL;
Question: What is the total number of superheroes without full name?
SQL: SELECT count(id) FROM superhero WHERE full_name IS NULL
Database: superhero
Note: eye colour refers to colour where eye_colour_id = colour.id;
Question: What is the eye colour of superhero with superhero ID 75?
SQL: SELECT colour.colour FROM superhero INNER JOIN colour ON superhero.eye_colour_id = colour.id WHERE superhero.id = 75
Database: superhero
Note: superpowers refers to power_name; Deathlok refers to superhero_name = 'Deathlok';
Question: Provide the superpowers of the superhero called Deathlok.
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 = 'Deathlok'
Database: superhero
Note: female refers to gender = 'Female'; average weight refers to AVG(weight_kg);
Question: What is the average weight of all female superheroes?
SQL: SELECT avg(superhero.weight_kg) FROM superhero INNER JOIN gender ON superhero.gender_id = gender.id WHERE gender.gender = 'Female'
Database: superhero
Note: male refers to gender = 'Male'; superpowers refers to power_name;
Question: List down at least five superpowers of male superheroes.
SQL: SELECT 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 gender ON gender.id = superhero.gender_id WHERE gender.gender = 'Male' LIMIT 5
Database: superhero
Note: alien superheroes refers to race = 'Alien'; name of superhero refers to superhero_name;
Question: Give the name of the alien superheroes.
SQL: SELECT superhero.superhero_name FROM superhero INNER JOIN race ON superhero.race_id = race.id WHERE race.race = 'Alien'
Database: superhero
Note: height from 170 to 190 refers to height_cm BETWEEN 170 AND 190; no eye color refers to colour = 'No colour';
Question: Among the superheroes with height from 170 to 190, list the names of the superheroes with no eye color.
SQL: SELECT DISTINCT superhero.superhero_name FROM superhero INNER JOIN colour ON superhero.eye_colour_id = colour.id WHERE superhero.height_cm BETWEEN 170 AND 190 AND colour.colour = 'No Colour'
Database: superhero
Note: superpower refers to hero_power;
Question: What is the superpower of hero ID 56?
SQL: SELECT superpower.power_name FROM hero_power INNER JOIN superpower ON hero_power.power_id = superpower.id WHERE hero_power.hero_id = 56
Database: superhero
Note: Demi-God superheroes refers to race = 'Demi-God';
Question: List down at least five full name of Demi-God superheroes.
SQL: SELECT superhero.full_name FROM superhero INNER JOIN race ON superhero.race_id = race.id WHERE race.race = 'Demi-God'
Database: superhero
Note: bad superheroes refers to alignment_id = Bad;
Question: How many bad superheroes are there?
SQL: SELECT count(superhero.id) FROM superhero INNER JOIN alignment ON superhero.alignment_id = alignment.id WHERE alignment.alignment = 'Bad'
Database: superhero
Note: weighed 169 kg refers to weight_kg = 169;
Question: Identify the race of the superhero who weighed 169 kg.
SQL: SELECT race.race FROM superhero INNER JOIN race ON superhero.race_id = race.id WHERE superhero.weight_kg = 169
Database: superhero
Note: 185 cm tall refers to height_cm = 185; human superhero refers to race = 'human'; hair colour refers to colour where hair_colour_id = colour.id;
Question: Provide the hair colour of the human superhero who is 185 cm tall.
SQL: SELECT DISTINCT colour.colour FROM superhero INNER JOIN race ON superhero.race_id = race.id INNER JOIN colour ON superhero.hair_colour_id = colour.id WHERE superhero.height_cm = 185 AND race.race = 'Human'
Database: superhero
Note: the heaviest superhero refers to MAX(weight_kg); eye colour refers to colour where eye_colour_id = colour.id;
Question: What is the eye clolour of the heaviest superhero?
SQL: SELECT colour.colour FROM superhero INNER JOIN colour ON superhero.eye_colour_id = colour.id ORDER BY superhero.weight_kg DESC LIMIT 1
Database: superhero
Note: height between 150 to 180 refers to height_cm BETWEEN 150 AND 180; heroes published by Marvel Comics refers to publisher_name = 'Marvel Comics'; calculation = MULTIPLY(DIVidE(SUM(publisher.id = 13)), COUNT(publisher.id), 100);
Question: In superheroes with height between 150 to 180, what is the percentage of heroes 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 WHERE superhero.height_cm BETWEEN 150 AND 180
Database: superhero
Note: super hero names refers to superhero_name;male superheros refers to gender = 'Male';Calculation = weight_kg > MULTIPLY(AVG(weight_kg), 0.79);
Question: Among the male superheroes, list the super hero names of superheroes with weight greater than the 79% average weight of all superheroes.
SQL: SELECT superhero.superhero_name FROM superhero INNER JOIN gender ON superhero.gender_id = gender.id WHERE gender.gender = 'Male' AND superhero.weight_kg * 100 > ( SELECT avg(weight_kg) FROM superhero ) * 79
Database: superhero
Note: power that superheroes have the most refers to MAX(COUNT(power_name));
Question: Which power do superheroes have the most of?
SQL: SELECT superpower.power_name FROM hero_power INNER JOIN superpower ON hero_power.power_id = superpower.id GROUP BY superpower.power_name ORDER BY count(hero_power.hero_id) DESC LIMIT 1
Database: superhero
Note: Abomination refers to superhero_name = 'Abomination';
Question: Indicate the attribute value of superhero Abomination.
SQL: SELECT hero_attribute.attribute_value FROM superhero INNER JOIN hero_attribute ON superhero.id = hero_attribute.hero_id WHERE superhero.superhero_name = 'Abomination'
Database: superhero
Note: superpowers refers to power_name; heroes with id 1 refers to hero_id = 1;
Question: What are the superpowers of heroes with ID 1?
SQL: SELECT DISTINCT superpower.power_name FROM hero_power INNER JOIN superpower ON hero_power.power_id = superpower.id WHERE hero_power.hero_id = 1
Database: superhero
Note: stealth power refers to power_name = 'stealth';
Question: How many heroes have stealth power?
SQL: SELECT count(hero_power.hero_id) FROM hero_power INNER JOIN superpower ON hero_power.power_id = superpower.id WHERE superpower.power_name = 'Stealth'
Database: superhero
Note: highest attribute in strength refers to MAX(attribute_value) WHERE attribute_name = 'strength';
Question: What is the hero's full name with the highest attribute in strength?
SQL: SELECT superhero.full_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 = 'Strength' ORDER BY hero_attribute.attribute_value DESC LIMIT 1
Database: superhero
Note: average = DIVidE(COUNT(superhero.id), SUM(skin_colour_id = 1)); no skin colour refers to skin_colour_id WHERE colour.id = 1;
Question: What is the average of superheroes with no skin colour?
SQL: SELECT cast(count(*) AS REAL) / sum(CASE WHEN colour.id = 1 THEN 1 ELSE 0 END) FROM superhero INNER JOIN colour ON superhero.skin_colour_id = colour.id
Database: superhero
Note: published by Dark Horse Comics refers to publisher_name = 'Dark Horse Comics';
Question: How many superheroes were published by Dark Horse Comics?
SQL: SELECT count(superhero.id) FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id WHERE publisher.publisher_name = 'Dark Horse Comics'
Database: superhero
Note: which superhero refers to superhero_name; most durability refers to MAX(attribute_value) WHERE attribute_name = 'durability'; published by Dark Horse Comics refers to publisher_name = 'Dark Horse Comics';
Question: Which superhero has the most durability published by Dark Horse Comics?
SQL: SELECT superhero.superhero_name FROM superhero INNER JOIN hero_attribute ON superhero.id = hero_attribute.hero_id INNER JOIN attribute ON attribute.id = hero_attribute.attribute_id INNER JOIN publisher ON publisher.id = superhero.publisher_id WHERE publisher.publisher_name = 'Dark Horse Comics' AND attribute.attribute_name = 'Durability' ORDER BY hero_attribute.attribute_value DESC LIMIT 1
Database: superhero
Note: eye colour refers to colour.colour where eye_colour_id = colour.id; Abraham Sapien is the full name of superhero;
Question: What is the eyes colour of Abraham Sapien?
SQL: SELECT colour.colour FROM superhero INNER JOIN colour ON superhero.eye_colour_id = colour.id WHERE superhero.full_name = 'Abraham Sapien'
Database: superhero
Note: name of superheroes refers to superhero_name; flight power refers to power_name = 'Flight';
Question: List the name of superheroes with flight power.
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 = 'Flight'
Database: superhero
Note: eyes refers to eye_colour_id; hair refers to hair_colour_id; skin colour refers to skin_colour_id; female superheroes refers to gender = 'Female'; published by Dark Horse Comics refers to publisher_name = 'Dark Horse Comics';
Question: List the eyes, hair and skin colour of all female superheroes published by Dark Horse Comics.
SQL: SELECT superhero.eye_colour_id, superhero.hair_colour_id, superhero.skin_colour_id FROM superhero INNER JOIN publisher ON publisher.id = superhero.publisher_id INNER JOIN gender ON gender.id = superhero.gender_id WHERE publisher.publisher_name = 'Dark Horse Comics' AND gender.gender = 'Female'
Database: superhero
Note: which superhero refers to superhero_name; the same eyes, hair and skin colour refers to hair_colour_id = skin_colour_id AND hair_colour_id = eye_colour_id; publisher refers to publisher_name;
Question: Which superhero has the same eyes, hair and skin colour? Indicate the publisher of the superhero.
SQL: SELECT superhero.superhero_name, publisher.publisher_name FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id WHERE superhero.eye_colour_id = superhero.hair_colour_id AND superhero.eye_colour_id = superhero.skin_colour_id
Database: superhero
Note: group refers to race; A-Bomb refers to superhero_name = 'A-Bomb';
Question: Which group does superhero A-Bomb belong to?
SQL: SELECT race.race FROM superhero INNER JOIN race ON superhero.race_id = race.id WHERE superhero.superhero_name = 'A-Bomb'
Database: superhero
Note: percentage = MULTIPLY(DIVidE(SUM(colour = 'Blue' WHERE gender = 'Female'), COUNT(gender = 'Female')), 100); blue refers to the color = 'Blue' WHERE skin_colour_id = colour.id; female refers to gender = 'Female';
Question: What is the percentage of blue female superheroes among all female superheroes?
SQL: SELECT cast(count(CASE WHEN colour.colour = 'Blue' THEN superhero.id ELSE NULL END) AS REAL) * 100 / count(superhero.id) FROM superhero INNER JOIN gender ON superhero.gender_id = gender.id INNER JOIN colour ON superhero.skin_colour_id = colour.id WHERE gender.gender = 'Female'
Database: superhero
Note: hero name refers to superhero_name; Charles Chandler is the full name of superhero;
Question: Provide the hero name and race of Charles Chandler.
SQL: SELECT superhero.superhero_name, race.race FROM superhero INNER JOIN race ON superhero.race_id = race.id WHERE superhero.full_name = 'Charles Chandler'
Database: superhero
Note: Agent 13 hero refers to superhero_name = 'Agent 13';
Question: What is the gender of Agent 13 hero?
SQL: SELECT gender.gender FROM superhero INNER JOIN gender ON superhero.gender_id = gender.id WHERE superhero.superhero_name = 'Agent 13'
Database: superhero
Note: adaptation power refers to power_name = 'Adaptation';
Question: Provide superheroes' names who have the adaptation power.
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 = 'Adaptation'
Database: superhero
Note: Amazo hero refers to superhero_name = 'Amazo';
Question: How many powers does Amazo hero have?
SQL: SELECT count(hero_power.power_id) FROM hero_power INNER JOIN superhero ON hero_power.hero_id = superhero.id WHERE superhero.superhero_name = 'Amazo'
Database: superhero
Note: Hunter Zolomon is the full name of superhero; list the powers refers to power_name;
Question: List the powers of Hunter Zolomon.
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 = 'Hunter Zolomon'
Database: superhero
Note: heights of the heroes refers to height_cm; eye colours are amber refers to colour.colour = 'Amber' WHERE eye_colour_id = colour.id;
Question: Provide the heights of the heroes whose eye colours are amber.
SQL: SELECT superhero.height_cm FROM superhero INNER JOIN colour ON superhero.eye_colour_id = colour.id WHERE colour.colour = 'Amber'
Database: superhero
Note: heroes' names refers to superhero_name; eyes and hair colours are both black refers to eye_colour_id AND hair_colour_id WHERE colour.colour = 'Black';
Question: List the heroes' names whose eyes and hair colours are both black.
SQL: SELECT superhero.superhero_name FROM superhero INNER JOIN colour ON superhero.eye_colour_id = colour.id AND superhero.hair_colour_id = colour.id WHERE colour.colour = 'Black'