answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT place FROM table_name_98 WHERE player = "gary player" | CREATE TABLE table_name_98 (place VARCHAR, player VARCHAR) | what is the place for gary player? |
SELECT place FROM table_name_48 WHERE score = 70 - 72 = 142 | CREATE TABLE table_name_48 (place VARCHAR, score VARCHAR) | what is the place when the score is 70-72=142? |
SELECT place FROM table_name_53 WHERE score = 70 - 70 = 140 | CREATE TABLE table_name_53 (place VARCHAR, score VARCHAR) | what is the place when the score is 70-70=140? |
SELECT player FROM table_name_93 WHERE country = "united states" AND score = 71 - 73 = 144 | CREATE TABLE table_name_93 (player VARCHAR, country VARCHAR, score VARCHAR) | who is the player when the country is united states and the score is 71-73=144? |
SELECT school_club_team FROM table_name_57 WHERE round < 5 AND pick = 2 | CREATE TABLE table_name_57 (school_club_team VARCHAR, round VARCHAR, pick VARCHAR) | What school or team is in a round below 5 with a pick of 2? |
SELECT player FROM table_name_55 WHERE pick < 234 AND position = "quarterback" | CREATE TABLE table_name_55 (player VARCHAR, pick VARCHAR, position VARCHAR) | Who is the player with a pick less than 234 and a quarterback position? |
SELECT player FROM table_name_81 WHERE pick > 17 AND round < 12 AND position = "tight end" | CREATE TABLE table_name_81 (player VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR) | Who is the player in tight end position in a round below 12 that has a pick greater than 17? |
SELECT COUNT(pick) FROM table_name_47 WHERE school_club_team = "auburn" | CREATE TABLE table_name_47 (pick VARCHAR, school_club_team VARCHAR) | How many picks does Auburn have? |
SELECT career FROM table_name_80 WHERE 2007 = "3r" AND 1999 = "1r" | CREATE TABLE table_name_80 (career VARCHAR) | What is the career for 2007 3r, and 1999 1r? |
SELECT career FROM table_name_70 WHERE 2006 = "3r" AND 1999 = "2r" | CREATE TABLE table_name_70 (career VARCHAR) | What is the career for the 2006 3r, and the 1999 2r? |
SELECT 2009 FROM table_name_64 WHERE 2003 = "2r" AND 2000 = "2r" | CREATE TABLE table_name_64 (Id VARCHAR) | Who in 2009, has a 2003 2r and a 2000 2r? |
SELECT result_score FROM table_name_92 WHERE year > 2005 AND opponent = "#8 arkansas #1 memphis" | CREATE TABLE table_name_92 (result_score VARCHAR, year VARCHAR, opponent VARCHAR) | What is Result/Score, when Year is greater than 2005, and when Opponent is #8 Arkansas #1 Memphis? |
SELECT MAX(year) FROM table_name_52 WHERE opponent = "#2 syracuse" | CREATE TABLE table_name_52 (year INTEGER, opponent VARCHAR) | What is the highest Year, when Opponent is #2 Syracuse? |
SELECT round FROM table_name_92 WHERE year = 1987 | CREATE TABLE table_name_92 (round VARCHAR, year VARCHAR) | What is Round when Year is 1987? |
SELECT SUM(year) FROM table_name_40 WHERE opponent = "#3 uconn" | CREATE TABLE table_name_40 (year INTEGER, opponent VARCHAR) | What is the sum of Year, when Opponent is #3 UCONN? |
SELECT longitude FROM table_name_41 WHERE year_named = 1997 AND diameter__km_ < 490 AND name = "zipaltonal fluctus" | CREATE TABLE table_name_41 (longitude VARCHAR, name VARCHAR, year_named VARCHAR, diameter__km_ VARCHAR) | What's the longitude named zipaltonal fluctus in 1997 with a diameter smaller than 490? |
SELECT diameter__km_ FROM table_name_30 WHERE name = "kaiwan fluctus" | CREATE TABLE table_name_30 (diameter__km_ VARCHAR, name VARCHAR) | What's the diameter of kaiwan fluctus? |
SELECT game FROM table_name_5 WHERE opponent = "chicago black hawks" | CREATE TABLE table_name_5 (game VARCHAR, opponent VARCHAR) | In what game did the New York Rangers play against the Chicago Black Hawks? |
SELECT score FROM table_name_29 WHERE player = "greg norman" | CREATE TABLE table_name_29 (score VARCHAR, player VARCHAR) | WHAT IS THE SCORE FOR GREG NORMAN? |
SELECT player FROM table_name_2 WHERE to_par = "e" AND score = 68 - 72 = 140 | CREATE TABLE table_name_2 (player VARCHAR, to_par VARCHAR, score VARCHAR) | WHAT IS THE PLAYER WITH A TO PAR OF E, AND SCORE OF 68-72=140? |
SELECT to_par FROM table_name_68 WHERE place = "t5" AND player = "mark mccumber" | CREATE TABLE table_name_68 (to_par VARCHAR, place VARCHAR, player VARCHAR) | WHAT IS THE TO PAR WITH T5 PLACE, AND PLAYER MARK MCCUMBER? |
SELECT release_date FROM table_name_43 WHERE voltage = "1.65β1.7 v" AND mult = "4.5Γ" AND socket = "slot 1" | CREATE TABLE table_name_43 (release_date VARCHAR, socket VARCHAR, voltage VARCHAR, mult VARCHAR) | When was the microprocessor with 1.65β1.7 v, a mult of 4.5Γ, and a slot 1 socket released? |
SELECT voltage FROM table_name_8 WHERE socket = "socket 370" AND model_number = "pentiumiii866" | CREATE TABLE table_name_8 (voltage VARCHAR, socket VARCHAR, model_number VARCHAR) | What is the voltage of the Pentiumiii866 microprocessor with a socket 370? |
SELECT socket FROM table_name_28 WHERE part_number_s_ = "80526pz533256" | CREATE TABLE table_name_28 (socket VARCHAR, part_number_s_ VARCHAR) | What kind of socket is on the microprocessor with a part number of 80526pz533256? |
SELECT date FROM table_name_41 WHERE opponent_in_the_final = "kenneth carlsen" | CREATE TABLE table_name_41 (date VARCHAR, opponent_in_the_final VARCHAR) | What is the Date of the match with Opponent in the final Kenneth Carlsen? |
SELECT date FROM table_name_9 WHERE score_in_the_final = "6β3, 6β3, 2β6, 6β4" | CREATE TABLE table_name_9 (date VARCHAR, score_in_the_final VARCHAR) | What is the Date of the match with a Score in the final of 6β3, 6β3, 2β6, 6β4? |
SELECT lost FROM table_name_39 WHERE draw < 2 | CREATE TABLE table_name_39 (lost VARCHAR, draw INTEGER) | How many games did they lose when they tied less than 2 games? |
SELECT MIN(draw) FROM table_name_7 WHERE played < 14 AND lost < 8 | CREATE TABLE table_name_7 (draw INTEGER, played VARCHAR, lost VARCHAR) | What is the least ties when they played less than 14 games, and a lost less than 8 of them? |
SELECT MIN(played) FROM table_name_92 WHERE draw > 7 | CREATE TABLE table_name_92 (played INTEGER, draw INTEGER) | What is the lowest number of games played where they tied more than 7 of them? |
SELECT MAX(against) FROM table_name_85 WHERE lost < 20 AND draw > 2 AND favour < 11 | CREATE TABLE table_name_85 (against INTEGER, favour VARCHAR, lost VARCHAR, draw VARCHAR) | What is the highest Against where they lost less than 20 games, tied more than 2 of them, and they had Favour less than 11? |
SELECT score FROM table_name_28 WHERE competition = "2010 fifa world cup qualification" | CREATE TABLE table_name_28 (score VARCHAR, competition VARCHAR) | WHAT IS THE SCORE FOR 2010 fifa world cup qualification? |
SELECT MAX(year) FROM table_name_71 WHERE french_open = "rafael nadal" AND wimbledon = "roger federer" AND australian_open = "roger federer" | CREATE TABLE table_name_71 (year INTEGER, australian_open VARCHAR, french_open VARCHAR, wimbledon VARCHAR) | What is the latest year rafael nadal was in the French Open, Roger Federer was in Wimbledon, and Roger Federer was in the Australian Open? |
SELECT COUNT(year) FROM table_name_27 WHERE wimbledon = "andy murray" | CREATE TABLE table_name_27 (year VARCHAR, wimbledon VARCHAR) | What is the total number of years Andy Murray was at Wimbledon? |
SELECT australian_open FROM table_name_71 WHERE year = 2010 | CREATE TABLE table_name_71 (australian_open VARCHAR, year VARCHAR) | What is the Australian open in 2010? |
SELECT MAX(loss) FROM table_name_1 WHERE long > 61 | CREATE TABLE table_name_1 (loss INTEGER, long INTEGER) | What is the highest loss with a long more than 61? |
SELECT AVG(long) FROM table_name_10 WHERE loss < 133 AND gain > 0 AND avg_g = 29.8 | CREATE TABLE table_name_10 (long INTEGER, avg_g VARCHAR, loss VARCHAR, gain VARCHAR) | What is the long with a loss lower than 133 and more than 0 gain with an avg/G of 29.8? |
SELECT MIN(long) FROM table_name_60 WHERE avg_g > -2.2 AND name = "total" AND gain > 2 OFFSET 488 | CREATE TABLE table_name_60 (long INTEGER, gain VARCHAR, avg_g VARCHAR, name VARCHAR) | What is the lowest long with an avg/G more than -2.2 and a total name and a gain of more than 2,488? |
SELECT network_brand_name FROM table_name_45 WHERE company_name = "vodafone group" AND country = "germany" | CREATE TABLE table_name_45 (network_brand_name VARCHAR, company_name VARCHAR, country VARCHAR) | What is the network brand name of the company vodafone group in Germany? |
SELECT accreditation_level FROM table_name_76 WHERE network_brand_name = "movistar" | CREATE TABLE table_name_76 (accreditation_level VARCHAR, network_brand_name VARCHAR) | What is the accreditation level of the network brand Movistar? |
SELECT date FROM table_name_6 WHERE network_brand_name = "movistar" | CREATE TABLE table_name_6 (date VARCHAR, network_brand_name VARCHAR) | What date was Movistar accredited? |
SELECT accreditation_type FROM table_name_22 WHERE company_name = "vodacom group pty ltd (vodafone group)" | CREATE TABLE table_name_22 (accreditation_type VARCHAR, company_name VARCHAR) | What is the accreditation type of Vodacom Group PTY LTD (Vodafone group)? |
SELECT accreditation_type FROM table_name_88 WHERE network_brand_name = "deutsche telekom" | CREATE TABLE table_name_88 (accreditation_type VARCHAR, network_brand_name VARCHAR) | What is Deutsche Telekom's accreditation type? |
SELECT location_attendance FROM table_name_51 WHERE game = 6 | CREATE TABLE table_name_51 (location_attendance VARCHAR, game VARCHAR) | What was the Location and Attendance of Game 6? |
SELECT inclination FROM table_name_16 WHERE semimajor_axis___au__ = "20 au" | CREATE TABLE table_name_16 (inclination VARCHAR, semimajor_axis___au__ VARCHAR) | What inclination has a semimajor axis of 20 au? |
SELECT eccentricity FROM table_name_75 WHERE semimajor_axis___au__ = "20 au" | CREATE TABLE table_name_75 (eccentricity VARCHAR, semimajor_axis___au__ VARCHAR) | What is the eccentricity when the semimajor axis is 20 au? |
SELECT score FROM table_name_7 WHERE team = "indiana" | CREATE TABLE table_name_7 (score VARCHAR, team VARCHAR) | What is Score, when Team is "Indiana"? |
SELECT date FROM table_name_48 WHERE game = 8 | CREATE TABLE table_name_48 (date VARCHAR, game VARCHAR) | What is Date, when Game is "8"? |
SELECT high_assists FROM table_name_18 WHERE date = "november 1" | CREATE TABLE table_name_18 (high_assists VARCHAR, date VARCHAR) | What is High Assists, when Date is "November 1"? |
SELECT winner FROM table_name_30 WHERE surface = "hard" AND week = "november 13" | CREATE TABLE table_name_30 (winner VARCHAR, surface VARCHAR, week VARCHAR) | Who was the winner on a hard surface on the week of November 13? |
SELECT player FROM table_name_56 WHERE conf = "pac-10" AND pos = "g" | CREATE TABLE table_name_56 (player VARCHAR, conf VARCHAR, pos VARCHAR) | Which player had a conference of PAC-10 and position of G? |
SELECT player FROM table_name_65 WHERE pos = "ol" AND college = "ohio state" | CREATE TABLE table_name_65 (player VARCHAR, pos VARCHAR, college VARCHAR) | Which player had a position of OL from Ohio State? |
SELECT player FROM table_name_84 WHERE pos = "qb" AND college = "texas tech" | CREATE TABLE table_name_84 (player VARCHAR, pos VARCHAR, college VARCHAR) | Which player had a position of QB for Texas Tech? |
SELECT opponent FROM table_name_30 WHERE round = 3 | CREATE TABLE table_name_30 (opponent VARCHAR, round VARCHAR) | Can you tell me the Opponent that has the Round of 3? |
SELECT main_use FROM table_name_25 WHERE town = "walker city, iowa" | CREATE TABLE table_name_25 (main_use VARCHAR, town VARCHAR) | What is the main use for the structure listed in walker city, iowa? |
SELECT year FROM table_name_16 WHERE town = "greensboro, north carolina" | CREATE TABLE table_name_16 (year VARCHAR, town VARCHAR) | What year was the structure in greensboro, north carolina considered tallest? |
SELECT MIN(year) FROM table_name_63 WHERE town = "gray court, south carolina" | CREATE TABLE table_name_63 (year INTEGER, town VARCHAR) | What was the earliest year that a structure was located in gray court, south carolina? |
SELECT main_use FROM table_name_77 WHERE year < 2004 AND town = "redfield, arkansas" | CREATE TABLE table_name_77 (main_use VARCHAR, year VARCHAR, town VARCHAR) | What is the main use of the structure that was in redfield, arkansas before 2004? |
SELECT distance FROM table_name_44 WHERE speed = "124.1km/h" | CREATE TABLE table_name_44 (distance VARCHAR, speed VARCHAR) | How far did the pilot go when averaging 124.1km/h? |
SELECT speed FROM table_name_36 WHERE glider = "diana 2" AND pilot = "sebastian kawa" | CREATE TABLE table_name_36 (speed VARCHAR, glider VARCHAR, pilot VARCHAR) | What was sebastian kawa's average speed with Diana 2? |
SELECT glider FROM table_name_84 WHERE pilot = "thomas gostner" | CREATE TABLE table_name_84 (glider VARCHAR, pilot VARCHAR) | What glider did thomas gostner pilot? |
SELECT run_4 FROM table_name_22 WHERE final = "8:16.28" | CREATE TABLE table_name_22 (run_4 VARCHAR, final VARCHAR) | Which Run 4 has a Final of 8:16.28? |
SELECT run_4 FROM table_name_46 WHERE athletes = "hubert stevens & curtis stevens" | CREATE TABLE table_name_46 (run_4 VARCHAR, athletes VARCHAR) | Which Run 4 has Athletes of hubert stevens & curtis stevens? |
SELECT run_2 FROM table_name_9 WHERE rank = "4" | CREATE TABLE table_name_9 (run_2 VARCHAR, rank VARCHAR) | Which Run 2 has a Rank of 4? |
SELECT athletes FROM table_name_44 WHERE rank = "bronze" | CREATE TABLE table_name_44 (athletes VARCHAR, rank VARCHAR) | Which Athletes have a Rank of bronze? |
SELECT athletes FROM table_name_39 WHERE run_2 = "2:21.82" | CREATE TABLE table_name_39 (athletes VARCHAR, run_2 VARCHAR) | Which Athletes have a Run 2 of 2:21.82? |
SELECT run_3 FROM table_name_13 WHERE run_1 = "2:20.10" | CREATE TABLE table_name_13 (run_3 VARCHAR, run_1 VARCHAR) | Which Run 3 has a Run 1 of 2:20.10? |
SELECT republican AS :_christopher_reed FROM table_name_25 WHERE lead_margin < 16 | CREATE TABLE table_name_25 (republican VARCHAR, lead_margin INTEGER) | What percentage did Republish Christopher Reed receive when the lead margin was smaller than 16? |
SELECT democrat AS :_tom_harkin FROM table_name_77 WHERE poll_source = "rasmussen reports" AND lead_margin = 14 | CREATE TABLE table_name_77 (democrat VARCHAR, poll_source VARCHAR, lead_margin VARCHAR) | What was Democrat: Tom Harkin's percentage when the poll source was Rasmussen Reports and the lead margin was 14? |
SELECT dates_administered FROM table_name_72 WHERE lead_margin > 14 AND poll_source = "research 2000" | CREATE TABLE table_name_72 (dates_administered VARCHAR, lead_margin VARCHAR, poll_source VARCHAR) | What were the dates administered when the lead margin was larger than 14 and the poll source was Research 2000? |
SELECT time_retired FROM table_name_43 WHERE rider = "olivier jacque" | CREATE TABLE table_name_43 (time_retired VARCHAR, rider VARCHAR) | What is Olivier Jacque's Time/Retired? |
SELECT manufacturer FROM table_name_93 WHERE grid = "11" | CREATE TABLE table_name_93 (manufacturer VARCHAR, grid VARCHAR) | Which manufacturer is grid 11? |
SELECT manufacturer FROM table_name_13 WHERE rider = "loris capirossi" | CREATE TABLE table_name_13 (manufacturer VARCHAR, rider VARCHAR) | Which manufacturer does Loris Capirossi ride for? |
SELECT manufacturer FROM table_name_18 WHERE laps = "8" | CREATE TABLE table_name_18 (manufacturer VARCHAR, laps VARCHAR) | Which manufacturer has 8 laps? |
SELECT laps FROM table_name_74 WHERE grid = "4" | CREATE TABLE table_name_74 (laps VARCHAR, grid VARCHAR) | How many laps does grid 4 have? |
SELECT rider FROM table_name_35 WHERE laps = "28" AND manufacturer = "honda" AND grid = "1" | CREATE TABLE table_name_35 (rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR) | Which rider's manufacturer is Honda and has 28 laps and a grid of 1? |
SELECT SUM(2006) FROM table_name_38 WHERE rank = 1 AND 1996 > 6758845 | CREATE TABLE table_name_38 (rank VARCHAR) | What is the 2006 sum with a rank 1 and more than 6758845 in 1996? |
SELECT COUNT(2006) FROM table_name_95 WHERE date_of_official_foundation_of_municipality = 1918 | CREATE TABLE table_name_95 (date_of_official_foundation_of_municipality VARCHAR) | What is the total number in 2006, which has an official foundation of municipality of 1918? |
SELECT AVG(rank) FROM table_name_97 WHERE city = "mashhad" AND 1976 < 667770 | CREATE TABLE table_name_97 (rank INTEGER, city VARCHAR) | What is teh average rank of the city of mashhad, which had less than 667770 in 1976? |
SELECT AVG(rank) FROM table_name_95 WHERE province = "alborz" AND 1956 > 14526 | CREATE TABLE table_name_95 (rank INTEGER, province VARCHAR) | What is the average rank of the province alborz, which had more than 14526 in 1956? |
SELECT world_rank FROM table_name_81 WHERE year = 1977 | CREATE TABLE table_name_81 (world_rank VARCHAR, year VARCHAR) | Which World Rank happened in 1977? |
SELECT rank FROM table_name_41 WHERE premiere = "september 12, 1979" | CREATE TABLE table_name_41 (rank VARCHAR, premiere VARCHAR) | What is the rank for the episode that premiered on September 12, 1979? |
SELECT finale FROM table_name_72 WHERE premiere = "september 22, 1976" | CREATE TABLE table_name_72 (finale VARCHAR, premiere VARCHAR) | What was the date of the finale for the season that premiered on September 22, 1976? |
SELECT rank FROM table_name_21 WHERE premiere = "september 13, 1978" | CREATE TABLE table_name_21 (rank VARCHAR, premiere VARCHAR) | What is the rank for the episode that premiered on September 13, 1978? |
SELECT finale FROM table_name_61 WHERE season = 3 | CREATE TABLE table_name_61 (finale VARCHAR, season VARCHAR) | What was the date of the finale for Season 3? |
SELECT premiere FROM table_name_38 WHERE rating = "20.9" | CREATE TABLE table_name_38 (premiere VARCHAR, rating VARCHAR) | What was the date of the premiere that had a 20.9 rating? |
SELECT COUNT(points) FROM table_name_39 WHERE team = "herdez competition" AND grid > 1 | CREATE TABLE table_name_39 (points VARCHAR, team VARCHAR, grid VARCHAR) | What was Herdez Competition's total points with a grid larger than 1? |
SELECT MAX(laps) FROM table_name_34 WHERE team = "walker racing" AND grid > 15 | CREATE TABLE table_name_34 (laps INTEGER, team VARCHAR, grid VARCHAR) | What was the highest lap count for Walker Racing with a grid larger than 15? |
SELECT driver FROM table_name_9 WHERE laps = 248 | CREATE TABLE table_name_9 (driver VARCHAR, laps VARCHAR) | Which driver had 248 laps? |
SELECT driver FROM table_name_80 WHERE time_retired = "+ 10 laps" AND points > 6 | CREATE TABLE table_name_80 (driver VARCHAR, time_retired VARCHAR, points VARCHAR) | What driver had a time/retired of + 10 laps and more than 6 points? |
SELECT record FROM table_name_56 WHERE game = 61 | CREATE TABLE table_name_56 (record VARCHAR, game VARCHAR) | Which Record has a Game of 61? |
SELECT high_points FROM table_name_67 WHERE record = "27β29" | CREATE TABLE table_name_67 (high_points VARCHAR, record VARCHAR) | Which High points have a Record of 27β29? |
SELECT high_points FROM table_name_92 WHERE game > 58 AND high_rebounds = "francisco elson (7)" | CREATE TABLE table_name_92 (high_points VARCHAR, game VARCHAR, high_rebounds VARCHAR) | Which High points has a Game larger than 58, and a High rebounds of francisco elson (7)? |
SELECT location_attendance FROM table_name_46 WHERE date = "february 27" | CREATE TABLE table_name_46 (location_attendance VARCHAR, date VARCHAR) | Which Location Attendance has a Date of february 27? |
SELECT record FROM table_name_42 WHERE high_rebounds = "luc mbah a moute (11)" | CREATE TABLE table_name_42 (record VARCHAR, high_rebounds VARCHAR) | Which Record has a High rebounds of luc mbah a moute (11)? |
SELECT SUM(game) FROM table_name_99 WHERE record = "27β30" | CREATE TABLE table_name_99 (game INTEGER, record VARCHAR) | Which Game has a Record of 27β30? |
SELECT tournament FROM table_name_43 WHERE score_in_final = "5β7, 4β6" | CREATE TABLE table_name_43 (tournament VARCHAR, score_in_final VARCHAR) | What Tournament had a Score in Final of 5β7, 4β6? |
SELECT opponents_in_final FROM table_name_48 WHERE score_in_final = "4β6, 1β6" AND surface = "clay" | CREATE TABLE table_name_48 (opponents_in_final VARCHAR, score_in_final VARCHAR, surface VARCHAR) | What is the Opponents in Final in the match with a Score in Final of 4β6, 1β6 played on Clay Surface? |
SELECT date FROM table_name_26 WHERE score_in_final = "4β6, 1β6" AND partner = "steffi graf" | CREATE TABLE table_name_26 (date VARCHAR, score_in_final VARCHAR, partner VARCHAR) | What is the Date of the match with Partner Steffi Graf with a Score in Final of 4β6, 1β6? |
SELECT partner FROM table_name_92 WHERE score_in_final = "5β7, 4β6" | CREATE TABLE table_name_92 (partner VARCHAR, score_in_final VARCHAR) | What is the Partner of the match with a Score in Final of 5β7, 4β6? |
SELECT 2001 FROM table_name_12 WHERE 1999 = "2r" AND 1992 = "3r" | CREATE TABLE table_name_12 (Id VARCHAR) | What is 2001, when 1999 is "2R", and when 1992 is "3R"? |
Subsets and Splits