Dludora/Bird-minidev-sqlserver-oracle huggingface dataset:
Database: superhero

Question: Please list all the superpowers of 3-D Man.
Evidence: 3-D Man refers to superhero_name = '3-D Man'; superpowers refers to power_name
SQL (SQLite): 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'
SQL (SQL Server): 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'
SQL (Oracle): SELECT T3.power_name FROM superhero T1 INNER JOIN hero_power T2 ON T1.id = T2.hero_id INNER JOIN superpower T3 ON T2.power_id = T3.id WHERE T1.superhero_name = '3-D Man'
Database: formula_1

Question: Which constructor scored most points from Monaco Grand Prix between 1980 and 2010? List the score, name and nationality of this team.
Evidence: Monaco Grand Priz refers to the race; race in year between 1980 and 2010
SQL (SQLite): SELECT SUM(T1.points), T2.name, T2.nationality FROM constructorResults AS T1 INNER JOIN constructors AS T2 ON T1.constructorId = T2.constructorId INNER JOIN races AS T3 ON T3.raceid = T1.raceid WHERE T3.name = 'Monaco Grand Prix' AND T3.year BETWEEN 1980 AND 2010 GROUP BY T2.name ORDER BY SUM(T1.points) DESC LIMIT 1
SQL (SQL Server): SELECT SUM(T1.points), T2.name, MIN(T2.nationality) AS nationality FROM constructorResults AS T1 INNER JOIN constructors AS T2 ON T1.constructorId = T2.constructorId INNER JOIN races AS T3 ON T3.raceid = T1.raceid WHERE T3.name = 'Monaco Grand Prix' AND T3.year BETWEEN 1980 AND 2010 GROUP BY T2.name ORDER BY SUM(T1.points) DESC OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY
SQL (Oracle): SELECT SUM(T1.points), T2.name, MIN(T2.nationality) nationality FROM constructorResults T1 INNER JOIN constructors T2 ON T1.constructorId = T2.constructorId INNER JOIN races T3 ON T3.raceid = T1.raceid WHERE T3.name = 'Monaco Grand Prix' AND T3.year BETWEEN 1980 AND 2010 GROUP BY T2.name ORDER BY SUM(T1.points) DESC NULLS LAST FETCH FIRST 1 ROWS ONLY
Database: formula_1

Question: What is full name of the racer who ranked 1st in the 3rd qualifying race held in the Marina Bay Street Circuit in 2008?
Evidence: Ranked 1st in the 3rd qualifying race refer to MIN(q3); 2008 is the year of race; full name of racer = forename, surname
SQL (SQLite): SELECT T2.forename, T2.surname FROM qualifying AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId INNER JOIN races AS T3 ON T1.raceid = T3.raceid WHERE q3 IS NOT NULL AND T3.year = 2008 AND T3.circuitId IN ( SELECT circuitId FROM circuits WHERE name = 'Marina Bay Street Circuit' ) ORDER BY CAST(SUBSTR(q3, 1, INSTR(q3, ':') - 1) AS INTEGER) * 60 + CAST(SUBSTR(q3, INSTR(q3, ':') + 1, INSTR(q3, '.') - INSTR(q3, ':') - 1) AS REAL) + CAST(SUBSTR(q3, INSTR(q3, '.') + 1) AS REAL) / 1000 ASC LIMIT 1
SQL (SQL Server): SELECT T2.forename, T2.surname FROM qualifying AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId INNER JOIN races AS T3 ON T1.raceid = T3.raceid WHERE q3 IS NOT NULL AND T3.year = 2008 AND T3.circuitId IN ( SELECT circuitId FROM circuits WHERE name = 'Marina Bay Street Circuit' ) ORDER BY TRY_CAST(SUBSTRING(q3, 1, CHARINDEX(':', q3) - 1) AS INT) * 60 + CAST(SUBSTRING(q3, CHARINDEX(':', q3) + 1, CHARINDEX('.', q3) - CHARINDEX(':', q3) - 1) AS FLOAT) + TRY_CAST(SUBSTRING(q3, CHARINDEX('.', q3) + 1, LEN(q3)) AS FLOAT) / 1000 ASC OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY
SQL (Oracle): SELECT T2.forename, T2.surname FROM qualifying T1 INNER JOIN drivers T2 on T1.driverId = T2.driverId INNER JOIN races T3 ON T1.raceid = T3.raceid WHERE q3 IS NOT NULL AND T3.year = 2008 AND T3.circuitId IN ( SELECT circuitId FROM circuits WHERE name = 'Marina Bay Street Circuit' ) ORDER BY CAST(SUBSTR(q3, 1, INSTR(q3, ':') - 1) AS NUMBER(19)) * 60 + CAST(SUBSTR(q3, INSTR(q3, ':') + 1, INSTR(q3, '.') - INSTR(q3, ':') - 1) AS BINARY_DOUBLE) + CAST(SUBSTR(q3, INSTR(q3, '.') + 1) AS BINARY_DOUBLE) / 1000 ASC NULLS FIRST FETCH FIRST 1 ROWS ONLY

Question: As of the present, what is the full name of the youngest racer? Indicate her nationality and the name of the race to which he/she first joined.
Evidence: full name refers to forename+surname; Youngest racer = MAX(dob)
SQL (SQLite): SELECT T1.forename, T1.surname, T1.nationality, T3.name FROM drivers AS T1 INNER JOIN driverStandings AS T2 on T1.driverId = T2.driverId INNER JOIN races AS T3 on T2.raceId = T3.raceId ORDER BY JULIANDAY(T1.dob) DESC LIMIT 1
SQL (SQL Server): SELECT T1.forename, T1.surname, T1.nationality, T3.name FROM drivers AS T1 INNER JOIN driverStandings AS T2 on T1.driverId = T2.driverId INNER JOIN races AS T3 on T2.raceId = T3.raceId ORDER BY TRY_CONVERT(DATE, T1.dob) DESC OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY
SQL (Oracle): SELECT T1.forename, T1.surname, T1.nationality, T3.name FROM drivers T1 INNER JOIN driverStandings T2 on T1.driverId = T2.driverId INNER JOIN races T3 on T2.raceId = T3.raceId ORDER BY TO_DATE(T1.dob, 'YYYY-MM-DD') DESC NULLS LAST FETCH FIRST 1 ROWS ONLY
Database: formula_1

Question: How many accidents did the driver who had the highest number accidents in the Canadian Grand Prix have?
Evidence: number of accidents refers to the number where statusid = 3; Canadian Grand Prix refers to the race of name

SQL (SQLite): SELECT COUNT(T1.driverId) FROM results AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId INNER JOIN status AS T3 on T1.statusId = T3.statusId WHERE T3.statusId = 3 AND T2.name = 'Canadian Grand Prix' GROUP BY T1.driverId ORDER BY COUNT(T1.driverId) DESC LIMIT 1
SQL (SQL Server): SELECT COUNT(T1.driverId) AS _agg1 FROM results AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId INNER JOIN status AS T3 on T1.statusId = T3.statusId WHERE T3.statusId = 3 AND T2.name = 'Canadian Grand Prix' GROUP BY T1.driverId ORDER BY COUNT(T1.driverId) DESC OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY
SQL (Oracle): SELECT COUNT(T1.driverId) FROM results T1 INNER JOIN races T2 on T1.raceId = T2.raceId INNER JOIN status T3 on T1.statusId = T3.statusId WHERE T3.statusId = 3 AND T2.name = 'Canadian Grand Prix' GROUP BY T1.driverId ORDER BY COUNT(T1.driverId) DESC NULLS LAST FETCH FIRST 1 ROWS ONLY
Database: formula_1

Question: Which top 20 driver created the shortest lap time ever record in a Formula_1 race? Please give them full names.
Evidence: shortest lap time refers to MIN(time); the time format for the shortest lap time is 'MM:SS.mmm' or 'M:SS.mmm'; full name of the driver refers to forename, surname
SQL (SQLite): WITH lap_times_in_seconds AS (SELECT driverId, (CASE WHEN SUBSTR(time, 1, INSTR(time, ':') - 1) <> '' THEN CAST(SUBSTR(time, 1, INSTR(time, ':') - 1) AS REAL) * 60 ELSE 0 END + CASE WHEN SUBSTR(time, INSTR(time, ':') + 1, INSTR(time, '.') - INSTR(time, ':') - 1) <> '' THEN CAST(SUBSTR(time, INSTR(time, ':') + 1, INSTR(time, '.') - INSTR(time, ':') - 1) AS REAL) ELSE 0 END + CASE WHEN SUBSTR(time, INSTR(time, '.') + 1) <> '' THEN CAST(SUBSTR(time, INSTR(time, '.') + 1) AS REAL) / 1000 ELSE 0 END) AS time_in_seconds FROM lapTimes) SELECT T2.forename, T2.surname, T1.driverId FROM (SELECT driverId, MIN(time_in_seconds) AS min_time_in_seconds FROM lap_times_in_seconds GROUP BY driverId) AS T1 INNER JOIN drivers AS T2 ON T1.driverId = T2.driverId ORDER BY T1.min_time_in_seconds ASC LIMIT 20
SQL (SQL Server): WITH lap_times_in_seconds AS (SELECT driverId, (CASE WHEN SUBSTRING(time, 1, CHARINDEX(':', time) - 1) <> '' THEN TRY_CAST(SUBSTRING(time, 1, CHARINDEX(':', time) - 1) AS FLOAT) * 60 ELSE 0 END + CASE WHEN SUBSTRING(time, CHARINDEX(':', time) + 1, CHARINDEX('.', time) - CHARINDEX(':', time) - 1) <> '' THEN TRY_CAST(SUBSTRING(time, CHARINDEX(':', time) + 1, CHARINDEX('.', time) - CHARINDEX(':', time) - 1) AS FLOAT) ELSE 0 END + CASE WHEN SUBSTRING(time, CHARINDEX('.', time) + 1, LEN(time)) <> '' THEN TRY_CAST(SUBSTRING(time, CHARINDEX('.', time) + 1, LEN(time)) AS FLOAT) / 1000 ELSE 0 END) AS time_in_seconds FROM lapTimes) SELECT T2.forename, T2.surname, T1.driverId FROM (SELECT driverId, MIN(time_in_seconds) AS min_time_in_seconds FROM lap_times_in_seconds GROUP BY driverId) AS T1 INNER JOIN drivers AS T2 ON T1.driverId = T2.driverId ORDER BY T1.min_time_in_seconds ASC OFFSET 0 ROWS FETCH NEXT 20 ROWS ONLY
SQL (Oracle): WITH lap_times_in_seconds AS (SELECT driverId, (CASE WHEN SUBSTR("TIME", 1, INSTR("TIME", ':') - 1) <> '' THEN CAST(SUBSTR("TIME", 1, INSTR("TIME", ':') - 1) AS BINARY_DOUBLE) * 60 ELSE 0 END + CASE WHEN SUBSTR("TIME", INSTR("TIME", ':') + 1, INSTR("TIME", '.') - INSTR("TIME", ':') - 1) <> '' THEN CAST(SUBSTR("TIME", INSTR("TIME", ':') + 1, INSTR("TIME", '.') - INSTR("TIME", ':') - 1) AS BINARY_DOUBLE) ELSE 0 END + CASE WHEN SUBSTR("TIME", INSTR("TIME", '.') + 1) <> '' THEN CAST(SUBSTR("TIME", INSTR("TIME", '.') + 1) AS BINARY_DOUBLE) / 1000 ELSE 0 END) time_in_seconds FROM lapTimes) SELECT T2.forename, T2.surname, T1.driverId FROM (SELECT driverId, MIN(time_in_seconds) min_time_in_seconds FROM lap_times_in_seconds GROUP BY driverId) T1 INNER JOIN drivers T2 ON T1.driverId = T2.driverId ORDER BY T1.min_time_in_seconds ASC NULLS FIRST FETCH FIRST 20 ROWS ONLY
Database: superhero

Question: Among the superheroes with the super power of "Super Strength", how many of them have a height of over 200cm?
Evidence: super power of "Super Strength" refers to power_name = 'Super Strength'; a height of over 200cm refers to height_cm > 200
SQL (SQLite): SELECT COUNT(T1.id) 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 = 'Super Strength' AND T1.height_cm > 200
SQL (SQL Server): SELECT COUNT(T1.id) AS _agg1 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 = 'Super Strength' AND T1.height_cm > 200
SQL (Oracle): SELECT COUNT(T1.id) FROM superhero T1 INNER JOIN hero_power T2 ON T1.id = T2.hero_id INNER JOIN superpower T3 ON T2.power_id = T3.id WHERE T3.power_name = 'Super Strength' AND T1.height_cm > 200

Question: Among the superheroes with blue eyes, how many of them have the super power of "Agility"?
Evidence: blue eyes refers to colour = 'Blue' and eye_colour_id = colour.id; super power of "Agility" refers to power_name = 'Agility'
SQL (SQLite): SELECT COUNT(T1.id) 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 INNER JOIN colour AS T4 ON T1.eye_colour_id = T4.id WHERE T3.power_name = 'Agility' AND T4.colour = 'Blue'
SQL (SQL Server): SELECT COUNT(T1.id) AS _agg1 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 INNER JOIN colour AS T4 ON T1.eye_colour_id = T4.id WHERE T3.power_name = 'Agility' AND T4.colour = 'Blue'
SQL (Oracle): SELECT COUNT(T1.id) FROM superhero T1 INNER JOIN hero_power T2 ON T1.id = T2.hero_id INNER JOIN superpower T3 ON T2.power_id = T3.id INNER JOIN colour T4 ON T1.eye_colour_id = T4.id WHERE T3.power_name = 'Agility' AND T4.colour = 'Blue'

Question: Please list the superhero names of all the superheroes that have blue eyes and blond hair.
Evidence: 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'
SQL (SQLite): SELECT T1.superhero_name FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.eye_colour_id = T2.id INNER JOIN colour AS T3 ON T1.hair_colour_id = T3.id WHERE T2.colour = 'Blue' AND T3.colour = 'Blond'
SQL (SQL Server): SELECT T1.superhero_name FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.eye_colour_id = T2.id INNER JOIN colour AS T3 ON T1.hair_colour_id = T3.id WHERE T2.colour = 'Blue' AND T3.colour = 'Blond'
SQL (Oracle): SELECT T1.superhero_name FROM superhero T1 INNER JOIN colour T2 ON T1.eye_colour_id = T2.id INNER JOIN colour T3 ON T1.hair_colour_id = T3.id WHERE T2.colour = 'Blue' AND T3.colour = 'Blond'
Database: superhero

Question: Rank heroes published by Marvel Comics by their height in descending order.
Evidence: name refers to superhero_name; the tallest hero refers to MAX(height_cm); published by Marvel Comics refers to publisher_name = 'Marvel Comics'
SQL (SQLite): 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'
SQL (SQL Server): 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'
SQL (Oracle): SELECT superhero_name, height_cm, RANK() OVER (ORDER BY height_cm DESC NULLS LAST) HeightRank FROM superhero INNER JOIN publisher ON superhero.publisher_id = publisher.id WHERE publisher.publisher_name = 'Marvel Comics'

Question: Rank superheroes from Marvel Comics by their eye color popularity, starting with the most common color.
Evidence: the superheroes from Marvel Comics refers to publisher_name = 'Marvel Comics'; most common color refers to COUNT(superhero.id) DESC;
SQL (SQLite): 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
SQL (SQL Server): 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
SQL (Oracle): SELECT colour.colour AS EyeColor, COUNT(superhero.id) Count, RANK() OVER (ORDER BY COUNT(superhero.id) DESC NULLS LAST) 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

Question: List the superheroes from Marvel Comics who have the super power of 'Super Strength'.
Evidence: the superheroes from Marvel Comics refers to publisher_name = 'Marvel Comics'; super power of "Super Strength" refers to power_name = 'Super Strength';
SQL (SQLite): SELECT superhero_name FROM superhero AS T1 WHERE EXISTS (SELECT 1 FROM hero_power AS T2 INNER JOIN superpower AS T3 ON T2.power_id = T3.id WHERE T3.power_name = 'Super Strength' AND T1.id = T2.hero_id)AND EXISTS (SELECT 1 FROM publisher AS T4 WHERE T4.publisher_name = 'Marvel Comics' AND T1.publisher_id = T4.id)
SQL (SQL Server): SELECT superhero_name FROM superhero AS T1 WHERE EXISTS (SELECT 1 FROM hero_power AS T2 INNER JOIN superpower AS T3 ON T2.power_id = T3.id WHERE T3.power_name = 'Super Strength' AND T1.id = T2.hero_id)AND EXISTS (SELECT 1 FROM publisher AS T4 WHERE T4.publisher_name = 'Marvel Comics' AND T1.publisher_id = T4.id)
SQL (Oracle): SELECT superhero_name FROM superhero T1 WHERE EXISTS (SELECT 1 FROM hero_power T2 INNER JOIN superpower T3 ON T2.power_id = T3.id WHERE T3.power_name = 'Super Strength' AND T1.id = T2.hero_id)AND EXISTS (SELECT 1 FROM publisher T4 WHERE T4.publisher_name = 'Marvel Comics' AND T1.publisher_id = T4.id)

Question: Which publisher published the slowest superhero?
Evidence: the slowest superhero refers to attribute_name = 'Speed' where MIN(attribute_value); publisher refers to publisher_name
SQL (SQLite): SELECT T2.publisher_name FROM superhero AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id INNER JOIN hero_attribute AS T3 ON T1.id = T3.hero_id INNER JOIN attribute AS T4 ON T3.attribute_id = T4.id WHERE T4.attribute_name = 'Speed' ORDER BY T3.attribute_value LIMIT 1
SQL (SQL Server): SELECT T2.publisher_name FROM superhero AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id INNER JOIN hero_attribute AS T3 ON T1.id = T3.hero_id INNER JOIN attribute AS T4 ON T3.attribute_id = T4.id WHERE T4.attribute_name = 'Speed' ORDER BY T3.attribute_value OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY
SQL (Oracle): SELECT T2.publisher_name FROM superhero T1 INNER JOIN publisher T2 ON T1.publisher_id = T2.id INNER JOIN hero_attribute T3 ON T1.id = T3.hero_id INNER JOIN attribute T4 ON T3.attribute_id = T4.id WHERE T4.attribute_name = 'Speed' ORDER BY T3.attribute_value NULLS FIRST FETCH FIRST 1 ROWS ONLY
Database: superhero

Question: How many gold-eyed superheroes did Marvel Comics publish?
Evidence: gold-eyed refers to colour = 'Gold' where eye_colour_id = colour.id; superheroes that Marvel Comics published refers to publisher_name = 'Marvel Comics'
SQL (SQLite): SELECT COUNT(T1.id) FROM superhero AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id INNER JOIN colour AS T3 ON T1.eye_colour_id = T3.id WHERE T2.publisher_name = 'Marvel Comics' AND T3.colour = 'Gold'
SQL (SQL Server): SELECT COUNT(T1.id) AS _agg1 FROM superhero AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id INNER JOIN colour AS T3 ON T1.eye_colour_id = T3.id WHERE T2.publisher_name = 'Marvel Comics' AND T3.colour = 'Gold'
SQL (Oracle): SELECT COUNT(T1.id) FROM superhero T1 INNER JOIN publisher T2 ON T1.publisher_id = T2.id INNER JOIN colour T3 ON T1.eye_colour_id = T3.id WHERE T2.publisher_name = 'Marvel Comics' AND T3.colour = 'Gold'

Question: Who is the dumbest superhero?
Evidence: the dumbest superhero refers to MIN(attribute_value) where attribute_name = 'Intelligence'
SQL (SQLite): SELECT T1.superhero_name FROM superhero AS T1 INNER JOIN hero_attribute AS T2 ON T1.id = T2.hero_id INNER JOIN attribute AS T3 ON T2.attribute_id = T3.id WHERE T3.attribute_name = 'Intelligence' ORDER BY T2.attribute_value LIMIT 1
SQL (SQL Server): SELECT T1.superhero_name FROM superhero AS T1 INNER JOIN hero_attribute AS T2 ON T1.id = T2.hero_id INNER JOIN attribute AS T3 ON T2.attribute_id = T3.id WHERE T3.attribute_name = 'Intelligence' ORDER BY T2.attribute_value OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY
SQL (Oracle): SELECT T1.superhero_name FROM superhero T1 INNER JOIN hero_attribute T2 ON T1.id = T2.hero_id INNER JOIN attribute T3 ON T2.attribute_id = T3.id WHERE T3.attribute_name = 'Intelligence' ORDER BY T2.attribute_value NULLS FIRST FETCH FIRST 1 ROWS ONLY

Question: What is Copycat's race?
Evidence: Copycat is the superhero_name;
SQL (SQLite): SELECT T2.race FROM superhero AS T1 INNER JOIN race AS T2 ON T1.race_id = T2.id WHERE T1.superhero_name = 'Copycat'
SQL (SQL Server): SELECT T2.race FROM superhero AS T1 INNER JOIN race AS T2 ON T1.race_id = T2.id WHERE T1.superhero_name = 'Copycat'
SQL (Oracle): SELECT T2.race FROM superhero T1 INNER JOIN race T2 ON T1.race_id = T2.id WHERE T1.superhero_name = 'Copycat'
Database: superhero

Question: Which superheroes have a durability attribute value of less than 50?
Evidence: durability of less than 50 refers to attribute_name = 'Durability' AND attribute_value < 50
SQL (SQLite): 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)
SQL (SQL Server): 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)
SQL (Oracle): SELECT superhero_name FROM superhero T1 WHERE EXISTS (SELECT 1 FROM hero_attribute T2 INNER JOIN attribute T3 ON T2.attribute_id = T3.id WHERE T3.attribute_name = 'Durability' AND T2.attribute_value < 50 AND T1.id = T2.hero_id)

Question: What are the names of the superheroes with the power of death touch?
Evidence: name of superheroes refers to refers to superhero_name; the power of death touch refers to power_name = 'Death Touch'
SQL (SQLite): 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 = 'Death Touch'
SQL (SQL Server): 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 = 'Death Touch'
SQL (Oracle): SELECT T1.superhero_name FROM superhero T1 INNER JOIN hero_power T2 ON T1.id = T2.hero_id INNER JOIN superpower T3 ON T2.power_id = T3.id WHERE T3.power_name = 'Death Touch'

Question: How many female superheroes have a strength value of 100?
Evidence: female refers to gender = 'Female'; strength value of 100 refers to attribute_name = 'Strength' AND attribute_value = 100
SQL (SQLite): SELECT COUNT(T1.id) FROM superhero AS T1 INNER JOIN hero_attribute AS T2 ON T1.id = T2.hero_id INNER JOIN attribute AS T3 ON T2.attribute_id = T3.id INNER JOIN gender AS T4 ON T1.gender_id = T4.id WHERE T3.attribute_name = 'Strength' AND T2.attribute_value = 100 AND T4.gender = 'Female'
SQL (SQL Server): SELECT COUNT(T1.id) AS _agg1 FROM superhero AS T1 INNER JOIN hero_attribute AS T2 ON T1.id = T2.hero_id INNER JOIN attribute AS T3 ON T2.attribute_id = T3.id INNER JOIN gender AS T4 ON T1.gender_id = T4.id WHERE T3.attribute_name = 'Strength' AND T2.attribute_value = 100 AND T4.gender = 'Female'
SQL (Oracle): SELECT COUNT(T1.id) FROM superhero T1 INNER JOIN hero_attribute T2 ON T1.id = T2.hero_id INNER JOIN attribute T3 ON T2.attribute_id = T3.id INNER JOIN gender T4 ON T1.gender_id = T4.id WHERE T3.attribute_name = 'Strength' AND T2.attribute_value = 100 AND T4.gender = 'Female'