answer stringlengths 32 484 | context stringlengths 27 489 | question stringlengths 12 244 |
|---|---|---|
SELECT overall_record FROM table_name_11 WHERE since_beginning_of_big_12 = "ou, 27-3" | CREATE TABLE table_name_11 (overall_record VARCHAR, since_beginning_of_big_12 VARCHAR) | What is the Overall Record when Since Beginning of Big 12 is ou, 27-3? |
SELECT last_10_meetings FROM table_name_48 WHERE at_norman = "ou, 18-6" | CREATE TABLE table_name_48 (last_10_meetings VARCHAR, at_norman VARCHAR) | What is the Last 10 Meetings when Norman is ou, 18-6? |
SELECT since_beginning_of_big_12 FROM table_name_28 WHERE last_10_meetings = "ou, 7-3" AND at_neutral_site = "ou, 2-1" AND last_5_meetings = "bu, 3-2" | CREATE TABLE table_name_28 (since_beginning_of_big_12 VARCHAR, last_5_meetings VARCHAR, last_10_meetings VARCHAR, at_neutral_site VARCHAR) | what is the since beginning of big 12 when last 10 meetings is ou, 7-3, neutral site is ou, 2-1, and last 5 meetings is bu, 3-2? |
SELECT current_streak FROM table_name_27 WHERE last_5_meetings = "osu, 4-1" | CREATE TABLE table_name_27 (current_streak VARCHAR, last_5_meetings VARCHAR) | what is the current streak when the last 5 meetings is osu, 4-1? |
SELECT record FROM table_name_90 WHERE game < 79 | CREATE TABLE table_name_90 (record VARCHAR, game INTEGER) | What is the record for a game lower than 79? |
SELECT partner FROM table_name_48 WHERE score_in_the_final = "7–6, 3–6, 6–7" | CREATE TABLE table_name_48 (partner VARCHAR, score_in_the_final VARCHAR) | Who was the partner when the final score was 7–6, 3–6, 6–7? |
SELECT partner FROM table_name_31 WHERE score_in_the_final = "4–6, 6–7" | CREATE TABLE table_name_31 (partner VARCHAR, score_in_the_final VARCHAR) | Who was the partner for the match with a score in the final of 4–6, 6–7? |
SELECT tournament FROM table_name_26 WHERE date > 1986 AND score_in_the_final = "7–6, 3–6, 6–2" | CREATE TABLE table_name_26 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR) | What tournament took place after 1986 and had a final score of 7–6, 3–6, 6–2? |
SELECT MIN(year) FROM table_name_76 WHERE athlete = "markus thalmann" AND time = "23:28:24" | CREATE TABLE table_name_76 (year INTEGER, athlete VARCHAR, time VARCHAR) | Which Year is the lowest one that has an Athlete of markus thalmann, and a Time of 23:28:24? |
SELECT MIN(year) FROM table_name_69 WHERE time = "24:55:58" AND place > 3 | CREATE TABLE table_name_69 (year INTEGER, time VARCHAR, place VARCHAR) | Which Year is the lowest one that has a Time of 24:55:58, and a Place larger than 3? |
SELECT athlete FROM table_name_97 WHERE place = 1 AND year < 1988 AND country = "gre" AND time = "21:57:00" | CREATE TABLE table_name_97 (athlete VARCHAR, time VARCHAR, country VARCHAR, place VARCHAR, year VARCHAR) | Which Athlete has a Place of 1, and a Year smaller than 1988, and a Country of gre, and a Time of 21:57:00? |
SELECT time FROM table_name_60 WHERE year > 1985 AND place < 2 AND athlete = "riochy sekiya" | CREATE TABLE table_name_60 (time VARCHAR, athlete VARCHAR, year VARCHAR, place VARCHAR) | Which Time has a Year larger than 1985, and a Place smaller than 2, and an Athlete of riochy sekiya? |
SELECT anand FROM table_name_67 WHERE game = "8" | CREATE TABLE table_name_67 (anand VARCHAR, game VARCHAR) | What was Anand's score in game 8? |
SELECT day, _date FROM table_name_20 WHERE game = "2" | CREATE TABLE table_name_20 (day VARCHAR, _date VARCHAR, game VARCHAR) | What is the day and date of game 2? |
SELECT high_assists FROM table_name_21 WHERE date = "november 24" | CREATE TABLE table_name_21 (high_assists VARCHAR, date VARCHAR) | WHAT IS THE HIGH ASSISTS ON NOVEMBER 24? |
SELECT location_attendance FROM table_name_7 WHERE game = 4 | CREATE TABLE table_name_7 (location_attendance VARCHAR, game VARCHAR) | WHAT IS THE LOCATION ATTENDANCE FOR GAME 4? |
SELECT record FROM table_name_44 WHERE date = "november 14" | CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR) | WHAT IS THE RECORD FOR DATE NOVEMBER 14? |
SELECT tournament FROM table_name_29 WHERE date = "18 may 1992" | CREATE TABLE table_name_29 (tournament VARCHAR, date VARCHAR) | What tournament is on 18 May 1992? |
SELECT score FROM table_name_88 WHERE surface = "carpet" AND partnering = "tim henman" | CREATE TABLE table_name_88 (score VARCHAR, surface VARCHAR, partnering VARCHAR) | What is the score of the tournament with a carpet surface and tim henman as the partnering? |
SELECT surface FROM table_name_83 WHERE opponent_in_final = "paola suárez" | CREATE TABLE table_name_83 (surface VARCHAR, opponent_in_final VARCHAR) | On what surface did Katarina Srebotnik play Paola Suárez? |
SELECT tournament FROM table_name_54 WHERE score_in_final = "5–7, 7–5, 6–4" | CREATE TABLE table_name_54 (tournament VARCHAR, score_in_final VARCHAR) | At what tournament was the Score 5–7, 7–5, 6–4? |
SELECT score_in_final FROM table_name_21 WHERE date = "february 24, 2002" | CREATE TABLE table_name_21 (score_in_final VARCHAR, date VARCHAR) | What was the Final Score on February 24, 2002? |
SELECT team__number1 FROM table_name_20 WHERE team__number2 = "galatasaray cc i̇stanbul" | CREATE TABLE table_name_20 (team__number1 VARCHAR, team__number2 VARCHAR) | Who was Team #1 when Team #2 was galatasaray cc i̇stanbul? |
SELECT podiums FROM table_name_82 WHERE poles = "3" | CREATE TABLE table_name_82 (podiums VARCHAR, poles VARCHAR) | What are the Podiums that has a Poles of 3? |
SELECT team FROM table_name_10 WHERE races = "4" AND points = "0" | CREATE TABLE table_name_10 (team VARCHAR, races VARCHAR, points VARCHAR) | What is the Team that has a Races of 4, and a Points of 0? |
SELECT to_par FROM table_name_44 WHERE country = "united states" AND player = "hal sutton" | CREATE TABLE table_name_44 (to_par VARCHAR, country VARCHAR, player VARCHAR) | What to par is located in the united states and has a player by the name of hal sutton? |
SELECT player FROM table_name_85 WHERE place = "t1" AND score = 67 - 70 = 137 | CREATE TABLE table_name_85 (player VARCHAR, place VARCHAR, score VARCHAR) | What player is in the place of t1 and has the score of 67-70=137? |
SELECT place FROM table_name_2 WHERE score = 67 - 74 = 141 | CREATE TABLE table_name_2 (place VARCHAR, score VARCHAR) | What place has the score of 67-74=141? |
SELECT player FROM table_name_58 WHERE score = 67 - 72 = 139 | CREATE TABLE table_name_58 (player VARCHAR, score VARCHAR) | What player has the score of 67-72=139? |
SELECT record FROM table_name_19 WHERE location = "mississippi, united states" AND opponent = "anthony macias" | CREATE TABLE table_name_19 (record VARCHAR, location VARCHAR, opponent VARCHAR) | What was Gassaway's record at the fight in mississippi, united states against anthony macias? |
SELECT location FROM table_name_23 WHERE round = "5" | CREATE TABLE table_name_23 (location VARCHAR, round VARCHAR) | What was the location the fight was held at that lasted 5 rounds? |
SELECT location FROM table_name_66 WHERE opponent = "kevin knabjian" | CREATE TABLE table_name_66 (location VARCHAR, opponent VARCHAR) | What was the location of the fight when Gassaway fought kevin knabjian? |
SELECT place FROM table_name_84 WHERE player = "fred couples" | CREATE TABLE table_name_84 (place VARCHAR, player VARCHAR) | What place did Fred Couples finish in? |
SELECT COUNT(rank) FROM table_name_56 WHERE revenue_in_usd = "$428.2 billion" | CREATE TABLE table_name_56 (rank VARCHAR, revenue_in_usd VARCHAR) | What is the rank of the company who has a revenue of $428.2 billion? |
SELECT MIN(rank) FROM table_name_7 WHERE industry = "petroleum" AND revenue_in_usd = "$481.7 billion" | CREATE TABLE table_name_7 (rank INTEGER, industry VARCHAR, revenue_in_usd VARCHAR) | What is the rank of the petroleum company who has a revenue of $481.7 billion? |
SELECT tournament FROM table_name_74 WHERE 2005 = "n/a" AND 2002 = "0 / 1" | CREATE TABLE table_name_74 (tournament VARCHAR) | What is Tournament, when 2005 is "N/A", and when 2002 is "0 / 1"? |
SELECT career_win_loss FROM table_name_70 WHERE 2002 = "a" AND 2001 = "4r" | CREATE TABLE table_name_70 (career_win_loss VARCHAR) | What is Career Win-Loss, when 2002 is "A", and when 2001 is "4R"? |
SELECT tournament FROM table_name_48 WHERE 2001 = "1r" | CREATE TABLE table_name_48 (tournament VARCHAR) | What is Tournament, when 2001 is "1R"? |
SELECT south_west FROM table_name_73 WHERE north_east = "vishnu" AND north_west = "durga" AND center = "ganapati" | CREATE TABLE table_name_73 (south_west VARCHAR, center VARCHAR, north_east VARCHAR, north_west VARCHAR) | Who is in the south-west next to Vishnu on the east, Durga on the west, and in the center of Ganapati? |
SELECT score FROM table_name_64 WHERE game = 26 | CREATE TABLE table_name_64 (score VARCHAR, game VARCHAR) | What was the final score of game 26? |
SELECT AVG(game) FROM table_name_80 WHERE date = "december 8" | CREATE TABLE table_name_80 (game INTEGER, date VARCHAR) | What game was played on December 8? |
SELECT SUM(area_km_2) FROM table_name_66 WHERE population = 542 | CREATE TABLE table_name_66 (area_km_2 INTEGER, population VARCHAR) | What is the sum of the areas for populations of 542? |
SELECT MAX(area_km_2) FROM table_name_84 WHERE population > 532 AND official_name = "centreville" | CREATE TABLE table_name_84 (area_km_2 INTEGER, population VARCHAR, official_name VARCHAR) | What is the highest area for locations named Centreville having populations over 532? |
SELECT competition FROM table_name_35 WHERE result = "1-1" AND venue = "gwangju" | CREATE TABLE table_name_35 (competition VARCHAR, result VARCHAR, venue VARCHAR) | what is the competition when the result is 1-1 and venue is gwangju? |
SELECT date FROM table_name_17 WHERE competition = "1998 asian games" | CREATE TABLE table_name_17 (date VARCHAR, competition VARCHAR) | what is the date when the competition is 1998 asian games? |
SELECT venue FROM table_name_96 WHERE score = "1 goal" AND date = "october 11, 1997" | CREATE TABLE table_name_96 (venue VARCHAR, score VARCHAR, date VARCHAR) | what is the venue when the score is 1 goal and the date is october 11, 1997? |
SELECT competition FROM table_name_58 WHERE result = "2-1" | CREATE TABLE table_name_58 (competition VARCHAR, result VARCHAR) | what is the competition when the result is 2-1? |
SELECT result FROM table_name_52 WHERE date = "august 24, 1997" | CREATE TABLE table_name_52 (result VARCHAR, date VARCHAR) | what is the result when the date is august 24, 1997? |
SELECT venue FROM table_name_6 WHERE date = "december 7, 1998" | CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR) | what is the venue when the date is december 7, 1998? |
SELECT driver FROM table_name_23 WHERE time_retired = "+5.2684" | CREATE TABLE table_name_23 (driver VARCHAR, time_retired VARCHAR) | Who is the driver with a time/retired of +5.2684? |
SELECT grid FROM table_name_22 WHERE team = "vision racing" AND driver = "tomas scheckter" | CREATE TABLE table_name_22 (grid VARCHAR, team VARCHAR, driver VARCHAR) | What is the grid of driver tomas scheckter from vision racing team? |
SELECT grid FROM table_name_17 WHERE car_no = "3" | CREATE TABLE table_name_17 (grid VARCHAR, car_no VARCHAR) | What is the grid of car no. 3? |
SELECT grid FROM table_name_53 WHERE time_retired = "+6.8359" | CREATE TABLE table_name_53 (grid VARCHAR, time_retired VARCHAR) | What is the grid with a +6.8359 time/retired? |
SELECT 1 AS st_leg FROM table_name_5 WHERE team_2 = "athletic" | CREATE TABLE table_name_5 (team_2 VARCHAR) | WHAT IS THE 1ST LEG WITH TEAM 2 AS ATHLETIC? |
SELECT 2 AS nd_leg FROM table_name_22 WHERE team_1 = "sporting" | CREATE TABLE table_name_22 (team_1 VARCHAR) | WHAT IS THE 2ND LEG WITH TEAM 1 OF SPORTING? |
SELECT SUM(against) FROM table_name_86 WHERE opposing_team = "cuyo selection" | CREATE TABLE table_name_86 (against INTEGER, opposing_team VARCHAR) | Sum of cuyo selection as the opposing team? |
SELECT MIN(against) FROM table_name_46 WHERE status = "tour match" AND date = "21 july 1990" | CREATE TABLE table_name_46 (against INTEGER, status VARCHAR, date VARCHAR) | Lowest against for tour match on 21 july 1990? |
SELECT MIN(version) FROM table_name_85 WHERE code = "u+1034a" AND year > 2001 | CREATE TABLE table_name_85 (version INTEGER, code VARCHAR, year VARCHAR) | Name the lowest version with a code of u+1034a that began after 2001. |
SELECT character FROM table_name_21 WHERE version = 5.1 AND name = "greek capital letter archaic sampi" | CREATE TABLE table_name_21 (character VARCHAR, version VARCHAR, name VARCHAR) | What character was the version 5.1 and had a Greek capital letter Archaic Sampi? |
SELECT SUM(version) FROM table_name_89 WHERE name = "coptic small letter sampi" AND year > 2005 | CREATE TABLE table_name_89 (version INTEGER, name VARCHAR, year VARCHAR) | Give the sum of the version with the coptic small letter sampi, and a year after 2005. |
SELECT SUM(year) FROM table_name_89 WHERE name = "greek small letter sampi" | CREATE TABLE table_name_89 (year INTEGER, name VARCHAR) | What is the year that has a name with the Greek small letter sampi? |
SELECT country FROM table_name_95 WHERE player = "bob rosburg" | CREATE TABLE table_name_95 (country VARCHAR, player VARCHAR) | What country id Bob Rosburg from? |
SELECT country FROM table_name_14 WHERE score = 73 - 72 - 67 = 212 | CREATE TABLE table_name_14 (country VARCHAR, score VARCHAR) | What country has a score of 73-72-67=212? |
SELECT to_par FROM table_name_89 WHERE player = "mike souchak" | CREATE TABLE table_name_89 (to_par VARCHAR, player VARCHAR) | What is Mike Souchak's to par? |
SELECT to_par FROM table_name_70 WHERE player = "mike souchak" | CREATE TABLE table_name_70 (to_par VARCHAR, player VARCHAR) | What is Mike Souchak's to par score? |
SELECT finish FROM table_name_4 WHERE total = 285 | CREATE TABLE table_name_4 (finish VARCHAR, total VARCHAR) | What was the finish for the golfer with a total of 285? |
SELECT total FROM table_name_20 WHERE year_s__won = "1987" | CREATE TABLE table_name_20 (total VARCHAR, year_s__won VARCHAR) | What was the total for the golfer who had a year won of 1987? |
SELECT finish FROM table_name_91 WHERE to_par = "+2" | CREATE TABLE table_name_91 (finish VARCHAR, to_par VARCHAR) | What was the finish for the golfer with a To par of +2? |
SELECT SUM(total) FROM table_name_9 WHERE to_par = "+10" AND year_s__won = "1971" | CREATE TABLE table_name_9 (total INTEGER, to_par VARCHAR, year_s__won VARCHAR) | What was the total for the golfer who had a To par of +10 and year won of 1971? |
SELECT team FROM table_name_36 WHERE game < 71 AND score = "w 91–86 (ot)" | CREATE TABLE table_name_36 (team VARCHAR, game VARCHAR, score VARCHAR) | What team played before game 71 and had a score w 91–86 (ot)? |
SELECT high_assists FROM table_name_15 WHERE game = 66 | CREATE TABLE table_name_15 (high_assists VARCHAR, game VARCHAR) | What was the high assist for game 66? |
SELECT country FROM table_name_39 WHERE player = "josé maría olazábal" | CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR) | What is josé maría olazábal's country? |
SELECT player FROM table_name_86 WHERE score = 74 - 67 - 74 - 71 = 286 | CREATE TABLE table_name_86 (player VARCHAR, score VARCHAR) | Which Player has a Score of 74-67-74-71=286? |
SELECT place FROM table_name_69 WHERE country = "united states" AND player = "corey pavin" | CREATE TABLE table_name_69 (place VARCHAR, country VARCHAR, player VARCHAR) | Which Place has a Country of united states, and a Player of corey pavin? |
SELECT opponent FROM table_name_65 WHERE week = 15 | CREATE TABLE table_name_65 (opponent VARCHAR, week VARCHAR) | Who is the opponent in week 15? |
SELECT MAX(attendance) FROM table_name_57 WHERE result = "w 30-7" | CREATE TABLE table_name_57 (attendance INTEGER, result VARCHAR) | What is the highest attendance a result of W 30-7? |
SELECT AVG(attendance) FROM table_name_22 WHERE week < 6 AND date = "october 14, 2001" | CREATE TABLE table_name_22 (attendance INTEGER, week VARCHAR, date VARCHAR) | What is the average attendance at week earlier than 6 on October 14, 2001? |
SELECT record FROM table_name_8 WHERE method = "submission (armbar)" AND round < 3 | CREATE TABLE table_name_8 (record VARCHAR, method VARCHAR, round VARCHAR) | what is the record when the method is submission (armbar) and the round is less than 3? |
SELECT AVG(points) FROM table_name_12 WHERE name = "svg burgkirchen" AND lost < 6 | CREATE TABLE table_name_12 (points INTEGER, name VARCHAR, lost VARCHAR) | How many average points did svg burgkirchen have with a loss smaller than 6? |
SELECT name FROM table_name_4 WHERE points < 22 AND drawn = 2 | CREATE TABLE table_name_4 (name VARCHAR, points VARCHAR, drawn VARCHAR) | Who had points smaller than 22 and a drawn of 2? |
SELECT name FROM table_name_75 WHERE lost = 2 AND position > 1 | CREATE TABLE table_name_75 (name VARCHAR, lost VARCHAR, position VARCHAR) | Who lost 2 and had a position bigger than 1? |
SELECT catalog FROM table_name_62 WHERE issued_title = "1958 miles" AND label = "sony" AND year < 2006 | CREATE TABLE table_name_62 (catalog VARCHAR, year VARCHAR, issued_title VARCHAR, label VARCHAR) | What is the name of the catalog issued with the title of 1958 Miles on the Sony label at a year prior to 2006? |
SELECT label FROM table_name_16 WHERE year < 1979 | CREATE TABLE table_name_16 (label VARCHAR, year INTEGER) | What is the label of the Year before 1979? |
SELECT 2011 FROM table_name_74 WHERE tournament = "miami masters" | CREATE TABLE table_name_74 (tournament VARCHAR) | WHAT IS THE 2011 PERFORMANCE AT THE MIAMI MASTERS? |
SELECT 2008 FROM table_name_45 WHERE 2007 = "career statistics" | CREATE TABLE table_name_45 (Id VARCHAR) | WHAT IS THE 2008 PERFORMANCE WITH A 2007 CAREER STATISTICS? |
SELECT tournament FROM table_name_5 WHERE 2010 = "a" AND 2009 = "a" AND 2011 = "q1" | CREATE TABLE table_name_5 (tournament VARCHAR) | WHAT IS THE TOURNAMENT WITH A 2010 OF A, 2009 OF A, AND 001 PERFORMANCE OF Q1? |
SELECT 2009 FROM table_name_77 WHERE 2012 = "2r" AND 2011 = "1r" AND 2007 = "a" AND 2008 = "a" | CREATE TABLE table_name_77 (Id VARCHAR) | WHAT IS THE 2009 PERFORMANCE WITH A 2012 OF 2R, 2001 OF 1R, 2007 OF A, AND 2008 OF A? |
SELECT 2011 FROM table_name_90 WHERE 2007 = "q3" | CREATE TABLE table_name_90 (Id VARCHAR) | WHAT IS THE 2011 PERFORMANCE WITH A 2007 OF Q3? |
SELECT score FROM table_name_95 WHERE place = "t2" | CREATE TABLE table_name_95 (score VARCHAR, place VARCHAR) | Which Score has a Place of t2? |
SELECT score FROM table_name_93 WHERE country = "spain" | CREATE TABLE table_name_93 (score VARCHAR, country VARCHAR) | What was spain's score? |
SELECT to_par FROM table_name_97 WHERE score = 70 - 73 - 80 - 68 = 291 | CREATE TABLE table_name_97 (to_par VARCHAR, score VARCHAR) | Which To par has a Score of 70-73-80-68=291? |
SELECT country FROM table_name_12 WHERE place = "t6" AND player = "tom weiskopf" | CREATE TABLE table_name_12 (country VARCHAR, place VARCHAR, player VARCHAR) | From what Country is T6 Place Player Tom Weiskopf? |
SELECT place FROM table_name_13 WHERE to_par = "–2" AND player = "johnny miller" | CREATE TABLE table_name_13 (place VARCHAR, to_par VARCHAR, player VARCHAR) | With a To par of –2, what is Johnny Miller's Place? |
SELECT country FROM table_name_80 WHERE player = "gene borek" | CREATE TABLE table_name_80 (country VARCHAR, player VARCHAR) | From what Country is Gene Borek? |
SELECT country FROM table_name_46 WHERE to_par = "–5" | CREATE TABLE table_name_46 (country VARCHAR, to_par VARCHAR) | What is the Country of the Player with a To par of –5? |
SELECT place FROM table_name_18 WHERE country = "new zealand" | CREATE TABLE table_name_18 (place VARCHAR, country VARCHAR) | What is the Place of the Player from New Zealand? |
SELECT place FROM table_name_28 WHERE score = 70 - 68 = 138 | CREATE TABLE table_name_28 (place VARCHAR, score VARCHAR) | What is the Place of the Player with a Score of 70-68=138? |
SELECT MAX(losses) FROM table_name_88 WHERE wins > 1 AND last_appearance = "2003" | CREATE TABLE table_name_88 (losses INTEGER, wins VARCHAR, last_appearance VARCHAR) | What is the highest Losses, when Wins is greater than 1, and when Last Appearance is 2003? |
SELECT MAX(wins) FROM table_name_67 WHERE percent = "0.000" AND school = "oklahoma state" AND appearances < 1 | CREATE TABLE table_name_67 (wins INTEGER, appearances VARCHAR, percent VARCHAR, school VARCHAR) | What is the highest Wins, when Percent is 0.000, when School is Oklahoma State, and when Appearances is less than 1? |
SELECT COUNT(losses) FROM table_name_85 WHERE last_appearance = "2003" AND wins > 2 | CREATE TABLE table_name_85 (losses VARCHAR, last_appearance VARCHAR, wins VARCHAR) | What is the total number of Losses, when Last Appearance is 2003, and when Wins is greater than 2? |
Subsets and Splits
SQL Console for knowrohit07/know_sql
Finds questions in the dataset that contain the word 'god', providing a basic filtered view without much analytical insight.