answer stringlengths 32 484 | context stringlengths 27 489 | question stringlengths 12 244 |
|---|---|---|
SELECT player FROM table_name_35 WHERE place = "t9" AND country = "australia" | CREATE TABLE table_name_35 (player VARCHAR, place VARCHAR, country VARCHAR) | Which player is from Australia, and has a place of t9? |
SELECT place FROM table_name_52 WHERE player = "john merrick" | CREATE TABLE table_name_52 (place VARCHAR, player VARCHAR) | What was the place for player John Merrick? |
SELECT country FROM table_name_38 WHERE place = "t1" AND score = 72 - 68 - 70 - 73 = 283 | CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR, score VARCHAR) | Which country had a place of t1, as well as a score of 72-68-70-73=283? |
SELECT place FROM table_name_48 WHERE player = "jack renner" | CREATE TABLE table_name_48 (place VARCHAR, player VARCHAR) | What place has jack renner as the player? |
SELECT to_par FROM table_name_77 WHERE country = "united states" AND place = "t8" AND player = "tommy valentine" | CREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) | What to par has The United States as the country, t8 as the place, and tommy valentine as the player? |
SELECT to_par FROM table_name_56 WHERE score = 66 | CREATE TABLE table_name_56 (to_par VARCHAR, score VARCHAR) | What to par has 66 as the score? |
SELECT AVG(played) FROM table_name_62 WHERE conceded < 7 | CREATE TABLE table_name_62 (played INTEGER, conceded INTEGER) | Mean of played with smaller than 7 conceded? |
SELECT MAX(position) FROM table_name_40 WHERE points > 16 AND conceded < 7 | CREATE TABLE table_name_40 (position INTEGER, points VARCHAR, conceded VARCHAR) | The highest position with more than 16 points and less than 7 concedes? |
SELECT MAX(draws) FROM table_name_32 WHERE played < 9 | CREATE TABLE table_name_32 (draws INTEGER, played INTEGER) | The highest draws with smaller than 9 played? |
SELECT home_town FROM table_name_60 WHERE took_office = 1983 AND district > 15 | CREATE TABLE table_name_60 (home_town VARCHAR, took_office VARCHAR, district VARCHAR) | Which Home Town has a Took Office of 1983, and a District larger than 15? |
SELECT senator FROM table_name_82 WHERE party = "republican" AND home_town = "houston" AND district = 7 | CREATE TABLE table_name_82 (senator VARCHAR, district VARCHAR, party VARCHAR, home_town VARCHAR) | Which Senator has a Party of republican, a Home Town of houston, and a District of 7? |
SELECT home_town FROM table_name_78 WHERE senator = "dan shelley" | CREATE TABLE table_name_78 (home_town VARCHAR, senator VARCHAR) | Which Home Town has a Senator of dan shelley? |
SELECT COUNT(took_office) FROM table_name_81 WHERE party = "democratic" AND home_town = "victoria" AND district < 18 | CREATE TABLE table_name_81 (took_office VARCHAR, district VARCHAR, party VARCHAR, home_town VARCHAR) | Which Took Office has a Party of democratic, a Home Town of victoria, and a District smaller than 18? |
SELECT AVG(took_office) FROM table_name_8 WHERE district = 29 | CREATE TABLE table_name_8 (took_office INTEGER, district VARCHAR) | Which Took Office has a District of 29? |
SELECT AVG(laps) FROM table_name_88 WHERE grid = 15 | CREATE TABLE table_name_88 (laps INTEGER, grid VARCHAR) | What are the average Laps on Grid 15? |
SELECT MIN(laps) FROM table_name_39 WHERE time = "+24.440" AND grid > 18 | CREATE TABLE table_name_39 (laps INTEGER, time VARCHAR, grid VARCHAR) | What is the lowest number of Laps that have a Time of +24.440, and a Grid higher than 18? |
SELECT MAX(laps) FROM table_name_93 WHERE grid < 13 AND time = "+18.366" | CREATE TABLE table_name_93 (laps INTEGER, grid VARCHAR, time VARCHAR) | What is the highest number of Laps that have a Time of +18.366, and a Grid lower than 13? |
SELECT MIN(wins) FROM table_name_37 WHERE season = "2011" AND podiums = 1 AND poles < 0 | CREATE TABLE table_name_37 (wins INTEGER, poles VARCHAR, season VARCHAR, podiums VARCHAR) | What is the lowest Wins, when Season is 2011, when Podiums is 1, and when Poles is less than 0? |
SELECT position FROM table_name_3 WHERE points > 7 AND series = "toyota racing series" | CREATE TABLE table_name_3 (position VARCHAR, points VARCHAR, series VARCHAR) | What is Position, when Points is greater than 7, and when Series is Toyota Racing Series? |
SELECT SUM(races) FROM table_name_9 WHERE series = "toyota racing series" AND podiums > 3 | CREATE TABLE table_name_9 (races INTEGER, series VARCHAR, podiums VARCHAR) | What is the sum of Races, when Series is Toyota Racing Series, and when Podiums is greater than 3? |
SELECT AVG(podiums) FROM table_name_47 WHERE wins > 1 AND races = 2 AND points > 150 | CREATE TABLE table_name_47 (podiums INTEGER, points VARCHAR, wins VARCHAR, races VARCHAR) | What is the average Podiums, when Wins is greater than 1, when Races is 2, and when Points is greater than 150? |
SELECT COUNT(poles) FROM table_name_27 WHERE position = "6th" AND points < 164 | CREATE TABLE table_name_27 (poles VARCHAR, position VARCHAR, points VARCHAR) | What is the total number of Poles, when Position is 6th, and when Points is less than 164? |
SELECT MIN(founded) FROM table_name_64 WHERE day_boarding = "day" AND year_entered_competition > 1958 | CREATE TABLE table_name_64 (founded INTEGER, day_boarding VARCHAR, year_entered_competition VARCHAR) | Which is the earliest founded day school to have entered the competition after 1958? |
SELECT to_par FROM table_name_93 WHERE country = "england" | CREATE TABLE table_name_93 (to_par VARCHAR, country VARCHAR) | How many to par in England? |
SELECT place FROM table_name_38 WHERE player = "david frost" | CREATE TABLE table_name_38 (place VARCHAR, player VARCHAR) | Where is David Frost from? |
SELECT country FROM table_name_18 WHERE place = "t3" AND score = 70 - 68 = 138 | CREATE TABLE table_name_18 (country VARCHAR, place VARCHAR, score VARCHAR) | Which country earned place T3 with a score of 70-68=138? |
SELECT country FROM table_name_5 WHERE score = 69 - 67 = 136 | CREATE TABLE table_name_5 (country VARCHAR, score VARCHAR) | Which country had a score of 69-67=136? |
SELECT to_par FROM table_name_1 WHERE player = "greg norman" | CREATE TABLE table_name_1 (to_par VARCHAR, player VARCHAR) | How many to par for Greg Norman? |
SELECT high_rebounds FROM table_name_74 WHERE game > 14 AND team = "denver" | CREATE TABLE table_name_74 (high_rebounds VARCHAR, game VARCHAR, team VARCHAR) | What was the high rebounds after game 14 for Denver? |
SELECT MAX(game) FROM table_name_26 WHERE team = "sacramento" | CREATE TABLE table_name_26 (game INTEGER, team VARCHAR) | What was the latest game that Sacramento played? |
SELECT record FROM table_name_65 WHERE team = "utah" | CREATE TABLE table_name_65 (record VARCHAR, team VARCHAR) | What was the record of Utah? |
SELECT parent_magazine FROM table_name_78 WHERE title = "dengeki g's festival! deluxe" | CREATE TABLE table_name_78 (parent_magazine VARCHAR, title VARCHAR) | What is the parent magazine of Dengeki g's festival! deluxe? |
SELECT frequency FROM table_name_5 WHERE parent_magazine = "dengeki girl's style" | CREATE TABLE table_name_5 (frequency VARCHAR, parent_magazine VARCHAR) | How often does Dengeki girl's style come out? |
SELECT title FROM table_name_72 WHERE frequency = "monthly" | CREATE TABLE table_name_72 (title VARCHAR, frequency VARCHAR) | What titles come out monthly? |
SELECT parent_magazine FROM table_name_42 WHERE title = "dengeki 5pb." | CREATE TABLE table_name_42 (parent_magazine VARCHAR, title VARCHAR) | What is the parent magazine for Dengeki 5pb.? |
SELECT magazine_type FROM table_name_94 WHERE magazine_run = "march 3, 2009–february 5, 2010" | CREATE TABLE table_name_94 (magazine_type VARCHAR, magazine_run VARCHAR) | What is the magazine type that ran from March 3, 2009–February 5, 2010? |
SELECT frequency FROM table_name_62 WHERE magazine_run = "september 2, 2010" | CREATE TABLE table_name_62 (frequency VARCHAR, magazine_run VARCHAR) | What is the frequency for the magazine that runs September 2, 2010? |
SELECT MAX(laps) FROM table_name_98 WHERE time_retired = "+1:23.297" AND grid > 4 | CREATE TABLE table_name_98 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) | What is the highest number of laps with a +1:23.297 time/retired and a grid larger than 4? |
SELECT time_retired FROM table_name_93 WHERE constructor = "toyota" AND grid = 5 | CREATE TABLE table_name_93 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR) | What is the time/retired with a toyota constructor and a 5 grid? |
SELECT AVG(laps) FROM table_name_54 WHERE grid = 16 | CREATE TABLE table_name_54 (laps INTEGER, grid VARCHAR) | What is the average number of laps with 16 grids? |
SELECT endowment_as_of_2008 FROM table_name_55 WHERE established = 1961 | CREATE TABLE table_name_55 (endowment_as_of_2008 VARCHAR, established VARCHAR) | What was the endowment in 2008 of the college that was established in 1961? |
SELECT attendance FROM table_name_84 WHERE tie_no = "40" | CREATE TABLE table_name_84 (attendance VARCHAR, tie_no VARCHAR) | On what day was the attendance that had a Tie value of 40? |
SELECT home_team FROM table_name_6 WHERE away_team = "canvey island" | CREATE TABLE table_name_6 (home_team VARCHAR, away_team VARCHAR) | Who was the home team for the away game that Canvey Island played? |
SELECT attendance FROM table_name_4 WHERE home_team = "gillingham" | CREATE TABLE table_name_4 (attendance VARCHAR, home_team VARCHAR) | On what day was there a Home game for Gillingham? |
SELECT MAX(pick) FROM table_name_21 WHERE overall > 308 AND position = "rb" | CREATE TABLE table_name_21 (pick INTEGER, overall VARCHAR, position VARCHAR) | Which Pick has an Overall larger than 308, and a Position of rb? |
SELECT SUM(overall) FROM table_name_86 WHERE position = "wr" AND college = "alberta" | CREATE TABLE table_name_86 (overall INTEGER, position VARCHAR, college VARCHAR) | How much Overall has a Position of wr, and a College of alberta? |
SELECT AVG(pick) FROM table_name_51 WHERE college = "indiana" | CREATE TABLE table_name_51 (pick INTEGER, college VARCHAR) | What is indiana college's average pick? |
SELECT college FROM table_name_46 WHERE overall = 308 | CREATE TABLE table_name_46 (college VARCHAR, overall VARCHAR) | Which College has an Overall of 308? |
SELECT surface FROM table_name_3 WHERE opponent = "marcos baghdatis" | CREATE TABLE table_name_3 (surface VARCHAR, opponent VARCHAR) | What was the surface for the opponent Marcos Baghdatis? |
SELECT eighth FROM table_name_61 WHERE seventh = "audio bullys" | CREATE TABLE table_name_61 (eighth VARCHAR, seventh VARCHAR) | WHAT IS THE 8TH THAT HAS A 7TH OF AUDIO BULLYS? |
SELECT poll_year FROM table_name_34 WHERE third = "the ting tings" | CREATE TABLE table_name_34 (poll_year VARCHAR, third VARCHAR) | WHAT IS THE POLL YEAR WITH A THIRD OF THE TING TINGS? |
SELECT sixth FROM table_name_66 WHERE second = "white lies" | CREATE TABLE table_name_66 (sixth VARCHAR, second VARCHAR) | WHAT IS THE SIXTH WITH A SECOND OF WHITE LIES? |
SELECT winner FROM table_name_97 WHERE fifth = "joss stone" | CREATE TABLE table_name_97 (winner VARCHAR, fifth VARCHAR) | WHAT IS THE WINNER WITH A FIFTH OF JOSS STONE? |
SELECT second FROM table_name_65 WHERE tenth = "dan black" | CREATE TABLE table_name_65 (second VARCHAR, tenth VARCHAR) | WHAT IS THE SECOND WITH A TENTH OF DAN BLACK? |
SELECT AVG(game) FROM table_name_45 WHERE date = "january 30" | CREATE TABLE table_name_45 (game INTEGER, date VARCHAR) | What average game has January 30 as the date? |
SELECT score FROM table_name_65 WHERE date = "january 19" | CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR) | What score has january 19 as the date? |
SELECT location_attendance FROM table_name_24 WHERE game > 35 AND date = "january 30" | CREATE TABLE table_name_24 (location_attendance VARCHAR, game VARCHAR, date VARCHAR) | What is the loaction attendance that has a game greater than 35, with January 30 as the date? |
SELECT MAX(game) FROM table_name_99 WHERE date = "january 5" | CREATE TABLE table_name_99 (game INTEGER, date VARCHAR) | What is the highest game that has January 5 as the date? |
SELECT high_rebounds FROM table_name_58 WHERE location_attendance = "conseco fieldhouse 11,964" | CREATE TABLE table_name_58 (high_rebounds VARCHAR, location_attendance VARCHAR) | What is the highest rebounds that has conseco fieldhouse 11,964 as the location attendance? |
SELECT MAX(lane) FROM table_name_82 WHERE mark = "2:02.27 nr" AND heat < 2 | CREATE TABLE table_name_82 (lane INTEGER, mark VARCHAR, heat VARCHAR) | What is the highest lane value for a mark of 2:02.27 NR, with heats under 2? |
SELECT mark FROM table_name_8 WHERE country = "mozambique" | CREATE TABLE table_name_8 (mark VARCHAR, country VARCHAR) | What is the mark for the runner from Mozambique? |
SELECT name FROM table_name_84 WHERE lane = 6 AND mark = "2:05.58 sb" | CREATE TABLE table_name_84 (name VARCHAR, lane VARCHAR, mark VARCHAR) | Who was in lane 6 with a mark of 2:05.58 SB? |
SELECT MAX(round) FROM table_name_54 WHERE player = "ken irvin" | CREATE TABLE table_name_54 (round INTEGER, player VARCHAR) | What round was Ken Irvin drafted? |
SELECT MAX(round) FROM table_name_54 WHERE school_club_team = "michigan" | CREATE TABLE table_name_54 (round INTEGER, school_club_team VARCHAR) | In what round was a player from Michigan selected? |
SELECT opponent FROM table_name_49 WHERE week < 8 AND result = "l 28-17" | CREATE TABLE table_name_49 (opponent VARCHAR, week VARCHAR, result VARCHAR) | Who was the opponent before week 8 when the result was l 28-17? |
SELECT COUNT(week) FROM table_name_15 WHERE date = "october 12, 1975" AND attendance > 44 OFFSET 043 | CREATE TABLE table_name_15 (week VARCHAR, date VARCHAR, attendance VARCHAR) | In which week was the game played on October 12, 1975 and the crowd was larger than 44,043? |
SELECT berlin FROM table_name_60 WHERE südwest = "fk pirmasens" AND west = "westfalia herne" | CREATE TABLE table_name_60 (berlin VARCHAR, südwest VARCHAR, west VARCHAR) | What was Berlin when fk pirmasens was Südwest and westfalia herne was west? |
SELECT MIN(year) FROM table_name_90 WHERE west = "borussia dortmund" AND berlin = "bfc viktoria 1889" | CREATE TABLE table_name_90 (year INTEGER, west VARCHAR, berlin VARCHAR) | What is the earliest year borussia dortmund was west and bfc viktoria 1889 was Berlin? |
SELECT nord FROM table_name_3 WHERE berlin = "tennis borussia berlin" AND year = 1952 | CREATE TABLE table_name_3 (nord VARCHAR, berlin VARCHAR, year VARCHAR) | What is the Nord in 1952, when tennis borussia berlin was Berlin? |
SELECT place FROM table_name_19 WHERE country = "japan" | CREATE TABLE table_name_19 (place VARCHAR, country VARCHAR) | Where did Japan place? |
SELECT away_team FROM table_name_69 WHERE attendance = "206" | CREATE TABLE table_name_69 (away_team VARCHAR, attendance VARCHAR) | Who was the away team when the attendance was 206? |
SELECT away_team FROM table_name_29 WHERE tie_no = "34" | CREATE TABLE table_name_29 (away_team VARCHAR, tie_no VARCHAR) | Who was the away team when the Tie no was 34? |
SELECT away_team FROM table_name_16 WHERE attendance = "76" | CREATE TABLE table_name_16 (away_team VARCHAR, attendance VARCHAR) | Who was the away team when the attendance was 76? |
SELECT home_team FROM table_name_60 WHERE tie_no = "7" | CREATE TABLE table_name_60 (home_team VARCHAR, tie_no VARCHAR) | Who was the home team when the Tie no was 7? |
SELECT tie_no FROM table_name_8 WHERE away_team = "east thurrock united" | CREATE TABLE table_name_8 (tie_no VARCHAR, away_team VARCHAR) | What was the Tie no when the away team was east thurrock united? |
SELECT AVG(votes) FROM table_name_14 WHERE constituency = "dublin south" AND spoilt < 3 OFFSET 387 | CREATE TABLE table_name_14 (votes INTEGER, constituency VARCHAR, spoilt VARCHAR) | WHAT IS THE AVERAGE VOTE FOR DUBLIN SOUTH, AND SPOILT SMALLER THAN 3,387? |
SELECT location FROM table_name_8 WHERE date = "january 23, 2008" | CREATE TABLE table_name_8 (location VARCHAR, date VARCHAR) | Where was the game played on January 23, 2008? |
SELECT location FROM table_name_8 WHERE tournament = "singapore charity shield" | CREATE TABLE table_name_8 (location VARCHAR, tournament VARCHAR) | Where was the Singapore Charity Shield tournament played? |
SELECT location FROM table_name_93 WHERE date = "january 23, 2008" | CREATE TABLE table_name_93 (location VARCHAR, date VARCHAR) | Where was the game located on January 23, 2008? |
SELECT location FROM table_name_87 WHERE match > 1 AND tournament = "friendly" AND opponent_team = "super reds" | CREATE TABLE table_name_87 (location VARCHAR, opponent_team VARCHAR, match VARCHAR, tournament VARCHAR) | Where is the location of the friendly match larger than 1 where the Super Reds were the opponent? |
SELECT location_attendance FROM table_name_78 WHERE team = "@ milwaukee" | CREATE TABLE table_name_78 (location_attendance VARCHAR, team VARCHAR) | When the team is @ Milwaukee, what is the name of the location where the game is played? |
SELECT score FROM table_name_19 WHERE team = "@ chicago" | CREATE TABLE table_name_19 (score VARCHAR, team VARCHAR) | For the game with team of @ Chicago, what was the final score? |
SELECT rank FROM table_name_90 WHERE title = "best friends" | CREATE TABLE table_name_90 (rank VARCHAR, title VARCHAR) | What rank did Best Friends receive? |
SELECT points_for FROM table_name_91 WHERE club = "fall bay rfc" | CREATE TABLE table_name_91 (points_for VARCHAR, club VARCHAR) | How many points are for the Fall Bay RFC club? |
SELECT drawn FROM table_name_87 WHERE bonus_points = "6" AND points_against = "410" | CREATE TABLE table_name_87 (drawn VARCHAR, bonus_points VARCHAR, points_against VARCHAR) | What was drawn for 6 bonus points and is against 410 points? |
SELECT club FROM table_name_63 WHERE points_against = "431" | CREATE TABLE table_name_63 (club VARCHAR, points_against VARCHAR) | What is the club had 431 points against them? |
SELECT points_against FROM table_name_34 WHERE points_difference = "points difference" | CREATE TABLE table_name_34 (points_against VARCHAR, points_difference VARCHAR) | What are the points against with a points difference? |
SELECT played FROM table_name_82 WHERE points_difference = "points difference" | CREATE TABLE table_name_82 (played VARCHAR, points_difference VARCHAR) | What are the played points difference? |
SELECT away_team AS score FROM table_name_41 WHERE home_team = "sydney" | CREATE TABLE table_name_41 (away_team VARCHAR, home_team VARCHAR) | When the Home Team was Sydney, what did the Away team score? |
SELECT ground FROM table_name_55 WHERE home_team = "carlton" | CREATE TABLE table_name_55 (ground VARCHAR, home_team VARCHAR) | What was the Home team Carlton's Ground? |
SELECT player FROM table_name_4 WHERE score = 71 | CREATE TABLE table_name_4 (player VARCHAR, score VARCHAR) | Which player scored 71? |
SELECT circuit FROM table_name_84 WHERE winner = "craig lowndes" AND date = "19 apr" | CREATE TABLE table_name_84 (circuit VARCHAR, winner VARCHAR, date VARCHAR) | What is the circuit on 19 Apr with Craig Lowndes as the winner? |
SELECT circuit FROM table_name_15 WHERE team = "volvo cars australia" | CREATE TABLE table_name_15 (circuit VARCHAR, team VARCHAR) | What circuit has volvo cars australia as the team? |
SELECT series FROM table_name_8 WHERE team = "dick johnson racing" | CREATE TABLE table_name_8 (series VARCHAR, team VARCHAR) | What series was Dick Johnson Racing the team? |
SELECT city___state FROM table_name_87 WHERE winner = "russell ingall larry perkins" | CREATE TABLE table_name_87 (city___state VARCHAR, winner VARCHAR) | What is the city/state of the circuit where Russell Ingall Larry Perkins was the winner? |
SELECT date FROM table_name_64 WHERE away_team = "gillingham" | CREATE TABLE table_name_64 (date VARCHAR, away_team VARCHAR) | What date was the away team, team Gillingham? |
SELECT score FROM table_name_6 WHERE tie_no = "21" | CREATE TABLE table_name_6 (score VARCHAR, tie_no VARCHAR) | What was the score for a no. 21 tie? |
SELECT date FROM table_name_80 WHERE away_team = "southport" | CREATE TABLE table_name_80 (date VARCHAR, away_team VARCHAR) | What was the date for the away team, team Southport? |
SELECT score FROM table_name_19 WHERE away_team = "southport" | CREATE TABLE table_name_19 (score VARCHAR, away_team VARCHAR) | What was the score for the away team, southport? |
SELECT result FROM table_name_65 WHERE attendance = "47,971" | CREATE TABLE table_name_65 (result VARCHAR, attendance VARCHAR) | What was the result when the attendance was 47,971? |
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.