answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT college_junior_club_team__league_ FROM table_name_78 WHERE player = "jamie butt"
CREATE TABLE table_name_78 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
What college did Jamie Butt go to?
SELECT college_junior_club_team__league_ FROM table_name_27 WHERE player = "alexander korobolin"
CREATE TABLE table_name_27 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
What school did Alexander Korobolin go to?
SELECT player FROM table_name_65 WHERE position = "g" AND round < 9
CREATE TABLE table_name_65 (player VARCHAR, position VARCHAR, round VARCHAR)
Who has a round less than 9 and a position of G?
SELECT SUM(cuts_made) FROM table_name_80 WHERE wins < 2 AND top_25 > 7 AND top_10 < 2
CREATE TABLE table_name_80 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR, top_25 VARCHAR)
Name the sum of cuts with wins less than 2, top-25 more than 7 and top-10 less than 2
SELECT score FROM table_name_77 WHERE record = "11-16"
CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR)
What was the score that led to an 11-16 record?
SELECT loss FROM table_name_52 WHERE date = "may 20"
CREATE TABLE table_name_52 (loss VARCHAR, date VARCHAR)
Who took the loss on May 20?
SELECT att FROM table_name_1 WHERE time = "3:55"
CREATE TABLE table_name_1 (att VARCHAR, time VARCHAR)
What was the attendance of the game that lasted 3:55?
SELECT date FROM table_name_36 WHERE loss = "holt (4-4)"
CREATE TABLE table_name_36 (date VARCHAR, loss VARCHAR)
What was the date of the game in which Holt (4-4) took the loss?
SELECT date FROM table_name_69 WHERE pitcher = "jason marquis" AND length = "410'"
CREATE TABLE table_name_69 (date VARCHAR, pitcher VARCHAR, length VARCHAR)
What was the date when the pitcher was Jason Marquis and the length was 410'?
SELECT number FROM table_name_3 WHERE inning = "8th" AND length = "410'"
CREATE TABLE table_name_3 (number VARCHAR, inning VARCHAR, length VARCHAR)
What number home run was in the 8th inning and went 410'?
SELECT max_1_min_wind_mph__km_h_ FROM table_name_26 WHERE dates_active = "september22– september28"
CREATE TABLE table_name_26 (max_1_min_wind_mph__km_h_ VARCHAR, dates_active VARCHAR)
Which Max 1-min wind mph (km/h) that has Dates active on september22– september28?
SELECT min_press___mbar__ FROM table_name_68 WHERE deaths = "none" AND storm_name = "seven"
CREATE TABLE table_name_68 (min_press___mbar__ VARCHAR, deaths VARCHAR, storm_name VARCHAR)
Which Min press has none Death and seven Storm names?
SELECT damage__millions_usd__ FROM table_name_36 WHERE min_press___mbar__ = "972" AND deaths = "52"
CREATE TABLE table_name_36 (damage__millions_usd__ VARCHAR, min_press___mbar__ VARCHAR, deaths VARCHAR)
What is the cost of 972 Min Press caused 52 death?
SELECT dates_active FROM table_name_28 WHERE max_1_min_wind_mph__km_h_ = "65 (100)"
CREATE TABLE table_name_28 (dates_active VARCHAR, max_1_min_wind_mph__km_h_ VARCHAR)
What is the active Date that has a 65 (100) Max 1-min wind?
SELECT class_aA FROM table_name_7 WHERE class_aAA = giddings AND school_year = "2010-11"
CREATE TABLE table_name_7 (class_aA VARCHAR, class_aAA VARCHAR, giddings VARCHAR, school_year VARCHAR)
What is the Class AA in the 2010-11 school year with a class AAA of Giddings?
SELECT class_aA FROM table_name_95 WHERE class_aAA = giddings AND school_year = "2009-10"
CREATE TABLE table_name_95 (class_aA VARCHAR, class_aAA VARCHAR, giddings VARCHAR, school_year VARCHAR)
What is the Class AA of the school year 2009-10 with a class AAA of Giddings?
SELECT class_aAA FROM table_name_58 WHERE class_aAAAA = duncanville AND school_year = "1993-94"
CREATE TABLE table_name_58 (class_aAA VARCHAR, class_aAAAA VARCHAR, duncanville VARCHAR, school_year VARCHAR)
What is the class AAA of the 1993-94 school year with a class AAAAA of Duncanville?
SELECT visitor FROM table_name_55 WHERE date = "may 7"
CREATE TABLE table_name_55 (visitor VARCHAR, date VARCHAR)
Who was the visiting team on May 7?
SELECT name FROM table_name_68 WHERE qual_2 > 58.669 AND team = "team australia"
CREATE TABLE table_name_68 (name VARCHAR, qual_2 VARCHAR, team VARCHAR)
Who had a Qualifying 2 time over 58.669 for Team Australia?
SELECT qual_1 FROM table_name_50 WHERE best < 58.669 AND qual_2 < 57.897
CREATE TABLE table_name_50 (qual_1 VARCHAR, best VARCHAR, qual_2 VARCHAR)
Which qualifying 1 time has a best under 58.669 and a qualifying 2 time under 57.897?
SELECT team FROM table_name_58 WHERE qual_2 < 59.612 AND best = 59.14
CREATE TABLE table_name_58 (team VARCHAR, qual_2 VARCHAR, best VARCHAR)
Which team has a qualifying 2 time under 59.612 and a best of 59.14?
SELECT lungchang FROM table_name_85 WHERE halang = "ʒɯ²" AND rera = "ʒo²"
CREATE TABLE table_name_85 (lungchang VARCHAR, halang VARCHAR, rera VARCHAR)
Which Lungchang has a Halang of ʒɯ², and a Rera of ʒo²?
SELECT tikhak FROM table_name_77 WHERE yonguk = "wu¹ti¹"
CREATE TABLE table_name_77 (tikhak VARCHAR, yonguk VARCHAR)
Which Tikhak has a Yonguk of wu¹ti¹?
SELECT yonguk FROM table_name_35 WHERE halang = "ran¹"
CREATE TABLE table_name_35 (yonguk VARCHAR, halang VARCHAR)
Which Yonguk has a Halang of ran¹?
SELECT halang FROM table_name_6 WHERE rera = "ʒo²"
CREATE TABLE table_name_6 (halang VARCHAR, rera VARCHAR)
Which Halang has a Rera of ʒo²?
SELECT muklom FROM table_name_23 WHERE halang = "wɯ¹cʰi¹"
CREATE TABLE table_name_23 (muklom VARCHAR, halang VARCHAR)
Which Muklom has a Halang of wɯ¹cʰi¹?
SELECT hakhun FROM table_name_11 WHERE tikhak = "ʒu²"
CREATE TABLE table_name_11 (hakhun VARCHAR, tikhak VARCHAR)
Which Hakhun has a Tikhak of ʒu²?
SELECT location FROM table_name_14 WHERE stop = "l" AND station = "tamagaki"
CREATE TABLE table_name_14 (location VARCHAR, stop VARCHAR, station VARCHAR)
What is the location of Tamagaki station with an l stop?
SELECT station FROM table_name_10 WHERE number > 9 AND distance__km_ = 16.4
CREATE TABLE table_name_10 (station VARCHAR, number VARCHAR, distance__km_ VARCHAR)
What is the station with a number greater than 9 and a distance of 16.4 km?
SELECT japanese FROM table_name_98 WHERE number = 3
CREATE TABLE table_name_98 (japanese VARCHAR, number VARCHAR)
What is the Japanese name of the station with a number 3?
SELECT SUM(distance__km_) FROM table_name_19 WHERE station = "kawage"
CREATE TABLE table_name_19 (distance__km_ INTEGER, station VARCHAR)
What is the distance of Kawage station?
SELECT station FROM table_name_43 WHERE number < 5 AND stop = "l"
CREATE TABLE table_name_43 (station VARCHAR, number VARCHAR, stop VARCHAR)
Which station has a number less than 5 and an l stop?
SELECT visitor FROM table_name_55 WHERE home = "detroit" AND date = "february 24"
CREATE TABLE table_name_55 (visitor VARCHAR, home VARCHAR, date VARCHAR)
Name the visitor for detroit on february 24
SELECT MAX(year) FROM table_name_28 WHERE partner = "marcel granollers" AND surface = "hard"
CREATE TABLE table_name_28 (year INTEGER, partner VARCHAR, surface VARCHAR)
What is the highest listed year for the partner of Marcel Granollers and a hard surface?
SELECT surface FROM table_name_56 WHERE outcome = "runner-up" AND championship = "toronto"
CREATE TABLE table_name_56 (surface VARCHAR, outcome VARCHAR, championship VARCHAR)
What is the listed surface for the Championship of Toronto that had a runner-up outcome?
SELECT time___et__ FROM table_name_14 WHERE week = 5
CREATE TABLE table_name_14 (time___et__ VARCHAR, week VARCHAR)
What time was the game during week 5?
SELECT city FROM table_name_23 WHERE series = "tamra's oc wedding"
CREATE TABLE table_name_23 (city VARCHAR, series VARCHAR)
Which City has a Series of Tamra's oc wedding?
SELECT AVG(points) FROM table_name_99 WHERE difference = "55" AND against < 47
CREATE TABLE table_name_99 (points INTEGER, difference VARCHAR, against VARCHAR)
What is the average number of points for a difference of 55 and an against less than 47?
SELECT MAX(lost) FROM table_name_9 WHERE against > 60 AND points < 61 AND drawn > 18
CREATE TABLE table_name_9 (lost INTEGER, drawn VARCHAR, against VARCHAR, points VARCHAR)
What is the highest lost that has an against greater than 60, points less than 61 and an 18 drawn?
SELECT name FROM table_name_79 WHERE type = "historic house" AND date = "18th century"
CREATE TABLE table_name_79 (name VARCHAR, type VARCHAR, date VARCHAR)
What is the Name of the Historic House of the 18th Century?
SELECT type FROM table_name_72 WHERE date = "14th century" AND condition = "preserved"
CREATE TABLE table_name_72 (type VARCHAR, date VARCHAR, condition VARCHAR)
What is the Type of castle from the 14th Century which Condition is preserved?
SELECT name FROM table_name_26 WHERE ownership = "private" AND condition = "occupied" AND date = "16th century"
CREATE TABLE table_name_26 (name VARCHAR, date VARCHAR, ownership VARCHAR, condition VARCHAR)
What is the Name of the private Castle of the 16th century which is occupied?
SELECT date FROM table_name_38 WHERE ownership = "historic scotland"
CREATE TABLE table_name_38 (date VARCHAR, ownership VARCHAR)
What is the Date of the castle with a Historic Scotland Ownership?
SELECT date FROM table_name_39 WHERE type = "fortified house"
CREATE TABLE table_name_39 (date VARCHAR, type VARCHAR)
What is the Date of the Fortified House?
SELECT date FROM table_name_16 WHERE type = "courtyard castle"
CREATE TABLE table_name_16 (date VARCHAR, type VARCHAR)
What is the Date of the Courtyard Castle?
SELECT MAX(lost) FROM table_name_63 WHERE points = 6
CREATE TABLE table_name_63 (lost INTEGER, points VARCHAR)
What is the highest lost that has 6 for points?
SELECT SUM(lost) FROM table_name_20 WHERE points < 3 AND drawn > 0
CREATE TABLE table_name_20 (lost INTEGER, points VARCHAR, drawn VARCHAR)
How many losses have points less than 3, with a drawn greater than 0?
SELECT margin_of_victory FROM table_name_1 WHERE runner_s__up = "buddy gardner"
CREATE TABLE table_name_1 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
Which Margin of victory has a Runner(s)-up of buddy gardner?
SELECT date FROM table_name_93 WHERE winning_score = –14(66 - 64 - 68 - 68 = 266)
CREATE TABLE table_name_93 (date VARCHAR, winning_score VARCHAR)
Which Date has a Winning score of –14 (66-64-68-68=266)?
SELECT tournament FROM table_name_15 WHERE winning_score = E(72 - 69 - 71 - 68 = 280)
CREATE TABLE table_name_15 (tournament VARCHAR, winning_score VARCHAR)
Which Tournament has a Winning score of e (72-69-71-68=280)?
SELECT margin_of_victory FROM table_name_1 WHERE runner_s__up = "dave barr"
CREATE TABLE table_name_1 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
Which Margin of victory has a Runner(s)-up of dave barr?
SELECT margin_of_victory FROM table_name_19 WHERE runner_s__up = "mark o'meara"
CREATE TABLE table_name_19 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
Which Margin of victory has a Runner(s)-up of mark o'meara?
SELECT nationality FROM table_name_98 WHERE round = "9"
CREATE TABLE table_name_98 (nationality VARCHAR, round VARCHAR)
In round 9 what was the nationality?
SELECT position FROM table_name_83 WHERE round = "3"
CREATE TABLE table_name_83 (position VARCHAR, round VARCHAR)
In round 3 what was the position?
SELECT player FROM table_name_49 WHERE position = "right wing" AND nationality = "czech republic"
CREATE TABLE table_name_49 (player VARCHAR, position VARCHAR, nationality VARCHAR)
Who has a nationality of Czech Republic and a position of right wing?
SELECT MAX(winning_pct) FROM table_name_92 WHERE losses > 4 AND ties < 2 AND games_started > 11 AND wins < 22
CREATE TABLE table_name_92 (winning_pct INTEGER, wins VARCHAR, games_started VARCHAR, losses VARCHAR, ties VARCHAR)
What is the highest winning pct from a team with wins less than 22, losses greater than 4, ties less than 2 and games started greater than 11?
SELECT COUNT(gold) FROM table_name_46 WHERE rank = "6" AND bronze > 0
CREATE TABLE table_name_46 (gold VARCHAR, rank VARCHAR, bronze VARCHAR)
Gold that has a Rank of 6, and a Bronze larger than 0 had what total number of gold?
SELECT bronze FROM table_name_21 WHERE total = 5
CREATE TABLE table_name_21 (bronze VARCHAR, total VARCHAR)
Total of 5 had what bronze?
SELECT tournament FROM table_name_55 WHERE result = "20th"
CREATE TABLE table_name_55 (tournament VARCHAR, result VARCHAR)
In which tournament did he place 20th?
SELECT result FROM table_name_81 WHERE year = 1994 AND tournament = "hypo-meeting"
CREATE TABLE table_name_81 (result VARCHAR, year VARCHAR, tournament VARCHAR)
What the result for the hypo-meeting tournament in 1994?
SELECT result FROM table_name_79 WHERE year = 1995
CREATE TABLE table_name_79 (result VARCHAR, year VARCHAR)
What was the result in 1995?
SELECT score FROM table_name_75 WHERE march > 19 AND game = 67
CREATE TABLE table_name_75 (score VARCHAR, march VARCHAR, game VARCHAR)
After March 19, what's the score of game 67?
SELECT head_linesman FROM table_name_46 WHERE date = "1 february 2009"
CREATE TABLE table_name_46 (head_linesman VARCHAR, date VARCHAR)
Who is the head linesman of the game on 1 February 2009?
SELECT date FROM table_name_61 WHERE line_judge = "bob beeks" AND head_linesman = "jerry bergman" AND back_judge = "paul baetz"
CREATE TABLE table_name_61 (date VARCHAR, back_judge VARCHAR, line_judge VARCHAR, head_linesman VARCHAR)
What is the date of the game where the line judge was Bob Beeks, the head linesman was Jerry Bergman, and Paul Baetz was the back judge?
SELECT game FROM table_name_31 WHERE date = "14 january 1973"
CREATE TABLE table_name_31 (game VARCHAR, date VARCHAR)
Which game was on 14 January 1973?
SELECT line_judge FROM table_name_48 WHERE referee = "scott green"
CREATE TABLE table_name_48 (line_judge VARCHAR, referee VARCHAR)
Who was the line judge at the game where Scott Green was referee?
SELECT head_linesman FROM table_name_66 WHERE game = "xxxv"
CREATE TABLE table_name_66 (head_linesman VARCHAR, game VARCHAR)
Who is the head linesman at game xxxv?
SELECT game FROM table_name_8 WHERE field_judge = "al jury"
CREATE TABLE table_name_8 (game VARCHAR, field_judge VARCHAR)
What game had Al Jury as field judge?
SELECT departure FROM table_name_88 WHERE kilometers = 1676
CREATE TABLE table_name_88 (departure VARCHAR, kilometers VARCHAR)
What's listed for Departure that has 1676 listed for the Kilometers?
SELECT COUNT(kilometers) FROM table_name_43 WHERE station_code = "kgq"
CREATE TABLE table_name_43 (kilometers VARCHAR, station_code VARCHAR)
What is the sum of Kilometers that has a Station Code of KGQ?
SELECT kilometers FROM table_name_87 WHERE station_code = "kuda"
CREATE TABLE table_name_87 (kilometers VARCHAR, station_code VARCHAR)
What's the Kilometers listed that also has the Station Code of Kuda?
SELECT station_code FROM table_name_40 WHERE arrival = "02:20"
CREATE TABLE table_name_40 (station_code VARCHAR, arrival VARCHAR)
What's listed for the Station Code that has the Arrival of 02:20?
SELECT departure FROM table_name_33 WHERE station_code = "clt"
CREATE TABLE table_name_33 (departure VARCHAR, station_code VARCHAR)
What is listede for Departure that also has a Station Code of CLT?
SELECT MIN(area__km_2__) FROM table_name_72 WHERE population__2000_ = "45"
CREATE TABLE table_name_72 (area__km_2__ INTEGER, population__2000_ VARCHAR)
What is the smallest area with 45 population?
SELECT AVG(area__km_2__) FROM table_name_81 WHERE location = "rhode island" AND area__sq_mi_ > 38
CREATE TABLE table_name_81 (area__km_2__ INTEGER, location VARCHAR, area__sq_mi_ VARCHAR)
What is the area located in Rhode Island with more than 38 sq mi area?
SELECT AVG(area__km_2__) FROM table_name_21 WHERE area__sq_mi_ > 55 AND location = "new york"
CREATE TABLE table_name_21 (area__km_2__ INTEGER, area__sq_mi_ VARCHAR, location VARCHAR)
What is the average area in New York that is larger than 55 sq mi?
SELECT event FROM table_name_38 WHERE location = "tokyo, japan" AND opponent = "rumina sato"
CREATE TABLE table_name_38 (event VARCHAR, location VARCHAR, opponent VARCHAR)
Which event was in Tokyo, Japan and had an opponent of rumina sato?
SELECT round FROM table_name_45 WHERE time = "2:30"
CREATE TABLE table_name_45 (round VARCHAR, time VARCHAR)
Which round was 2:30?
SELECT event FROM table_name_90 WHERE opponent = "shinya aoki" AND time = "4:56"
CREATE TABLE table_name_90 (event VARCHAR, opponent VARCHAR, time VARCHAR)
Which event had the opponent of shinya aoki and was at 4:56?
SELECT method FROM table_name_56 WHERE event = "pride bushido 10"
CREATE TABLE table_name_56 (method VARCHAR, event VARCHAR)
Which method did pride bushido 10 have ?
SELECT 2008 AS _09 FROM table_name_13 WHERE event = "autumn gold"
CREATE TABLE table_name_13 (event VARCHAR)
Which 2008–09 has an Event of autumn gold?
SELECT SUM(drawn) FROM table_name_77 WHERE team = "internacional-sp"
CREATE TABLE table_name_77 (drawn INTEGER, team VARCHAR)
Which Drawn has a Team of internacional-sp?
SELECT SUM(lost) FROM table_name_78 WHERE drawn > 5 AND played > 18
CREATE TABLE table_name_78 (lost INTEGER, drawn VARCHAR, played VARCHAR)
How much Lost has a Drawn larger than 5, and a Played larger than 18?
SELECT MAX(drawn) FROM table_name_36 WHERE played < 18
CREATE TABLE table_name_36 (drawn INTEGER, played INTEGER)
Which Drawn is the highest one that has a Played smaller than 18?
SELECT MAX(drawn) FROM table_name_39 WHERE against > 15 AND points < 15 AND lost < 9
CREATE TABLE table_name_39 (drawn INTEGER, lost VARCHAR, against VARCHAR, points VARCHAR)
Which Drawn is the highest one that has an Against larger than 15, and Points smaller than 15, and a Lost smaller than 9?
SELECT MIN(floors) FROM table_name_41 WHERE street_address = "921 sw sixth avenue"
CREATE TABLE table_name_41 (floors INTEGER, street_address VARCHAR)
What's the least amount of floors at 921 sw sixth avenue?
SELECT street_address FROM table_name_27 WHERE name = "union bank of california tower"
CREATE TABLE table_name_27 (street_address VARCHAR, name VARCHAR)
What's the address of the union bank of California tower?
SELECT years_as_tallest FROM table_name_3 WHERE street_address = "200 sw harrison"
CREATE TABLE table_name_3 (years_as_tallest VARCHAR, street_address VARCHAR)
What were the years that the building at 200 sw harrison was considered to be the tallest building?
SELECT MIN(position) FROM table_name_29 WHERE points < 7 AND pilot = "didier hauss"
CREATE TABLE table_name_29 (position INTEGER, points VARCHAR, pilot VARCHAR)
What is the smallest position with less than 7 points piloted by Didier Hauss?
SELECT season FROM table_name_62 WHERE winner = "kiveton park" AND final_venue = "sandy lane"
CREATE TABLE table_name_62 (season VARCHAR, winner VARCHAR, final_venue VARCHAR)
During what Season was the Final Venue at Sandy Lane with Kiveton Park as the Winner?
SELECT runner_up FROM table_name_88 WHERE winner = "kiveton park" AND season = "2005-06"
CREATE TABLE table_name_88 (runner_up VARCHAR, winner VARCHAR, season VARCHAR)
What was the Runner-up during the 2005-06 Season with Kiveton Park as the Winner?
SELECT result FROM table_name_94 WHERE runner_up = "kirkburton" AND final_venue = "green lane"
CREATE TABLE table_name_94 (result VARCHAR, runner_up VARCHAR, final_venue VARCHAR)
What was the Result in Green Lane with Kirkburton as the Runner-up?
SELECT result FROM table_name_9 WHERE season = "2005-06"
CREATE TABLE table_name_9 (result VARCHAR, season VARCHAR)
What was the Result in the 2005-06 Season?
SELECT final_venue FROM table_name_17 WHERE winner = "sheffield reserves"
CREATE TABLE table_name_17 (final_venue VARCHAR, winner VARCHAR)
What was the Final Venue having Sheffield Reserves as the Winner?
SELECT SUM(round) FROM table_name_85 WHERE time = "6:04"
CREATE TABLE table_name_85 (round INTEGER, time VARCHAR)
What is the total number of Round that has a Time of 6:04?
SELECT round FROM table_name_55 WHERE method = "submission (single wing choke)"
CREATE TABLE table_name_55 (round VARCHAR, method VARCHAR)
What Round has the Method of Submission (Single Wing Choke)?
SELECT class FROM table_name_12 WHERE frequency_mhz > 91.5 AND city_of_license = "hyannis, nebraska"
CREATE TABLE table_name_12 (class VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)
Which Class has a Frequency MHz larger than 91.5, and a City of license of hyannis, nebraska?
SELECT class FROM table_name_54 WHERE erp_w > 205 AND frequency_mhz < 93.9 AND call_sign = "k210cb"
CREATE TABLE table_name_54 (class VARCHAR, call_sign VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR)
Which Class has a ERP W larger than 205, and a Frequency MHz smaller than 93.9, and a Call sign of k210cb?
SELECT MAX(frequency_mhz) FROM table_name_52 WHERE erp_w > 205 AND call_sign = "k230ap"
CREATE TABLE table_name_52 (frequency_mhz INTEGER, erp_w VARCHAR, call_sign VARCHAR)
Which Frequency MHz that has a ERP W larger than 205, and a Call sign of k230ap?
SELECT MAX(frequency_mhz) FROM table_name_36 WHERE erp_w = 250
CREATE TABLE table_name_36 (frequency_mhz INTEGER, erp_w VARCHAR)
Which Frequency MHz has a ERP W of 250?