question
stringlengths
12
244
context
stringlengths
27
489
answer
dict
What's the 2009 of the Australian Open having a 1R in 2011?
CREATE TABLE table_name_56 (tournament VARCHAR)
{ "SQL_Query": "SELECT 2009 FROM table_name_56 WHERE 2011 = \"1r\" AND tournament = \"australian open\"" }
What's the 2008 of the Australian Open when the 2011 was 1R?
CREATE TABLE table_name_87 (tournament VARCHAR)
{ "SQL_Query": "SELECT 2008 FROM table_name_87 WHERE 2011 = \"1r\" AND tournament = \"australian open\"" }
What's the 2008 of the US Open when 2010 was 2R and 2011 was 1R?
CREATE TABLE table_name_17 (tournament VARCHAR)
{ "SQL_Query": "SELECT 2008 FROM table_name_17 WHERE 2011 = \"1r\" AND 2010 = \"2r\" AND tournament = \"us open\"" }
What is the lowest number of episodes in a series with an airing date of 12 jan- 6 feb?
CREATE TABLE table_name_22 (number_of_episodes INTEGER, airing_date VARCHAR)
{ "SQL_Query": "SELECT MIN(number_of_episodes) FROM table_name_22 WHERE airing_date = \"12 jan- 6 feb\"" }
What tournament has petra mandula patricia wartusch as the opponent in the final?
CREATE TABLE table_name_40 (tournament VARCHAR, opponent_in_the_final VARCHAR)
{ "SQL_Query": "SELECT tournament FROM table_name_40 WHERE opponent_in_the_final = \"petra mandula patricia wartusch\"" }
What date has kimberly po nathalie tauziat as the opponent in the final?
CREATE TABLE table_name_92 (date VARCHAR, opponent_in_the_final VARCHAR)
{ "SQL_Query": "SELECT date FROM table_name_92 WHERE opponent_in_the_final = \"kimberly po nathalie tauziat\"" }
What score has February 12, 2006 as the date?
CREATE TABLE table_name_38 (score VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_38 WHERE date = \"february 12, 2006\"" }
What opponent in the final has October 9, 2005 as the date?
CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT opponent_in_the_final FROM table_name_69 WHERE date = \"october 9, 2005\"" }
What is the to par for Bo Bae Song?
CREATE TABLE table_name_20 (to_par VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT to_par FROM table_name_20 WHERE player = \"bo bae song\"" }
What is the to par for Jiyai Shin when the place is t1?
CREATE TABLE table_name_70 (to_par VARCHAR, place VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT to_par FROM table_name_70 WHERE place = \"t1\" AND player = \"jiyai shin\"" }
What is the to par for Jiyai Shin in place t1?
CREATE TABLE table_name_49 (to_par VARCHAR, place VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT to_par FROM table_name_49 WHERE place = \"t1\" AND player = \"jiyai shin\"" }
What was Laura Diaz's score for place t9?
CREATE TABLE table_name_72 (score VARCHAR, place VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_72 WHERE place = \"t9\" AND player = \"laura diaz\"" }
What country does Bo Bae Song play for?
CREATE TABLE table_name_65 (country VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT country FROM table_name_65 WHERE player = \"bo bae song\"" }
How many gold medals did Brazil win with a total of more than 55 medals?
CREATE TABLE table_name_37 (gold INTEGER, nation VARCHAR, total VARCHAR)
{ "SQL_Query": "SELECT AVG(gold) FROM table_name_37 WHERE nation = \"brazil\" AND total > 55" }
How many teams won more than 2 silver medals and fewer than 2 Bronze medals?
CREATE TABLE table_name_38 (rank VARCHAR, silver VARCHAR, bronze VARCHAR)
{ "SQL_Query": "SELECT COUNT(rank) FROM table_name_38 WHERE silver > 2 AND bronze < 2" }
What is the fewest gold medals won by Greece?
CREATE TABLE table_name_92 (gold INTEGER, nation VARCHAR)
{ "SQL_Query": "SELECT MIN(gold) FROM table_name_92 WHERE nation = \"greece\"" }
What is the lowest rank of the United States, with fewer than 4 bronze medals?
CREATE TABLE table_name_55 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
{ "SQL_Query": "SELECT MIN(rank) FROM table_name_55 WHERE nation = \"united states\" AND bronze < 4" }
What is the highest number of gold medals won by a team that won fewer than 2 silver and fewer than 4 bronze medals?
CREATE TABLE table_name_83 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
{ "SQL_Query": "SELECT MAX(gold) FROM table_name_83 WHERE silver < 2 AND bronze < 4" }
Which React has a Lane smaller than 4, and a Rank larger than 4, and a Time larger than 23.22?
CREATE TABLE table_name_72 (react INTEGER, time VARCHAR, lane VARCHAR, rank VARCHAR)
{ "SQL_Query": "SELECT AVG(react) FROM table_name_72 WHERE lane < 4 AND rank > 4 AND time > 23.22" }
What shows for against when draws are 0, and losses are 16?
CREATE TABLE table_name_67 (against INTEGER, draws VARCHAR, losses VARCHAR)
{ "SQL_Query": "SELECT AVG(against) FROM table_name_67 WHERE draws = 0 AND losses = 16" }
What is the highest number of wins when draws are larger than 1, and byes are larger than 0?
CREATE TABLE table_name_59 (wins INTEGER, draws VARCHAR, byes VARCHAR)
{ "SQL_Query": "SELECT MAX(wins) FROM table_name_59 WHERE draws > 1 AND byes > 0" }
Which team were runners-up in 2007 and had 1 under winners?
CREATE TABLE table_name_24 (team VARCHAR, winners VARCHAR, years_runners_up VARCHAR)
{ "SQL_Query": "SELECT team FROM table_name_24 WHERE winners = 1 AND years_runners_up = \"2007\"" }
What is the sum of winners when 1983 is the years won?
CREATE TABLE table_name_31 (winners VARCHAR, years_won VARCHAR)
{ "SQL_Query": "SELECT COUNT(winners) FROM table_name_31 WHERE years_won = \"1983\"" }
Which Rank has a Total of 12?
CREATE TABLE table_name_72 (rank INTEGER, total VARCHAR)
{ "SQL_Query": "SELECT AVG(rank) FROM table_name_72 WHERE total = 12" }
Which Rank has an Opposition of limerick?
CREATE TABLE table_name_12 (rank VARCHAR, opposition VARCHAR)
{ "SQL_Query": "SELECT rank FROM table_name_12 WHERE opposition = \"limerick\"" }
How much Rank has a Tally of 0-10, and an Opposition of cork?
CREATE TABLE table_name_37 (rank VARCHAR, tally VARCHAR, opposition VARCHAR)
{ "SQL_Query": "SELECT COUNT(rank) FROM table_name_37 WHERE tally = \"0-10\" AND opposition = \"cork\"" }
Which Total has a Rank smaller than 3, and a County of cork?
CREATE TABLE table_name_18 (total INTEGER, rank VARCHAR, county VARCHAR)
{ "SQL_Query": "SELECT MIN(total) FROM table_name_18 WHERE rank < 3 AND county = \"cork\"" }
Which Rank has a Tally of 4-0?
CREATE TABLE table_name_36 (rank INTEGER, tally VARCHAR)
{ "SQL_Query": "SELECT AVG(rank) FROM table_name_36 WHERE tally = \"4-0\"" }
Which Lane has a Rank larger than 3, and a Time larger than 45.63, and a Reaction smaller than 0.28800000000000003, and an Athlete of geiner mosquera?
CREATE TABLE table_name_60 (lane INTEGER, athlete VARCHAR, react VARCHAR, rank VARCHAR, time VARCHAR)
{ "SQL_Query": "SELECT MAX(lane) FROM table_name_60 WHERE rank > 3 AND time > 45.63 AND react < 0.28800000000000003 AND athlete = \"geiner mosquera\"" }
How many reactions have an Athlete of alleyne francique, and a Lane larger than 9?
CREATE TABLE table_name_24 (react VARCHAR, athlete VARCHAR, lane VARCHAR)
{ "SQL_Query": "SELECT COUNT(react) FROM table_name_24 WHERE athlete = \"alleyne francique\" AND lane > 9" }
What yeae has 6-08 (24) as a waterford score?
CREATE TABLE table_name_67 (year VARCHAR, waterford_score VARCHAR)
{ "SQL_Query": "SELECT year FROM table_name_67 WHERE waterford_score = \"6-08 (24)\"" }
What is the lowest year that has all-ireland hurling final as the competition, and 6-08 (24) as the waterford score?
CREATE TABLE table_name_95 (year INTEGER, competition VARCHAR, waterford_score VARCHAR)
{ "SQL_Query": "SELECT MIN(year) FROM table_name_95 WHERE competition = \"all-ireland hurling final\" AND waterford_score = \"6-08 (24)\"" }
What is the waterford score that has a year prior to 1963, with all-ireland hurling final replay as the competition?
CREATE TABLE table_name_7 (waterford_score VARCHAR, year VARCHAR, competition VARCHAR)
{ "SQL_Query": "SELECT waterford_score FROM table_name_7 WHERE year < 1963 AND competition = \"all-ireland hurling final replay\"" }
What rounds did RML Racing Silverline and James Nash compete?
CREATE TABLE table_name_28 (rounds VARCHAR, team VARCHAR, drivers VARCHAR)
{ "SQL_Query": "SELECT rounds FROM table_name_28 WHERE team = \"rml racing silverline\" AND drivers = \"james nash\"" }
What class is Rob Collard in?
CREATE TABLE table_name_28 (class VARCHAR, drivers VARCHAR)
{ "SQL_Query": "SELECT class FROM table_name_28 WHERE drivers = \"rob collard\"" }
What is the car specs for team Airwaves BMW's driver Rob Collard?
CREATE TABLE table_name_68 (car_spec VARCHAR, team VARCHAR, drivers VARCHAR)
{ "SQL_Query": "SELECT car_spec FROM table_name_68 WHERE team = \"airwaves bmw\" AND drivers = \"rob collard\"" }
What is the language of TV3?
CREATE TABLE table_name_83 (language VARCHAR, name VARCHAR)
{ "SQL_Query": "SELECT language FROM table_name_83 WHERE name = \"tv3\"" }
What is the group of ESPN International Sports?
CREATE TABLE table_name_70 (group VARCHAR, name VARCHAR)
{ "SQL_Query": "SELECT group FROM table_name_70 WHERE name = \"espn international sports\"" }
What is the type of station for ESPN International Sports?
CREATE TABLE table_name_74 (type VARCHAR, name VARCHAR)
{ "SQL_Query": "SELECT type FROM table_name_74 WHERE name = \"espn international sports\"" }
What is the type of station that is in the movies group?
CREATE TABLE table_name_18 (type VARCHAR, group VARCHAR)
{ "SQL_Query": "SELECT type FROM table_name_18 WHERE group = \"movies\"" }
What is the name of the person with a total of 22?
CREATE TABLE table_name_6 (name VARCHAR, total VARCHAR)
{ "SQL_Query": "SELECT name FROM table_name_6 WHERE total = 22" }
What's the nationality of Henry Carr having a time of 20.3y?
CREATE TABLE table_name_82 (nationality VARCHAR, athlete VARCHAR, time VARCHAR)
{ "SQL_Query": "SELECT nationality FROM table_name_82 WHERE athlete = \"henry carr\" AND time = \"20.3y\"" }
What's the nationality of Livio Berruti?
CREATE TABLE table_name_53 (nationality VARCHAR, athlete VARCHAR)
{ "SQL_Query": "SELECT nationality FROM table_name_53 WHERE athlete = \"livio berruti\"" }
What's the nationality of Ray norton with a time of 20.6?
CREATE TABLE table_name_70 (nationality VARCHAR, time VARCHAR, athlete VARCHAR)
{ "SQL_Query": "SELECT nationality FROM table_name_70 WHERE time = \"20.6\" AND athlete = \"ray norton\"" }
What is the sum of the prominence in m of slovakia?
CREATE TABLE table_name_39 (prominence__m_ INTEGER, country VARCHAR)
{ "SQL_Query": "SELECT SUM(prominence__m_) FROM table_name_39 WHERE country = \"slovakia\"" }
What is the prominence in m of a col in m greater than 738?
CREATE TABLE table_name_57 (prominence__m_ VARCHAR, col__m_ INTEGER)
{ "SQL_Query": "SELECT prominence__m_ FROM table_name_57 WHERE col__m_ > 738" }
Whta is the lowest col in m of gerlachovský štít peak, which has an elevation greater than 2,655 m?
CREATE TABLE table_name_69 (col__m_ INTEGER, peak VARCHAR, elevation__m_ VARCHAR)
{ "SQL_Query": "SELECT MIN(col__m_) FROM table_name_69 WHERE peak = \"gerlachovský štít\" AND elevation__m_ > 2 OFFSET 655" }
What is the average prominence in m of pietrosul rodnei peak, which has an elevation less than 2,303?
CREATE TABLE table_name_48 (prominence__m_ INTEGER, peak VARCHAR, elevation__m_ VARCHAR)
{ "SQL_Query": "SELECT AVG(prominence__m_) FROM table_name_48 WHERE peak = \"pietrosul rodnei\" AND elevation__m_ < 2 OFFSET 303" }
What is the Score of the Shooter with a Comp of OG?
CREATE TABLE table_name_9 (score VARCHAR, comp VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_9 WHERE comp = \"og\"" }
What is the B Score when the total is more than 16.125, and position is 3rd?
CREATE TABLE table_name_70 (b_score INTEGER, total VARCHAR, position VARCHAR)
{ "SQL_Query": "SELECT SUM(b_score) FROM table_name_70 WHERE total > 16.125 AND position = \"3rd\"" }
What is the lowest A Score when the B Score is 9.15, and total is 16.05?
CREATE TABLE table_name_61 (a_score INTEGER, b_score VARCHAR, total VARCHAR)
{ "SQL_Query": "SELECT MIN(a_score) FROM table_name_61 WHERE b_score = 9.15 AND total = 16.05" }
Who had a time of 7:14.64?
CREATE TABLE table_name_39 (athlete VARCHAR, time VARCHAR)
{ "SQL_Query": "SELECT athlete FROM table_name_39 WHERE time = \"7:14.64\"" }
What rank was Lassi Karonen?
CREATE TABLE table_name_9 (rank VARCHAR, athlete VARCHAR)
{ "SQL_Query": "SELECT COUNT(rank) FROM table_name_9 WHERE athlete = \"lassi karonen\"" }
What was the rank when then time was 7:52.53?
CREATE TABLE table_name_10 (rank INTEGER, time VARCHAR)
{ "SQL_Query": "SELECT MIN(rank) FROM table_name_10 WHERE time = \"7:52.53\"" }
Who was the athlete from Germany with notes of Q?
CREATE TABLE table_name_73 (athlete VARCHAR, notes VARCHAR, country VARCHAR)
{ "SQL_Query": "SELECT athlete FROM table_name_73 WHERE notes = \"q\" AND country = \"germany\"" }
What rank is Germany?
CREATE TABLE table_name_74 (rank VARCHAR, country VARCHAR)
{ "SQL_Query": "SELECT rank FROM table_name_74 WHERE country = \"germany\"" }
Who was the athlete from Hong Kong?
CREATE TABLE table_name_71 (athlete VARCHAR, country VARCHAR)
{ "SQL_Query": "SELECT athlete FROM table_name_71 WHERE country = \"hong kong\"" }
Which school has a mascot of the Blazers and in the Northeast Corner conference?
CREATE TABLE table_name_75 (school VARCHAR, conference_joined VARCHAR, mascot VARCHAR)
{ "SQL_Query": "SELECT school FROM table_name_75 WHERE conference_joined = \"northeast corner\" AND mascot = \"blazers\"" }
Which mascot has an IHSAA Class and Football class of 2A/2A?
CREATE TABLE table_name_80 (mascot VARCHAR, ihsaa_class___football_class VARCHAR)
{ "SQL_Query": "SELECT mascot FROM table_name_80 WHERE ihsaa_class___football_class = \"2a/2a\"" }
Which player was selected in rounds under 3?
CREATE TABLE table_name_33 (player VARCHAR, round INTEGER)
{ "SQL_Query": "SELECT player FROM table_name_33 WHERE round < 3" }
Which Water (sqmi) has a Pop (2010) of 359, and a Longitude smaller than -97.176811?
CREATE TABLE table_name_91 (water__sqmi_ INTEGER, pop__2010_ VARCHAR, longitude VARCHAR)
{ "SQL_Query": "SELECT MAX(water__sqmi_) FROM table_name_91 WHERE pop__2010_ = 359 AND longitude < -97.176811" }
Which Land (sqmi) has a Water (sqmi) smaller than 0.04, and a Longitude of -96.794706?
CREATE TABLE table_name_79 (land___sqmi__ INTEGER, water__sqmi_ VARCHAR, longitude VARCHAR)
{ "SQL_Query": "SELECT MIN(land___sqmi__) FROM table_name_79 WHERE water__sqmi_ < 0.04 AND longitude = -96.794706" }
How much Latitude has a Water (sqmi) of 0.267, and an ANSI code larger than 1759605?
CREATE TABLE table_name_9 (latitude INTEGER, water__sqmi_ VARCHAR, ansi_code VARCHAR)
{ "SQL_Query": "SELECT SUM(latitude) FROM table_name_9 WHERE water__sqmi_ = 0.267 AND ansi_code > 1759605" }
Which ANSI code has a GEO ID larger than 3809927140, and a Water (sqmi) smaller than 0.492, and a Pop (2010) of 37, and a Latitude larger than 48.245979?
CREATE TABLE table_name_48 (ansi_code INTEGER, latitude VARCHAR, pop__2010_ VARCHAR, geo_id VARCHAR, water__sqmi_ VARCHAR)
{ "SQL_Query": "SELECT MIN(ansi_code) FROM table_name_48 WHERE geo_id > 3809927140 AND water__sqmi_ < 0.492 AND pop__2010_ = 37 AND latitude > 48.245979" }
What is the Owner of Frequency 00 99.3?
CREATE TABLE table_name_64 (owner VARCHAR, frequency VARCHAR)
{ "SQL_Query": "SELECT owner FROM table_name_64 WHERE frequency = \"00 99.3\"" }
What is the Branding of Frequency 00 94.5?
CREATE TABLE table_name_70 (branding VARCHAR, frequency VARCHAR)
{ "SQL_Query": "SELECT branding FROM table_name_70 WHERE frequency = \"00 94.5\"" }
What is the Call Sign of the Frequency by Owner CKUA Radio Foundation?
CREATE TABLE table_name_33 (call_sign VARCHAR, owner VARCHAR)
{ "SQL_Query": "SELECT call_sign FROM table_name_33 WHERE owner = \"ckua radio foundation\"" }
What is the Owner of the Frequency with a Format of First Nations Community Radio?
CREATE TABLE table_name_40 (owner VARCHAR, format VARCHAR)
{ "SQL_Query": "SELECT owner FROM table_name_40 WHERE format = \"first nations community radio\"" }
Which School has a Previous Conference of none (new school), and a Year Joined larger than 1960, and a Location of versailles?
CREATE TABLE table_name_78 (school VARCHAR, location VARCHAR, previous_conference VARCHAR, year_joined VARCHAR)
{ "SQL_Query": "SELECT school FROM table_name_78 WHERE previous_conference = \"none (new school)\" AND year_joined > 1960 AND location = \"versailles\"" }
Which Location has a Previous Conference of independents, and a Mascot of hilltoppers?
CREATE TABLE table_name_95 (location VARCHAR, previous_conference VARCHAR, mascot VARCHAR)
{ "SQL_Query": "SELECT location FROM table_name_95 WHERE previous_conference = \"independents\" AND mascot = \"hilltoppers\"" }
Which Year Joined has a Size larger than 93, and a Previous Conference of none (new school), and a Mascot of rebels?
CREATE TABLE table_name_88 (year_joined INTEGER, mascot VARCHAR, size VARCHAR, previous_conference VARCHAR)
{ "SQL_Query": "SELECT AVG(year_joined) FROM table_name_88 WHERE size > 93 AND previous_conference = \"none (new school)\" AND mascot = \"rebels\"" }
How many years Joined have a Size smaller than 417, and an IHSAA Class of A, and a School of jac-cen-del?
CREATE TABLE table_name_68 (year_joined VARCHAR, school VARCHAR, size VARCHAR, ihsaa_class VARCHAR)
{ "SQL_Query": "SELECT COUNT(year_joined) FROM table_name_68 WHERE size < 417 AND ihsaa_class = \"a\" AND school = \"jac-cen-del\"" }
What is the 1957 number when the 1955 is smaller than 0.63, and 1952 is larger than 0.22?
CREATE TABLE table_name_71 (Id VARCHAR)
{ "SQL_Query": "SELECT COUNT(1957) FROM table_name_71 WHERE 1955 < 0.63 AND 1952 > 0.22" }
What is the 1952 rate when the 1954 is more than 4.2?
CREATE TABLE table_name_37 (Id VARCHAR)
{ "SQL_Query": "SELECT SUM(1952) FROM table_name_37 WHERE 1954 > 4.2" }
What is the 1955 rate when the 1956 is more than 2.9, and 1953 is larger than 4.5?
CREATE TABLE table_name_7 (Id VARCHAR)
{ "SQL_Query": "SELECT SUM(1955) FROM table_name_7 WHERE 1956 > 2.9 AND 1953 > 4.5" }
In what Week resulting in the bottom 3 was Endre Jansen Partner?
CREATE TABLE table_name_97 (week INTEGER, result VARCHAR, partner VARCHAR)
{ "SQL_Query": "SELECT MAX(week) FROM table_name_97 WHERE result = \"bottom 3\" AND partner = \"endre jansen\"" }
What Dance in Week 1 resulted in Safe?
CREATE TABLE table_name_16 (dance VARCHAR, result VARCHAR, week VARCHAR)
{ "SQL_Query": "SELECT dance FROM table_name_16 WHERE result = \"safe\" AND week = 1" }
In what Week was the Locking Dance?
CREATE TABLE table_name_16 (week INTEGER, dance VARCHAR)
{ "SQL_Query": "SELECT MAX(week) FROM table_name_16 WHERE dance = \"locking\"" }
What position has 7 as the round, with a pick # less than 214?
CREATE TABLE table_name_5 (position VARCHAR, round VARCHAR, pick__number VARCHAR)
{ "SQL_Query": "SELECT position FROM table_name_5 WHERE round = 7 AND pick__number < 214" }
What college has a round greater than 1, with dylan mcfarland as the player?
CREATE TABLE table_name_95 (college VARCHAR, round VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT college FROM table_name_95 WHERE round > 1 AND player = \"dylan mcfarland\"" }
What player has a pick # greater than 207?
CREATE TABLE table_name_44 (player VARCHAR, pick__number INTEGER)
{ "SQL_Query": "SELECT player FROM table_name_44 WHERE pick__number > 207" }
Which artist had a 4x platinum?
CREATE TABLE table_name_42 (artist VARCHAR, certification VARCHAR)
{ "SQL_Query": "SELECT artist FROM table_name_42 WHERE certification = \"4x platinum\"" }
What was the highest peak position for the album one of the boys?
CREATE TABLE table_name_48 (peak_position INTEGER, album VARCHAR)
{ "SQL_Query": "SELECT MAX(peak_position) FROM table_name_48 WHERE album = \"one of the boys\"" }
How many sales had a peak position of 1 and a certification of 6x platinum?
CREATE TABLE table_name_31 (sales VARCHAR, peak_position VARCHAR, certification VARCHAR)
{ "SQL_Query": "SELECT COUNT(sales) FROM table_name_31 WHERE peak_position = 1 AND certification = \"6x platinum\"" }
What album had a peak position of 6 and a certification of 3x platinum?
CREATE TABLE table_name_25 (album VARCHAR, certification VARCHAR, peak_position VARCHAR)
{ "SQL_Query": "SELECT album FROM table_name_25 WHERE certification = \"3x platinum\" AND peak_position = 6" }
How many sales had a peak position more than 2 and a Certification of 3x platinum?
CREATE TABLE table_name_44 (sales VARCHAR, peak_position VARCHAR, certification VARCHAR)
{ "SQL_Query": "SELECT COUNT(sales) FROM table_name_44 WHERE peak_position > 2 AND certification = \"3x platinum\"" }
Who were the rowers who had a time of 7:39.70?
CREATE TABLE table_name_18 (rowers VARCHAR, time VARCHAR)
{ "SQL_Query": "SELECT rowers FROM table_name_18 WHERE time = \"7:39.70\"" }
Who were the rowers from china wh had a rank smaller than 4?
CREATE TABLE table_name_51 (rowers VARCHAR, rank VARCHAR, country VARCHAR)
{ "SQL_Query": "SELECT rowers FROM table_name_51 WHERE rank < 4 AND country = \"china\"" }
What is the notes for the rowers from denmark?
CREATE TABLE table_name_26 (notes VARCHAR, country VARCHAR)
{ "SQL_Query": "SELECT notes FROM table_name_26 WHERE country = \"denmark\"" }
Which Bronze has a Nation of austria, and a Total larger than 6?
CREATE TABLE table_name_21 (bronze INTEGER, nation VARCHAR, total VARCHAR)
{ "SQL_Query": "SELECT MAX(bronze) FROM table_name_21 WHERE nation = \"austria\" AND total > 6" }
Which Rank has a Silver of 1, and a Gold of 0, and a Nation of austria?
CREATE TABLE table_name_13 (rank VARCHAR, nation VARCHAR, silver VARCHAR, gold VARCHAR)
{ "SQL_Query": "SELECT rank FROM table_name_13 WHERE silver = 1 AND gold = 0 AND nation = \"austria\"" }
Which Total has a Rank of 5, and a Bronze smaller than 0?
CREATE TABLE table_name_67 (total INTEGER, rank VARCHAR, bronze VARCHAR)
{ "SQL_Query": "SELECT AVG(total) FROM table_name_67 WHERE rank = \"5\" AND bronze < 0" }
Which Total has a Bronze of 5, and a Silver smaller than 1?
CREATE TABLE table_name_37 (total INTEGER, bronze VARCHAR, silver VARCHAR)
{ "SQL_Query": "SELECT MIN(total) FROM table_name_37 WHERE bronze = 5 AND silver < 1" }
What is the highest year with a formula of Grand Prix?
CREATE TABLE table_name_25 (year INTEGER, formula VARCHAR)
{ "SQL_Query": "SELECT MAX(year) FROM table_name_25 WHERE formula = \"grand prix\"" }
Which formula had a driver of John Moore-Brabazon?
CREATE TABLE table_name_64 (formula VARCHAR, driver VARCHAR)
{ "SQL_Query": "SELECT formula FROM table_name_64 WHERE driver = \"john moore-brabazon\"" }
Which driver had a year under 1905?
CREATE TABLE table_name_51 (driver VARCHAR, year INTEGER)
{ "SQL_Query": "SELECT driver FROM table_name_51 WHERE year < 1905" }
How many years had a formula of Grand Prix?
CREATE TABLE table_name_46 (year VARCHAR, formula VARCHAR)
{ "SQL_Query": "SELECT COUNT(year) FROM table_name_46 WHERE formula = \"grand prix\"" }
Which location was won by George Heath?
CREATE TABLE table_name_15 (location VARCHAR, driver VARCHAR)
{ "SQL_Query": "SELECT location FROM table_name_15 WHERE driver = \"george heath\"" }
What is the 2010 total for ghana?
CREATE TABLE table_name_64 (country VARCHAR)
{ "SQL_Query": "SELECT COUNT(2010) FROM table_name_64 WHERE country = \"ghana\"" }
Which country is the nnamdi azikiwe international airport in?
CREATE TABLE table_name_73 (country VARCHAR, airport VARCHAR)
{ "SQL_Query": "SELECT country FROM table_name_73 WHERE airport = \"nnamdi azikiwe international airport\"" }