question_id
int64 0
80
| db_id
stringclasses 1
value | question
stringlengths 23
96
| evidence
stringlengths 0
133
| sql
stringlengths 47
246
| iql
stringlengths 17
50
| difficulty
stringclasses 1
value |
---|---|---|---|---|---|---|
0 | superhero | Please list all the superpowers of 3-D Man. | 3-D Man refers to superhero_name = '3-D Man'; superpowers refers to power_name | 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 = '3-D Man' | filter_by_superhero_name("3-D Man") | simple |
1 | superhero | How many superheroes have the super power of "Super Strength"? | super power of "Super Strength" refers to power_name = 'Super Strength' | SELECT COUNT(T1.hero_id) FROM hero_power AS T1 INNER JOIN superpower AS T2 ON T1.power_id = T2.id WHERE T2.power_name = 'Super Strength' | UNSUPPORTED_QUERY | simple |
2 | superhero | Please list the full names of all the superheroes with over 15 super powers. | 15 super powers refers to COUNT(full_name) > 15 | SELECT DISTINCT T1.full_name FROM superhero AS T1 INNER JOIN hero_power AS T2 ON T1.id = T2.hero_id GROUP BY T1.full_name HAVING COUNT(T2.power_id) > 15 | UNSUPPORTED_QUERY | simple |
3 | superhero | How many superheroes have blue eyes? | blue eyes refers to colour = 'Blue' and eye_colour_id = colour.id; | SELECT COUNT(T1.id) FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.eye_colour_id = T2.id WHERE T2.colour = 'Blue' | UNSUPPORTED_QUERY | simple |
4 | superhero | What is the colour of Apocalypse's skin? | Apocalypse refers to superhero_name = 'Apocalypse'; colour of skin refers to colour where skin_colour_id = colour.id | SELECT T2.colour FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.skin_colour_id = T2.id WHERE T1.superhero_name = 'Apocalypse' | filter_by_superhero_name("Apocalypse") | simple |
5 | superhero | How many superheroes are published by Marvel Comics? | published by Marvel Comics refers to publisher_name = 'Marvel Comics' | 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' | UNSUPPORTED_QUERY | simple |
6 | superhero | Who is the publisher of Sauron? | the publisher refers to publisher_name; Sauron refers to superhero_name = 'Sauron' | SELECT T2.publisher_name FROM superhero AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id WHERE T1.superhero_name = 'Sauron' | filter_by_superhero_name("Sauron") | simple |
7 | superhero | 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) | 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' | UNSUPPORTED_QUERY | simple |
8 | superhero | How many superheroes did DC Comics publish? | superheroes that DC Comics published refers to publisher_name = 'DC Comics' | 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' | UNSUPPORTED_QUERY | simple |
9 | superhero | What is the publisher's name of Blue Beetle II? | Blue Beetle II refers to superhero_name = 'Blue Beetle II' | SELECT T2.publisher_name FROM superhero AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id WHERE T1.superhero_name = 'Blue Beetle II' | filter_by_superhero_name("Blue Beetle II") | simple |
10 | superhero | How many superheroes with blonde hair are there? | superheroes with blonde hair refers to colour = 'Blond' where hair_colour_id = colour.id | SELECT COUNT(T1.id) FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.hair_colour_id = T2.id WHERE T2.colour = 'Blond' | UNSUPPORTED_QUERY | simple |
11 | superhero | What is Copycat's race? | Copycat is the superhero_name; | SELECT T2.race FROM superhero AS T1 INNER JOIN race AS T2 ON T1.race_id = T2.id WHERE T1.superhero_name = 'Copycat' | filter_by_superhero_name("Copycat") | simple |
12 | superhero | Which superheroes have a durability attribute value of less than 50? | durability of less than 50 refers to attribute_name = 'Durability' AND attribute_value < 50 | SELECT superhero_name FROM superhero AS T1 WHERE EXISTS (SELECT 1 FROM hero_attribute AS T2 INNER JOIN attribute AS T3 ON T2.attribute_id = T3.id WHERE T3.attribute_name = 'Durability' AND T2.attribute_value < 50 AND T1.id = T2.hero_id) | UNSUPPORTED_QUERY | simple |
13 | superhero | 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)) | 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 | UNSUPPORTED_QUERY | simple |
14 | superhero | How many vampire superheroes are there? | vampire superheroes refers to race = 'Vampire' | SELECT COUNT(T1.superhero_name) FROM superhero AS T1 INNER JOIN race AS T2 ON T1.race_id = T2.id WHERE T2.race = 'Vampire' | UNSUPPORTED_QUERY | simple |
15 | superhero | Give the publisher ID of Star Trek. | Star Trek is the publisher_name; | SELECT id FROM publisher WHERE publisher_name = 'Star Trek' | filter_by_publisher("Star Trek") | simple |
16 | superhero | Calculate the average attribute value of all superheroes. | average attribute value of all superheroes refers to AVG(attribute_value) | SELECT AVG(attribute_value) FROM hero_attribute | UNSUPPORTED_QUERY | simple |
17 | superhero | What is the total number of superheroes without full name? | superheroes without full name refers to full_name IS NULL | SELECT COUNT(id) FROM superhero WHERE full_name IS NULL | UNSUPPORTED_QUERY | simple |
18 | superhero | What is the eye colour of superhero with superhero ID 75? | eye colour refers to colour where eye_colour_id = colour.id; | SELECT T2.colour FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.eye_colour_id = T2.id WHERE T1.id = 75 | filter_by_superhero_id(75) | simple |
19 | superhero | Provide the superpowers of the superhero called Deathlok. | superpowers refers to power_name; Deathlok refers to superhero_name = 'Deathlok' | 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' | filter_by_superhero_name("Deathlok") | simple |
20 | superhero | What is the average weight of all female superheroes? | female refers to gender = 'Female'; average weight refers to AVG(weight_kg) | SELECT AVG(T1.weight_kg) FROM superhero AS T1 INNER JOIN gender AS T2 ON T1.gender_id = T2.id WHERE T2.gender = 'Female' | UNSUPPORTED_QUERY | simple |
21 | superhero | Give the name of the alien superheroes. | alien superheroes refers to race = 'Alien'; name of superhero refers to superhero_name; | SELECT T1.superhero_name FROM superhero AS T1 INNER JOIN race AS T2 ON T1.race_id = T2.id WHERE T2.race = 'Alien' | filter_by_race("Alien") | simple |
22 | superhero | What is the superpower of hero ID 56? | superpower refers to hero_power | SELECT T2.power_name FROM hero_power AS T1 INNER JOIN superpower AS T2 ON T1.power_id = T2.id WHERE T1.hero_id = 56 | filter_by_superhero_id(56) | simple |
23 | superhero | List down at least five full name of Demi-God superheroes. | Demi-God superheroes refers to race = 'Demi-God' | SELECT T1.full_name FROM superhero AS T1 INNER JOIN race AS T2 ON T1.race_id = T2.id WHERE T2.race = 'Demi-God' | filter_by_race("Demi-God") | simple |
24 | superhero | How many bad superheroes are there? | bad superheroes refers to alignment_id = Bad | SELECT COUNT(T1.id) FROM superhero AS T1 INNER JOIN alignment AS T2 ON T1.alignment_id = T2.id WHERE T2.alignment = 'Bad' | filter_by_alignment("Bad") | simple |
25 | superhero | Identify the race of the superhero who weighed 169 kg. | weighed 169 kg refers to weight_kg = 169 | SELECT T2.race FROM superhero AS T1 INNER JOIN race AS T2 ON T1.race_id = T2.id WHERE T1.weight_kg = 169 | filter_by_weight(169) | simple |
26 | superhero | What is the eye clolour of the heaviest superhero? | the heaviest superhero refers to MAX(weight_kg); eye colour refers to colour where eye_colour_id = colour.id; | SELECT T2.colour FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.eye_colour_id = T2.id ORDER BY T1.weight_kg DESC LIMIT 1 | UNSUPPORTED_QUERY | simple |
27 | superhero | Which power do superheroes have the most of? | power that superheroes have the most refers to MAX(COUNT(power_name)) | SELECT T2.power_name FROM hero_power AS T1 INNER JOIN superpower AS T2 ON T1.power_id = T2.id GROUP BY T2.power_name ORDER BY COUNT(T1.hero_id) DESC LIMIT 1 | UNSUPPORTED_QUERY | simple |
28 | superhero | Indicate the attribute value of superhero Abomination. | Abomination refers to superhero_name = 'Abomination'; | SELECT T2.attribute_value FROM superhero AS T1 INNER JOIN hero_attribute AS T2 ON T1.id = T2.hero_id WHERE T1.superhero_name = 'Abomination' | filter_by_superhero_name("Abomination") | simple |
29 | superhero | What are the superpowers of heroes with ID 1? | superpowers refers to power_name; heroes with ID 1 refers to hero_id = 1; | SELECT DISTINCT T2.power_name FROM hero_power AS T1 INNER JOIN superpower AS T2 ON T1.power_id = T2.id WHERE T1.hero_id = 1 | filter_by_superhero_id(1) | simple |
30 | superhero | How many heroes have stealth power? | stealth power refers to power_name = 'stealth'; | SELECT COUNT(T1.hero_id) FROM hero_power AS T1 INNER JOIN superpower AS T2 ON T1.power_id = T2.id WHERE T2.power_name = 'Stealth' | has_power("Stealth") | simple |
31 | superhero | What is the average of superheroes with no skin colour? | average = DIVIDE(COUNT(superhero.id), SUM(skin_colour_id = 1)); no skin colour refers to skin_colour_id WHERE colour.id = 1; | SELECT CAST(COUNT(*) AS REAL) / SUM(CASE WHEN T2.id = 1 THEN 1 ELSE 0 END) FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.skin_colour_id = T2.id | UNSUPPORTED_QUERY | simple |
32 | superhero | How many superheroes were published by Dark Horse Comics? | published by Dark Horse Comics refers to publisher_name = 'Dark Horse Comics'; | SELECT COUNT(T1.id) FROM superhero AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id WHERE T2.publisher_name = 'Dark Horse Comics' | UNSUPPORTED_QUERY | simple |
33 | superhero | What is the eyes colour of Abraham Sapien? | eye colour refers to colour.colour where eye_colour_id = colour.id; Abraham Sapien is the full name of superhero; | SELECT T2.colour FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.eye_colour_id = T2.id WHERE T1.full_name = 'Abraham Sapien' | filter_by_full_name("Abraham Sapien") | simple |
34 | superhero | List the name of superheroes with flight power. | name of superheroes refers to superhero_name; flight power refers to power_name = 'Flight'; | SELECT T1.superhero_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 T3.power_name = 'Flight' | has_power("Flight") | simple |
35 | superhero | Which group does superhero A-Bomb belong to? | group refers to race; A-Bomb refers to superhero_name = 'A-Bomb'; | SELECT T2.race FROM superhero AS T1 INNER JOIN race AS T2 ON T1.race_id = T2.id WHERE T1.superhero_name = 'A-Bomb' | filter_by_superhero_name("A-Bomb") | simple |
36 | superhero | Provide the hero name and race of Charles Chandler. | hero name refers to superhero_name; Charles Chandler is the full name of superhero; | SELECT T1.superhero_name, T2.race FROM superhero AS T1 INNER JOIN race AS T2 ON T1.race_id = T2.id WHERE T1.full_name = 'Charles Chandler' | filter_by_full_name("Charles Chandler") | simple |
37 | superhero | What is the gender of Agent 13 hero? | Agent 13 hero refers to superhero_name = 'Agent 13'; | SELECT T2.gender FROM superhero AS T1 INNER JOIN gender AS T2 ON T1.gender_id = T2.id WHERE T1.superhero_name = 'Agent 13' | filter_by_superhero_name("Agent 13") | simple |
38 | superhero | Provide superheroes' names who have the adaptation power. | adaptation power refers to power_name = 'Adaptation'; | SELECT T1.superhero_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 T3.power_name = 'Adaptation' | has_power("Adaptation") | simple |
39 | superhero | How many powers does Amazo hero have? | Amazo hero refers to superhero_name = 'Amazo'; | SELECT COUNT(T1.power_id) FROM hero_power AS T1 INNER JOIN superhero AS T2 ON T1.hero_id = T2.id WHERE T2.superhero_name = 'Amazo' | UNSUPPORTED_QUERY | simple |
40 | superhero | List the powers of Hunter Zolomon. | Hunter Zolomon is the full name of superhero; list the powers refers to power_name; | 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.full_name = 'Hunter Zolomon' | filter_by_full_name("Hunter Zolomon") | simple |
41 | superhero | Provide the heights of the heroes whose eye colours are amber. | heights of the heroes refers to height_cm; eye colours are amber refers to colour.colour = 'Amber' WHERE eye_colour_id = colour.id; | SELECT T1.height_cm FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.eye_colour_id = T2.id WHERE T2.colour = 'Amber' | filter_by_eye_color("Amber") | simple |
42 | superhero | Provide the eye colours of the heroes whose skin colours are gold. | skin colours are gold refers to colour.colour = 'Gold' WHERE skin_colour_id = colour.id; | SELECT T2.colour FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.eye_colour_id = T2.id INNER JOIN colour AS T3 ON T1.skin_colour_id = T3.id WHERE T3.colour = 'Gold' | filter_by_skin_color("Gold") | simple |
43 | superhero | Provide the full names of vampire heroes. | vampire heroes refers to race = 'Vampire'; | SELECT T1.full_name FROM superhero AS T1 INNER JOIN race AS T2 ON T1.race_id = T2.id WHERE T2.race = 'Vampire' | filter_by_race("Vampire") | simple |
44 | superhero | Describe the names of neutral alignment superheroes. | names of superheroes refers to superhero_name; neutral alignment refers to alignment = 'Neutral'; | SELECT T1.superhero_name FROM superhero AS T1 INNER JOIN alignment AS T2 ON T1.alignment_id = T2.id WHERE T2.alignment = 'Neutral' | filter_by_alignment("Neutral") | simple |
45 | superhero | What are the race and alignment of Cameron Hicks? | Cameron Hicks refers to superhero_name = 'Cameron Hicks'; | SELECT T2.race, T3.alignment FROM superhero AS T1 INNER JOIN race AS T2 ON T1.race_id = T2.id INNER JOIN alignment AS T3 ON T1.alignment_id = T3.id WHERE T1.superhero_name = 'Cameron Hicks' | filter_by_superhero_name("Cameron Hicks") | simple |
46 | superhero | Find the average weight of the heroes who are aliens. | average = AVG(weight_kg); aliens refers to race = 'Alien'; | SELECT CAST(SUM(T1.weight_kg) AS REAL) / COUNT(T1.id) FROM superhero AS T1 INNER JOIN race AS T2 ON T1.race_id = T2.id WHERE T2.race = 'Alien' | UNSUPPORTED_QUERY | simple |
47 | superhero | Calculate the average height for each superhero. | average = DIVIDE(SUM(height_cm), COUNT(all heros)); | SELECT CAST(SUM(height_cm) AS REAL) / COUNT(id) FROM superhero | UNSUPPORTED_QUERY | simple |
48 | superhero | What is Abomination's superpower? | Abomination refers to superhero_name = 'Abomination'; superpower refers to power_name; | 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 = 'Abomination' | filter_by_superhero_name("Abomination") | simple |
49 | superhero | Among the superheroes with the race of god/eternal, how many of them are male | race "god/eternal" refers to race_id = 21; male refers to gender.id = 1 | SELECT COUNT(*) FROM superhero AS T1 INNER JOIN race AS T2 ON T1.race_id = T2.id INNER JOIN gender AS T3 ON T3.id = T1.gender_id WHERE T1.race_id = 21 AND T1.gender_id = 1 | UNSUPPORTED_QUERY | simple |
50 | superhero | How many superheroes have a neutral alignment? | neutral alignment refers to alignment_id = 3; | SELECT COUNT(T1.id) FROM superhero AS T1 INNER JOIN alignment AS T2 ON T1.alignment_id = T2.id WHERE T2.alignment = 'Neutral' | UNSUPPORTED_QUERY | simple |
51 | superhero | How many superheroes didn't have any publisher? | didn't have any publisher refers to publisher.id = 1; | SELECT COUNT(T1.id) FROM superhero AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id WHERE T2.id = 1 | UNSUPPORTED_QUERY | simple |
52 | superhero | Who is the tallest superhero? | who refers to superhero_name; tallest superhero refers to MAX(height_cm); | SELECT superhero_name FROM superhero ORDER BY height_cm DESC LIMIT 1 | UNSUPPORTED_QUERY | simple |
53 | superhero | What is the power ID of cryokinesis? | power ID refers to superpower.id; cryokinesis refers to power_name = 'cryokinesis'; | SELECT id FROM superpower WHERE power_name = 'Cryokinesis' | has_power("Cryokinesis") | simple |
54 | superhero | Provide the name of superhero with superhero ID 294. | name of superhero refers to superhero_name; superhero ID 294 refers to superhero.id = 294; | SELECT superhero_name FROM superhero WHERE id = 294 | filter_by_superhero_id(294) | simple |
55 | superhero | List the full names of superheroes with missing weight. | missing weight refers to weight_kg = 0 OR weight_kg = NULL; | SELECT DISTINCT full_name FROM superhero WHERE full_name IS NOT NULL AND (weight_kg IS NULL OR weight_kg = 0) | filter_by_missing_weight() | simple |
56 | superhero | Provide the eye colour of the superhero who has Karen Beecher-Duncan as their full name. | eye colour refers to colour.colour where eye_colour_id = colour.id; Karen Beecher-Duncan is the full name of superhero; | SELECT T2.colour FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.eye_colour_id = T2.id WHERE T1.full_name = 'Karen Beecher-Duncan' | filter_by_full_name("Karen Beecher-Duncan") | simple |
57 | superhero | What is the superpowers of the superhero has Helen Parr as their full name? | superpowers refers to power_name; Helen Parr is the full name of superhero; | 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.full_name = 'Helen Parr' | filter_by_full_name("Helen Parr") | simple |
58 | superhero | Find the race of the superhero who weighs 108kg and is 188cm tall. | weighs 108kg refers to weight_kg = 108; 188cm tall refers to height_cm = 188; | SELECT DISTINCT T2.race FROM superhero AS T1 INNER JOIN race AS T2 ON T1.race_id = T2.id WHERE T1.weight_kg = 108 AND T1.height_cm = 188 | filter_by_weight(108) AND filter_by_height(188) | simple |
59 | superhero | What is the publisher name of the superhero ID 38? | superhero ID 38 refers to superhero.id = 38; | SELECT T2.publisher_name FROM superhero AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id WHERE T1.id = 38 | filter_by_superhero_id(38) | simple |
60 | superhero | What is the race of the superhero with maximum attribute value? | maximum attribute value refers to MAX(attribute_value); | SELECT T3.race FROM superhero AS T1 INNER JOIN hero_attribute AS T2 ON T1.id = T2.hero_id INNER JOIN race AS T3 ON T1.race_id = T3.id ORDER BY T2.attribute_value DESC LIMIT 1 | UNSUPPORTED_QUERY | simple |
61 | superhero | Give the alignment and superpowers of the superhero named Atom IV. | superpowers refers to power_name; | SELECT T4.alignment, 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 T3.id = T2.power_id INNER JOIN alignment AS T4 ON T1.alignment_id = T4.id WHERE T1.superhero_name = 'Atom IV' | filter_by_superhero_name("Atom IV") | simple |
62 | superhero | List down at least five full names of superheroes with blue eyes. | blue eyes refers to colour.colour = 'Blue' WHERE eye_colour_id = colour.id; Name of superheroes refers to superhero_name; | SELECT T1.superhero_name FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.eye_colour_id = T2.id WHERE T2.colour = 'Blue' LIMIT 5 | filter_by_eye_color("Blue") | simple |
63 | superhero | Calculate the average attribute value of all neutral superheroes. | average = AVG(attribute_value); neutral superheroes refers to alignment_id = 3; | SELECT AVG(T1.attribute_value) FROM hero_attribute AS T1 INNER JOIN superhero AS T2 ON T1.hero_id = T2.id INNER JOIN alignment AS T3 ON T2.alignment_id = T3.id WHERE T3.alignment = 'Neutral' | UNSUPPORTED_QUERY | simple |
64 | superhero | Count the good female superheroes. | good refers to alignment.id = 1; female refers to gender.id = 2; | SELECT COUNT(T1.id) FROM superhero AS T1 INNER JOIN alignment AS T2 ON T1.alignment_id = T2.id INNER JOIN gender AS T3 ON T1.gender_id = T3.id WHERE T2.alignment = 'Good' AND T3.gender = 'Female' | UNSUPPORTED_QUERY | simple |
65 | superhero | Provide the names of superheroes with attribute value between 75 to 80. | names of superheroes refers to superhero_name; attribute value between 75 to 80 refers to attribute_value BETWEEN 75 AND 80; | SELECT T1.superhero_name FROM superhero AS T1 INNER JOIN hero_attribute AS T2 ON T1.id = T2.hero_id WHERE T2.attribute_value BETWEEN 75 AND 80 | UNSUPPORTED_QUERY | simple |
66 | superhero | List down Ajax's superpowers. | Ajax refers to superhero_name = 'Ajax'; superpowers refers to power_name; | 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 = 'Ajax' | filter_by_superhero_name("Ajax") | simple |
67 | superhero | Identify the heaviest superhero in DC Comics. | heaviest refers to MAX(weight_kg); DC Comics refers to publisher_name = 'DC Comics'; superhero refers to superhero_name; | SELECT T1.superhero_name FROM superhero AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id WHERE T2.publisher_name = 'DC Comics' ORDER BY T1.weight_kg DESC LIMIT 1 | UNSUPPORTED_QUERY | simple |
68 | superhero | Count the fastest superheroes. | fastest refers to attribute_value = 100 WHERE attribute_name = 'Speed'; | SELECT COUNT(T3.superhero_name) FROM hero_attribute AS T1 INNER JOIN attribute AS T2 ON T1.attribute_id = T2.id INNER JOIN superhero AS T3 ON T1.hero_id = T3.id WHERE T2.attribute_name = 'Speed' AND T1.attribute_value = 100 | UNSUPPORTED_QUERY | simple |
69 | superhero | What is Abomination's eye colour? | Abomination refers to superhero_name = 'Abomination'; eye colour refers to colour.colour where eye_colour_id = colour.id; | SELECT T2.colour FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.eye_colour_id = T2.id WHERE T1.superhero_name = 'Abomination' | filter_by_superhero_name("Abomination") | simple |
70 | superhero | Name the tallest superhero. | tallest superhero refers to MAX(height_cm); | SELECT superhero_name FROM superhero ORDER BY height_cm DESC LIMIT 1 | UNSUPPORTED_QUERY | simple |
71 | superhero | Name the superhero, otherwise known as Charles Chandler. | name the superhero refers to superhero_name; Charles Chandler is the full name of superhero; | SELECT superhero_name FROM superhero WHERE full_name = 'Charles Chandler' | filter_by_full_name("Charles Chandler") | simple |
72 | superhero | What is the total number of superheroes that have John as their first name? | have John as their first name refers to full_name LIKE 'John%'; | SELECT COUNT(id) FROM superhero WHERE full_name LIKE 'John%' | UNSUPPORTED_QUERY | simple |
73 | superhero | Give the hero ID of superhero with the lowest attribute value. | lowest attribute value refers to MIN(attribute_value); | SELECT hero_id FROM hero_attribute WHERE attribute_value = ( SELECT MIN(attribute_value) FROM hero_attribute ) | UNSUPPORTED_QUERY | simple |
74 | superhero | Provide the full name of the superhero named Alien. | SELECT full_name FROM superhero WHERE superhero_name = 'Alien' | filter_by_superhero_name("Alien") | simple |
|
75 | superhero | In superheroes with weight less than 100, list the full name of the superheroes with brown eyes. | weight less than 100 refers to weight_kg < 100 | SELECT T1.full_name FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.eye_colour_id = T2.id WHERE T1.weight_kg < 100 AND T2.colour = 'Brown' | lighter_than(100) AND filter_by_eye_color("Brown") | simple |
76 | superhero | List the attribute value of the superhero named Aquababy. | SELECT T2.attribute_value FROM superhero AS T1 INNER JOIN hero_attribute AS T2 ON T1.id = T2.hero_id WHERE T1.superhero_name = 'Aquababy' | filter_by_superhero_name("Aquababy") | simple |
|
77 | superhero | Provide the weight and race of the superhero with superhero ID 40. | weight refers to weight_kg; superhero ID 40 refers to superhero.id = 40; | SELECT T1.weight_kg, T2.race FROM superhero AS T1 INNER JOIN race AS T2 ON T1.race_id = T2.id WHERE T1.id = 40 | filter_by_superhero_id(40) | simple |
78 | superhero | Calculate the average height of all neutral superheroes. | SELECT AVG(T1.height_cm) FROM superhero AS T1 INNER JOIN alignment AS T2 ON T1.alignment_id = T2.id WHERE T2.alignment = 'Neutral' | filter_by_alignment("Neutral") | simple |
|
79 | superhero | List the hero ID of superheroes have intellegence as their power. | hero ID refers to superhero.id; have intelligence as their power refers to power_name = 'Intelligence'; | SELECT T1.hero_id FROM hero_power AS T1 INNER JOIN superpower AS T2 ON T1.power_id = T2.id WHERE T2.power_name = 'Intelligence' | has_power("Intelligence") | simple |
80 | superhero | Give the eye colour of Blackwulf. | eye colour refers to colour.colour where eye_colour_id = colour.id; Blackwulf refers to superhero_name = 'Blackwulf'; | SELECT T2.colour FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.eye_colour_id = T2.id WHERE T1.superhero_name = 'Blackwulf' | filter_by_superhero_name("Blackwulf") | simple |
README.md exists but content is empty.
Use the Edit dataset card button to edit it.
- Downloads last month
- 2