question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
When populatioin is greater than 7,747 and the type is V, what is the sum of code? | CREATE TABLE table_name_99 (code VARCHAR, type VARCHAR, population VARCHAR) | {
"SQL_Query": "SELECT COUNT(code) FROM table_name_99 WHERE type = \"v\" AND population > 7 OFFSET 747"
} |
Who has ties of 5? | CREATE TABLE table_name_24 (name VARCHAR, ties VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_24 WHERE ties = 5"
} |
Where did st kilda play as the away team? | CREATE TABLE table_name_95 (venue VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_95 WHERE away_team = \"st kilda\""
} |
How big of a crowd does the home team of essendon have? | CREATE TABLE table_name_66 (crowd VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT crowd FROM table_name_66 WHERE home_team = \"essendon\""
} |
What is the MLB Draft status of the person who attended Seton Hall Preparatory School? | CREATE TABLE table_name_80 (mlb_draft VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT mlb_draft FROM table_name_80 WHERE school = \"seton hall preparatory school\""
} |
Where is the Hometown of the person that attended Kennedy-Kenrick Catholic High School? | CREATE TABLE table_name_64 (hometown VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT hometown FROM table_name_64 WHERE school = \"kennedy-kenrick catholic high school\""
} |
Which Player attended George Washington High School? | CREATE TABLE table_name_8 (player VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_8 WHERE school = \"george washington high school\""
} |
Where is the Hometown that the person who attended Camarillo High School is from? | CREATE TABLE table_name_40 (hometown VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT hometown FROM table_name_40 WHERE school = \"camarillo high school\""
} |
How many people in total have attended games where carlton played as away? | CREATE TABLE table_name_99 (crowd VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT COUNT(crowd) FROM table_name_99 WHERE away_team = \"carlton\""
} |
Which player has a long of less than 15 and an average of 6 yards. | CREATE TABLE table_name_73 (player VARCHAR, long VARCHAR, avg VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_73 WHERE long < 15 AND avg = 6"
} |
What years did Troy Hudson play for the Jazz? | CREATE TABLE table_name_29 (years_for_jazz VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT years_for_jazz FROM table_name_29 WHERE player = \"troy hudson\""
} |
What Nationality is the Iowa State team? | CREATE TABLE table_name_69 (nationality VARCHAR, school_club_team VARCHAR) | {
"SQL_Query": "SELECT nationality FROM table_name_69 WHERE school_club_team = \"iowa state\""
} |
What Nationality is Jeff Hornacek? | CREATE TABLE table_name_14 (nationality VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT nationality FROM table_name_14 WHERE player = \"jeff hornacek\""
} |
What Nationality is the Colorado State team? | CREATE TABLE table_name_16 (nationality VARCHAR, school_club_team VARCHAR) | {
"SQL_Query": "SELECT nationality FROM table_name_16 WHERE school_club_team = \"colorado\""
} |
What Player is from the Southern Illinois team? | CREATE TABLE table_name_96 (player VARCHAR, school_club_team VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_96 WHERE school_club_team = \"southern illinois\""
} |
What years did Eddie Hughes play for the Jazz? | CREATE TABLE table_name_53 (years_for_jazz VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT years_for_jazz FROM table_name_53 WHERE player = \"eddie hughes\""
} |
Which Species has a medium Threat Level? | CREATE TABLE table_name_63 (species VARCHAR, threat_level VARCHAR) | {
"SQL_Query": "SELECT species FROM table_name_63 WHERE threat_level = \"medium\""
} |
What is the Overview with a medium Threat Level? | CREATE TABLE table_name_79 (overview VARCHAR, threat_level VARCHAR) | {
"SQL_Query": "SELECT overview FROM table_name_79 WHERE threat_level = \"medium\""
} |
What is the Threat Levels with Rabbits in Australia? | CREATE TABLE table_name_72 (threat_level VARCHAR, overview VARCHAR) | {
"SQL_Query": "SELECT threat_level FROM table_name_72 WHERE overview = \"rabbits in australia\""
} |
Which nominee won the Drama Desk Award for outstanding choreography? | CREATE TABLE table_name_81 (nominee VARCHAR, category VARCHAR, award VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT nominee FROM table_name_81 WHERE award = \"drama desk award\" AND result = \"won\" AND category = \"outstanding choreography\""
} |
When was the last time a nominee for Best Revival of a Musical was selected? | CREATE TABLE table_name_98 (year INTEGER, nominee VARCHAR) | {
"SQL_Query": "SELECT MAX(year) FROM table_name_98 WHERE nominee = \"best revival of a musical\""
} |
Which Award is the winner for Outstanding Revival of a Musical given? | CREATE TABLE table_name_57 (award VARCHAR, category VARCHAR) | {
"SQL_Query": "SELECT award FROM table_name_57 WHERE category = \"outstanding revival of a musical\""
} |
Who is the home team in the game where South Melbourne was the away team? | CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_20 WHERE away_team = \"south melbourne\""
} |
I want the result for week larger than 10 for opponent of new england patriots | CREATE TABLE table_name_90 (result VARCHAR, week VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_90 WHERE week > 10 AND opponent = \"new england patriots\""
} |
I want the game site for week of 11 | CREATE TABLE table_name_17 (game_site VARCHAR, week VARCHAR) | {
"SQL_Query": "SELECT game_site FROM table_name_17 WHERE week = 11"
} |
What is the average number of laps for mika salo's arrows car with a grid over 13? | CREATE TABLE table_name_6 (laps INTEGER, grid VARCHAR, constructor VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT AVG(laps) FROM table_name_6 WHERE constructor = \"arrows\" AND driver = \"mika salo\" AND grid > 13"
} |
Who drove the car with a grid of 7? | CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR) | {
"SQL_Query": "SELECT driver FROM table_name_38 WHERE grid = 7"
} |
Which Report is Dated 9 March? | CREATE TABLE table_name_72 (report VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT report FROM table_name_72 WHERE date = \"9 march\""
} |
When Hamilton Academical is the Opponent, what is the total Attendance? | CREATE TABLE table_name_26 (attendance VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT COUNT(attendance) FROM table_name_26 WHERE opponent = \"hamilton academical\""
} |
How many in attendance with a loss of volquez (1–4)? | CREATE TABLE table_name_57 (attendance VARCHAR, loss VARCHAR) | {
"SQL_Query": "SELECT attendance FROM table_name_57 WHERE loss = \"volquez (1–4)\""
} |
What record has a Score of 9–6? | CREATE TABLE table_name_15 (record VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_15 WHERE score = \"9–6\""
} |
What is the average number in attendance on September 16? | CREATE TABLE table_name_23 (attendance INTEGER, date VARCHAR) | {
"SQL_Query": "SELECT AVG(attendance) FROM table_name_23 WHERE date = \"september 16\""
} |
What is the sum of people in attendance on September 8? | CREATE TABLE table_name_49 (attendance INTEGER, date VARCHAR) | {
"SQL_Query": "SELECT SUM(attendance) FROM table_name_49 WHERE date = \"september 8\""
} |
What was Head Coach Jim Morris's best finish? | CREATE TABLE table_name_25 (cws_best_finish VARCHAR, head_coach VARCHAR) | {
"SQL_Query": "SELECT cws_best_finish FROM table_name_25 WHERE head_coach = \"jim morris\""
} |
What is the record when the visiting team was the montreal canadiens? | CREATE TABLE table_name_45 (record VARCHAR, visitor VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_45 WHERE visitor = \"montreal canadiens\""
} |
What nation has 187.84 points? | CREATE TABLE table_name_83 (nation VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT nation FROM table_name_83 WHERE points = 187.84"
} |
What is the low point total for teams with 81 places? | CREATE TABLE table_name_90 (points INTEGER, places VARCHAR) | {
"SQL_Query": "SELECT MIN(points) FROM table_name_90 WHERE places = \"81\""
} |
What is the station number of the station at Dogsthorpe? | CREATE TABLE table_name_40 (station_number VARCHAR, location VARCHAR) | {
"SQL_Query": "SELECT station_number FROM table_name_40 WHERE location = \"dogsthorpe\""
} |
What is the type of the station with a 1 wrl appliance in Linton? | CREATE TABLE table_name_92 (type VARCHAR, appliances VARCHAR, location VARCHAR) | {
"SQL_Query": "SELECT type FROM table_name_92 WHERE appliances = \"1 wrl\" AND location = \"linton\""
} |
What is the appliance at the station in St Neots? | CREATE TABLE table_name_69 (appliances VARCHAR, location VARCHAR) | {
"SQL_Query": "SELECT appliances FROM table_name_69 WHERE location = \"st neots\""
} |
What is the registration of the station at Cambridge? | CREATE TABLE table_name_67 (registrations VARCHAR, district VARCHAR) | {
"SQL_Query": "SELECT registrations FROM table_name_67 WHERE district = \"cambridge\""
} |
What is the location of the station at Huntingdonshire with a station number of c17? | CREATE TABLE table_name_85 (location VARCHAR, district VARCHAR, station_number VARCHAR) | {
"SQL_Query": "SELECT location FROM table_name_85 WHERE district = \"huntingdonshire\" AND station_number = \"c17\""
} |
What is the registration of the station with a retained type and a station number of c03? | CREATE TABLE table_name_27 (registrations VARCHAR, type VARCHAR, station_number VARCHAR) | {
"SQL_Query": "SELECT registrations FROM table_name_27 WHERE type = \"retained\" AND station_number = \"c03\""
} |
Name the nationality of the player with round more than 4 | CREATE TABLE table_name_46 (nationality VARCHAR, round INTEGER) | {
"SQL_Query": "SELECT nationality FROM table_name_46 WHERE round > 4"
} |
In what Year was the Rank 14.0 14? | CREATE TABLE table_name_42 (year INTEGER, rank VARCHAR) | {
"SQL_Query": "SELECT SUM(year) FROM table_name_42 WHERE rank = \"14.0 14\""
} |
After 1971, what is the Rank with a Height ft (m) of 19.0 477 (145) and less than 35 Floors? | CREATE TABLE table_name_90 (rank VARCHAR, height_ft__m_ VARCHAR, year VARCHAR, floors VARCHAR) | {
"SQL_Query": "SELECT rank FROM table_name_90 WHERE year > 1971 AND floors < 35 AND height_ft__m_ = \"19.0 477 (145)\""
} |
What Year has a Rank of 12.0 12? | CREATE TABLE table_name_52 (year INTEGER, rank VARCHAR) | {
"SQL_Query": "SELECT AVG(year) FROM table_name_52 WHERE rank = \"12.0 12\""
} |
What did the away team score at VFL Park? | CREATE TABLE table_name_76 (away_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT away_team AS score FROM table_name_76 WHERE venue = \"vfl park\""
} |
How many people watched the game at Lake Oval? | CREATE TABLE table_name_1 (crowd INTEGER, venue VARCHAR) | {
"SQL_Query": "SELECT SUM(crowd) FROM table_name_1 WHERE venue = \"lake oval\""
} |
What was the Comp average, having Gino Guidugli as a player and a rating of more than 92.2? | CREATE TABLE table_name_3 (comp INTEGER, player VARCHAR, rating VARCHAR) | {
"SQL_Query": "SELECT AVG(comp) FROM table_name_3 WHERE player = \"gino guidugli\" AND rating > 92.2"
} |
For the player with yards less than 138, and Comp more than 0, what was the highest Att.? | CREATE TABLE table_name_9 (att INTEGER, yards VARCHAR, comp VARCHAR) | {
"SQL_Query": "SELECT MAX(att) FROM table_name_9 WHERE yards < 138 AND comp > 0"
} |
How many laps for grid of 9? | CREATE TABLE table_name_49 (laps VARCHAR, grid VARCHAR) | {
"SQL_Query": "SELECT laps FROM table_name_49 WHERE grid = 9"
} |
What is the high lap total for a grid less than 6, and a Time/Retired of halfshaft? | CREATE TABLE table_name_68 (laps INTEGER, grid VARCHAR, time_retired VARCHAR) | {
"SQL_Query": "SELECT MAX(laps) FROM table_name_68 WHERE grid < 6 AND time_retired = \"halfshaft\""
} |
What is the Set 1 with a Score with 3–2? | CREATE TABLE table_name_96 (set_1 VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT set_1 FROM table_name_96 WHERE score = \"3–2\""
} |
What is the Set 1 with a Set 2 of 15–5, and a Set 3 with 15–3? | CREATE TABLE table_name_6 (set_1 VARCHAR, set_2 VARCHAR, set_3 VARCHAR) | {
"SQL_Query": "SELECT set_1 FROM table_name_6 WHERE set_2 = \"15–5\" AND set_3 = \"15–3\""
} |
What is the Date with a Set 1 with 15–1? | CREATE TABLE table_name_79 (date VARCHAR, set_1 VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_79 WHERE set_1 = \"15–1\""
} |
What is the Set 3 with a Date of 04 oct, and a Set 2 with 15–5? | CREATE TABLE table_name_33 (set_3 VARCHAR, date VARCHAR, set_2 VARCHAR) | {
"SQL_Query": "SELECT set_3 FROM table_name_33 WHERE date = \"04 oct\" AND set_2 = \"15–5\""
} |
What is the Set 3 with a Set 2 with 15–6? | CREATE TABLE table_name_58 (set_3 VARCHAR, set_2 VARCHAR) | {
"SQL_Query": "SELECT set_3 FROM table_name_58 WHERE set_2 = \"15–6\""
} |
What is the Set 2 with a Total of 45–12, and a Set 3 with 15–2? | CREATE TABLE table_name_6 (set_2 VARCHAR, total VARCHAR, set_3 VARCHAR) | {
"SQL_Query": "SELECT set_2 FROM table_name_6 WHERE total = \"45–12\" AND set_3 = \"15–2\""
} |
What was the grid associated with under 26 laps and a Time/Retired of +6.077? | CREATE TABLE table_name_5 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) | {
"SQL_Query": "SELECT AVG(grid) FROM table_name_5 WHERE time_retired = \"+6.077\" AND laps < 26"
} |
On 5 May 2011, what was the lead percentage? | CREATE TABLE table_name_61 (lead VARCHAR, date_s__conducted VARCHAR) | {
"SQL_Query": "SELECT lead FROM table_name_61 WHERE date_s__conducted = \"5 may 2011\""
} |
On what date was the lead 8.6%? | CREATE TABLE table_name_25 (date_s__conducted VARCHAR, lead VARCHAR) | {
"SQL_Query": "SELECT date_s__conducted FROM table_name_25 WHERE lead = \"8.6%\""
} |
what is the lifespan when the imperial height is 7ft 8 in and the nationality is fiji? | CREATE TABLE table_name_56 (lifespan VARCHAR, imperial VARCHAR, nationality VARCHAR) | {
"SQL_Query": "SELECT lifespan FROM table_name_56 WHERE imperial = \"7ft 8 in\" AND nationality = \"fiji\""
} |
what is the nationality with the metric height of 2.36m named sun ming-ming? | CREATE TABLE table_name_21 (nationality VARCHAR, metric VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT nationality FROM table_name_21 WHERE metric = \"2.36m\" AND name = \"sun ming-ming\""
} |
What is the grid total that had a retired for engine, teo fabi driving, and under 39 laps? | CREATE TABLE table_name_83 (grid INTEGER, laps VARCHAR, time_retired VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT SUM(grid) FROM table_name_83 WHERE time_retired = \"engine\" AND driver = \"teo fabi\" AND laps < 39"
} |
What is the average grid for johnny dumfries with less than 8 laps? | CREATE TABLE table_name_26 (grid INTEGER, driver VARCHAR, laps VARCHAR) | {
"SQL_Query": "SELECT AVG(grid) FROM table_name_26 WHERE driver = \"johnny dumfries\" AND laps < 8"
} |
What is the low lap total for minardi - motori moderni, and a Grid smaller than 18? | CREATE TABLE table_name_44 (laps INTEGER, constructor VARCHAR, grid VARCHAR) | {
"SQL_Query": "SELECT MIN(laps) FROM table_name_44 WHERE constructor = \"minardi - motori moderni\" AND grid < 18"
} |
What constructor has a 12 grid? | CREATE TABLE table_name_61 (constructor VARCHAR, grid VARCHAR) | {
"SQL_Query": "SELECT constructor FROM table_name_61 WHERE grid = 12"
} |
What is the average where the swimsuit is larger than 9.437? | CREATE TABLE table_name_24 (average INTEGER, swimsuit INTEGER) | {
"SQL_Query": "SELECT MAX(average) FROM table_name_24 WHERE swimsuit > 9.437"
} |
What is the evening gown score where the interview score is 9.22 and the preliminaries are larger than 9.057? | CREATE TABLE table_name_84 (evening_gown INTEGER, interview VARCHAR, preliminaries VARCHAR) | {
"SQL_Query": "SELECT SUM(evening_gown) FROM table_name_84 WHERE interview = 9.22 AND preliminaries > 9.057"
} |
What is Pennsylvania's average where the swimsuit is smaller than 9.109 and the evening gown is smaller than 9.163? | CREATE TABLE table_name_88 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, country VARCHAR) | {
"SQL_Query": "SELECT AVG(average) FROM table_name_88 WHERE swimsuit < 9.109 AND country = \"pennsylvania\" AND evening_gown < 9.163"
} |
What is the preliminaries score where the swimsuit is smaller than 9.297, the evening gown is 9.617, and the interview is larger than 9.143? | CREATE TABLE table_name_65 (preliminaries INTEGER, interview VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR) | {
"SQL_Query": "SELECT AVG(preliminaries) FROM table_name_65 WHERE swimsuit < 9.297 AND evening_gown = 9.617 AND interview > 9.143"
} |
For Amazon.com's device with a weight of 221g (7.8oz) how many screen pixels does the device have? | CREATE TABLE table_name_66 (screen_pixels VARCHAR, maker VARCHAR, weight VARCHAR) | {
"SQL_Query": "SELECT screen_pixels FROM table_name_66 WHERE maker = \"amazon.com\" AND weight = \"221g (7.8oz)\""
} |
How many 5K wins did Emily Chebet, who had more than 2 total, have? | CREATE TABLE table_name_14 (runner VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT SUM(5 AS k_wins) FROM table_name_14 WHERE runner = \"emily chebet\" AND total > 2"
} |
How many 5K wins did Emily Chebet, who had more than 2 total, have? | CREATE TABLE table_name_80 (runner VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT COUNT(5 AS k_wins) FROM table_name_80 WHERE runner = \"emily chebet\" AND total > 2"
} |
What is the largest number of Peak lessons taught when the Evaluation average (Before April 2009) was 4.4? | CREATE TABLE table_name_95 (peak_lessons_taught INTEGER, evaluation_average__before_april_2009_ VARCHAR) | {
"SQL_Query": "SELECT MAX(peak_lessons_taught) FROM table_name_95 WHERE evaluation_average__before_april_2009_ = \"4.4\""
} |
What is the mean Evaluation number (before April 2009) when the Peak lessons taught was less than 80 and the negative percentage of evaluations was 0.8%? | CREATE TABLE table_name_23 (evaluation_average__before_april_2009_ VARCHAR, peak_lessons_taught VARCHAR, _percentage_of_negative_evaluations VARCHAR) | {
"SQL_Query": "SELECT evaluation_average__before_april_2009_ FROM table_name_23 WHERE peak_lessons_taught < 80 AND _percentage_of_negative_evaluations = \"0.8%\""
} |
What is the mean Evaluation number (Before April 2009) when the percentage of negative evaluations was 0.8% and the mean Evaluation number of April 2009 was 4.2? | CREATE TABLE table_name_41 (evaluation_average__before_april_2009_ VARCHAR, _percentage_of_negative_evaluations VARCHAR, evaluation_average__from_april_2009_ VARCHAR) | {
"SQL_Query": "SELECT evaluation_average__before_april_2009_ FROM table_name_41 WHERE _percentage_of_negative_evaluations = \"0.8%\" AND evaluation_average__from_april_2009_ = \"4.2\""
} |
What is moorabbin oval's away team? | CREATE TABLE table_name_11 (away_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT away_team FROM table_name_11 WHERE venue = \"moorabbin oval\""
} |
What is Karl Wendlinger's total grid #? | CREATE TABLE table_name_57 (grid VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT COUNT(grid) FROM table_name_57 WHERE driver = \"karl wendlinger\""
} |
Which Home team score had a Home team of Fitzroy? | CREATE TABLE table_name_13 (home_team VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_13 WHERE home_team = \"fitzroy\""
} |
Who was replaced by Lieve Wierinck? | CREATE TABLE table_name_18 (name VARCHAR, replacement VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_18 WHERE replacement = \"lieve wierinck\""
} |
Name the sum of gross tonnage for wood on date more tahn 1846 for comissioned and ship of esk | CREATE TABLE table_name_75 (gross_tonnage INTEGER, ship VARCHAR, material VARCHAR, date_commissioned VARCHAR) | {
"SQL_Query": "SELECT SUM(gross_tonnage) FROM table_name_75 WHERE material = \"wood\" AND date_commissioned > 1846 AND ship = \"esk\""
} |
Tell me the sum of Gross Tonnage for isis ship on date commisioned less than 1842 | CREATE TABLE table_name_94 (gross_tonnage INTEGER, ship VARCHAR, date_commissioned VARCHAR) | {
"SQL_Query": "SELECT SUM(gross_tonnage) FROM table_name_94 WHERE ship = \"isis\" AND date_commissioned < 1842"
} |
Tell me the lowest date commissioned for iron rmsrhone and gross tonnage less than 2,738 | CREATE TABLE table_name_69 (date_commissioned INTEGER, gross_tonnage VARCHAR, material VARCHAR, ship VARCHAR) | {
"SQL_Query": "SELECT MIN(date_commissioned) FROM table_name_69 WHERE material = \"iron\" AND ship = \"rmsrhone\" AND gross_tonnage < 2 OFFSET 738"
} |
What Constructor has a +1.027 Time/Retired? | CREATE TABLE table_name_21 (constructor VARCHAR, time_retired VARCHAR) | {
"SQL_Query": "SELECT constructor FROM table_name_21 WHERE time_retired = \"+1.027\""
} |
What Constructor has 56 Laps? | CREATE TABLE table_name_13 (constructor VARCHAR, laps VARCHAR) | {
"SQL_Query": "SELECT constructor FROM table_name_13 WHERE laps = 56"
} |
What Driver has 28 Laps and a Grid greater than 5? | CREATE TABLE table_name_91 (driver VARCHAR, grid VARCHAR, laps VARCHAR) | {
"SQL_Query": "SELECT driver FROM table_name_91 WHERE grid > 5 AND laps = 28"
} |
What is the highest Laps with a Time/Retired Wheel? | CREATE TABLE table_name_80 (laps INTEGER, time_retired VARCHAR) | {
"SQL_Query": "SELECT MAX(laps) FROM table_name_80 WHERE time_retired = \"wheel\""
} |
What Driver has a +1.027 Time/Retired? | CREATE TABLE table_name_86 (driver VARCHAR, time_retired VARCHAR) | {
"SQL_Query": "SELECT driver FROM table_name_86 WHERE time_retired = \"+1.027\""
} |
What game has a score of 44-20? | CREATE TABLE table_name_78 (result VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_78 WHERE score = \"44-20\""
} |
What date was a game played at Headingley Stadium? | CREATE TABLE table_name_67 (date VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_67 WHERE venue = \"headingley stadium\""
} |
What competition was played at Shay Stadium? | CREATE TABLE table_name_84 (competition VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT competition FROM table_name_84 WHERE venue = \"shay stadium\""
} |
Which show had a part 3 before 2011? | CREATE TABLE table_name_45 (show VARCHAR, year VARCHAR, episode_title VARCHAR) | {
"SQL_Query": "SELECT show FROM table_name_45 WHERE year < 2011 AND episode_title = \"part 3\""
} |
What are the male Bounder books? | CREATE TABLE table_name_23 (books VARCHAR, gender VARCHAR, animal_name VARCHAR) | {
"SQL_Query": "SELECT books FROM table_name_23 WHERE gender = \"male\" AND animal_name = \"bounder\""
} |
How many people attended on April 12? | CREATE TABLE table_name_75 (attendance VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT COUNT(attendance) FROM table_name_75 WHERE date = \"april 12\""
} |
On what date were 5 built with 4-4-2t wheels? | CREATE TABLE table_name_10 (date VARCHAR, no_built VARCHAR, wheels VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_10 WHERE no_built = 5 AND wheels = \"4-4-2t\""
} |
On what date was the number of locomotives 421-6? | CREATE TABLE table_name_70 (date VARCHAR, loco_nos VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_70 WHERE loco_nos = \"421-6\""
} |
How many were built with a locomotive number of 11-20? | CREATE TABLE table_name_17 (no_built VARCHAR, loco_nos VARCHAR) | {
"SQL_Query": "SELECT no_built FROM table_name_17 WHERE loco_nos = \"11-20\""
} |
On what date were more than 5 built with 4-4-2 wheels? | CREATE TABLE table_name_38 (date VARCHAR, wheels VARCHAR, no_built VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_38 WHERE wheels = \"4-4-2\" AND no_built > 5"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.