answer stringlengths 32 484 | context stringlengths 27 489 | question stringlengths 12 244 |
|---|---|---|
SELECT date FROM table_name_29 WHERE region = "united kingdom" AND format = "stereo lp" | CREATE TABLE table_name_29 (date VARCHAR, region VARCHAR, format VARCHAR) | When did the United Kingdom format a stereo LP? |
SELECT region FROM table_name_93 WHERE date = "january 1974" | CREATE TABLE table_name_93 (region VARCHAR, date VARCHAR) | What region goes along with January 1974? |
SELECT label FROM table_name_98 WHERE date = "1973" AND catalog = "l 35023" | CREATE TABLE table_name_98 (label VARCHAR, date VARCHAR, catalog VARCHAR) | What is the label from 1973 that has a catalog number of l 35023? |
SELECT wins FROM table_name_98 WHERE second = "1" AND races > 12 | CREATE TABLE table_name_98 (wins VARCHAR, second VARCHAR, races VARCHAR) | How many wins did the driver with 1 second and more than 12 races have? |
SELECT MIN(loss) FROM table_name_94 WHERE gain < 61 AND avg_g = 6 | CREATE TABLE table_name_94 (loss INTEGER, gain VARCHAR, avg_g VARCHAR) | What is the lowest Loss number when the Gain is less than 61 and the Avg/G is 6? |
SELECT SUM(avg_g) FROM table_name_95 WHERE loss = 0 AND name = "dan dierking" AND gain > 34 | CREATE TABLE table_name_95 (avg_g INTEGER, gain VARCHAR, loss VARCHAR, name VARCHAR) | What is the sum of Avg/G for Dan Dierking when the Loss is 0 and the Gain is more than 34? |
SELECT visitor FROM table_name_27 WHERE date = "april 6" | CREATE TABLE table_name_27 (visitor VARCHAR, date VARCHAR) | Who was the visiting team on April 6? |
SELECT date FROM table_name_64 WHERE record = "4-3" | CREATE TABLE table_name_64 (date VARCHAR, record VARCHAR) | What was the date of the game that led to a 4-3 record? |
SELECT home FROM table_name_10 WHERE record = "2-3" | CREATE TABLE table_name_10 (home VARCHAR, record VARCHAR) | Who was the home team in the game that led to a 2-3 series record? |
SELECT home_team FROM table_name_29 WHERE score = "100-86" | CREATE TABLE table_name_29 (home_team VARCHAR, score VARCHAR) | Which home team had a score of 100-86? |
SELECT report FROM table_name_89 WHERE venue = "state sports centre" | CREATE TABLE table_name_89 (report VARCHAR, venue VARCHAR) | Which report corresponds to the State Sports Centre? |
SELECT away_team FROM table_name_31 WHERE venue = "win entertainment centre" | CREATE TABLE table_name_31 (away_team VARCHAR, venue VARCHAR) | Who was the away team at the Win Entertainment Centre? |
SELECT COUNT(gain) FROM table_name_55 WHERE name = "williams, jonathan" AND loss > 3 | CREATE TABLE table_name_55 (gain VARCHAR, name VARCHAR, loss VARCHAR) | Can you tell me the total number of Gain that has the Name of williams, jonathan, and the Loss larger than 3? |
SELECT SUM(loss) FROM table_name_82 WHERE gain = 2646 | CREATE TABLE table_name_82 (loss INTEGER, gain VARCHAR) | Can you tell me the sum of Loss that has the Gain of 2646? |
SELECT SUM(gain) FROM table_name_75 WHERE name = "kass, rob" AND avg_g < 1.9 | CREATE TABLE table_name_75 (gain INTEGER, name VARCHAR, avg_g VARCHAR) | Can you tell me the sum of Gain that has the Name of kass, rob, and the Avg/g smaller than 1.9? |
SELECT MIN(long) FROM table_name_19 WHERE gain = 20 AND loss < 0 | CREATE TABLE table_name_19 (long INTEGER, gain VARCHAR, loss VARCHAR) | Can you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0? |
SELECT MAX(erp_w) FROM table_name_10 WHERE call_sign = "w216bo" | CREATE TABLE table_name_10 (erp_w INTEGER, call_sign VARCHAR) | What is the highest ERP W with a w216bo call sign? |
SELECT SUM(crowd) FROM table_name_41 WHERE ground = "subiaco oval" | CREATE TABLE table_name_41 (crowd INTEGER, ground VARCHAR) | What kind of Crowd has a Ground of subiaco oval? |
SELECT AVG(crowd) FROM table_name_67 WHERE date = "saturday, 29 january" AND away_team = "collingwood" | CREATE TABLE table_name_67 (crowd INTEGER, date VARCHAR, away_team VARCHAR) | How many Crowd that has a Date on saturday, 29 january and an Away team of collingwood? |
SELECT date FROM table_name_88 WHERE week > 11 AND opponent = "arizona cardinals" | CREATE TABLE table_name_88 (date VARCHAR, week VARCHAR, opponent VARCHAR) | On which date after week 11 was the opponent the arizona cardinals? |
SELECT lead FROM table_name_78 WHERE alternate = "li dongyan" | CREATE TABLE table_name_78 (lead VARCHAR, alternate VARCHAR) | What was the lead with an alternate of li dongyan? |
SELECT lead FROM table_name_18 WHERE season = "2007-08" | CREATE TABLE table_name_18 (lead VARCHAR, season VARCHAR) | Which lead had a season of 2007-08? |
SELECT lead FROM table_name_40 WHERE season = "2009-10" | CREATE TABLE table_name_40 (lead VARCHAR, season VARCHAR) | Which lead had a season of 2009-10? |
SELECT name FROM table_name_49 WHERE saturday = "yes" AND evening = "yes" | CREATE TABLE table_name_49 (name VARCHAR, saturday VARCHAR, evening VARCHAR) | Which Name has a Yes Saturday and a Yes Evening? |
SELECT daytime FROM table_name_5 WHERE saturday = "yes" AND name = "exmouth" | CREATE TABLE table_name_5 (daytime VARCHAR, saturday VARCHAR, name VARCHAR) | Name the Daytime which has Saturday of yes and a Name of exmouth? |
SELECT evening FROM table_name_18 WHERE sunday = "no" AND name = "s. vidal/plant express" | CREATE TABLE table_name_18 (evening VARCHAR, sunday VARCHAR, name VARCHAR) | Name the Evening that has a Sunday of no, and a Name of s. vidal/plant express? |
SELECT daytime FROM table_name_22 WHERE name = "exmouth" | CREATE TABLE table_name_22 (daytime VARCHAR, name VARCHAR) | Name the Daytime which has a Name of exmouth? |
SELECT saturday FROM table_name_80 WHERE sunday = "yes" AND evening = "yes" | CREATE TABLE table_name_80 (saturday VARCHAR, sunday VARCHAR, evening VARCHAR) | Which Saturday has a Sunday of yes and a Evening of yes? |
SELECT saturday FROM table_name_68 WHERE name = "confederation" | CREATE TABLE table_name_68 (saturday VARCHAR, name VARCHAR) | Which Saturday has a Name of confederation? |
SELECT gp_gs FROM table_name_52 WHERE season = "2009" | CREATE TABLE table_name_52 (gp_gs VARCHAR, season VARCHAR) | What was the GP-GS for the 2009 season? |
SELECT gp_gs FROM table_name_13 WHERE long = "17" AND season = "total" | CREATE TABLE table_name_13 (gp_gs VARCHAR, long VARCHAR, season VARCHAR) | Which GP-GS had a long of 17 and a season of total? |
SELECT long FROM table_name_97 WHERE avg_g = "redshirt" | CREATE TABLE table_name_97 (long VARCHAR, avg_g VARCHAR) | Which Long has redshirt for its Avg/G? |
SELECT avg_g FROM table_name_74 WHERE season = "2009" | CREATE TABLE table_name_74 (avg_g VARCHAR, season VARCHAR) | What was the Av/G of the 2009 season? |
SELECT long FROM table_name_56 WHERE avg_g = "5.9" | CREATE TABLE table_name_56 (long VARCHAR, avg_g VARCHAR) | For the Avg/G of 5.9, what was the long? |
SELECT location_attendance FROM table_name_55 WHERE high_points = "d. mckey (24)" AND score = "l 96-105" | CREATE TABLE table_name_55 (location_attendance VARCHAR, high_points VARCHAR, score VARCHAR) | What is the Location Attendance, when High Points is "D. McKey (24)", and when Score is "L 96-105"? |
SELECT high_rebounds FROM table_name_44 WHERE game > 33 AND score = "w 132-101" | CREATE TABLE table_name_44 (high_rebounds VARCHAR, game VARCHAR, score VARCHAR) | What is High Rebounds, when Game is greater than 33, and when Score is "W 132-101"? |
SELECT team FROM table_name_96 WHERE game = 32 | CREATE TABLE table_name_96 (team VARCHAR, game VARCHAR) | What is Team, when Game is "32"? |
SELECT SUM(game) FROM table_name_35 WHERE high_points = "d. mckey (24)" AND team = "@ dallas mavericks" | CREATE TABLE table_name_35 (game INTEGER, high_points VARCHAR, team VARCHAR) | What is the sum of Game, when High Points is "D. McKey (24)", and when Team is "@ Dallas Mavericks"? |
SELECT tournament FROM table_name_16 WHERE opponents = "marc lópez santiago ventura" | CREATE TABLE table_name_16 (tournament VARCHAR, opponents VARCHAR) | Which Tournament has Opponents of marc lópez santiago ventura? |
SELECT opponents FROM table_name_60 WHERE partnering = "alessandro motti" AND date = "12 september 2005" | CREATE TABLE table_name_60 (opponents VARCHAR, partnering VARCHAR, date VARCHAR) | Which Opponents have a Partnering of alessandro motti, and a Date of 12 september 2005? |
SELECT opponents FROM table_name_59 WHERE score = "6–4, 6–3" | CREATE TABLE table_name_59 (opponents VARCHAR, score VARCHAR) | Which Opponents have a Score of 6–4, 6–3? |
SELECT tournament FROM table_name_40 WHERE surface = "hard" AND date = "24 september 2011" | CREATE TABLE table_name_40 (tournament VARCHAR, surface VARCHAR, date VARCHAR) | Which Tournament has a Surface of hard, and a Date of 24 september 2011? |
SELECT AVG(round) FROM table_name_49 WHERE event = "gcf: strength and honor" | CREATE TABLE table_name_49 (round INTEGER, event VARCHAR) | How many rounds did the match at GCF: Strength and Honor last? |
SELECT SUM(population) FROM table_name_60 WHERE official_name = "saint-antoine" AND area_km_2 > 6.43 | CREATE TABLE table_name_60 (population INTEGER, official_name VARCHAR, area_km_2 VARCHAR) | What is the total population for Saint-Antoine with an area squared of 6.43? |
SELECT status FROM table_name_21 WHERE population > 930 AND census_ranking = "1,769 of 5,008" | CREATE TABLE table_name_21 (status VARCHAR, population VARCHAR, census_ranking VARCHAR) | What is the current status of a location with a census ranking of 1,769 of 5,008 and population greater than 930? |
SELECT SUM(february) FROM table_name_8 WHERE record = "40-15-5" | CREATE TABLE table_name_8 (february INTEGER, record VARCHAR) | How many games in February have a record of 40-15-5? |
SELECT MIN(game) FROM table_name_95 WHERE opponent = "minnesota north stars" AND february < 25 | CREATE TABLE table_name_95 (game INTEGER, opponent VARCHAR, february VARCHAR) | What is the lowest numbered game with an opponent of Minnesota North Stars earlier than February 25? |
SELECT SUM(game) FROM table_name_63 WHERE opponent = "new york islanders" AND february < 7 | CREATE TABLE table_name_63 (game INTEGER, opponent VARCHAR, february VARCHAR) | How many games have the New York Islanders as an opponent before February 7? |
SELECT MIN(february) FROM table_name_52 WHERE record = "37-13-4" AND game < 54 | CREATE TABLE table_name_52 (february INTEGER, record VARCHAR, game VARCHAR) | What is the earliest February date with a record of 37-13-4 in a game earlier than 54? |
SELECT date FROM table_name_53 WHERE record = "2-0" | CREATE TABLE table_name_53 (date VARCHAR, record VARCHAR) | What is the date of the game when the record is 2-0? |
SELECT AVG(game) FROM table_name_18 WHERE record = "4-1" | CREATE TABLE table_name_18 (game INTEGER, record VARCHAR) | What is the average game number when the record is 4-1? |
SELECT location_attendance FROM table_name_95 WHERE game = 1 | CREATE TABLE table_name_95 (location_attendance VARCHAR, game VARCHAR) | What is the location and attendance of game 1? |
SELECT date FROM table_name_36 WHERE location_attendance = "madison square garden" AND game < 6 AND team = "seattle" | CREATE TABLE table_name_36 (date VARCHAR, team VARCHAR, location_attendance VARCHAR, game VARCHAR) | What is the date of the game located in Madison Square Garden, when the team is Seattle and the game number is less than 6? |
SELECT location_attendance FROM table_name_89 WHERE score = "125-100" | CREATE TABLE table_name_89 (location_attendance VARCHAR, score VARCHAR) | What is the location and attendance of the game when the score is 125-100? |
SELECT winning_driver FROM table_name_93 WHERE year = "1956" | CREATE TABLE table_name_93 (winning_driver VARCHAR, year VARCHAR) | Who was the winning driver in 1956? |
SELECT circuit FROM table_name_43 WHERE winning_driver = "peter whitehead" | CREATE TABLE table_name_43 (circuit VARCHAR, winning_driver VARCHAR) | Which circuit did Peter Whitehead win? |
SELECT report FROM table_name_21 WHERE winning_driver = "jack brabham" | CREATE TABLE table_name_21 (report VARCHAR, winning_driver VARCHAR) | What report did Jack Brabham win? |
SELECT year FROM table_name_16 WHERE circuit = "kyalami" AND winning_constructor = "ferrari" | CREATE TABLE table_name_16 (year VARCHAR, circuit VARCHAR, winning_constructor VARCHAR) | What year did Ferrari win the Kyalami circuit? |
SELECT circuit FROM table_name_38 WHERE winning_driver = "jim clark" AND year = "1962" | CREATE TABLE table_name_38 (circuit VARCHAR, winning_driver VARCHAR, year VARCHAR) | Which circuit did Jim Clark win in 1962? |
SELECT date FROM table_name_46 WHERE competition = "2011 lg cup" | CREATE TABLE table_name_46 (date VARCHAR, competition VARCHAR) | On what Date was the 2011 LG Cup Competittion? |
SELECT pick FROM table_name_68 WHERE nba_years_[a_] = "2" AND previous_team = "utah jazz" | CREATE TABLE table_name_68 (pick VARCHAR, previous_team VARCHAR, nba_years_ VARCHAR, a_ VARCHAR) | What is the pick for the player with 2 years in the NBA and who plays for the Utah Jazz? |
SELECT score FROM table_name_78 WHERE high_points = "carmelo anthony (26)" | CREATE TABLE table_name_78 (score VARCHAR, high_points VARCHAR) | What was the final score for the game in which Carmelo Anthony (26) was the high points scorer? |
SELECT game FROM table_name_48 WHERE high_rebounds = "chris andersen (12)" | CREATE TABLE table_name_48 (game VARCHAR, high_rebounds VARCHAR) | In which game number was Chris Andersen (12) the high rebounds scorer? |
SELECT score FROM table_name_39 WHERE team = "@ milwaukee" | CREATE TABLE table_name_39 (score VARCHAR, team VARCHAR) | What was the final score for the game played against @ Milwaukee? |
SELECT location_attendance FROM table_name_80 WHERE team = "l.a. lakers" | CREATE TABLE table_name_80 (location_attendance VARCHAR, team VARCHAR) | For the game played against the L.A. Lakers, where was the match played and what was the attendance level? |
SELECT name FROM table_name_35 WHERE laps = 50 AND grid > 9 AND team = "jim beam racing" AND time_retired = "+ 18.0s" | CREATE TABLE table_name_35 (name VARCHAR, time_retired VARCHAR, team VARCHAR, laps VARCHAR, grid VARCHAR) | What is Name, when Laps is "50", when Grid is greater than 9, when Team is "Jim Beam Racing", and when Time/Retired is "+ 18.0s"? |
SELECT MIN(laps) FROM table_name_83 WHERE grid > 7 AND name = "fabian coulthard" | CREATE TABLE table_name_83 (laps INTEGER, grid VARCHAR, name VARCHAR) | What is the lowest Laps, when Grid is greater than 7, and when Name is "Fabian Coulthard"? |
SELECT time_retired FROM table_name_65 WHERE laps < 49 AND name = "michael caruso" | CREATE TABLE table_name_65 (time_retired VARCHAR, laps VARCHAR, name VARCHAR) | What is Time/Retired, when Laps is less than 49, and when Name is "Michael Caruso"? |
SELECT time_retired FROM table_name_16 WHERE team = "team vodafone" AND grid > 4 | CREATE TABLE table_name_16 (time_retired VARCHAR, team VARCHAR, grid VARCHAR) | What is Time/Retired, when Team is "Team Vodafone", and when Grid is greater than 4? |
SELECT COUNT(draw) FROM table_name_75 WHERE artist = "dav mcnamara" AND place > 4 | CREATE TABLE table_name_75 (draw VARCHAR, artist VARCHAR, place VARCHAR) | What is the draw number of the Artist Dav Mcnamara and a place bigger than 4? |
SELECT stadium FROM table_name_86 WHERE runs = "144" | CREATE TABLE table_name_86 (stadium VARCHAR, runs VARCHAR) | What is the stadium name that has 144 as the runs? |
SELECT year FROM table_name_45 WHERE runs = "100*" | CREATE TABLE table_name_45 (year VARCHAR, runs VARCHAR) | For what year was 100* runs happen? |
SELECT runs FROM table_name_18 WHERE year = "2013" | CREATE TABLE table_name_18 (runs VARCHAR, year VARCHAR) | How many runs happened in 2013? |
SELECT runs FROM table_name_42 WHERE match = "42" | CREATE TABLE table_name_42 (runs VARCHAR, match VARCHAR) | With 42 as the match what are the runs? |
SELECT match FROM table_name_8 WHERE year = "2009" AND runs = "100*" | CREATE TABLE table_name_8 (match VARCHAR, year VARCHAR, runs VARCHAR) | In 2009 with 100* runs, what is the match? |
SELECT match FROM table_name_90 WHERE "stadium" = "stadium" | CREATE TABLE table_name_90 (match VARCHAR) | When the game was played in the stadium called stadium what was the match? |
SELECT 2 AS nd_round FROM table_name_86 WHERE score = "3 - 3" AND team_1 = "fc gueugnon (d2)" | CREATE TABLE table_name_86 (score VARCHAR, team_1 VARCHAR) | What is the 2nd round with a score of 3 - 3, and a team 1 fc gueugnon (d2)? |
SELECT 2 AS nd_round FROM table_name_60 WHERE score = "3 - 3" AND team_2 = "fc lorient (d2)" | CREATE TABLE table_name_60 (score VARCHAR, team_2 VARCHAR) | What is the 2nd round with a score of 3 - 3, and a team 2 fc lorient (d2)? |
SELECT 1 AS st_round FROM table_name_91 WHERE team_2 = "paris sg (d1)" | CREATE TABLE table_name_91 (team_2 VARCHAR) | What is the 1st round with a team 2 paris sg (d1)? |
SELECT name FROM table_name_39 WHERE transfer_window = "summer" AND country = "sen" | CREATE TABLE table_name_39 (name VARCHAR, transfer_window VARCHAR, country VARCHAR) | WHAT IS THE NAME WITH A SUMMER TRANSFER WINDOW, AND COUNTRY SEN? |
SELECT country FROM table_name_48 WHERE name = "kanu" | CREATE TABLE table_name_48 (country VARCHAR, name VARCHAR) | WHAT IS THE COUNTRY WITH NAME OF KANU? |
SELECT moving_to FROM table_name_27 WHERE country = "bel" | CREATE TABLE table_name_27 (moving_to VARCHAR, country VARCHAR) | WHAT IS THE MOVING TO LOCATION WITH BEL AS COUNTRY? |
SELECT country FROM table_name_93 WHERE transfer_window = "summer" | CREATE TABLE table_name_93 (country VARCHAR, transfer_window VARCHAR) | WHAT IS THE COUNTRY WITH SUMMER TRANSFER WINDOW? |
SELECT transfer_window FROM table_name_12 WHERE country = "bra" | CREATE TABLE table_name_12 (transfer_window VARCHAR, country VARCHAR) | WHAT IS THE TRANSFER WINDOW FOR THE COUNTRY OF BRA? |
SELECT opponent_number FROM table_name_78 WHERE attendance = "63,659" | CREATE TABLE table_name_78 (opponent_number VARCHAR, attendance VARCHAR) | What opponent had an attendance of 63,659? |
SELECT result FROM table_name_84 WHERE date = "10/18/1947" | CREATE TABLE table_name_84 (result VARCHAR, date VARCHAR) | What was the result of 10/18/1947? |
SELECT result FROM table_name_75 WHERE date = "10/04/1947" | CREATE TABLE table_name_75 (result VARCHAR, date VARCHAR) | What was the result for 10/04/1947? |
SELECT competition FROM table_name_91 WHERE report = "aiff" | CREATE TABLE table_name_91 (competition VARCHAR, report VARCHAR) | Which competition has a report of AIFF? |
SELECT score FROM table_name_18 WHERE report = "afc" AND date = "april 4, 2008" | CREATE TABLE table_name_18 (score VARCHAR, report VARCHAR, date VARCHAR) | What is the score for a report of AFC on April 4, 2008? |
SELECT attendance FROM table_name_9 WHERE opponent = "houston oilers" | CREATE TABLE table_name_9 (attendance VARCHAR, opponent VARCHAR) | What was the attendance for the game against the Houston Oilers? |
SELECT COUNT(attendance) FROM table_name_72 WHERE round = "f" | CREATE TABLE table_name_72 (attendance VARCHAR, round VARCHAR) | How many people attended round f? |
SELECT AVG(attendance) FROM table_name_28 WHERE round = "f" | CREATE TABLE table_name_28 (attendance INTEGER, round VARCHAR) | How many people on average attend round f? |
SELECT result FROM table_name_56 WHERE round = "qf" | CREATE TABLE table_name_56 (result VARCHAR, round VARCHAR) | What was the result in round qf? |
SELECT away_team FROM table_name_2 WHERE home_team = "blackpool" | CREATE TABLE table_name_2 (away_team VARCHAR, home_team VARCHAR) | Who played Blackpool when Blackpool was at home? |
SELECT tie_no FROM table_name_2 WHERE away_team = "arsenal" | CREATE TABLE table_name_2 (tie_no VARCHAR, away_team VARCHAR) | How many times did Arsenal tie when they were away? |
SELECT score FROM table_name_77 WHERE away_team = "blackpool" | CREATE TABLE table_name_77 (score VARCHAR, away_team VARCHAR) | What was the score of the game when Blackpool was away? |
SELECT result FROM table_name_14 WHERE time = "1:02" | CREATE TABLE table_name_14 (result VARCHAR, time VARCHAR) | What result had a time of 1:02? |
SELECT time FROM table_name_1 WHERE event = "k-1 the challenge 1999" | CREATE TABLE table_name_1 (time VARCHAR, event VARCHAR) | What time was the event k-1 the challenge 1999? |
SELECT location FROM table_name_13 WHERE method = "decision draw" AND round < 5 | CREATE TABLE table_name_13 (location VARCHAR, method VARCHAR, round VARCHAR) | Where was the decision draw before round 5? |
SELECT career_win_loss FROM table_name_11 WHERE tournament = "hamburg" | CREATE TABLE table_name_11 (career_win_loss VARCHAR, tournament VARCHAR) | What is Career Win-Loss, when Tournament is "Hamburg"? |
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.