answer stringlengths 32 484 | context stringlengths 27 489 | question stringlengths 12 244 |
|---|---|---|
SELECT time FROM table_name_14 WHERE method = "submission (knees)" | CREATE TABLE table_name_14 (time VARCHAR, method VARCHAR) | What is Time, when Method is "submission (knees)"? |
SELECT record FROM table_name_57 WHERE event = "ufc 40" | CREATE TABLE table_name_57 (record VARCHAR, event VARCHAR) | What is Record, when Event is "UFC 40"? |
SELECT track FROM table_name_79 WHERE year = "1979" | CREATE TABLE table_name_79 (track VARCHAR, year VARCHAR) | What is the name of the track that hosted the Swedish Grand Prix in 1979? |
SELECT 250 AS _cc FROM table_name_31 WHERE year = "1987" | CREATE TABLE table_name_31 (year VARCHAR) | Who won the 250 cc in 1987? |
SELECT 250 AS _cc FROM table_name_19 WHERE year = "1985" | CREATE TABLE table_name_19 (year VARCHAR) | Who won the 250 cc in 1985? |
SELECT opponent FROM table_name_95 WHERE record = "1-1" | CREATE TABLE table_name_95 (opponent VARCHAR, record VARCHAR) | Which opponent has 1-1 as the record? |
SELECT record FROM table_name_59 WHERE opponent = "magomedkhan gamzatkhanov" AND method = "submission" | CREATE TABLE table_name_59 (record VARCHAR, opponent VARCHAR, method VARCHAR) | What record has magomedkhan gamzatkhanov as the opponent, and submission as the method? |
SELECT round FROM table_name_49 WHERE record = "3-4" | CREATE TABLE table_name_49 (round VARCHAR, record VARCHAR) | What round has 3-4 as the record? |
SELECT record FROM table_name_9 WHERE res = "loss" AND round = "1" AND opponent = "akira maeda" | CREATE TABLE table_name_9 (record VARCHAR, opponent VARCHAR, res VARCHAR, round VARCHAR) | What record has loss as the res., 1 for the round, and akira maeda as the opponent? |
SELECT record FROM table_name_48 WHERE method = "decision (majority)" | CREATE TABLE table_name_48 (record VARCHAR, method VARCHAR) | What record has decision (majority) as the method? |
SELECT agg FROM table_name_63 WHERE team_1 = "cd elá nguema" | CREATE TABLE table_name_63 (agg VARCHAR, team_1 VARCHAR) | What is Agg., when Team 1 is CD Elá Nguema? |
SELECT score FROM table_name_72 WHERE player = "jim colbert" | CREATE TABLE table_name_72 (score VARCHAR, player VARCHAR) | What was Jim Colbert's score? |
SELECT country FROM table_name_24 WHERE score = 69 - 69 - 73 = 211 | CREATE TABLE table_name_24 (country VARCHAR, score VARCHAR) | What country scored 69-69-73=211? |
SELECT country FROM table_name_70 WHERE player = "bobby nichols" | CREATE TABLE table_name_70 (country VARCHAR, player VARCHAR) | What country does Bobby Nichols play for? |
SELECT time_retired FROM table_name_44 WHERE manufacturer = "honda" AND grid = "8" | CREATE TABLE table_name_44 (time_retired VARCHAR, manufacturer VARCHAR, grid VARCHAR) | WHAT IS THE TIME/ RETIRED WITH A HONDA MANUFACTURER, GRID 8? |
SELECT manufacturer FROM table_name_44 WHERE laps = "24" AND time_retired = "+1.965" | CREATE TABLE table_name_44 (manufacturer VARCHAR, laps VARCHAR, time_retired VARCHAR) | WHAT IS THE MANUFACTURER WITH 24 LAPS, AND +1.965 TIME/RETIRED? |
SELECT grid FROM table_name_22 WHERE manufacturer = "honda" AND laps = "24" AND time_retired = "+13.997" | CREATE TABLE table_name_22 (grid VARCHAR, time_retired VARCHAR, manufacturer VARCHAR, laps VARCHAR) | WHAT IS THE GRID OF HONDA, WITH 24 LAPS AND Time/Retired of +13.997? |
SELECT laps FROM table_name_7 WHERE grid = "26" | CREATE TABLE table_name_7 (laps VARCHAR, grid VARCHAR) | WHAT IS THE LAPS WITH A GRID OF 26? |
SELECT rider FROM table_name_5 WHERE grid = "21" | CREATE TABLE table_name_5 (rider VARCHAR, grid VARCHAR) | WHAT IS THE RIDER WITH A 21 GRID? |
SELECT manufacturer FROM table_name_39 WHERE laps = "24" AND grid = "27" | CREATE TABLE table_name_39 (manufacturer VARCHAR, laps VARCHAR, grid VARCHAR) | WHAT IS THE MANUFACTURER WITH 24 LAPS AND GRID 27? |
SELECT MAX(year_)[a_] FROM table_name_3 WHERE position = "linebacker" AND college = "georgia tech" | CREATE TABLE table_name_3 (a_ VARCHAR, year_ INTEGER, position VARCHAR, college VARCHAR) | What is the most recent year georgia tech chose a linebacker? |
SELECT player FROM table_name_44 WHERE to_par = "+2" AND country = "spain" | CREATE TABLE table_name_44 (player VARCHAR, to_par VARCHAR, country VARCHAR) | Who is the player from Spain that has a +2 to par? |
SELECT country FROM table_name_33 WHERE score = 69 - 71 = 140 | CREATE TABLE table_name_33 (country VARCHAR, score VARCHAR) | Name the country with a score of 69-71=140. |
SELECT to_par FROM table_name_13 WHERE country = "united states" AND player = "hale irwin" | CREATE TABLE table_name_13 (to_par VARCHAR, country VARCHAR, player VARCHAR) | What's the to par for Hale Irwin of the United States? |
SELECT to_par FROM table_name_42 WHERE place = "t5" AND player = "jim thorpe" | CREATE TABLE table_name_42 (to_par VARCHAR, place VARCHAR, player VARCHAR) | What's the to par for Jim Thorpe in T5 Place? |
SELECT MIN(score) FROM table_name_97 WHERE player = "jack nicklaus" | CREATE TABLE table_name_97 (score INTEGER, player VARCHAR) | What was Jack Nicklaus's score after round 1? |
SELECT AVG(laps) FROM table_name_15 WHERE time = "+39.476" AND grid > 11 | CREATE TABLE table_name_15 (laps INTEGER, time VARCHAR, grid VARCHAR) | Which Laps have a Time of +39.476, and a Grid larger than 11? |
SELECT time FROM table_name_40 WHERE laps < 28 AND rider = "nicky hayden" | CREATE TABLE table_name_40 (time VARCHAR, laps VARCHAR, rider VARCHAR) | Which Time has Laps smaller than 28, and a Rider of nicky hayden? |
SELECT rider FROM table_name_42 WHERE grid > 6 AND laps = 28 AND time = "+39.476" | CREATE TABLE table_name_42 (rider VARCHAR, time VARCHAR, grid VARCHAR, laps VARCHAR) | Which Rider has a Grid larger than 6, and has Laps of 28, and a Time of +39.476? |
SELECT MIN(bronze) FROM table_name_34 WHERE total = 4 AND gold < 1 | CREATE TABLE table_name_34 (bronze INTEGER, total VARCHAR, gold VARCHAR) | Which Bronze has a Total of 4, and a Gold smaller than 1? |
SELECT SUM(bronze) FROM table_name_53 WHERE silver > 1 AND total > 3 AND nation = "turkey" AND gold < 2 | CREATE TABLE table_name_53 (bronze INTEGER, gold VARCHAR, nation VARCHAR, silver VARCHAR, total VARCHAR) | Which Bronze has a Silver larger than 1, a Total larger than 3, a Nation of turkey, and a Gold smaller than 2? |
SELECT AVG(gold) FROM table_name_21 WHERE bronze = 1 AND total < 3 | CREATE TABLE table_name_21 (gold INTEGER, bronze VARCHAR, total VARCHAR) | Which Gold has a Bronze of 1, and a Total smaller than 3? |
SELECT AVG(week) FROM table_name_43 WHERE opponent = "new orleans saints" | CREATE TABLE table_name_43 (week INTEGER, opponent VARCHAR) | In what Week is the Opponent the New Orleans Saints? |
SELECT SUM(week) FROM table_name_10 WHERE opponent = "tampa bay buccaneers" AND attendance < 44 OFFSET 506 | CREATE TABLE table_name_10 (week INTEGER, opponent VARCHAR, attendance VARCHAR) | In what Weeks is the game against the Tampa Bay Buccaneers with less than 44,506 in Attendance? |
SELECT home FROM table_name_77 WHERE record = "24–16–6" | CREATE TABLE table_name_77 (home VARCHAR, record VARCHAR) | What team was home, when the record was 24–16–6? |
SELECT date FROM table_name_25 WHERE visitor = "boston bruins" AND record = "4–0–1" | CREATE TABLE table_name_25 (date VARCHAR, visitor VARCHAR, record VARCHAR) | What date was the visitor the Boston Bruins, and the record was 4–0–1? |
SELECT high_points FROM table_name_84 WHERE game = 81 | CREATE TABLE table_name_84 (high_points VARCHAR, game VARCHAR) | Who had the most points in game 81? |
SELECT flight FROM table_name_26 WHERE aircraft = "vickers viscount type 794" | CREATE TABLE table_name_26 (flight VARCHAR, aircraft VARCHAR) | Which flight had an aircraft of vickers viscount type 794? |
SELECT flight FROM table_name_28 WHERE aircraft = "avro rj-100" | CREATE TABLE table_name_28 (flight VARCHAR, aircraft VARCHAR) | Which flight had the aircraft avro rj-100? |
SELECT date FROM table_name_14 WHERE registration = "tc-jes" | CREATE TABLE table_name_14 (date VARCHAR, registration VARCHAR) | When was the registration of tc-jes? |
SELECT fatalities FROM table_name_60 WHERE location = "ankara" AND aircraft = "douglas c-47" | CREATE TABLE table_name_60 (fatalities VARCHAR, location VARCHAR, aircraft VARCHAR) | Which fatality was at ankara for the aircraft douglas c-47? |
SELECT COUNT(round) FROM table_name_12 WHERE res = "win" AND method = "n/a" | CREATE TABLE table_name_12 (round VARCHAR, res VARCHAR, method VARCHAR) | How many total rounds have the results of win, and n/a as the method? |
SELECT time FROM table_name_80 WHERE event = "rings: final capture" | CREATE TABLE table_name_80 (time VARCHAR, event VARCHAR) | How long did the match last in the Rings: Final Capture event? |
SELECT res FROM table_name_55 WHERE opponent = "wataru sakata" | CREATE TABLE table_name_55 (res VARCHAR, opponent VARCHAR) | What is the result for the match against Wataru Sakata? |
SELECT res FROM table_name_19 WHERE opponent = "oleg taktarov" | CREATE TABLE table_name_19 (res VARCHAR, opponent VARCHAR) | The match against Oleg Taktarov had what result? |
SELECT method FROM table_name_56 WHERE record = "4-2" | CREATE TABLE table_name_56 (method VARCHAR, record VARCHAR) | What was the method when 4-2 was the record? |
SELECT score FROM table_name_27 WHERE tie_no = "6" | CREATE TABLE table_name_27 (score VARCHAR, tie_no VARCHAR) | What was the score for Tie no. 6? |
SELECT tie_no FROM table_name_21 WHERE away_team = "leicester city" | CREATE TABLE table_name_21 (tie_no VARCHAR, away_team VARCHAR) | What was the tie against the away team, Leicester City? |
SELECT round FROM table_name_43 WHERE time = "3:01" | CREATE TABLE table_name_43 (round VARCHAR, time VARCHAR) | Which round has a time of 3:01? |
SELECT location FROM table_name_4 WHERE round = "3" AND event = "ufc 110" | CREATE TABLE table_name_4 (location VARCHAR, round VARCHAR, event VARCHAR) | Where is the UFC 110 event with 3 rounds located? |
SELECT home_team AS score FROM table_name_74 WHERE date = "sunday 24 february" | CREATE TABLE table_name_74 (home_team VARCHAR, date VARCHAR) | Which Home team score is on sunday 24 february? |
SELECT crowd FROM table_name_85 WHERE home_team = "st kilda" | CREATE TABLE table_name_85 (crowd VARCHAR, home_team VARCHAR) | Which Crowd has a Home team of st kilda? |
SELECT away_team FROM table_name_65 WHERE ground = "gabba" | CREATE TABLE table_name_65 (away_team VARCHAR, ground VARCHAR) | Which Away team has a Ground of gabba? |
SELECT MAX(crowd) FROM table_name_85 WHERE away_team = "sydney" | CREATE TABLE table_name_85 (crowd INTEGER, away_team VARCHAR) | Which Crowd has a Away team of sydney? |
SELECT SUM(owgr_pts) FROM table_name_37 WHERE dates = "may 10-13" | CREATE TABLE table_name_37 (owgr_pts INTEGER, dates VARCHAR) | Which OWGR pts has Dates of may 10-13? |
SELECT home FROM table_name_5 WHERE attendance > 1 OFFSET 858 | CREATE TABLE table_name_5 (home VARCHAR, attendance INTEGER) | Which Home has an Attendance larger than 1,858? |
SELECT MAX(attendance) FROM table_name_29 WHERE score = "0:2" | CREATE TABLE table_name_29 (attendance INTEGER, score VARCHAR) | Which Attendance has a Score of 0:2? |
SELECT date FROM table_name_32 WHERE attendance > 1 OFFSET 858 | CREATE TABLE table_name_32 (date VARCHAR, attendance INTEGER) | Which Date has an Attendance larger than 1,858? |
SELECT home FROM table_name_63 WHERE score = "0:2" | CREATE TABLE table_name_63 (home VARCHAR, score VARCHAR) | Which Home has a Score of 0:2? |
SELECT date FROM table_name_15 WHERE location_attendance = "verizon center 7,448" | CREATE TABLE table_name_15 (date VARCHAR, location_attendance VARCHAR) | Which Date has a Location/Attendance of verizon center 7,448? |
SELECT AVG(game) FROM table_name_28 WHERE score = "101-109 (ot)" | CREATE TABLE table_name_28 (game INTEGER, score VARCHAR) | Which Game has a Score of 101-109 (ot)? |
SELECT high_assists FROM table_name_96 WHERE location_attendance = "fleetcenter" AND score = "w 120-87" | CREATE TABLE table_name_96 (high_assists VARCHAR, location_attendance VARCHAR, score VARCHAR) | Which player made the highest number of assists during the game played at the FleetCenter, with end score of W 120-87? |
SELECT high_points FROM table_name_77 WHERE score = "w 93-85" | CREATE TABLE table_name_77 (high_points VARCHAR, score VARCHAR) | Which player was the high points scorer during the game with an end score of W 93-85? |
SELECT score FROM table_name_93 WHERE high_points = "p. pierce (31)" | CREATE TABLE table_name_93 (score VARCHAR, high_points VARCHAR) | For the game in which P. Pierce (31) scored the most points, what was the final score? |
SELECT high_assists FROM table_name_4 WHERE game = 2 | CREATE TABLE table_name_4 (high_assists VARCHAR, game VARCHAR) | Who made the most assists in Game 2 of this season? |
SELECT MIN(goals_for) FROM table_name_37 WHERE goals_against > 58 AND played > 30 | CREATE TABLE table_name_37 (goals_for INTEGER, goals_against VARCHAR, played VARCHAR) | What is the smallest number of goals when the goals against are more than 58 and played number is more than 30? |
SELECT MIN(position) FROM table_name_2 WHERE points = 32 AND wins > 13 | CREATE TABLE table_name_2 (position INTEGER, points VARCHAR, wins VARCHAR) | What is the minimum position when points are 32 and wins are greater than 13? |
SELECT MAX(draws) FROM table_name_1 WHERE goals_against > 33 AND losses = 13 AND goals_for < 51 | CREATE TABLE table_name_1 (draws INTEGER, goals_for VARCHAR, goals_against VARCHAR, losses VARCHAR) | What is the most draws when goals against are more than 33, losses are 13 and goals for is less than 51? |
SELECT AVG(position) FROM table_name_81 WHERE wins < 14 AND draws < 3 | CREATE TABLE table_name_81 (position INTEGER, wins VARCHAR, draws VARCHAR) | What is the position when wins are fewer than 14 and draws are fewer than 3? |
SELECT club FROM table_name_60 WHERE losses = 15 AND wins = 14 | CREATE TABLE table_name_60 (club VARCHAR, losses VARCHAR, wins VARCHAR) | Which club has 15 losses and 14 wins? |
SELECT home FROM table_name_68 WHERE date = "march 19" | CREATE TABLE table_name_68 (home VARCHAR, date VARCHAR) | What home is dated march 19? |
SELECT home FROM table_name_2 WHERE points = 46 | CREATE TABLE table_name_2 (home VARCHAR, points VARCHAR) | What home has 46 points? |
SELECT released FROM table_name_13 WHERE series_sorted = "6y/aa" | CREATE TABLE table_name_13 (released VARCHAR, series_sorted VARCHAR) | What was the date of release for the episode sorted value of 6Y/AA? |
SELECT series_sorted FROM table_name_91 WHERE released = "december 2009" | CREATE TABLE table_name_91 (series_sorted VARCHAR, released VARCHAR) | What is the series sorted value for the episode released December 2009? |
SELECT round FROM table_name_76 WHERE team__number2 = "gomel" | CREATE TABLE table_name_76 (round VARCHAR, team__number2 VARCHAR) | What round has Team #2 Gomel? |
SELECT elevator FROM table_name_56 WHERE order_and_title = "cardinal-deacon of s. nicola in carcere tulliano" | CREATE TABLE table_name_56 (elevator VARCHAR, order_and_title VARCHAR) | Who was the elevator when the Cardinal-Deacon of S. Nicola in Carcere Tulliano was the order and title? |
SELECT elevator FROM table_name_30 WHERE order_and_title = "cardinal-priest of s. prassede" | CREATE TABLE table_name_30 (elevator VARCHAR, order_and_title VARCHAR) | The Cardinal-Priest of S. Prassede order and title has who as the elevator? |
SELECT nationality FROM table_name_98 WHERE elevator = "innocent iv" | CREATE TABLE table_name_98 (nationality VARCHAR, elevator VARCHAR) | When the elevator was Innocent IV what was the nationality? |
SELECT elevator FROM table_name_63 WHERE elector = "giovanni gaetano orsini" | CREATE TABLE table_name_63 (elevator VARCHAR, elector VARCHAR) | When Giovanni Gaetano Orsini was the elector who was the elevator? |
SELECT nationality FROM table_name_11 WHERE elector = "anchero pantaleone" | CREATE TABLE table_name_11 (nationality VARCHAR, elector VARCHAR) | When Anchero Pantaleone was the elector what is under nationality? |
SELECT order_and_title FROM table_name_78 WHERE elevated = "may 1262" AND elector = "guillaume de bray" | CREATE TABLE table_name_78 (order_and_title VARCHAR, elevated VARCHAR, elector VARCHAR) | With a date of May 1262 under elevated, Guillaume de Bray as the elector, what is the order and title? |
SELECT result FROM table_name_35 WHERE opponent = "san francisco 49ers" | CREATE TABLE table_name_35 (result VARCHAR, opponent VARCHAR) | What was the result when the San Francisco 49ers were the opponents? |
SELECT score FROM table_name_20 WHERE tournament = "rabat" AND opponent_in_the_final = "yannik reuter" | CREATE TABLE table_name_20 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR) | What was the Score of the Rabat Tournament with Opponent in the final Yannik Reuter? |
SELECT opponent_in_the_final FROM table_name_4 WHERE surface = "clay" AND score = "6–0, 6–2" | CREATE TABLE table_name_4 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR) | What is the Opponent of the match played on a Clay Surface with a Score of 6–0, 6–2? |
SELECT date FROM table_name_49 WHERE opponent_in_the_final = "filip polášek" | CREATE TABLE table_name_49 (date VARCHAR, opponent_in_the_final VARCHAR) | What is the Date of the match with Opponent in the final of Filip Polášek? |
SELECT score FROM table_name_56 WHERE tournament = "rabat" AND opponent_in_the_final = "frederico gil" | CREATE TABLE table_name_56 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR) | What is the Score of the Rabat Tournament with Opponent in the final of Frederico Gil? |
SELECT date FROM table_name_40 WHERE result = "w 30–15" | CREATE TABLE table_name_40 (date VARCHAR, result VARCHAR) | On what Date was the Result of the game W 30–15? |
SELECT date FROM table_name_6 WHERE week = 9 | CREATE TABLE table_name_6 (date VARCHAR, week VARCHAR) | What is the Date of Week 9? |
SELECT result FROM table_name_56 WHERE date = "september 1, 1996" | CREATE TABLE table_name_56 (result VARCHAR, date VARCHAR) | What is the Result of the game on September 1, 1996? |
SELECT AVG(week) FROM table_name_22 WHERE result = "w 34–24" | CREATE TABLE table_name_22 (week INTEGER, result VARCHAR) | On what Week was the Result W 34–24? |
SELECT week FROM table_name_42 WHERE date = "november 10, 1996" | CREATE TABLE table_name_42 (week VARCHAR, date VARCHAR) | What is the Week on November 10, 1996? |
SELECT status FROM table_name_2 WHERE census_ranking = "3,474 of 5,008" | CREATE TABLE table_name_2 (status VARCHAR, census_ranking VARCHAR) | What is the Status of the Paris with a Census Ranking of 3,474 of 5,008? |
SELECT COUNT(area_km_2) FROM table_name_58 WHERE population = 2 OFFSET 113 | CREATE TABLE table_name_58 (area_km_2 VARCHAR, population VARCHAR) | What is the Area of the Parish with a Population of 2,113? |
SELECT MIN(population) FROM table_name_85 WHERE area_km_2 = 236.76 | CREATE TABLE table_name_85 (population INTEGER, area_km_2 VARCHAR) | What is the Population of the Parish with an Area km 2 of 236.76? |
SELECT area_km_2 FROM table_name_71 WHERE population = 71 | CREATE TABLE table_name_71 (area_km_2 VARCHAR, population VARCHAR) | What is the Area of the Parish with a Population of 71? |
SELECT elevation_ + _height FROM table_name_21 WHERE name = "halfbeak" | CREATE TABLE table_name_21 (elevation_ VARCHAR, _height VARCHAR, name VARCHAR) | What is the elevation and height for Halfbeak? |
SELECT purpose FROM table_name_91 WHERE name = "long shot" | CREATE TABLE table_name_91 (purpose VARCHAR, name VARCHAR) | What is the purpose of Long Shot? |
SELECT yield FROM table_name_69 WHERE purpose = "weapons development" AND location = "nts area u2r" | CREATE TABLE table_name_69 (yield VARCHAR, purpose VARCHAR, location VARCHAR) | What is the yield in NTS Area U2R when the purpose is weapons development? |
SELECT location FROM table_name_60 WHERE listed = "1977-09-15" | CREATE TABLE table_name_60 (location VARCHAR, listed VARCHAR) | What location was listed on 1977-09-15? |
SELECT borough FROM table_name_54 WHERE location = "seward" AND listed = "1977-11-23" | CREATE TABLE table_name_54 (borough VARCHAR, location VARCHAR, listed VARCHAR) | What is the Borough for the Seward listing on 1977-11-23? |
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.