context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_name_97 (team VARCHAR, date VARCHAR) | What is the Team on January 20? | SELECT team FROM table_name_97 WHERE date = "january 20" |
CREATE TABLE table_name_16 (venue VARCHAR, season VARCHAR, date VARCHAR) | What venue had an event on 17 November 1963? | SELECT venue FROM table_name_16 WHERE season = 1963 AND date = "17 november 1963" |
CREATE TABLE table_name_43 (season INTEGER, date VARCHAR) | What is the most recent season with a date of 27 October 1957? | SELECT MAX(season) FROM table_name_43 WHERE date = "27 october 1957" |
CREATE TABLE table_name_6 (winner VARCHAR, date VARCHAR) | Who was the winner on 15 December 1957? | SELECT winner FROM table_name_6 WHERE date = "15 december 1957" |
CREATE TABLE table_name_76 (score_ VARCHAR, c_ VARCHAR, winner VARCHAR, season VARCHAR) | What is the score of the event that Alianza Lima won in 1965? | SELECT score_[c_] FROM table_name_76 WHERE winner = "alianza lima" AND season = 1965 |
CREATE TABLE table_name_98 (seasons VARCHAR, name VARCHAR, lost VARCHAR) | Which Seasons has a Name of joe grugin, and a Lost larger than 8? | SELECT COUNT(seasons) FROM table_name_98 WHERE name = "joe grugin" AND lost > 8 |
CREATE TABLE table_name_23 (location_attendance VARCHAR, record VARCHAR) | what is the location/attendance when the record is 9-2? | SELECT location_attendance FROM table_name_23 WHERE record = "9-2" |
CREATE TABLE table_name_75 (game INTEGER, date VARCHAR) | what is the game on june 29? | SELECT SUM(game) FROM table_name_75 WHERE date = "june 29" |
CREATE TABLE table_name_42 (high_points VARCHAR, date VARCHAR) | who had the high points on june 8? | SELECT high_points FROM table_name_42 WHERE date = "june 8" |
CREATE TABLE table_name_41 (high_assists VARCHAR, game VARCHAR, score VARCHAR) | who had the high assists when the game was less than 13 and the score was w 75-66? | SELECT high_assists FROM table_name_41 WHERE game < 13 AND score = "w 75-66" |
CREATE TABLE table_name_64 (result VARCHAR, nominee VARCHAR) | What was the result of Frank Langella? | SELECT result FROM table_name_64 WHERE nominee = "frank langella" |
CREATE TABLE table_name_14 (goals_against INTEGER, wins VARCHAR, goals_for VARCHAR, position VARCHAR) | Can you tell me the sum of Goals against that has the Goals for larger than 10, and the Position of 3, and the Wins smaller than 6? | SELECT SUM(goals_against) FROM table_name_14 WHERE goals_for > 10 AND position = 3 AND wins < 6 |
CREATE TABLE table_name_90 (played INTEGER, goals_against VARCHAR, position VARCHAR, draws VARCHAR) | Can you tell me the lowest Played that has the Position larger than 2, and the Draws smaller than 2, and the Goals against smaller than 18? | SELECT MIN(played) FROM table_name_90 WHERE position > 2 AND draws < 2 AND goals_against < 18 |
CREATE TABLE table_name_48 (wins VARCHAR, draws VARCHAR, points VARCHAR) | Can you tell me the total number of Wins that has the Draws larger than 0, and the Points of 11? | SELECT COUNT(wins) FROM table_name_48 WHERE draws > 0 AND points = 11 |
CREATE TABLE table_name_32 (city VARCHAR, floors VARCHAR) | In what city does the tallest building have 35 floors? | SELECT city FROM table_name_32 WHERE floors = 35 |
CREATE TABLE table_name_56 (name VARCHAR, city VARCHAR, floors VARCHAR) | What building in Louisville had more than 35 floors? | SELECT name FROM table_name_56 WHERE city = "louisville" AND floors > 35 |
CREATE TABLE table_name_11 (venue VARCHAR, goal__number VARCHAR) | What was the venue where goal #2 occured? | SELECT venue FROM table_name_11 WHERE goal__number = 2 |
CREATE TABLE table_name_63 (record VARCHAR, visitor VARCHAR) | What was the flyers' record when the visitors were florida? | SELECT record FROM table_name_63 WHERE visitor = "florida" |
CREATE TABLE table_name_76 (visitor VARCHAR, home VARCHAR) | Who were the visitors when the home team were the ny rangers? | SELECT visitor FROM table_name_76 WHERE home = "ny rangers" |
CREATE TABLE table_name_14 (car___motorcycle VARCHAR, speed VARCHAR) | What car/motorcycle goes 91.813mph? | SELECT car___motorcycle FROM table_name_14 WHERE speed = "91.813mph" |
CREATE TABLE table_name_58 (driver___rider VARCHAR, car___motorcycle VARCHAR) | Which driver is Indian? | SELECT driver___rider FROM table_name_58 WHERE car___motorcycle = "indian" |
CREATE TABLE table_name_46 (full_word VARCHAR, case_suffix__case_ VARCHAR) | What is the Full Word, when Case Suffix (case) is "-sa (dative)"? | SELECT full_word FROM table_name_46 WHERE case_suffix__case_ = "-sa (dative)" |
CREATE TABLE table_name_22 (english_meaning VARCHAR, full_word VARCHAR) | What is English Meaning, when Full Word is "Shens Gamo"? | SELECT english_meaning FROM table_name_22 WHERE full_word = "shens gamo" |
CREATE TABLE table_name_54 (case_suffix__case_ VARCHAR, english_meaning VARCHAR) | What is Case Suffix (Case), when English Meaning is "to Georgia, in Georgia"? | SELECT case_suffix__case_ FROM table_name_54 WHERE english_meaning = "to georgia, in georgia" |
CREATE TABLE table_name_75 (postposition VARCHAR, noun_root__meaning_ VARCHAR) | What is Postposition, when Noun Root (Meaning) is "mshobl- (parent)"? | SELECT postposition FROM table_name_75 WHERE noun_root__meaning_ = "mshobl- (parent)" |
CREATE TABLE table_name_40 (english_meaning VARCHAR, case_suffix__case_ VARCHAR) | What is English Meaning, when Case Suffix (Case) is "-sa (dative)"? | SELECT english_meaning FROM table_name_40 WHERE case_suffix__case_ = "-sa (dative)" |
CREATE TABLE table_name_94 (case_suffix__case_ VARCHAR, postposition VARCHAR) | What is Case Suffix (Case), when Postposition is "-mde (drops d)"? | SELECT case_suffix__case_ FROM table_name_94 WHERE postposition = "-mde (drops d)" |
CREATE TABLE table_name_5 (year INTEGER, album VARCHAR) | What is the total years for roots and branches? | SELECT SUM(year) FROM table_name_5 WHERE album = "roots and branches" |
CREATE TABLE table_name_64 (podiums INTEGER, position VARCHAR, wins VARCHAR) | What is the average number of podiums in the 32nd position with less than 0 wins? | SELECT AVG(podiums) FROM table_name_64 WHERE position = "32nd" AND wins < 0 |
CREATE TABLE table_name_43 (races VARCHAR, position VARCHAR) | What is the race in the 8th position? | SELECT races FROM table_name_43 WHERE position = "8th" |
CREATE TABLE table_name_22 (overall INTEGER, college VARCHAR, pick VARCHAR) | What is the sum of Overall, when College is "Arkansas State", and when Pick is less than 17? | SELECT SUM(overall) FROM table_name_22 WHERE college = "arkansas state" AND pick < 17 |
CREATE TABLE table_name_30 (pick INTEGER, name VARCHAR, overall VARCHAR) | What is the average Pick, when Name is "Lybrant Robinson", and when Overall is less than 139? | SELECT AVG(pick) FROM table_name_30 WHERE name = "lybrant robinson" AND overall < 139 |
CREATE TABLE table_name_22 (overall INTEGER, name VARCHAR, round VARCHAR) | What is the sum of Overall, when Name is "Tim Smiley", and when Round is less than 5? | SELECT SUM(overall) FROM table_name_22 WHERE name = "tim smiley" AND round < 5 |
CREATE TABLE table_name_96 (score_in_the_final VARCHAR, championship VARCHAR, outcome VARCHAR) | What is Score In The Final, when Championship is "Athens , Greece", and when Outcome is "Winner"? | SELECT score_in_the_final FROM table_name_96 WHERE championship = "athens , greece" AND outcome = "winner" |
CREATE TABLE table_name_30 (opponent_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR) | What is Opponent In The Final, when Date is before 1991, and when Outcome is "Runner-Up"? | SELECT opponent_in_the_final FROM table_name_30 WHERE date < 1991 AND outcome = "runner-up" |
CREATE TABLE table_name_34 (religious_affiliation VARCHAR, athletics_nickname VARCHAR) | What was the religious affiliation for the athletics nicknamed lords/ladies? | SELECT religious_affiliation FROM table_name_34 WHERE athletics_nickname = "lords/ladies" |
CREATE TABLE table_name_73 (tournament VARCHAR, career_sr VARCHAR) | What is Tournament, when Career SR is "ATP Masters Series"? | SELECT tournament FROM table_name_73 WHERE career_sr = "atp masters series" |
CREATE TABLE table_name_36 (tournament VARCHAR) | What is 1995, when Tournament is "Miami"? | SELECT 1995 FROM table_name_36 WHERE tournament = "miami" |
CREATE TABLE table_name_63 (Id VARCHAR) | What is 1997, when 1996 is "1R", when 1990 is "2R", and when 1991 is "F"? | SELECT 1997 FROM table_name_63 WHERE 1996 = "1r" AND 1990 = "2r" AND 1991 = "f" |
CREATE TABLE table_name_29 (Id VARCHAR) | What is 1996, when 1992 is "ATP Masters Series"? | SELECT 1996 FROM table_name_29 WHERE 1992 = "atp masters series" |
CREATE TABLE table_name_59 (tournament VARCHAR) | What is 1994, when 1991 is "QF", and when Tournament is "Australian Open"? | SELECT 1994 FROM table_name_59 WHERE 1991 = "qf" AND tournament = "australian open" |
CREATE TABLE table_name_45 (established INTEGER, venue VARCHAR) | When was the venue named nassau veterans memorial coliseum established?? | SELECT MAX(established) FROM table_name_45 WHERE venue = "nassau veterans memorial coliseum" |
CREATE TABLE table_name_23 (opponent VARCHAR, record VARCHAR) | Who was the opponent with the record of 15-21-6? | SELECT opponent FROM table_name_23 WHERE record = "15-21-6" |
CREATE TABLE table_name_70 (january INTEGER, opponent VARCHAR, game VARCHAR) | What day in January was the game greater than 49 and had @ Montreal Canadiens as opponents? | SELECT SUM(january) FROM table_name_70 WHERE opponent = "@ montreal canadiens" AND game > 49 |
CREATE TABLE table_name_75 (game VARCHAR, january VARCHAR) | What was the total number of games on January 20? | SELECT COUNT(game) FROM table_name_75 WHERE january = 20 |
CREATE TABLE table_name_14 (votes___percentage_ VARCHAR, episode VARCHAR) | What is Votes (%), when Episode is "1x03"? | SELECT votes___percentage_ FROM table_name_14 WHERE episode = "1x03" |
CREATE TABLE table_name_41 (votes___percentage_ VARCHAR, first_broadcast VARCHAR) | What is Votes (%), when First Broadcast is "13 March 1998"? | SELECT votes___percentage_ FROM table_name_41 WHERE first_broadcast = "13 march 1998" |
CREATE TABLE table_name_4 (high_rebounds VARCHAR, high_assists VARCHAR) | Who had the high rebounds of the game that Deron Williams (5) had the high assists? | SELECT high_rebounds FROM table_name_4 WHERE high_assists = "deron williams (5)" |
CREATE TABLE table_name_33 (score VARCHAR, game VARCHAR) | What was the score of Game 48? | SELECT score FROM table_name_33 WHERE game = 48 |
CREATE TABLE table_name_68 (high_rebounds VARCHAR, date VARCHAR) | Who had the high rebounds on January 24? | SELECT high_rebounds FROM table_name_68 WHERE date = "january 24" |
CREATE TABLE table_name_31 (area VARCHAR, pop_dens VARCHAR, population VARCHAR) | How big is the area that has a population density of 113 and a population larger than 184,531? | SELECT COUNT(area) FROM table_name_31 WHERE pop_dens = 113 AND population > 184 OFFSET 531 |
CREATE TABLE table_name_83 (pop_dens VARCHAR, population INTEGER) | What is the population density of the area with a population larger than 92,719? | SELECT COUNT(pop_dens) FROM table_name_83 WHERE population > 92 OFFSET 719 |
CREATE TABLE table_name_44 (population INTEGER, area VARCHAR) | What is the population with an area of 1,126.84? | SELECT MIN(population) FROM table_name_44 WHERE area = 1 OFFSET 126.84 |
CREATE TABLE table_name_76 (noof_settlements INTEGER, district VARCHAR, pop_dens VARCHAR) | How many settlements are in český krumlov (ck) with a population density higher than 38? | SELECT SUM(noof_settlements) FROM table_name_76 WHERE district = "český krumlov (ck)" AND pop_dens > 38 |
CREATE TABLE table_name_66 (pop_dens INTEGER, district VARCHAR, noof_settlements VARCHAR) | What is the lowest population density of Strakonice (st) with more than 112 settlements? | SELECT MIN(pop_dens) FROM table_name_66 WHERE district = "strakonice (st)" AND noof_settlements > 112 |
CREATE TABLE table_name_11 (name VARCHAR, presentation_of_credentials VARCHAR) | Who presented their credentials at an unknown date? | SELECT name FROM table_name_11 WHERE presentation_of_credentials = "unknown" |
CREATE TABLE table_name_62 (presentation_of_credentials VARCHAR, name VARCHAR) | When did Robert G. Miner present his credentials? | SELECT presentation_of_credentials FROM table_name_62 WHERE name = "robert g. miner" |
CREATE TABLE table_name_31 (appointment VARCHAR, name VARCHAR) | When was William A. Costello appointed? | SELECT appointment FROM table_name_31 WHERE name = "william a. costello" |
CREATE TABLE table_name_63 (name VARCHAR, appointment VARCHAR) | Who was appointed on October 24, 1997? | SELECT name FROM table_name_63 WHERE appointment = "october 24, 1997" |
CREATE TABLE table_name_14 (title VARCHAR, name VARCHAR) | What was Anthony D. Marshall's title? | SELECT title FROM table_name_14 WHERE name = "anthony d. marshall" |
CREATE TABLE table_name_44 (nationality VARCHAR, position VARCHAR, pick VARCHAR) | What is Nationality, when Position is "G", and when Pick is greater than 26? | SELECT nationality FROM table_name_44 WHERE position = "g" AND pick > 26 |
CREATE TABLE table_name_49 (player VARCHAR, round VARCHAR, school_club_team VARCHAR) | What is Player, when Round is "2", and when School/Club Team is "Xavier"? | SELECT player FROM table_name_49 WHERE round = 2 AND school_club_team = "xavier" |
CREATE TABLE table_name_39 (pick INTEGER, position VARCHAR) | What is the highest Pick, when Position is "G/F"? | SELECT MAX(pick) FROM table_name_39 WHERE position = "g/f" |
CREATE TABLE table_name_49 (place INTEGER, points VARCHAR, draw VARCHAR) | What was the average place for the song that had 69 points and a draw smaller than 13? | SELECT AVG(place) FROM table_name_49 WHERE points = 69 AND draw < 13 |
CREATE TABLE table_name_77 (english_translation VARCHAR, artist VARCHAR) | What was the english translation for the song by svetlana loboda? | SELECT english_translation FROM table_name_77 WHERE artist = "svetlana loboda" |
CREATE TABLE table_name_98 (song VARCHAR, language VARCHAR) | What song was in french? | SELECT song FROM table_name_98 WHERE language = "french" |
CREATE TABLE table_name_96 (points_against VARCHAR) | what is the points against when drawn is drawn? | SELECT points_against FROM table_name_96 WHERE "drawn" = "drawn" |
CREATE TABLE table_name_32 (points_against VARCHAR, losing_bonus VARCHAR, club VARCHAR) | what is the points against when the losing bonus is 0 and the club is banwen rfc? | SELECT points_against FROM table_name_32 WHERE losing_bonus = "0" AND club = "banwen rfc" |
CREATE TABLE table_name_62 (points VARCHAR, club VARCHAR) | what is the points when the club blaengarw rfc? | SELECT points FROM table_name_62 WHERE club = "blaengarw rfc" |
CREATE TABLE table_name_47 (tries_for VARCHAR, losing_bonus VARCHAR) | what is the tries fow when losing bonus is losing bonus? | SELECT tries_for FROM table_name_47 WHERE losing_bonus = "losing bonus" |
CREATE TABLE table_name_80 (drawn VARCHAR, club VARCHAR) | what is drawn when the club is hirwaun rfc? | SELECT drawn FROM table_name_80 WHERE club = "hirwaun rfc" |
CREATE TABLE table_name_28 (lost VARCHAR, points_against VARCHAR) | what is lost when the points against is 231? | SELECT lost FROM table_name_28 WHERE points_against = "231" |
CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR) | Who was the away team against the home team Sheffield United? | SELECT away_team FROM table_name_18 WHERE home_team = "sheffield united" |
CREATE TABLE table_name_4 (away_team VARCHAR, tie_no VARCHAR) | Who was the away team with a tie of 14? | SELECT away_team FROM table_name_4 WHERE tie_no = "14" |
CREATE TABLE table_name_98 (year_of_release INTEGER, title VARCHAR) | What is the latest year of the album with the release title death valley? | SELECT MAX(year_of_release) FROM table_name_98 WHERE title = "death valley" |
CREATE TABLE table_name_75 (year_of_release VARCHAR, title VARCHAR) | What is the total year of release of the title what goes around comes around? | SELECT COUNT(year_of_release) FROM table_name_75 WHERE title = "what goes around comes around" |
CREATE TABLE table_name_79 (republican VARCHAR, lead_margin VARCHAR, poll_source VARCHAR) | What percent is the lead margin of 25 that Republican: Jeff Beatty has according to poll source Rasmussen Reports? | SELECT republican AS :_jeff_beatty FROM table_name_79 WHERE lead_margin = 25 AND poll_source = "rasmussen reports" |
CREATE TABLE table_name_7 (fate VARCHAR, name_of_ship VARCHAR) | How did the ship named proletarij finish its service? | SELECT fate FROM table_name_7 WHERE name_of_ship = "proletarij" |
CREATE TABLE table_name_81 (tonnage INTEGER, name_of_ship VARCHAR) | What is the average tonnage of the ship named proletarij? | SELECT AVG(tonnage) FROM table_name_81 WHERE name_of_ship = "proletarij" |
CREATE TABLE table_name_87 (area_km_2 VARCHAR, official_name VARCHAR) | What is the area in square kilometers of Studholm? | SELECT COUNT(area_km_2) FROM table_name_87 WHERE official_name = "studholm" |
CREATE TABLE table_name_2 (week INTEGER, attendance VARCHAR) | For what week was the attendance 40,429? | SELECT SUM(week) FROM table_name_2 WHERE attendance = 40 OFFSET 429 |
CREATE TABLE table_name_17 (week VARCHAR, opponent VARCHAR) | The Detroit Lions were played against what week? | SELECT week FROM table_name_17 WHERE opponent = "detroit lions" |
CREATE TABLE table_name_65 (attendance VARCHAR, date VARCHAR) | On September 10, 1989 how many people attended the game? | SELECT attendance FROM table_name_65 WHERE date = "september 10, 1989" |
CREATE TABLE table_name_2 (poll_source VARCHAR, peg_luksik VARCHAR, dates_administered VARCHAR) | Which Poll source has a Peg Luksik of 9%, and Dates administered of may 12, 2010? | SELECT poll_source FROM table_name_2 WHERE peg_luksik = "9%" AND dates_administered = "may 12, 2010" |
CREATE TABLE table_name_5 (poll_source VARCHAR, pat_toomey VARCHAR) | Which Poll source has Pat Toomey of 23%? | SELECT poll_source FROM table_name_5 WHERE pat_toomey = "23%" |
CREATE TABLE table_name_51 (silver VARCHAR, nation VARCHAR) | How many total silvers does Russia have? | SELECT COUNT(silver) FROM table_name_51 WHERE nation = "russia" |
CREATE TABLE table_name_63 (bronze INTEGER, nation VARCHAR, gold VARCHAR) | What is the average number of bronze medals of the Philippines, which has more than 0 gold? | SELECT AVG(bronze) FROM table_name_63 WHERE nation = "philippines" AND gold > 0 |
CREATE TABLE table_name_96 (bronze INTEGER, gold VARCHAR, silver VARCHAR) | What is the average number of bronze of the nation with more than 1 gold and 1 silver medal? | SELECT AVG(bronze) FROM table_name_96 WHERE gold > 1 AND silver = 1 |
CREATE TABLE table_name_62 (total INTEGER, rank VARCHAR, silver VARCHAR) | What is the average total medals of the nation ranked 1 with less than 1 silver? | SELECT AVG(total) FROM table_name_62 WHERE rank = "1" AND silver < 1 |
CREATE TABLE table_name_67 (gold INTEGER, silver INTEGER) | What is the lowest number of gold medals the nation with less than 0 silver medals has? | SELECT MIN(gold) FROM table_name_67 WHERE silver < 0 |
CREATE TABLE table_name_3 (location_attendance VARCHAR, date VARCHAR) | What was the Location/Attendance on september 11? | SELECT location_attendance FROM table_name_3 WHERE date = "september 11" |
CREATE TABLE table_name_35 (high_rebounds VARCHAR, date VARCHAR) | What were the high rebounds on september 11? | SELECT high_rebounds FROM table_name_35 WHERE date = "september 11" |
CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR) | When did indiana play? | SELECT date FROM table_name_8 WHERE opponent = "indiana" |
CREATE TABLE table_name_29 (location_attendance VARCHAR, high_rebounds VARCHAR) | Which Location/Attendance has High rebounds of lennox (7)? | SELECT location_attendance FROM table_name_29 WHERE high_rebounds = "lennox (7)" |
CREATE TABLE table_name_57 (team VARCHAR, high_assists VARCHAR, high_rebounds VARCHAR) | What team has tony parker (10) as the high assists, kurt thomas (12) as the high rebounds? | SELECT team FROM table_name_57 WHERE high_assists = "tony parker (10)" AND high_rebounds = "kurt thomas (12)" |
CREATE TABLE table_name_17 (score VARCHAR, high_rebounds VARCHAR) | What score has tim duncan (14) as the high rebounds? | SELECT score FROM table_name_17 WHERE high_rebounds = "tim duncan (14)" |
CREATE TABLE table_name_28 (round INTEGER, overall VARCHAR, pick VARCHAR) | What is the lowest round for an overall pick of 349 with a pick number in the round over 11? | SELECT MIN(round) FROM table_name_28 WHERE overall = 349 AND pick > 11 |
CREATE TABLE table_name_77 (location VARCHAR, round VARCHAR, opponent VARCHAR) | Where was the fight located that lasted 1 round against luiz claudio das dores? | SELECT location FROM table_name_77 WHERE round = "1" AND opponent = "luiz claudio das dores" |
CREATE TABLE table_name_2 (date VARCHAR, game VARCHAR) | Which date was game 35 on? | SELECT date FROM table_name_2 WHERE game = 35 |
CREATE TABLE table_name_70 (record VARCHAR, game VARCHAR) | What was the record after game 37? | SELECT record FROM table_name_70 WHERE game = 37 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.