answer stringlengths 32 484 | context stringlengths 27 489 | question stringlengths 12 244 |
|---|---|---|
SELECT record FROM table_name_41 WHERE high_assists = "beno udrih (4)" AND game = 26 | CREATE TABLE table_name_41 (record VARCHAR, high_assists VARCHAR, game VARCHAR) | What is the record of game 26 with beno udrih (4) as the highest assists? |
SELECT score FROM table_name_37 WHERE game = 25 | CREATE TABLE table_name_37 (score VARCHAR, game VARCHAR) | What is the score of game 25? |
SELECT MAX(draw) FROM table_name_73 WHERE song = "u ritmu ljubavi" AND points > 87 | CREATE TABLE table_name_73 (draw INTEGER, song VARCHAR, points VARCHAR) | WHAT IS THE DRAW FOR u ritmu ljubavi, POINTS LARGER THAN 87? |
SELECT draw FROM table_name_76 WHERE performer = "andrea cubric" | CREATE TABLE table_name_76 (draw VARCHAR, performer VARCHAR) | WHAT IS THE DRAW FOR PERFORMER ANDREA CUBRIC? |
SELECT AVG(game) FROM table_name_77 WHERE record = "30-22" | CREATE TABLE table_name_77 (game INTEGER, record VARCHAR) | What is the game number when the record is 30-22? |
SELECT location FROM table_name_68 WHERE score = "w 82-76" | CREATE TABLE table_name_68 (location VARCHAR, score VARCHAR) | At what location was the score W 82-76? |
SELECT record FROM table_name_75 WHERE location = "rose garden" | CREATE TABLE table_name_75 (record VARCHAR, location VARCHAR) | What was the record when the game was at the Rose Garden? |
SELECT MAX(games) FROM table_name_33 WHERE draws > 0 AND lost = 11 | CREATE TABLE table_name_33 (games INTEGER, draws VARCHAR, lost VARCHAR) | What is the highest number of games with more than 0 draws and 11 losses? |
SELECT 1994 FROM table_name_22 WHERE 1998 = "2r" | CREATE TABLE table_name_22 (Id VARCHAR) | What is the 1994 finish in the event that had a 1998 finish of 2R? |
SELECT tournament FROM table_name_75 WHERE 1996 = "a" AND 1998 = "a" AND 1994 = "rr" | CREATE TABLE table_name_75 (tournament VARCHAR) | Which tournament had a 1994 finish of RR and 1996 and 1998 finishes of A? |
SELECT 1994 FROM table_name_92 WHERE 1997 = "qf" AND 1995 = "3r" | CREATE TABLE table_name_92 (Id VARCHAR) | What is the 1994 finish associated with a 1995 finish of 3R and 1997 of QF? |
SELECT 1999 FROM table_name_24 WHERE tournament = "rome" | CREATE TABLE table_name_24 (tournament VARCHAR) | What is the 1999 finish for the tournament in Rome? |
SELECT 1991 FROM table_name_60 WHERE 1993 = "grand slams" | CREATE TABLE table_name_60 (Id VARCHAR) | What is the 1991 finish for the 1993 Grand Slams? |
SELECT playoff_apps FROM table_name_10 WHERE position = "df" AND name = "thomas heary" | CREATE TABLE table_name_10 (playoff_apps VARCHAR, position VARCHAR, name VARCHAR) | What was the playoff apps for Thomas Heary, that had the position df? |
SELECT MIN(squad_no) FROM table_name_28 WHERE total_goals > 6 AND league_goals < 8 AND playoff_goals > 0 | CREATE TABLE table_name_28 (squad_no INTEGER, playoff_goals VARCHAR, total_goals VARCHAR, league_goals VARCHAR) | What's the lowest squad number with more than 6 goals, fewer than 8 league goals, and more than 0 playoff goals? |
SELECT SUM(total_goals) FROM table_name_88 WHERE playoff_apps = "2" AND fa_cup_apps = "2" AND league_cup_goals < 0 | CREATE TABLE table_name_88 (total_goals INTEGER, league_cup_goals VARCHAR, playoff_apps VARCHAR, fa_cup_apps VARCHAR) | How many total goals did the squad with 2 playoff apps, 2 FA Cup Apps, and 0 League Cup goals get? |
SELECT title FROM table_name_28 WHERE rank = 9 | CREATE TABLE table_name_28 (title VARCHAR, rank VARCHAR) | Which title had rank 9? |
SELECT title FROM table_name_7 WHERE rank = 7 | CREATE TABLE table_name_7 (title VARCHAR, rank VARCHAR) | Which title placed in rank 7? |
SELECT volume AS :issue FROM table_name_78 WHERE artist = "santana featuring the product g&b" | CREATE TABLE table_name_78 (volume VARCHAR, artist VARCHAR) | shows for the artist Santana featuring the product g&b? |
SELECT volume AS :issue FROM table_name_47 WHERE weeks_on_top = "3" AND artist = "third eye blind" | CREATE TABLE table_name_47 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR) | What volume 3 weeks on top for Third Eye Blind? |
SELECT music_video FROM table_name_91 WHERE album = "high society" AND length = "3:50" | CREATE TABLE table_name_91 (music_video VARCHAR, album VARCHAR, length VARCHAR) | What was the music video that was from the album High Society, with a length of 3:50? |
SELECT music_video FROM table_name_96 WHERE album = "map of the human soul" | CREATE TABLE table_name_96 (music_video VARCHAR, album VARCHAR) | Which music video was from the album Map of the Human Soul? |
SELECT agg FROM table_name_94 WHERE team_2 = "cementarnica" | CREATE TABLE table_name_94 (agg VARCHAR, team_2 VARCHAR) | What is the agg when team 2 was Cementarnica? |
SELECT COUNT(podiums) FROM table_name_86 WHERE fastest_laps > 4 AND races < 149 | CREATE TABLE table_name_86 (podiums VARCHAR, fastest_laps VARCHAR, races VARCHAR) | What are the total number of podiums for more than 4 laps, and less than 149 races? |
SELECT COUNT(score) FROM table_name_88 WHERE country = "fiji" | CREATE TABLE table_name_88 (score VARCHAR, country VARCHAR) | What was the score for the golfer from the country of fiji? |
SELECT SUM(score) FROM table_name_96 WHERE to_par = "e" AND country = "united states" | CREATE TABLE table_name_96 (score INTEGER, to_par VARCHAR, country VARCHAR) | What was the score of the golfer from the united states who had a To par of e? |
SELECT player FROM table_name_2 WHERE country = "united states" AND place = "t10" | CREATE TABLE table_name_2 (player VARCHAR, country VARCHAR, place VARCHAR) | Which united states player finished with a place of t10? |
SELECT label FROM table_name_24 WHERE format = "stereo lp" AND catalog = "scyl-934,623" | CREATE TABLE table_name_24 (label VARCHAR, format VARCHAR, catalog VARCHAR) | What label uses the stereo LP for catalog scyl-934,623? |
SELECT date FROM table_name_64 WHERE region = "new zealand" AND catalog = "cy-24623" | CREATE TABLE table_name_64 (date VARCHAR, region VARCHAR, catalog VARCHAR) | On what date was the catalog cy-24623 for New Zealand? |
SELECT date FROM table_name_29 WHERE catalog = "scyl-934,623" AND region = "australia" | CREATE TABLE table_name_29 (date VARCHAR, catalog VARCHAR, region VARCHAR) | On what date was the catalog scyl-934,623 for Australia? |
SELECT label FROM table_name_91 WHERE catalog = "y8hr 1006" AND date = "1972" | CREATE TABLE table_name_91 (label VARCHAR, catalog VARCHAR, date VARCHAR) | Which label has a catalog of y8hr 1006 in 1972? |
SELECT catalog FROM table_name_10 WHERE format = "stereo compact cassette" | CREATE TABLE table_name_10 (catalog VARCHAR, format VARCHAR) | What catalog uses the stereo compact cassette format? |
SELECT AVG(game) FROM table_name_91 WHERE date = "december 6" | CREATE TABLE table_name_91 (game INTEGER, date VARCHAR) | What is the average game that has December 6 as the date? |
SELECT AVG(game) FROM table_name_32 WHERE date = "december 17" | CREATE TABLE table_name_32 (game INTEGER, date VARCHAR) | What is the average game that has December 17 as the date? |
SELECT AVG(total) FROM table_name_92 WHERE silver = 0 AND rank = "6" AND gold < 0 | CREATE TABLE table_name_92 (total INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR) | Can you tell me the average Total that had the Silver of 0, and the Rank of 6, and the Gold smaller than 0? |
SELECT MAX(gold) FROM table_name_15 WHERE bronze > 3 AND total < 24 | CREATE TABLE table_name_15 (gold INTEGER, bronze VARCHAR, total VARCHAR) | Can you tell me the highest Gold that has the Bronze larger than 3, and the Total smaller than 24? |
SELECT MAX(gold) FROM table_name_87 WHERE bronze < 1 AND total > 4 | CREATE TABLE table_name_87 (gold INTEGER, bronze VARCHAR, total VARCHAR) | Can you tell me the highest Gold that has the Bronze smaller than 1, and the Total larger than 4? |
SELECT MIN(physician__gp_) & _specialist_ FROM table_name_76 WHERE all_nurses = 91 | CREATE TABLE table_name_76 (_specialist_ VARCHAR, physician__gp_ INTEGER, all_nurses VARCHAR) | What is the number of physicians in the region with an all nurses number of 91? |
SELECT moving_from FROM table_name_27 WHERE type = "transfer" AND name = "andy webster" | CREATE TABLE table_name_27 (moving_from VARCHAR, type VARCHAR, name VARCHAR) | What is Moving, when Type is "Transfer", and when Name is "Andy Webster"? |
SELECT moving_from FROM table_name_65 WHERE ends < 2011 | CREATE TABLE table_name_65 (moving_from VARCHAR, ends INTEGER) | What is Moving From, when Ends is before 2011? |
SELECT category FROM table_name_80 WHERE year = 2011 | CREATE TABLE table_name_80 (category VARCHAR, year VARCHAR) | What was the category that sheridan smith was nominated for in 2011? |
SELECT award FROM table_name_62 WHERE nominated_work = "flare path" AND category = "best featured actress in a play" | CREATE TABLE table_name_62 (award VARCHAR, nominated_work VARCHAR, category VARCHAR) | What ward was she nominated at for her work, Flare Path for the category of best featured actress in a play? |
SELECT result FROM table_name_33 WHERE category = "best actress in a musical" AND award = "laurence olivier award" AND year = 2009 | CREATE TABLE table_name_33 (result VARCHAR, year VARCHAR, category VARCHAR, award VARCHAR) | What is the result for the nomination at the Laurence Olivier award in 2009 for best actress in a musical? |
SELECT MIN(week) FROM table_name_69 WHERE opponent = "atlanta falcons" | CREATE TABLE table_name_69 (week INTEGER, opponent VARCHAR) | What is the lowest attendance when the Atlanta Falcons were the opponent? |
SELECT date_departed FROM table_name_38 WHERE class = "grimsby class sloop" | CREATE TABLE table_name_38 (date_departed VARCHAR, class VARCHAR) | What's the departed date for Grimsby Class Sloop? |
SELECT date_departed FROM table_name_51 WHERE navy = "royal navy" AND name = "hms leith" | CREATE TABLE table_name_51 (date_departed VARCHAR, navy VARCHAR, name VARCHAR) | What's the departed date that the HMS Leith of the Royal Navy? |
SELECT class FROM table_name_51 WHERE name = "hms fowey" | CREATE TABLE table_name_51 (class VARCHAR, name VARCHAR) | What's the class of the HMS Fowey? |
SELECT class FROM table_name_75 WHERE name = "hms heartsease" | CREATE TABLE table_name_75 (class VARCHAR, name VARCHAR) | What's the class of the HMS Heartsease? |
SELECT record FROM table_name_9 WHERE game > 15 AND opponent = "edmonton oilers" | CREATE TABLE table_name_9 (record VARCHAR, game VARCHAR, opponent VARCHAR) | Can you tell me the Record that has the Game larger than 15, and the Opponent of edmonton oilers? |
SELECT score FROM table_name_98 WHERE date = "11/17/1979" | CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR) | Can you tell me the Score that has the Date of 11/17/1979? |
SELECT opponent FROM table_name_8 WHERE record = "7-7-1" | CREATE TABLE table_name_8 (opponent VARCHAR, record VARCHAR) | Can you tell me the Opponent that has the Record of 7-7-1? |
SELECT score FROM table_name_97 WHERE opponent = "at edmonton oilers" | CREATE TABLE table_name_97 (score VARCHAR, opponent VARCHAR) | Can you tell me the Score that has the Opponent of at edmonton oilers? |
SELECT date FROM table_name_11 WHERE record = "9-10-2" | CREATE TABLE table_name_11 (date VARCHAR, record VARCHAR) | Can you tell me the Date thay has the Reocrd of 9-10-2? |
SELECT fin_pos FROM table_name_44 WHERE grid = "3" | CREATE TABLE table_name_44 (fin_pos VARCHAR, grid VARCHAR) | What is the finishing position for the person who had a grid of 3? |
SELECT team FROM table_name_72 WHERE car_no = "15" | CREATE TABLE table_name_72 (team VARCHAR, car_no VARCHAR) | Which team had car number 15? |
SELECT laps FROM table_name_19 WHERE grid = "10" | CREATE TABLE table_name_19 (laps VARCHAR, grid VARCHAR) | What is the number of laps completed by the car in grid 10? |
SELECT driver FROM table_name_91 WHERE team = "andretti green" AND points = "32" | CREATE TABLE table_name_91 (driver VARCHAR, team VARCHAR, points VARCHAR) | Which driver earned 32 points from the Andretti Green team? |
SELECT date FROM table_name_46 WHERE serial = "10b" | CREATE TABLE table_name_46 (date VARCHAR, serial VARCHAR) | What is the date for the 10b serial? |
SELECT team FROM table_name_20 WHERE goals_against < 64 AND points_2 = 63 AND goals_for = 101 | CREATE TABLE table_name_20 (team VARCHAR, goals_for VARCHAR, goals_against VARCHAR, points_2 VARCHAR) | What team has less than 64 goals against, 101 goals for, and a Points 2 total of 63? |
SELECT AVG(points_2) FROM table_name_96 WHERE played > 46 | CREATE TABLE table_name_96 (points_2 INTEGER, played INTEGER) | What is the Points 2 average of teams that have played more than 46 games? |
SELECT mkhedruli FROM table_name_41 WHERE asomtavruli = "ⴒ" | CREATE TABLE table_name_41 (mkhedruli VARCHAR, asomtavruli VARCHAR) | What is the Mkhedruli symbol for the Asomtavruli ⴒ? |
SELECT letter_name FROM table_name_74 WHERE asomtavruli = "ⴙ" | CREATE TABLE table_name_74 (letter_name VARCHAR, asomtavruli VARCHAR) | What is the letter name for the Asomtavruli ⴙ? |
SELECT phoneme FROM table_name_43 WHERE nuskhuri = "ⴥ" | CREATE TABLE table_name_43 (phoneme VARCHAR, nuskhuri VARCHAR) | What is the Phoneme symbol for ⴥ in Nuskhuri? |
SELECT phoneme FROM table_name_18 WHERE letter_name = "zɛn" | CREATE TABLE table_name_18 (phoneme VARCHAR, letter_name VARCHAR) | What is the Phoneme symbol for the letter name zɛn? |
SELECT nuskhuri FROM table_name_80 WHERE asomtavruli = "ⴋ" | CREATE TABLE table_name_80 (nuskhuri VARCHAR, asomtavruli VARCHAR) | What is teh Nuskhuri symbol for ⴋ in Asomtavruli? |
SELECT AVG(pick__number) FROM table_name_87 WHERE position = "linebacker" AND player = "bob bruenig" AND round < 3 | CREATE TABLE table_name_87 (pick__number INTEGER, round VARCHAR, position VARCHAR, player VARCHAR) | What is the average value for Pick #, when Position is Linebacker, when Player is Bob Bruenig, and when Round is less than 3? |
SELECT SUM(pick__number) FROM table_name_36 WHERE position = "guard" AND round > 2 | CREATE TABLE table_name_36 (pick__number INTEGER, position VARCHAR, round VARCHAR) | What is the sum of Pick #, when Position is Guard, and when Round is greater than 2? |
SELECT AVG(round) FROM table_name_22 WHERE pick__number > 70 AND position = "tackle" | CREATE TABLE table_name_22 (round INTEGER, pick__number VARCHAR, position VARCHAR) | What is the average Round, when Pick # is greater than 70, and when Position is Tackle? |
SELECT MIN(round) FROM table_name_50 WHERE position = "linebacker" AND player = "thomas henderson" | CREATE TABLE table_name_50 (round INTEGER, position VARCHAR, player VARCHAR) | What is the lowest Round, when Position is Linebacker, and when Player is Thomas Henderson? |
SELECT COUNT(pick__number) FROM table_name_55 WHERE college = "oklahoma" AND round < 4 | CREATE TABLE table_name_55 (pick__number VARCHAR, college VARCHAR, round VARCHAR) | What is the total number of Pick #, when College is Oklahoma, and when Round is less than 4? |
SELECT team FROM table_name_60 WHERE head_coach = "michalis pamboris" | CREATE TABLE table_name_60 (team VARCHAR, head_coach VARCHAR) | Which Team has a Head Coach of michalis pamboris? |
SELECT MAX(capacity) FROM table_name_23 WHERE kitmaker = "umbro" | CREATE TABLE table_name_23 (capacity INTEGER, kitmaker VARCHAR) | What is umbro's highest capacity? |
SELECT venue FROM table_name_37 WHERE kitmaker = "lotto" AND team = "apoel" | CREATE TABLE table_name_37 (venue VARCHAR, kitmaker VARCHAR, team VARCHAR) | Which Venue has a Kitmaker of lotto, and a Team of apoel? |
SELECT drawn FROM table_name_12 WHERE tries_for = "58" | CREATE TABLE table_name_12 (drawn VARCHAR, tries_for VARCHAR) | What is the drawn number when there are 58 tries? |
SELECT played FROM table_name_1 WHERE tries_against = "correct as of 18:13 26 may 2008" | CREATE TABLE table_name_1 (played VARCHAR, tries_against VARCHAR) | What is the played number when the tries against shows correct as of 18:13 26 May 2008? |
SELECT drawn FROM table_name_85 WHERE points_for = "402" | CREATE TABLE table_name_85 (drawn VARCHAR, points_for VARCHAR) | What is the drawn when there are 402 points? |
SELECT try_bonus FROM table_name_90 WHERE points_against = "492" | CREATE TABLE table_name_90 (try_bonus VARCHAR, points_against VARCHAR) | What is the try bonus when there are 492 points? |
SELECT points_against FROM table_name_19 WHERE tries_against = "53" | CREATE TABLE table_name_19 (points_against VARCHAR, tries_against VARCHAR) | What is the number of points against when the tries against was 53? |
SELECT played FROM table_name_78 WHERE points_against = "179" | CREATE TABLE table_name_78 (played VARCHAR, points_against VARCHAR) | What is the played number when the points against is 179? |
SELECT COUNT(series_percent) FROM table_name_63 WHERE total_attempted < 49 AND percent_made = 0.777 | CREATE TABLE table_name_63 (series_percent VARCHAR, total_attempted VARCHAR, percent_made VARCHAR) | what is the total series percent that has total attempted less than 49, and a percent made of 0.777 |
SELECT COUNT(total_attempted) FROM table_name_21 WHERE total_made = 16 | CREATE TABLE table_name_21 (total_attempted VARCHAR, total_made VARCHAR) | what is the total attempted with a total made 16 |
SELECT SUM(district) FROM table_name_67 WHERE took_office > 1981 AND senator = "cyndi taylor krier" | CREATE TABLE table_name_67 (district INTEGER, took_office VARCHAR, senator VARCHAR) | What is the sum of District, when Took Office is greater than 1981, and when Senator is Cyndi Taylor Krier? |
SELECT party FROM table_name_22 WHERE district < 10 AND took_office < 1991 AND home_town = "mount pleasant" | CREATE TABLE table_name_22 (party VARCHAR, home_town VARCHAR, district VARCHAR, took_office VARCHAR) | What is Party, when District is less than 10, when Took Office is less than 1991, and when Home Town is Mount Pleasant? |
SELECT MIN(took_office) FROM table_name_50 WHERE senator = "eddie bernice johnson" AND district > 23 | CREATE TABLE table_name_50 (took_office INTEGER, senator VARCHAR, district VARCHAR) | What is the lowest Took Office, when Senator is Eddie Bernice Johnson, and when District is greater than 23? |
SELECT period FROM table_name_9 WHERE player = "stanislav chistov" | CREATE TABLE table_name_9 (period VARCHAR, player VARCHAR) | In which period did Stanislav Chistov get a penalty? |
SELECT penalty FROM table_name_89 WHERE time = "29:17" | CREATE TABLE table_name_89 (penalty VARCHAR, time VARCHAR) | What was a penalty given for at time 29:17? |
SELECT team FROM table_name_13 WHERE time = "32:17" | CREATE TABLE table_name_13 (team VARCHAR, time VARCHAR) | What team was the player that received a penalty at time 32:17 playing for? |
SELECT team FROM table_name_87 WHERE penalty = "roughing" AND player = "ryan callahan" | CREATE TABLE table_name_87 (team VARCHAR, penalty VARCHAR, player VARCHAR) | What team was Ryan Callahan, who received a penalty for roughing, playing for? |
SELECT head_coach FROM table_name_95 WHERE opponent = "arsenal" | CREATE TABLE table_name_95 (head_coach VARCHAR, opponent VARCHAR) | Who was the head coach when the opponent was Arsenal? |
SELECT opponent FROM table_name_33 WHERE head_coach = "b. sathianathan" | CREATE TABLE table_name_33 (opponent VARCHAR, head_coach VARCHAR) | Who was the opponent when the head coach was B. Sathianathan? |
SELECT date FROM table_name_62 WHERE opponent = "arsenal" | CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR) | When was the opponent Arsenal? |
SELECT result FROM table_name_56 WHERE opponent = "arsenal" | CREATE TABLE table_name_56 (result VARCHAR, opponent VARCHAR) | What was the result when the opponent was Arsenal? |
SELECT SUM(Home) AS wins FROM table_name_89 WHERE institution = "boston college eagles" AND wins > 6 | CREATE TABLE table_name_89 (Home INTEGER, institution VARCHAR, wins VARCHAR) | What is the sum of the home wins of the Boston College Eagles, which has more than 6 wins? |
SELECT record FROM table_name_40 WHERE opponent = "evangelista cyborg" | CREATE TABLE table_name_40 (record VARCHAR, opponent VARCHAR) | What is the Record when Evangelista Cyborg was the opponent? |
SELECT method FROM table_name_55 WHERE location = "brazil" | CREATE TABLE table_name_55 (method VARCHAR, location VARCHAR) | What is the Method for Brazil? |
SELECT COUNT(round) FROM table_name_18 WHERE method = "submission (punches)" | CREATE TABLE table_name_18 (round VARCHAR, method VARCHAR) | What round was the method submission (punches)? |
SELECT method FROM table_name_63 WHERE record = "3-2" | CREATE TABLE table_name_63 (method VARCHAR, record VARCHAR) | What is the method when the record was 3-2? |
SELECT method FROM table_name_35 WHERE round = 3 | CREATE TABLE table_name_35 (method VARCHAR, round VARCHAR) | What is the method when the round shows 3? |
SELECT run_3 FROM table_name_4 WHERE rank = "12" | CREATE TABLE table_name_4 (run_3 VARCHAR, rank VARCHAR) | What was the run 3 for the team in rank 12? |
SELECT run_3 FROM table_name_40 WHERE run_1 = "1:17.6" | CREATE TABLE table_name_40 (run_3 VARCHAR, run_1 VARCHAR) | What was the run 3 for the team with a run 1 of 1:17.6? |
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.