1sf/bird-sql-dev-xresults huggingface dataset:
Database: formula_1
Question: What is the average time in seconds of champion for each year, before year 1975?
Evidence: only champion's finished time is represented by 'HH:MM:SS.mmm'; finished the game refers to time is not null; before year 1975 refers to year < 1975;
SQL: WITH time_in_seconds AS ( SELECT T2.year, T2.raceId, T1.positionOrder, CASE WHEN T1.positionOrder = 1 THEN (CAST(SUBSTR(T1.time, 1, 1) AS REAL) * 3600) + (CAST(SUBSTR(T1.time, 3, 2) AS REAL) * 60) + CAST(SUBSTR(T1.time, 6,2) AS REAL )   + CAST(SUBSTR(T1.time, 9) AS REAL)/1000 ELSE 0 END AS time_seconds FROM results AS T1 INNER JOIN races AS T2 ON T1.raceId = T2.raceId WHERE T1.time IS NOT NULL ), champion_time AS ( SELECT year, raceId, time_seconds FROM time_in_seconds WHERE positionOrder = 1 ) SELECT year, AVG(time_seconds) FROM champion_time WHERE year < 1975 GROUP BY year HAVING AVG(time_seconds) IS NOT NULL
Database: formula_1
Question: Which drivers born after 1975 have been ranked 2? Please give their forenames and surnames.
Evidence: born after 1975 refers to year(dob) >1975;
SQL: SELECT T2.forename, T2.surname FROM results AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId WHERE STRFTIME('%Y', T2.dob) > '1975' AND T1.rank = 2
Database: formula_1
Question: How many Italian drivers haven't finished the race?
Evidence: haven't finished the race refers to time is null;
SQL: SELECT COUNT(T1.driverId) FROM results AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId WHERE T2.nationality = 'Italian' AND T1.time IS NULL
Database: formula_1
Question: What is the fastest lap number of the champion in 2009?
Evidence: in 2009 refers to year = 2009; Only the time of the champion shows in the format of "hour: minutes: seconds.millionsecond"
SQL: SELECT T1.fastestLap FROM results AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId WHERE T2.year = 2009 AND T1.time LIKE '_:%:__.___'
Database: formula_1
Question: What is the average of fastest lap speed in the 2009 Spanish Grand Prix race?
Evidence: Spanish Grand Prix is the name of race refers to name = 'Spanish Grand Prix'; average fastest lap speed refers to avg(fastestLapSpeed);
SQL: SELECT AVG(T1.fastestLapSpeed) FROM results AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId WHERE T2.year = 2009 AND T2.name = 'Spanish Grand Prix'
Database: formula_1
Question: Which race has the shortest actual finishing time? Please give the name and year.
Evidence: shortest actual finishing time refers to Min(milliseconds) except milliseconds = null;
SQL: SELECT T1.name, T1.year FROM races AS T1 INNER JOIN results AS T2 on T1.raceId = T2.raceId WHERE T2.milliseconds IS NOT NULL ORDER BY T2.milliseconds LIMIT 1
Database: formula_1
Question: From 2000 to 2005, what percentage of drivers who were born before 1985 and the lap numbers were over 50?
Evidence: born before 1985 refers to year(dob)<1985; in 2000 to 2005 refers to year between 2000 and 2005; percentage = Divide(COUNT(driverId where year (dob) <1985 and laps >50),COUNT(DriverID where year between 2000 and 2005) *100;
SQL: SELECT CAST(SUM(IIF(STRFTIME('%Y', T3.dob) < '1985' AND T1.laps > 50, 1, 0)) AS REAL) * 100 / COUNT(*) FROM results AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId INNER JOIN drivers AS T3 on T1.driverId = T3.driverId WHERE T2.year BETWEEN 2000 AND 2005
Database: formula_1
Question: How many French drivers who obtain the laptime less than 02:00.00?
Evidence: lap time less than 02:00.00 refers to seconds < 120;
SQL: SELECT COUNT(T1.driverId) FROM drivers AS T1 INNER JOIN lapTimes AS T2 on T1.driverId = T2.driverId WHERE T1.nationality = 'French' AND (CAST(SUBSTR(T2.time, 1, 2) AS INTEGER) * 60 + CAST(SUBSTR(T2.time, 4, 2) AS INTEGER) + CAST(SUBSTR(T2.time, 7, 2) AS REAL) / 1000) < 120
Database: formula_1
Question: List out the code for drivers who have nationality in America.
Evidence: nationality = 'America'
SQL: SELECT code FROM drivers WHERE Nationality = 'American'
Database: formula_1
Question: State code numbers of top 3 yougest drivers. How many Netherlandic drivers among them?
Evidence: youngest driver refers to Max (year(dob)); Netherlandic and Dutch refer to the same country
SQL: SELECT COUNT(*) FROM ( SELECT T1.nationality FROM drivers AS T1 ORDER BY JULIANDAY(T1.dob) DESC LIMIT 3) AS T3 WHERE T3.nationality = 'Dutch'
Database: formula_1
Question: What is reference name of Robert Kubica?
Evidence: reference name refers to driverRef;
SQL: SELECT driverRef FROM drivers WHERE forename = 'Robert' AND surname = 'Kubica'
Database: formula_1
Question: How many British drivers who were born in 1980?
Evidence: born in 1980 refers to year(dob) = 1980;
SQL: SELECT COUNT(driverId) FROM drivers WHERE nationality = 'British' AND STRFTIME('%Y', dob) = '1980'
Database: formula_1
Question: List out top 3 German drivers who were born from 1980-1990 and have the earliest lap time.
Evidence: born from 1980-1990 refers to year(dob) between 1980 and 1990; earliest lap time refers to Min(time);
SQL: SELECT T2.driverId FROM pitStops AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId WHERE T2.nationality = 'German' AND STRFTIME('%Y', T2.dob) BETWEEN '1980' AND '1990' ORDER BY T1.time LIMIT 3
Database: formula_1
Question: Please state the reference name of the oldest German driver.
Evidence: oldest refers to MIN(year(dob)); reference names appear in drverRef.
SQL: SELECT driverRef FROM drivers WHERE nationality = 'German' ORDER BY JULIANDAY(dob) ASC LIMIT 1
Database: formula_1
Question: Which drivers who were born in 1971 and has the fastest lap time on the race? Give id and code of these drivers.
Evidence: born in 1971 refers to year(dob) = 1971; has the fastest lap time refers to fastestLapTime has values
SQL: SELECT T2.driverId, T2.code FROM results AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId WHERE STRFTIME('%Y', T2.dob) = '1971' AND T1.fastestLapTime IS NOT NULL
Database: formula_1
Question: List out top 10 Spanish drivers who were born before 1982 and have the latest lap time.
Evidence: born before 1982 refers to year(dob) < 1982; latest lap time refers to Max(time);
SQL: SELECT T2.driverId FROM pitStops AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId WHERE T2.nationality = 'Spanish' AND STRFTIME('%Y', T2.dob) < '1982' ORDER BY T1.time DESC LIMIT 10
Database: formula_1
Question: State the racing year which has the fastest lap time?
Evidence: 'has the fastest lap time?' refers to fastestLapTime has values
SQL: SELECT T2.year FROM results AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId WHERE T1.fastestLapTime IS NOT NULL
Database: formula_1
Question: Which year has the lowest speed of lap time?
Evidence: lowest speed of lap time refers to Max(time);
SQL: SELECT T2.year FROM lapTimes AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId ORDER BY T1.time DESC LIMIT 1
Database: formula_1
Question: List the driver's ID of the top five driver, by descending order, the fastest time during the first lap of the race.
Evidence: fastest time refers to Min(time);
SQL: SELECT driverId FROM lapTimes WHERE lap = 1 ORDER BY time LIMIT 5
Database: formula_1
Question: From race no. 50 to 100, how many finishers have been disqualified?
Evidence: disqualified refers to statusID = 2, finisher refers to time! = null; race no. refers to raceId; raceId > 50 and raceId < 100;
SQL: SELECT SUM(IIF(time IS NOT NULL, 1, 0)) FROM results WHERE statusId = 2 AND raceID < 100 AND raceId > 50
Database: formula_1
Question: How many times the circuits were held in Austria? Please give their location and coordinates.
Evidence: location coordinates refers to (lat,lng); Austria refers to country = 'Austria';
SQL: SELECT DISTINCT location, lat, lng FROM circuits WHERE country = 'Austria'
Database: formula_1
Question: What race number has the most finishers?
Evidence: finisher refers to time is not null;
SQL: SELECT raceId FROM results GROUP BY raceId ORDER BY COUNT(time IS NOT NULL) DESC LIMIT 1
Database: formula_1
Question: List the reference name of the drivers who passed the second qualifying lap during race no. 23. Indicate their nationality and birthday.
Evidence: passed the second qualifying lap refers to q2 is not null; birthday refers to dob; reference name of drivers refers to driverRef; race no. refers to raceId;
SQL: SELECT T2.driverRef, T2.nationality, T2.dob FROM qualifying AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId WHERE T1.raceId = 23 AND T1.q2 IS NOT NULL
Database: formula_1
Question: On what year did the youngest driver had his first qualifying race? Also state the name, date and time of the race.
Evidence: date of birth refers to drivers.dob; The larger the birthday value, the younger the person is, and vice versa; first qualifying race refers to MIN(races.date);
SQL: SELECT T3.year, T3.name, T3.date, T3.time 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 T1.driverId = ( SELECT driverId FROM drivers ORDER BY dob DESC LIMIT 1 ) ORDER BY T3.date ASC LIMIT 1
Database: formula_1
Question: How many American drivers have puncture status.
Evidence: puncture status refers to status = Puncture;
SQL: SELECT COUNT(T1.driverId) FROM drivers AS T1 INNER JOIN results AS T2 on T1.driverId = T2.driverId INNER JOIN status AS T3 on T2.statusId = T3.statusId WHERE T3.status = 'Puncture' AND T1.nationality = 'American'
Database: formula_1
Question: Which of the Italian constructor got the highest point to date? Give its introduction website?
Evidence: introduction website refers to url; Italian is a nationality
SQL: SELECT T1.url FROM constructors AS T1 INNER JOIN constructorStandings AS T2 on T1.constructorId = T2.constructorId WHERE T1.nationality = 'Italian' ORDER BY T2.points DESC LIMIT 1
Database: formula_1
Question: What is the website of the constructor who tallied the most total wins.
Evidence: introduction website refers to url;
SQL: SELECT T1.url FROM constructors AS T1 INNER JOIN constructorStandings AS T2 on T1.constructorId = T2.constructorId ORDER BY T2.wins DESC LIMIT 1
Database: formula_1
Question: Among the drivers who participated in the French Grand Prix, who has the slowest time in the 3rd lap.
Evidence: slowest time refers to Max(time);
SQL: SELECT T1.driverId FROM lapTimes AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId WHERE T2.name = 'French Grand Prix' AND T1.lap = 3 ORDER BY T1.time DESC LIMIT 1
Database: formula_1
Question: In which race did the fastest 1st lap time was recorded? Please indicate the time in milliseconds.
Evidence: fastest refers to Min(time);
SQL: SELECT T1.milliseconds FROM lapTimes AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId WHERE T1.lap = 1 ORDER BY T1.time LIMIT 1
Database: formula_1
Question: What is the average fastest lap time of the top 10 drivers in the 2006 United States Grand Prix?
Evidence: top 10 refers to rank <11; AVG(fastestLapTime);
SQL: SELECT AVG(T1.fastestLapTime) FROM results AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId WHERE T1.rank < 11 AND T2.year = 2006 AND T2.name = 'United States Grand Prix'
Database: formula_1
Question: List down top 3 German drivers who has the shortest average pit stop duration and were born between 1980-1985.
Evidence: Full name of the driver refers to drivers.forename and drivers.surname; born between 1980-1985 refers to 1980< year(dob)>1985; Average pitstop duration refers to Divide(SUM(duration),COUNT(duration)); shortest average refers to Min(avg(duration));
SQL: SELECT T2.forename, T2.surname FROM pitStops AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId WHERE T2.nationality = 'German' AND STRFTIME('%Y', T2.dob) BETWEEN '1980' AND '1985' GROUP BY T2.forename, T2.surname ORDER BY AVG(T1.duration) LIMIT 3
Database: formula_1
Question: Who is the champion of the Canadian Grand Prix in 2008? Indicate his finish time.
Evidence: Only the time of the champion shows in the format of "hour: minutes: seconds.millionsecond";
SQL: SELECT T1.time FROM results AS T1 INNER JOIN races AS T2 ON T1.raceId = T2.raceId WHERE T2.name = 'Canadian Grand Prix' AND T2.year = 2008 AND T1.time LIKE '_:%:__.___'
Database: formula_1
Question: What is the constructor reference name of the champion in the 2009 Singapore Grand Prix? Please give its website.
Evidence: the time of the champion shows in the format of "minutes: seconds.millionsecond" in which Max(time); constructor reference name refers to constructorRef; website refers to url
SQL: SELECT T3.constructorRef, T3.url FROM results AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId INNER JOIN constructors AS T3 on T1.constructorId = T3.constructorId WHERE T2.name = 'Singapore Grand Prix' AND T2.year = 2009 AND T1.time LIKE '_:%:__.___'
Database: formula_1
Question: What is the full name and date of birth of Austrian drivers born between 1981 and 1991?
Evidence: Full name refers to forname, surname; Date of birth refers to dob; year(dob) BETWEEN '1981' AND '1991'; Austrian is a nationality
SQL: SELECT forename, surname, dob FROM drivers WHERE nationality = 'Austrian' AND STRFTIME('%Y', dob) BETWEEN '1981' AND '1991'
Database: formula_1
Question: Find the full name, Wiki Pedia page link, and date of birth of German drivers born between 1971 and 1985. List it in descending order of date of birth.
Evidence: FFull name refers to forname+surname; Nationality refers to German; Date of birth refers to dob; year(dob) BETWEEN '1971' AND '1985'
SQL: SELECT forename, surname, url, dob FROM drivers WHERE nationality = 'German' AND STRFTIME('%Y', dob) BETWEEN '1971' AND '1985' ORDER BY dob DESC
Database: formula_1
Question: In which location does the Hungaroring circuit located? Also, find the country and coordinates of this circuit?
Evidence: coordinates expressed in latitude and longitude refers to (lat, lng)
SQL: SELECT country, lat, lng FROM circuits WHERE name = 'Hungaroring'
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: 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
Database: formula_1
Question: What is the average score of Lewis Hamilton among all the Turkish Grand Prix?
Evidence: Average score = AVG(points)
SQL: SELECT AVG(T2.points) FROM drivers AS T1 INNER JOIN driverStandings AS T2 ON T1.driverId = T2.driverId INNER JOIN races AS T3 ON T3.raceId = T2.raceId WHERE T1.forename = 'Lewis' AND T1.surname = 'Hamilton' AND T3.name = 'Turkish Grand Prix'
Database: formula_1
Question: What is the annual average number of races held during the first 10 years of the 21st century?
Evidence: races in date between '2000-01-01' and '2010-12-31'
SQL: SELECT CAST(SUM(CASE WHEN year BETWEEN 2000 AND 2010 THEN 1 ELSE 0 END) AS REAL) / 10 FROM races WHERE date BETWEEN '2000-01-01' AND '2010-12-31'
Database: formula_1
Question: Which citizenship do the vast majority of the drivers hold?
Evidence: Citizenship of majority of drivers = MAX(nationality); citizenship and nationality are synonyms


SQL: SELECT nationality FROM drivers GROUP BY nationality ORDER BY COUNT(driverId) DESC LIMIT 1
Database: formula_1
Question: In terms of number of points acquired, how many victories did the driver who ranked 91st acquired?
Evidence: victories refer to wins; 91st refers to points


SQL: SELECT SUM(CASE WHEN points = 91 THEN wins ELSE 0 END) FROM driverStandings
Database: formula_1
Question: In terms of the fastest lap time, what is the name of the race which recorded the fastest lap speed by a racer?
Evidence: Fastest lap speed refers to MIN(fastestLapTime)


SQL: SELECT T1.name FROM races AS T1 INNER JOIN results AS T2 ON T1.raceId = T2.raceId WHERE T2.fastestLapTime IS NOT NULL ORDER BY T2.fastestLapTime ASC LIMIT 1
Database: codebase_community
Question: Identify the number of posts that offer a bounty amount over 30.
Evidence: bounty amount over 30 refers to BountyAmount > = 30;
SQL: SELECT COUNT(id) FROM votes WHERE BountyAmount >= 30
Database: codebase_community
Question: Among all the posts posted by the most influential user, identify the percentage with a score above 50.
Evidence: The higher reputation the user has the more influence; percentage = DIVIDE(COUNT(stats_posts.Id where Score > 50 and MAX(Reputation))), COUNT(stats_posts.Id where MAX(Reputation));
SQL: SELECT CAST(SUM(CASE WHEN T2.Score > 50 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.Id) FROM users T1 INNER JOIN posts T2 ON T1.Id = T2.OwnerUserId INNER JOIN ( SELECT MAX(Reputation) AS max_reputation FROM users ) T3 ON T1.Reputation = T3.max_reputation
Database: codebase_community
Question: How many posts have a score less than 20?
Evidence: score less than 20 refers to Score < 20;
SQL: SELECT COUNT(id) FROM posts WHERE Score < 20
Database: codebase_community
Question: Among the tags with tag ID below 15, how many of them have 20 count of posts and below?
Evidence: ID below 15 refers to Id < 15; have 20 count of posts and below refers to Count < = 20;
SQL: SELECT COUNT(id) FROM tags WHERE Count <= 20 AND Id < 15
Database: codebase_community
Question: What is the excerpt post ID and wiki post ID of the tag named sample?
Evidence: tag named sample refers to TagName = 'sample';
SQL: SELECT ExcerptPostId, WikiPostId FROM tags WHERE TagName = 'sample'
Database: codebase_community
Question: Give the user's reputation and up vote number of the user that commented "fine, you win :)".
Evidence: Text = 'fine, you win :)';
SQL: SELECT T2.Reputation, T2.UpVotes FROM comments AS T1 INNER JOIN users AS T2 ON T1.UserId = T2.Id WHERE T1.Text = 'fine, you win :)'
Database: codebase_community
Question: Give the texts commented on the post about linear regression.
Evidence: about linear regression refers to Title contains 'linear regression'
SQL: SELECT T1.Text FROM comments AS T1 INNER JOIN posts AS T2 ON T1.PostId = T2.Id WHERE T2.Title LIKE '%linear regression%'
Database: codebase_community
Question: Among the posts with views ranging from 100 to 150, what is the comment with the highest score?
Evidence: views ranging from 100 to 150 refers to ViewCount BETWEEN 100 and 150; comment with the highest score refers to Text where MAX(Score);
SQL: SELECT Text FROM comments WHERE PostId IN ( SELECT Id FROM posts WHERE ViewCount BETWEEN 100 AND 150 ) ORDER BY Score DESC LIMIT 1
Database: codebase_community
Question: List the creation date and age of the user that commented with webiste.
Evidence: commented with webiste refers to the value contains 'http://'
SQL: SELECT T2.CreationDate, T2.Age FROM comments AS T1 INNER JOIN users AS T2 ON T1.UserId = T2.Id WHERE T1.text LIKE '%http://%'
Database: codebase_community
Question: In comments with 0 score, how many of the posts have view count lower than 5?
Evidence: view count lower than 5 refers to ViewCount < 5;
SQL: SELECT COUNT(T1.Id) FROM comments AS T1 INNER JOIN posts AS T2 ON T1.PostId = T2.Id WHERE T2.ViewCount < 5 AND T2.Score = 0
Database: codebase_community
Question: In posts with 1 comment, how many of the comments have 0 score?
Evidence: in posts with 1 comment refers to CommentCount = 1;
SQL: SELECT COUNT(T1.id) FROM comments AS T1 INNER JOIN posts AS T2 ON T1.PostId = T2.Id WHERE T2.CommentCount = 1 AND T2.Score = 0
Database: codebase_community
Question: What is the post ID and the comments commented in the post titled by "Group differences on a five point Likert item"?
Evidence: Title = 'Group differences on a five point Likert item';
SQL: SELECT T2.Id, T1.Text FROM comments AS T1 INNER JOIN posts AS T2 ON T1.PostId = T2.Id WHERE T2.Title = 'Group differences on a five point Likert item'
Database: codebase_community
Question: What is the up vote number of the user that commented "R is also lazy evaluated."?
Evidence: commented "R is also lazy evaluated." refers to Text of the comment;
SQL: SELECT T2.UpVotes FROM comments AS T1 INNER JOIN users AS T2 ON T1.UserId = T2.Id WHERE T1.Text = 'R is also lazy evaluated.'
Database: codebase_community
Question: List the comments commented by the user with a username of Harvey Motulsky.
Evidence: comments refer to Text; username of Harvey Motulsky refers to DisplayName = 'Harvey Motulsky';
SQL: SELECT T1.Text FROM comments AS T1 INNER JOIN users AS T2 ON T1.UserId = T2.Id WHERE T2.DisplayName = 'Harvey Motulsky'
Database: codebase_community
Question: In comments with score between 1 to 5, list down the display names of the users with 0 down votes.
Evidence: DownVotes = 0; Score BETWEEN 1 and 5
SQL: SELECT T2.DisplayName FROM comments AS T1 INNER JOIN users AS T2 ON T1.UserId = T2.Id WHERE T1.Score BETWEEN 1 AND 5 AND T2.DownVotes = 0
Database: codebase_community
Question: Among the comments with scores between 5 to 10, what is the percentage of the users with 0 up votes?
Evidence: percentage = DIVIDE(COUNT(UserId where UpVotes = 0 and Score BETWEEN 5 and 10))*100, (COUNT(UserId where Score BETWEEN 5 and 10));
SQL: SELECT CAST(SUM(IIF(T1.UpVotes = 0, 1, 0)) AS REAL) * 100/ COUNT(T1.Id) AS per FROM users AS T1 INNER JOIN comments AS T2 ON T1.Id = T2.UserId WHERE T2.Score BETWEEN 5 AND 10
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: 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'
Database: superhero
Question: How many superheroes have the super power of "Super Strength"?
Evidence: super power of "Super Strength" refers to power_name = 'Super Strength'
SQL: 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'
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: 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
Database: superhero
Question: Please list the full names of all the superheroes with over 15 super powers.
Evidence: 15 super powers refers to COUNT(full_name) > 15
SQL: 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
Database: superhero
Question: How many superheroes have blue eyes?
Evidence: blue eyes refers to colour = 'Blue' and eye_colour_id = colour.id;
SQL: SELECT COUNT(T1.id) FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.eye_colour_id = T2.id WHERE T2.colour = 'Blue'
Database: superhero
Question: What is the colour of Apocalypse's skin?
Evidence: Apocalypse refers to superhero_name = 'Apocalypse'; colour of skin refers to colour where skin_colour_id = colour.id
SQL: SELECT T2.colour FROM superhero AS T1 INNER JOIN colour AS T2 ON T1.skin_colour_id = T2.id WHERE T1.superhero_name = 'Apocalypse'
Database: superhero
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: 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'