answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT player FROM table_name_16 WHERE country = "england" | CREATE TABLE table_name_16 (player VARCHAR, country VARCHAR) | Which player is from England? |
SELECT player FROM table_name_6 WHERE place = "t5" AND score = 74 - 70 - 67 = 211 | CREATE TABLE table_name_6 (player VARCHAR, place VARCHAR, score VARCHAR) | Who scored 74-70-67=211 and placed t5? |
SELECT player FROM table_name_62 WHERE score < 72 AND to_par = "+1" | CREATE TABLE table_name_62 (player VARCHAR, score VARCHAR, to_par VARCHAR) | Who is the player with a score less than 72 and a to par of +1? |
SELECT player FROM table_name_71 WHERE to_par = "+1" | CREATE TABLE table_name_71 (player VARCHAR, to_par VARCHAR) | Who is the player with a to par of +1? |
SELECT to_par FROM table_name_36 WHERE place = "t9" AND country = "united states" AND player = "john buczek" | CREATE TABLE table_name_36 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR) | What is the to par of player john buczek, who has a t9 place and is from the United States? |
SELECT to_par FROM table_name_94 WHERE player = "bobby nichols" | CREATE TABLE table_name_94 (to_par VARCHAR, player VARCHAR) | What is the to par of player bobby nichols? |
SELECT date FROM table_name_12 WHERE catalog = "xllp 369" | CREATE TABLE table_name_12 (date VARCHAR, catalog VARCHAR) | What was the date for XLLP 369? |
SELECT label FROM table_name_57 WHERE region = "canada" | CREATE TABLE table_name_57 (label VARCHAR, region VARCHAR) | What was the label in the region of Canada? |
SELECT format FROM table_name_36 WHERE label = "xl" AND catalog = "xlcd369" AND region = "europe" | CREATE TABLE table_name_36 (format VARCHAR, region VARCHAR, label VARCHAR, catalog VARCHAR) | What is the format in the region of Europe with an XLCD369 and a label of XL? |
SELECT date FROM table_name_25 WHERE region = "united states" | CREATE TABLE table_name_25 (date VARCHAR, region VARCHAR) | What date was the United States the region? |
SELECT label FROM table_name_82 WHERE format = "cd" AND region = "argentina" | CREATE TABLE table_name_82 (label VARCHAR, format VARCHAR, region VARCHAR) | What was the label in the region of Argentina and had a format of CD? |
SELECT catalog FROM table_name_98 WHERE region = "united states" | CREATE TABLE table_name_98 (catalog VARCHAR, region VARCHAR) | What is the catalog with the region of the United States? |
SELECT opponent FROM table_name_51 WHERE november > 26 AND game > 18 | CREATE TABLE table_name_51 (opponent VARCHAR, november VARCHAR, game VARCHAR) | Can you tell me the Opponent that has the November larger than 26, and the Game larger than 18? |
SELECT record FROM table_name_72 WHERE game = 19 | CREATE TABLE table_name_72 (record VARCHAR, game VARCHAR) | Can you tell me the Record that has the Game of 19? |
SELECT date FROM table_name_21 WHERE rockets_score = 94 AND game = 66 | CREATE TABLE table_name_21 (date VARCHAR, rockets_score VARCHAR, game VARCHAR) | Which Date has a Rockets score of 94, and a Game of 66? |
SELECT opponent FROM table_name_17 WHERE rockets_score > 86 AND streak = "won 1" AND opponents < 101 | CREATE TABLE table_name_17 (opponent VARCHAR, opponents VARCHAR, rockets_score VARCHAR, streak VARCHAR) | Which Opponent has a Rockets score larger than 86, a Streak of won 1, and Opponents smaller than 101? |
SELECT opponent FROM table_name_25 WHERE rockets_score = 107 | CREATE TABLE table_name_25 (opponent VARCHAR, rockets_score VARCHAR) | Which Opponent has a Rockets score of 107? |
SELECT opponent FROM table_name_42 WHERE date = "march 16" | CREATE TABLE table_name_42 (opponent VARCHAR, date VARCHAR) | Which Opponent has a Date of march 16? |
SELECT date FROM table_name_84 WHERE score = "l 111β122 (ot)" | CREATE TABLE table_name_84 (date VARCHAR, score VARCHAR) | When was the score l 111β122 (ot)? |
SELECT score FROM table_name_79 WHERE date = "january 26" | CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR) | What was the score on January 26? |
SELECT COUNT(game) FROM table_name_70 WHERE team = "minnesota" | CREATE TABLE table_name_70 (game VARCHAR, team VARCHAR) | What game was Minnesota the team? |
SELECT record FROM table_name_68 WHERE game = 43 | CREATE TABLE table_name_68 (record VARCHAR, game VARCHAR) | What was the record of Game 43? |
SELECT record FROM table_name_12 WHERE high_points = "leandro barbosa (32)" | CREATE TABLE table_name_12 (record VARCHAR, high_points VARCHAR) | What's the record of the game that Leandro Barbosa (32) had the high points? |
SELECT score FROM table_name_65 WHERE tie_no = "29" | CREATE TABLE table_name_65 (score VARCHAR, tie_no VARCHAR) | What is the score when the tie no is 29? |
SELECT tie_no FROM table_name_62 WHERE away_team = "watford" | CREATE TABLE table_name_62 (tie_no VARCHAR, away_team VARCHAR) | What was the tie no when Watford was the away team? |
SELECT home_team FROM table_name_49 WHERE away_team = "luton town" | CREATE TABLE table_name_49 (home_team VARCHAR, away_team VARCHAR) | What team was the home team when Luton Town was the home team? |
SELECT home_team FROM table_name_23 WHERE tie_no = "27" | CREATE TABLE table_name_23 (home_team VARCHAR, tie_no VARCHAR) | What team was the home team when the tie no was 27? |
SELECT bass FROM table_name_2 WHERE label = "atlantic" AND year = 1994 | CREATE TABLE table_name_2 (bass VARCHAR, label VARCHAR, year VARCHAR) | Who played bass in 1994 for the Atlantic label? |
SELECT drums FROM table_name_89 WHERE album = "the gray race" | CREATE TABLE table_name_89 (drums VARCHAR, album VARCHAR) | Who played drums for the Gray Race album? |
SELECT album FROM table_name_32 WHERE bass = "jay bentley" AND drums = "bobby schayer" | CREATE TABLE table_name_32 (album VARCHAR, bass VARCHAR, drums VARCHAR) | Which album had Jay Bentley on bass and Bobby Schayer on drums? |
SELECT bass FROM table_name_97 WHERE year > 1982 AND album = "against the grain" | CREATE TABLE table_name_97 (bass VARCHAR, year VARCHAR, album VARCHAR) | Who played the bass for the Against the Grain album after 1982? |
SELECT AVG(position) FROM table_name_60 WHERE lost < 7 | CREATE TABLE table_name_60 (position INTEGER, lost INTEGER) | What is the position when lost is less than 7? |
SELECT MAX(drawn) FROM table_name_17 WHERE position = 14 AND goals_for > 66 | CREATE TABLE table_name_17 (drawn INTEGER, position VARCHAR, goals_for VARCHAR) | What is the largest drawn number when 14 is the position, and goals for is more than 66? |
SELECT COUNT(played) FROM table_name_57 WHERE points_1 = "80" AND goals_for > 77 | CREATE TABLE table_name_57 (played VARCHAR, points_1 VARCHAR, goals_for VARCHAR) | What is the played number with points 1 is 80, and goals for is more than 77? |
SELECT COUNT(played) FROM table_name_42 WHERE position < 4 AND team = "witton albion" | CREATE TABLE table_name_42 (played VARCHAR, position VARCHAR, team VARCHAR) | What is the number of played when the position is less than 4, and the team is Witton Albion? |
SELECT SUM(position) FROM table_name_40 WHERE points_1 = "61" | CREATE TABLE table_name_40 (position INTEGER, points_1 VARCHAR) | What is the position when the points 1 is 61? |
SELECT locality FROM table_name_47 WHERE ofsted < 106478 AND school = "meadowbank primary and nursery school" | CREATE TABLE table_name_47 (locality VARCHAR, ofsted VARCHAR, school VARCHAR) | Where is the locality with Ofsted less than 106478 for Meadowbank Primary and Nursery School? |
SELECT website FROM table_name_33 WHERE ofsted < 106478 AND locality = "atherton" | CREATE TABLE table_name_33 (website VARCHAR, ofsted VARCHAR, locality VARCHAR) | What website has an Ofsted less than 106478 in Atherton? |
SELECT COUNT(ofsted) FROM table_name_1 WHERE school = "chowbent primary school" | CREATE TABLE table_name_1 (ofsted VARCHAR, school VARCHAR) | How many values for Ofsted occurr at Chowbent Primary School? |
SELECT MIN(league) AS championships FROM table_name_78 WHERE venue = "penn state ice pavilion" AND club = "penn state nittany lions men's ice hockey" | CREATE TABLE table_name_78 (league INTEGER, venue VARCHAR, club VARCHAR) | Which League championship is the lowest one that has a Venue of penn state ice pavilion, and a Club of penn state nittany lions men's ice hockey? |
SELECT venue FROM table_name_24 WHERE league = "ncaa" AND founded < 1965 AND club = "penn state nittany lions men's ice hockey" | CREATE TABLE table_name_24 (venue VARCHAR, club VARCHAR, league VARCHAR, founded VARCHAR) | Which Venue has a League of ncaa, and a Founded smaller than 1965, and a Club of penn state nittany lions men's ice hockey? |
SELECT freestyle_leg FROM table_name_69 WHERE country = "netherlands" | CREATE TABLE table_name_69 (freestyle_leg VARCHAR, country VARCHAR) | What is the freestyle leg for the Netherlands? |
SELECT state FROM table_name_43 WHERE name = "li" AND title = "marquis" | CREATE TABLE table_name_43 (state VARCHAR, name VARCHAR, title VARCHAR) | In which state did Marquis Li rule? |
SELECT royal_house FROM table_name_54 WHERE state = "song" | CREATE TABLE table_name_54 (royal_house VARCHAR, state VARCHAR) | What was the Royal House for the state of Song? |
SELECT type FROM table_name_41 WHERE state = "chu" | CREATE TABLE table_name_41 (type VARCHAR, state VARCHAR) | What type of state was Chu? |
SELECT type FROM table_name_39 WHERE royal_house = "ji" AND name = "yi" AND state = "lu" | CREATE TABLE table_name_39 (type VARCHAR, state VARCHAR, royal_house VARCHAR, name VARCHAR) | What type of state was Lu, when Yi was the ruler from the royal house of Ji? |
SELECT score FROM table_name_73 WHERE competition = "euro 2004 qualifier" | CREATE TABLE table_name_73 (score VARCHAR, competition VARCHAR) | What is Score, when Competition is "Euro 2004 Qualifier"? |
SELECT competition FROM table_name_24 WHERE date = "28 march 2001" | CREATE TABLE table_name_24 (competition VARCHAR, date VARCHAR) | What is Competition, when Date is "28 March 2001"? |
SELECT opponent FROM table_name_78 WHERE date = "2004-06-26" AND result = "loss" | CREATE TABLE table_name_78 (opponent VARCHAR, date VARCHAR, result VARCHAR) | who is the opponent on 2004-06-26 with the result of loss? |
SELECT location FROM table_name_54 WHERE opponent = "aleksandr pitchkounov" | CREATE TABLE table_name_54 (location VARCHAR, opponent VARCHAR) | what is the location when the opponent is aleksandr pitchkounov? |
SELECT event FROM table_name_66 WHERE location = "saitama, japan" | CREATE TABLE table_name_66 (event VARCHAR, location VARCHAR) | what is the event when the location is saitama, japan? |
SELECT location FROM table_name_19 WHERE event = "k-1 world grand prix 2004 in saitama" | CREATE TABLE table_name_19 (location VARCHAR, event VARCHAR) | what is the location when the event is k-1 world grand prix 2004 in saitama? |
SELECT record FROM table_name_96 WHERE result = "win" AND date = "2004-06-26" | CREATE TABLE table_name_96 (record VARCHAR, result VARCHAR, date VARCHAR) | what is the record when the result is win on 2004-06-26? |
SELECT event FROM table_name_50 WHERE result = "loss" AND record = "7-5" | CREATE TABLE table_name_50 (event VARCHAR, result VARCHAR, record VARCHAR) | what is the event when the result is loss and the record is 7-5? |
SELECT date FROM table_name_53 WHERE result = "w 13-10" | CREATE TABLE table_name_53 (date VARCHAR, result VARCHAR) | What is the date of the game with a result of W 13-10? |
SELECT COUNT(total) FROM table_name_11 WHERE finish = "t21" AND to_par > 23 | CREATE TABLE table_name_11 (total VARCHAR, finish VARCHAR, to_par VARCHAR) | What is the total number of Total(s), when Finish is "T21", and when To Par is greater than 23? |
SELECT finish FROM table_name_20 WHERE total = 306 | CREATE TABLE table_name_20 (finish VARCHAR, total VARCHAR) | What is Finish, when Total is "306"? |
SELECT COUNT(to_par) FROM table_name_28 WHERE player = "julius boros" AND total > 295 | CREATE TABLE table_name_28 (to_par VARCHAR, player VARCHAR, total VARCHAR) | What is the total number of To Par, when Player is "Julius Boros", and when Total is greater than 295? |
SELECT COUNT(to_par) FROM table_name_38 WHERE total = 295 | CREATE TABLE table_name_38 (to_par VARCHAR, total VARCHAR) | What is the total number of To Par, when Total is "295"? |
SELECT MIN(total) FROM table_name_58 WHERE year_s__won = "1948 , 1950 , 1951 , 1953" | CREATE TABLE table_name_58 (total INTEGER, year_s__won VARCHAR) | What is the lowest Total, when Year(s) Won is "1948 , 1950 , 1951 , 1953"? |
SELECT SUM(year) FROM table_name_39 WHERE role = "himself" AND notes = "celebrity guest alongside yg family" | CREATE TABLE table_name_39 (year INTEGER, role VARCHAR, notes VARCHAR) | What is the sum of Year, when Role is "himself", and when Notes is "celebrity guest alongside yg family"? |
SELECT MAX(year) FROM table_name_15 WHERE notes = "celebrity guest alongside yg family" | CREATE TABLE table_name_15 (year INTEGER, notes VARCHAR) | What is the highest Year, when Notes is "Celebrity Guest Alongside YG Family"? |
SELECT year FROM table_name_59 WHERE role = "himself" AND title = "epik high's love and delusion" | CREATE TABLE table_name_59 (year VARCHAR, role VARCHAR, title VARCHAR) | What is the Year, when Role is "himself", and when Title is "Epik High's Love And Delusion"? |
SELECT SUM(year) FROM table_name_53 WHERE title = "mnet director's cut" | CREATE TABLE table_name_53 (year INTEGER, title VARCHAR) | What is the sum of Year, when Title is "Mnet Director's Cut"? |
SELECT network FROM table_name_86 WHERE title = "epik high's love and delusion" | CREATE TABLE table_name_86 (network VARCHAR, title VARCHAR) | What is the Network, when Title is "Epik High's Love And Delusion"? |
SELECT attendance FROM table_name_78 WHERE week = 12 | CREATE TABLE table_name_78 (attendance VARCHAR, week VARCHAR) | How many were in attendance during week 12? |
SELECT date FROM table_name_46 WHERE result = "l 38-14" | CREATE TABLE table_name_46 (date VARCHAR, result VARCHAR) | On what date was the Result l 38-14? |
SELECT date FROM table_name_60 WHERE week < 3 AND result = "w 24-13" | CREATE TABLE table_name_60 (date VARCHAR, week VARCHAR, result VARCHAR) | On what date was the week less than 3 with a result of w 24-13? |
SELECT water_park FROM table_name_72 WHERE rank = 20 | CREATE TABLE table_name_72 (water_park VARCHAR, rank VARCHAR) | what is the water park with the rank 20? |
SELECT SUM(2011) FROM table_name_58 WHERE rank < 8 AND water_park = "ocean world" | CREATE TABLE table_name_58 (rank VARCHAR, water_park VARCHAR) | what is 2011 when the rank is less than 8 and the water park is ocean world? |
SELECT _percentage_hindu FROM table_name_74 WHERE area = "azad kashmir" | CREATE TABLE table_name_74 (_percentage_hindu VARCHAR, area VARCHAR) | What percentage of Azad Kashmir is Hindu? |
SELECT area FROM table_name_71 WHERE _percentage_hindu = "statistics from the bbc in depth report." | CREATE TABLE table_name_71 (area VARCHAR, _percentage_hindu VARCHAR) | What area shows % Hindu of statistics from the bbc in depth report.? |
SELECT population FROM table_name_81 WHERE _percentage_muslim = "30%" | CREATE TABLE table_name_81 (population VARCHAR, _percentage_muslim VARCHAR) | What is the population when the % Muslim shows 30%? |
SELECT _percentage_buddhist FROM table_name_39 WHERE population = "~2.6 million (2.6million)" | CREATE TABLE table_name_39 (_percentage_buddhist VARCHAR, population VARCHAR) | What is the percentage of Buddhist when the Population is ~2.6 million (2.6million)? |
SELECT area FROM table_name_83 WHERE _percentage_other = "β" AND _percentage_muslim = "95%" | CREATE TABLE table_name_83 (area VARCHAR, _percentage_other VARCHAR, _percentage_muslim VARCHAR) | What area has a % Other of β, and a % Muslim of 95%? |
SELECT area FROM table_name_13 WHERE _percentage_other = "3%" | CREATE TABLE table_name_13 (area VARCHAR, _percentage_other VARCHAR) | What area has a percentage of other of 3%? |
SELECT game FROM table_name_45 WHERE result = "125-123 (ot)" | CREATE TABLE table_name_45 (game VARCHAR, result VARCHAR) | What Game had a Result of 125-123 (OT)? |
SELECT date FROM table_name_10 WHERE road_team = "st. louis" AND game = "game 5" | CREATE TABLE table_name_10 (date VARCHAR, road_team VARCHAR, game VARCHAR) | What is the Date of Game 5 with Road Team St. Louis? |
SELECT road_team FROM table_name_64 WHERE game = "game 3" | CREATE TABLE table_name_64 (road_team VARCHAR, game VARCHAR) | What is the Road Team of Game 3? |
SELECT game FROM table_name_16 WHERE road_team = "st. louis" AND date = "april 13" | CREATE TABLE table_name_16 (game VARCHAR, road_team VARCHAR, date VARCHAR) | What is the Game on April 13 with Road Team St. Louis? |
SELECT home_team FROM table_name_48 WHERE result = "124-109" | CREATE TABLE table_name_48 (home_team VARCHAR, result VARCHAR) | What is the Home Team in the game with a Result of 124-109? |
SELECT home_team FROM table_name_8 WHERE road_team = "st. louis" AND date = "april 13" | CREATE TABLE table_name_8 (home_team VARCHAR, road_team VARCHAR, date VARCHAR) | What is the Home Team on April 13 with a Road Team of St. Louis? |
SELECT score FROM table_name_29 WHERE date > 7 AND game = 82 | CREATE TABLE table_name_29 (score VARCHAR, date VARCHAR, game VARCHAR) | What is Score, when Date is greater than 7, and when Game is "82"? |
SELECT opponent FROM table_name_67 WHERE location_attendance = "mellon arena - 17,132" | CREATE TABLE table_name_67 (opponent VARCHAR, location_attendance VARCHAR) | What is Opponent, when Location/Attendance is "Mellon Arena - 17,132"? |
SELECT score FROM table_name_31 WHERE game > 78 AND date = 4 | CREATE TABLE table_name_31 (score VARCHAR, game VARCHAR, date VARCHAR) | What is Score, when Game is greater than 78, and when Date is "4"? |
SELECT score FROM table_name_13 WHERE opponent = "tampa bay lightning" | CREATE TABLE table_name_13 (score VARCHAR, opponent VARCHAR) | What is Score, when Opponent is "Tampa Bay Lightning"? |
SELECT location_attendance FROM table_name_2 WHERE score = "4-5 (ot)" | CREATE TABLE table_name_2 (location_attendance VARCHAR, score VARCHAR) | What is Location/Attendance, when Score is "4-5 (OT)"? |
SELECT driving_wheels FROM table_name_8 WHERE original_ner_class = "m1" | CREATE TABLE table_name_8 (driving_wheels VARCHAR, original_ner_class VARCHAR) | What driving wheels are on the m1 original NER class? |
SELECT 1914 AS _ner_class FROM table_name_78 WHERE lner_class = "d17/2" | CREATE TABLE table_name_78 (lner_class VARCHAR) | What is the 1914 NER class with a d17/2 LNER class? |
SELECT score FROM table_name_53 WHERE player = "lew worsham" | CREATE TABLE table_name_53 (score VARCHAR, player VARCHAR) | What was Lew Worsham's score? |
SELECT MAX(points) FROM table_name_5 WHERE time_retired = "+49.222 secs" | CREATE TABLE table_name_5 (points INTEGER, time_retired VARCHAR) | Which Points have a Time/Retired of +49.222 secs? |
SELECT AVG(points) FROM table_name_25 WHERE grid = 4 | CREATE TABLE table_name_25 (points INTEGER, grid VARCHAR) | What are grid 4's average points? |
SELECT owner FROM table_name_43 WHERE year > 1985 AND winner = "give a toast" | CREATE TABLE table_name_43 (owner VARCHAR, year VARCHAR, winner VARCHAR) | Who was the owner of Give a Toast after 1985? |
SELECT MIN(year) FROM table_name_10 WHERE owner = "stuart janney iii" | CREATE TABLE table_name_10 (year INTEGER, owner VARCHAR) | What is the earliest year Stuart Janney III was an owner? |
SELECT winner FROM table_name_41 WHERE year > 1989 AND owner = "stronach stable" | CREATE TABLE table_name_41 (winner VARCHAR, year VARCHAR, owner VARCHAR) | Who was the winner after 1989 when Stronach Stable was the owner? |
SELECT trainer FROM table_name_3 WHERE winner = "mckaymackenna" | CREATE TABLE table_name_3 (trainer VARCHAR, winner VARCHAR) | Who was the trainer when Mckaymackenna won? |
SELECT tunnel FROM table_name_38 WHERE length__imperial_ = "307 yd" | CREATE TABLE table_name_38 (tunnel VARCHAR, length__imperial_ VARCHAR) | What Tunnel has an Imperial Length of 307 yd? |
SELECT type FROM table_name_78 WHERE tunnel = "downhill" | CREATE TABLE table_name_78 (type VARCHAR, tunnel VARCHAR) | What Type of Tunnel is the Downhill Tunnel? |
SELECT score FROM table_name_21 WHERE country = "united states" AND place = "t6" | CREATE TABLE table_name_21 (score VARCHAR, country VARCHAR, place VARCHAR) | What did United States score in the place t6? |
SELECT country FROM table_name_41 WHERE player = "ted schulz" | CREATE TABLE table_name_41 (country VARCHAR, player VARCHAR) | Which country has the player Ted Schulz? |
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.