question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What's the average Grid for a Maserati with less than 80 laps, and a Time/Retired of +2 laps?
CREATE TABLE table_name_76 (grid INTEGER, time_retired VARCHAR, laps VARCHAR, constructor VARCHAR)
SELECT AVG(grid) FROM table_name_76 WHERE laps < 80 AND constructor = "maserati" AND time_retired = "+2 laps"
Which college has any student who is a goalie and succeeded in the tryout.
CREATE TABLE tryout (cName VARCHAR, decision VARCHAR, pPos VARCHAR)
SELECT cName FROM tryout WHERE decision = 'yes' AND pPos = 'goalie'
What is listed for the Drawn that has a Tray bonus of 5 wiht Points for of 517?
CREATE TABLE table_name_23 (drawn VARCHAR, try_bonus VARCHAR, points_for VARCHAR)
SELECT drawn FROM table_name_23 WHERE try_bonus = "5" AND points_for = "517"
What was the pick number for the person from the United States who as drafted to the SF position from North Carolina?
CREATE TABLE table_name_78 (pick VARCHAR, position VARCHAR, nationality VARCHAR, college_high_school_club VARCHAR)
SELECT pick FROM table_name_78 WHERE nationality = "united states" AND college_high_school_club = "north carolina" AND position = "sf"
What country has a compulsory deduction of 29.3%?
CREATE TABLE table_24486462_1 (country VARCHAR, compulsory_deduction VARCHAR)
SELECT country FROM table_24486462_1 WHERE compulsory_deduction = "29.3%"
Who had pole position in round 7?
CREATE TABLE table_18095719_2 (pole_position VARCHAR, round VARCHAR)
SELECT pole_position FROM table_18095719_2 WHERE round = 7
What finish qualified at 141.071?
CREATE TABLE table_name_74 (finish VARCHAR, qual VARCHAR)
SELECT finish FROM table_name_74 WHERE qual = "141.071"
Who was the opponent when the Washington Nationals had a record of 8-4?
CREATE TABLE table_name_24 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_24 WHERE record = "8-4"
What is the minimum year born for strasbourg?
CREATE TABLE table_12962773_13 (year_born INTEGER, current_club VARCHAR)
SELECT MIN(year_born) FROM table_12962773_13 WHERE current_club = "Strasbourg"
Name the hypotenuse for vertices 月山泛 δymf
CREATE TABLE table_25519358_1 (hypotenuse_0_c VARCHAR, vertices VARCHAR)
SELECT hypotenuse_0_c FROM table_25519358_1 WHERE vertices = "月山泛 ΔYMF"
How many totals have a Player of ahmad fouzee masuri, and an FA Cup larger than 0?
CREATE TABLE table_name_37 (total VARCHAR, player VARCHAR, fa_cup VARCHAR)
SELECT COUNT(total) FROM table_name_37 WHERE player = "ahmad fouzee masuri" AND fa_cup > 0
How many laps associated with a Time/Retired of + 1:25.475?
CREATE TABLE table_name_62 (laps VARCHAR, time_retired VARCHAR)
SELECT COUNT(laps) FROM table_name_62 WHERE time_retired = "+ 1:25.475"
What is the place of the player with a 71-66-64=201 score?
CREATE TABLE table_name_44 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_44 WHERE score = 71 - 66 - 64 = 201
What is the lowest Game, when High Assists is "Maurice Williams (8)"?
CREATE TABLE table_name_11 (game INTEGER, high_assists VARCHAR)
SELECT MIN(game) FROM table_name_11 WHERE high_assists = "maurice williams (8)"
What was the surface of the tournament where Anna Benzon was the opponent in the final?
CREATE TABLE table_name_59 (surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT surface FROM table_name_59 WHERE opponent_in_the_final = "anna benzon"
What was the date when the game had a save by Aguilera (5)?
CREATE TABLE table_name_65 (date VARCHAR, save VARCHAR)
SELECT date FROM table_name_65 WHERE save = "aguilera (5)"
What is found in the Built column of the locomotive with 0-4-0 wheels that is still in service?
CREATE TABLE table_name_8 (built VARCHAR, wheels VARCHAR, status VARCHAR)
SELECT built FROM table_name_8 WHERE wheels = "0-4-0" AND status = "in service"
Who is the turbine vendor for Meenadreen in Donegal county with less than 6 turbines with a size of 0.85 MW?
CREATE TABLE table_name_85 (turbine_vendor VARCHAR, wind_farm VARCHAR, size__mw_ VARCHAR, turbines VARCHAR, county VARCHAR)
SELECT turbine_vendor FROM table_name_85 WHERE turbines < 6 AND county = "donegal" AND size__mw_ = "0.85" AND wind_farm = "meenadreen"
Name the number of result for maroa
CREATE TABLE table_18123274_1 (result VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT COUNT(result) FROM table_18123274_1 WHERE film_title_used_in_nomination = "Maroa"
What's the smallest number of games for the fenerbahçe team?
CREATE TABLE table_name_84 (games INTEGER, team VARCHAR)
SELECT MIN(games) FROM table_name_84 WHERE team = "fenerbahçe"
Which Career Win-Loss has a 2001 of 1–1?
CREATE TABLE table_name_76 (career_win_loss VARCHAR)
SELECT career_win_loss FROM table_name_76 WHERE 2001 = "1–1"
How many sail numbers for boat skippered by Geoff Ross?
CREATE TABLE table_20854943_2 (sail_number VARCHAR, skipper VARCHAR)
SELECT COUNT(sail_number) FROM table_20854943_2 WHERE skipper = "Geoff Ross"
who visited on november 17?
CREATE TABLE table_name_29 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_29 WHERE date = "november 17"
How many players are from Purdue?
CREATE TABLE table_26077092_7 (player VARCHAR, college VARCHAR)
SELECT COUNT(player) FROM table_26077092_7 WHERE college = "Purdue"
what is the lost when played is less than 42?
CREATE TABLE table_name_71 (lost INTEGER, played INTEGER)
SELECT SUM(lost) FROM table_name_71 WHERE played < 42
What is Drawn, when Played is "Correct as of 2006-06-10"?
CREATE TABLE table_name_59 (drawn VARCHAR, played VARCHAR)
SELECT drawn FROM table_name_59 WHERE played = "correct as of 2006-06-10"
What is the pick number for the player Garry Lewis?
CREATE TABLE table_16376436_1 (pick__number INTEGER, player VARCHAR)
SELECT MIN(pick__number) FROM table_16376436_1 WHERE player = "Garry Lewis"
Which date was the Winning Score 72-66-67-71=276?
CREATE TABLE table_name_87 (date VARCHAR, winning_score VARCHAR)
SELECT date FROM table_name_87 WHERE winning_score = 72 - 66 - 67 - 71 = 276
What was the date of the game in which the series was 1-4?
CREATE TABLE table_name_90 (date VARCHAR, series VARCHAR)
SELECT date FROM table_name_90 WHERE series = "1-4"
What is the Date when the result is *non-conference game. #rankings from ap poll .?
CREATE TABLE table_name_65 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_65 WHERE result = "*non-conference game. #rankings from ap poll ."
Is the drawing tablet support part of the DDM class?
CREATE TABLE table_1153898_1 (ddm_class VARCHAR, comparisons VARCHAR)
SELECT ddm_class FROM table_1153898_1 WHERE comparisons = "Drawing Tablet Support"
Who had a 33-30-8 record at home?
CREATE TABLE table_name_99 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_99 WHERE record = "33-30-8"
What is the average for the player with BBM 5/85?
CREATE TABLE table_27922491_8 (average VARCHAR, bbm VARCHAR)
SELECT average FROM table_27922491_8 WHERE bbm = "5/85"
What is the result of the game when the attendance is 56,906?
CREATE TABLE table_name_38 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_38 WHERE attendance = "56,906"
What is Score, when High Assists is "Rajon Rondo (12)", and when High Points is "Paul Pierce (27)"?
CREATE TABLE table_name_64 (score VARCHAR, high_assists VARCHAR, high_points VARCHAR)
SELECT score FROM table_name_64 WHERE high_assists = "rajon rondo (12)" AND high_points = "paul pierce (27)"
What's listed for Departure that has 1676 listed for the Kilometers?
CREATE TABLE table_name_88 (departure VARCHAR, kilometers VARCHAR)
SELECT departure FROM table_name_88 WHERE kilometers = 1676
What is the 2010 value for the Australian Open?
CREATE TABLE table_name_28 (tournament VARCHAR)
SELECT 2010 FROM table_name_28 WHERE tournament = "australian open"
How many rounds was the fight against carter williams?
CREATE TABLE table_name_2 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_2 WHERE opponent = "carter williams"
Which is the average year with the date of February 24?
CREATE TABLE table_name_70 (year INTEGER, date VARCHAR)
SELECT AVG(year) FROM table_name_70 WHERE date = "february 24"
What district has benjamin eggleston for incumbent?
CREATE TABLE table_name_52 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_name_52 WHERE incumbent = "benjamin eggleston"
What is the average Wins, when Points is less than "19"?
CREATE TABLE table_name_32 (wins INTEGER, points INTEGER)
SELECT AVG(wins) FROM table_name_32 WHERE points < 19
What is the low goal for kenny miller with an average smaller than 0.261?
CREATE TABLE table_name_24 (goals INTEGER, name VARCHAR, average VARCHAR)
SELECT MIN(goals) FROM table_name_24 WHERE name = "kenny miller" AND average < 0.261
Which Player has a Position of forward?
CREATE TABLE table_name_18 (player VARCHAR, position VARCHAR)
SELECT player FROM table_name_18 WHERE position = "forward"
What is the highest number of losses of the central murray of lake boga, which has less than 10 wins?
CREATE TABLE table_name_91 (losses INTEGER, central_murray VARCHAR, wins VARCHAR)
SELECT MAX(losses) FROM table_name_91 WHERE central_murray = "lake boga" AND wins < 10
What was Cici Kelley's minimum season?
CREATE TABLE table_2140071_8 (season INTEGER, coach VARCHAR)
SELECT MIN(season) FROM table_2140071_8 WHERE coach = "Cici Kelley"
Who is the opponent at the IFA: Clash of the Champions?
CREATE TABLE table_name_71 (opponent VARCHAR, event VARCHAR)
SELECT opponent FROM table_name_71 WHERE event = "ifa: clash of the champions"
How many laps were there when the Time/Retired was +1:00.003?
CREATE TABLE table_name_73 (laps VARCHAR, time_retired VARCHAR)
SELECT laps FROM table_name_73 WHERE time_retired = "+1:00.003"
when hayden roulston is the winner what is the team classification?
CREATE TABLE table_28298471_14 (team_classification VARCHAR, winner VARCHAR)
SELECT team_classification FROM table_28298471_14 WHERE winner = "Hayden Roulston"
What Percentage did the First game of 1998 have?
CREATE TABLE table_name_80 (percentage VARCHAR, first_game VARCHAR)
SELECT percentage FROM table_name_80 WHERE first_game = 1998
What was the tie number of the away game for Ashford Town (Middx)?
CREATE TABLE table_name_79 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_79 WHERE away_team = "ashford town (middx)"
Who won best actress?
CREATE TABLE table_25926120_3 (awardee_s_ VARCHAR, name_of_award VARCHAR)
SELECT awardee_s_ FROM table_25926120_3 WHERE name_of_award = "Best Actress"
List the first name of all the professionals along with the description of the treatment they have done.
CREATE TABLE Treatments (professional_id VARCHAR, treatment_type_code VARCHAR); CREATE TABLE Treatment_types (treatment_type_description VARCHAR, treatment_type_code VARCHAR); CREATE TABLE professionals (first_name VARCHAR, professional_id VARCHAR)
SELECT DISTINCT T1.first_name, T3.treatment_type_description FROM professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id JOIN Treatment_types AS T3 ON T2.treatment_type_code = T3.treatment_type_code
What is every value for %yes when type is ref?
CREATE TABLE table_256286_43 (_percentage_yes VARCHAR, type VARCHAR)
SELECT _percentage_yes FROM table_256286_43 WHERE type = "Ref"
How many were built with a locomotive number of 11-20?
CREATE TABLE table_name_17 (no_built VARCHAR, loco_nos VARCHAR)
SELECT no_built FROM table_name_17 WHERE loco_nos = "11-20"
What is High Rebounds, when High Assists is "Rafer Alston , Rashard Lewis , Hedo Türkoğlu (3)"?
CREATE TABLE table_name_80 (high_rebounds VARCHAR, high_assists VARCHAR)
SELECT high_rebounds FROM table_name_80 WHERE high_assists = "rafer alston , rashard lewis , hedo türkoğlu (3)"
Which average Game has a High points of wilson chandler (16)?
CREATE TABLE table_name_7 (game INTEGER, high_points VARCHAR)
SELECT AVG(game) FROM table_name_7 WHERE high_points = "wilson chandler (16)"
What is Designation, when Launch Date/Time ( GMT ) is 29 June 1972, 03:47?
CREATE TABLE table_name_73 (designation VARCHAR, launch_date_time___gmt__ VARCHAR)
SELECT designation FROM table_name_73 WHERE launch_date_time___gmt__ = "29 june 1972, 03:47"
What is the 2012 population of Indonesia?
CREATE TABLE table_28741_1 (population_2012_ VARCHAR, country VARCHAR)
SELECT population_2012_ FROM table_28741_1 WHERE country = "Indonesia"
which round has a margin of 178?
CREATE TABLE table_name_24 (round VARCHAR, margin VARCHAR)
SELECT round FROM table_name_24 WHERE margin = "178"
Who had the high points on January 23?
CREATE TABLE table_11960407_4 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_11960407_4 WHERE date = "January 23"
Which FAT32 has yes v1.0/v1.1 for NTFS?
CREATE TABLE table_name_31 (fat32 VARCHAR, ntfs VARCHAR)
SELECT fat32 FROM table_name_31 WHERE ntfs = "yes v1.0/v1.1"
When did the mf from England play for Gillingham that made 0 goals and less than 37 appearances?
CREATE TABLE table_name_79 (gillingham_career VARCHAR, position VARCHAR, nationality VARCHAR, goals VARCHAR, apps VARCHAR)
SELECT gillingham_career FROM table_name_79 WHERE goals = 0 AND apps < 37 AND nationality = "england" AND position = "mf"
What is the highest value of area when capital is San Juan?
CREATE TABLE table_298550_1 (area__km²_ INTEGER, capital VARCHAR)
SELECT MAX(area__km²_) FROM table_298550_1 WHERE capital = "San Juan"
what is the result where the candidates is robert l. f. sikes (d) unopposed?
CREATE TABLE table_1341672_10 (result VARCHAR, candidates VARCHAR)
SELECT result FROM table_1341672_10 WHERE candidates = "Robert L. F. Sikes (D) Unopposed"
Which Game site has a Week larger than 14?
CREATE TABLE table_name_44 (game_site VARCHAR, week INTEGER)
SELECT game_site FROM table_name_44 WHERE week > 14
Who had an evening gown score of 9.78?
CREATE TABLE table_11690135_1 (interview VARCHAR, evening_gown VARCHAR)
SELECT interview FROM table_11690135_1 WHERE evening_gown = "9.78"
Who was the opponent at GCM – D.O.G. 4?
CREATE TABLE table_name_54 (opponent VARCHAR, event VARCHAR)
SELECT opponent FROM table_name_54 WHERE event = "gcm – d.o.g. 4"
How many Points have a Rank of 17th, and Wins larger than 0?
CREATE TABLE table_name_29 (points VARCHAR, rank VARCHAR, wins VARCHAR)
SELECT COUNT(points) FROM table_name_29 WHERE rank = "17th" AND wins > 0
What is the Date of Birth of the CB Player with a Height of m (ft 4in)?
CREATE TABLE table_name_61 (date_of_birth VARCHAR, pos VARCHAR, height VARCHAR)
SELECT date_of_birth FROM table_name_61 WHERE pos = "cb" AND height = "m (ft 4in)"
What venue had SF?
CREATE TABLE table_name_4 (venue VARCHAR, round VARCHAR)
SELECT venue FROM table_name_4 WHERE round = "sf"
Name the rank for tottenham hotspur
CREATE TABLE table_name_7 (rank VARCHAR, team VARCHAR)
SELECT rank FROM table_name_7 WHERE team = "tottenham hotspur"
What is the constructor for the VII Race of Champions?
CREATE TABLE table_name_34 (constructor VARCHAR, race_name VARCHAR)
SELECT constructor FROM table_name_34 WHERE race_name = "vii race of champions"
What is the compatible repository when the version is old version, no longer supported: 9 and default desktop environment is lxde?
CREATE TABLE table_27329061_2 (compatible_repository VARCHAR, version VARCHAR, default_desktop_environment VARCHAR)
SELECT compatible_repository FROM table_27329061_2 WHERE version = "Old version, no longer supported: 9" AND default_desktop_environment = "LXDE"
What is the least place when the couple is Keiron & Brianne?
CREATE TABLE table_26375386_28 (place INTEGER, couple VARCHAR)
SELECT MIN(place) FROM table_26375386_28 WHERE couple = "Keiron & Brianne"
How many tv series had an adult rating of 1.2?
CREATE TABLE table_19188562_2 (tv_season VARCHAR, rating__adults_18_49_ VARCHAR)
SELECT COUNT(tv_season) FROM table_19188562_2 WHERE rating__adults_18_49_ = "1.2"
Which National team has a Club of arsenal, and Apps smaller than 4, and a Year of 2010?
CREATE TABLE table_name_95 (national_team VARCHAR, year VARCHAR, club VARCHAR, apps VARCHAR)
SELECT national_team FROM table_name_95 WHERE club = "arsenal" AND apps < 4 AND year = "2010"
where was sun 09/12/93 record made
CREATE TABLE table_21436373_12 (stadium VARCHAR, date_year VARCHAR)
SELECT stadium FROM table_21436373_12 WHERE date_year = "Sun 09/12/93"
Who had the decision with boston at home?
CREATE TABLE table_name_34 (decision VARCHAR, home VARCHAR)
SELECT decision FROM table_name_34 WHERE home = "boston"
What is the total number of Position, when Played is less than 46?
CREATE TABLE table_name_51 (position VARCHAR, played INTEGER)
SELECT COUNT(position) FROM table_name_51 WHERE played < 46
Which Winners club has a Week of 4.5?
CREATE TABLE table_name_20 (winners_club VARCHAR, week VARCHAR)
SELECT winners_club FROM table_name_20 WHERE week = 4.5
What party does William J. Jefferson?
CREATE TABLE table_1341453_20 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1341453_20 WHERE incumbent = "William J. Jefferson"
What is the sum of skin depth with a resistivity of 1.12 and a relative permeability larger than 1?
CREATE TABLE table_name_30 (_inches VARCHAR, skin_depth INTEGER, resistivity__10_−6_ohm_inches_ VARCHAR, relative_permeability VARCHAR)
SELECT SUM(skin_depth), _inches FROM table_name_30 WHERE resistivity__10_−6_ohm_inches_ = 1.12 AND relative_permeability > 1
What Transfer window that has a Transfer fee of free, with a Moving to of derby county?
CREATE TABLE table_name_54 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)
SELECT transfer_window FROM table_name_54 WHERE transfer_fee = "free" AND moving_to = "derby county"
Who wrote the episode that 2.93 million viewers?
CREATE TABLE table_28019988_2 (written_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT written_by FROM table_28019988_2 WHERE us_viewers__million_ = "2.93"
Which Date has a Record of 4–2–0?
CREATE TABLE table_name_68 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_68 WHERE record = "4–2–0"
Name the lowest Televotes which has monika sokolovska and a Rank larger than 15?
CREATE TABLE table_name_54 (televotes INTEGER, performer VARCHAR, rank VARCHAR)
SELECT MIN(televotes) FROM table_name_54 WHERE performer = "monika sokolovska" AND rank > 15
Which Opponent that has a Week smaller than 7 on september 12, 1988?
CREATE TABLE table_name_41 (opponent VARCHAR, week VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_41 WHERE week < 7 AND date = "september 12, 1988"
What's the date of Bahrain International Circuit?
CREATE TABLE table_name_95 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_95 WHERE circuit = "bahrain international circuit"
What years did the player play when he scored 78 points and 22 goals?
CREATE TABLE table_name_56 (years VARCHAR, points VARCHAR, goals VARCHAR)
SELECT years FROM table_name_56 WHERE points = "78" AND goals = "22"
Which frequency is DYMY?
CREATE TABLE table_23910822_1 (frequency VARCHAR, callsign VARCHAR)
SELECT frequency FROM table_23910822_1 WHERE callsign = "DYMY"
How many Played has a % Win of 50.00%, and Losses of 1, and Wins smaller than 1?
CREATE TABLE table_name_84 (played VARCHAR, wins VARCHAR, _percentage_win VARCHAR, losses VARCHAR)
SELECT COUNT(played) FROM table_name_84 WHERE _percentage_win = "50.00%" AND losses = 1 AND wins < 1
What is the record for the date of 12 december?
CREATE TABLE table_name_36 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_36 WHERE date = "12 december"
Tell me japan for jigsaw land: japan graffiti
CREATE TABLE table_name_14 (japan VARCHAR, title VARCHAR)
SELECT japan FROM table_name_14 WHERE title = "jigsaw land: japan graffiti"
What was the court surface when the score was 6–4, 6–1?
CREATE TABLE table_name_90 (surface VARCHAR, score VARCHAR)
SELECT surface FROM table_name_90 WHERE score = "6–4, 6–1"
What was the altitude of the event on 1962-07-09?
CREATE TABLE table_148578_1 (altitude__km_ VARCHAR, date VARCHAR)
SELECT altitude__km_ FROM table_148578_1 WHERE date = "1962-07-09"
When party did the incumbent in the Arkansas 5 district belong to?
CREATE TABLE table_1341897_6 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1341897_6 WHERE district = "Arkansas 5"
What is the rank (csa) for the percentage change (1990-2000) was a034 +8.71%?
CREATE TABLE table_12720275_1 (rank__csa_ VARCHAR, percent_change__1990_2000_ VARCHAR)
SELECT rank__csa_ FROM table_12720275_1 WHERE percent_change__1990_2000_ = "A034 +8.71%"
What was the Finish when NL was the League, the Percentage was under 0.726, the Year was larger than 1897, and the Franchies was the Pittsburgh Pirates?
CREATE TABLE table_name_22 (finish VARCHAR, franchise VARCHAR, year VARCHAR, league VARCHAR, percentage VARCHAR)
SELECT finish FROM table_name_22 WHERE league = "nl" AND percentage < 0.726 AND year > 1897 AND franchise = "pittsburgh pirates"
What is the total number of points for a total pld less than 38?
CREATE TABLE table_name_24 (total_pts VARCHAR, total_pld INTEGER)
SELECT COUNT(total_pts) FROM table_name_24 WHERE total_pld < 38
What team was ranked in 7th?
CREATE TABLE table_24765815_1 (team VARCHAR, rank VARCHAR)
SELECT team FROM table_24765815_1 WHERE rank = "7th"