answer stringlengths 32 484 | context stringlengths 27 489 | question stringlengths 12 244 |
|---|---|---|
SELECT driver FROM table_name_84 WHERE grid = 13 | CREATE TABLE table_name_84 (driver VARCHAR, grid VARCHAR) | who is the driver with the grid of 13? |
SELECT SUM(championships) FROM table_name_92 WHERE established = 1976 | CREATE TABLE table_name_92 (championships INTEGER, established VARCHAR) | How many championships did the team or teams established in 1976 win? |
SELECT MAX(established) FROM table_name_54 WHERE league = "wnba" AND championships > 2 | CREATE TABLE table_name_54 (established INTEGER, league VARCHAR, championships VARCHAR) | Which WNBA team that won at least 2 championships was established most recently? |
SELECT venue FROM table_name_39 WHERE league = "wnba" | CREATE TABLE table_name_39 (venue VARCHAR, league VARCHAR) | What are the venues that host WNBA games? |
SELECT bowling_style FROM table_name_10 WHERE date_of_birth = "16 march 1974" | CREATE TABLE table_name_10 (bowling_style VARCHAR, date_of_birth VARCHAR) | Name the bowling style of the player born 16 march 1974 |
SELECT batting_style FROM table_name_57 WHERE player = "heath streak" | CREATE TABLE table_name_57 (batting_style VARCHAR, player VARCHAR) | Name the batting style for heath streak |
SELECT name FROM table_name_87 WHERE floors = 52 | CREATE TABLE table_name_87 (name VARCHAR, floors VARCHAR) | What is the name of a building that has 52 floors? |
SELECT COUNT(floors) FROM table_name_95 WHERE name = "custom house tower" | CREATE TABLE table_name_95 (floors VARCHAR, name VARCHAR) | How many floors does the Custom House Tower have? |
SELECT MAX(floors) FROM table_name_52 WHERE street_address = "800 boylston street" | CREATE TABLE table_name_52 (floors INTEGER, street_address VARCHAR) | How many floors does the building on 800 Boylston Street have? |
SELECT street_address FROM table_name_17 WHERE name = "prudential tower" | CREATE TABLE table_name_17 (street_address VARCHAR, name VARCHAR) | What is the street address for the Prudential Tower building? |
SELECT SUM(floors) FROM table_name_81 WHERE street_address = "800 boylston street" | CREATE TABLE table_name_81 (floors INTEGER, street_address VARCHAR) | There is a building at 800 Boylston Street, how many floors does it have? |
SELECT MAX(number_of_jews__wjc_) FROM table_name_1 WHERE rank___wjc__ = 6 AND rank__arda_ > 8 | CREATE TABLE table_name_1 (number_of_jews__wjc_ INTEGER, rank___wjc__ VARCHAR, rank__arda_ VARCHAR) | What was the highest number of WJC Jews that had a WJC rank of 6 and a ARDA rank of more than 8? |
SELECT number_of_jews__wjc_ FROM table_name_96 WHERE rank___wjc__ = 6 | CREATE TABLE table_name_96 (number_of_jews__wjc_ VARCHAR, rank___wjc__ VARCHAR) | What was the number of WJC Jews with a WJC rank of 6? |
SELECT SUM(number_of_jews__wjc_) FROM table_name_73 WHERE metro_area = "los angeles" AND rank__arda_ > 2 | CREATE TABLE table_name_73 (number_of_jews__wjc_ INTEGER, metro_area VARCHAR, rank__arda_ VARCHAR) | How many number of WJC Jews in the Los Angeles Metro Area has a ARDA rank of more than 2? |
SELECT driver FROM table_name_55 WHERE laps < 19 AND time_retired = "ignition" | CREATE TABLE table_name_55 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR) | Who drove during the race with less than 19 laps and a time listed as ignition? |
SELECT record FROM table_name_90 WHERE round > 2 AND event = "raging wolf 6: mayhem in the mist" | CREATE TABLE table_name_90 (record VARCHAR, round VARCHAR, event VARCHAR) | What is his record for fights that went over 2 rounds in the Event of raging wolf 6: mayhem in the mist? |
SELECT MAX(crowd) FROM table_name_54 WHERE venue = "moorabbin oval" | CREATE TABLE table_name_54 (crowd INTEGER, venue VARCHAR) | What is the highest number of people that attended a game at Moorabbin Oval? |
SELECT MIN(crowd) FROM table_name_83 WHERE away_team = "essendon" | CREATE TABLE table_name_83 (crowd INTEGER, away_team VARCHAR) | What is the least amount of people that attended a game when Essendon was the away team? |
SELECT date FROM table_name_74 WHERE away_team = "south melbourne" | CREATE TABLE table_name_74 (date VARCHAR, away_team VARCHAR) | Which date did South Melbourne play as the away team? |
SELECT constructor FROM table_name_3 WHERE driver = "jackie stewart" | CREATE TABLE table_name_3 (constructor VARCHAR, driver VARCHAR) | What is the constructor for Jackie Stewart's car? |
SELECT location FROM table_name_54 WHERE driver = "denny hulme" | CREATE TABLE table_name_54 (location VARCHAR, driver VARCHAR) | What is the location where Denny Hulme was the driver? |
SELECT train_no FROM table_name_87 WHERE origin = "secunderabad junction" | CREATE TABLE table_name_87 (train_no VARCHAR, origin VARCHAR) | What is number of the train that originated in Secunderabad Junction? |
SELECT origin FROM table_name_29 WHERE destination = "anand vihar terminal" | CREATE TABLE table_name_29 (origin VARCHAR, destination VARCHAR) | From where did the train that arrived in the Anand Vihar Terminal originate? |
SELECT origin FROM table_name_15 WHERE train_no = "15929/30" | CREATE TABLE table_name_15 (origin VARCHAR, train_no VARCHAR) | From where did Train No. 15929/30 originate? |
SELECT frequency FROM table_name_82 WHERE destination = "bangalore" | CREATE TABLE table_name_82 (frequency VARCHAR, destination VARCHAR) | What is the frequency of the train to Bangalore? |
SELECT COUNT(norwegian_americans__2009_) FROM table_name_72 WHERE norwegian_americans__2000_ = 109 OFFSET 744 | CREATE TABLE table_name_72 (norwegian_americans__2009_ VARCHAR, norwegian_americans__2000_ VARCHAR) | How many Norwegian Americans have Norwegian Americans (2000) of 109,744? |
SELECT state FROM table_name_95 WHERE percent__2009_ = "6.2%" | CREATE TABLE table_name_95 (state VARCHAR, percent__2009_ VARCHAR) | Which state has a Percent (2009) of 6.2%? |
SELECT holding FROM table_name_56 WHERE component = "customers" | CREATE TABLE table_name_56 (holding VARCHAR, component VARCHAR) | What is the holding of the customers? |
SELECT allied_unrelated FROM table_name_61 WHERE allied_related = "common" | CREATE TABLE table_name_61 (allied_unrelated VARCHAR, allied_related VARCHAR) | What Allied-Unrelated is labeled as "common"? |
SELECT integrated FROM table_name_40 WHERE allied_related = "some shared" | CREATE TABLE table_name_40 (integrated VARCHAR, allied_related VARCHAR) | Which integrated has an allied-related of some shared? |
SELECT integrated FROM table_name_11 WHERE allied_related = "centralized" | CREATE TABLE table_name_11 (integrated VARCHAR, allied_related VARCHAR) | What integrated has an allied-related of centralized? |
SELECT component FROM table_name_21 WHERE integrated = "one" | CREATE TABLE table_name_21 (component VARCHAR, integrated VARCHAR) | What component has an integrated of one? |
SELECT COUNT(candidates) FROM table_name_71 WHERE _percentage_of_vote = 0 AND election = 1999 AND seats_won > 0 | CREATE TABLE table_name_71 (candidates VARCHAR, seats_won VARCHAR, _percentage_of_vote VARCHAR, election VARCHAR) | How many candidates had 0 percent of the vote in 1999? |
SELECT score FROM table_name_27 WHERE leading_scorer = "manu ginóbili (44)" | CREATE TABLE table_name_27 (score VARCHAR, leading_scorer VARCHAR) | What is the score of the game with Manu ginóbili (44) as the leading scorer? |
SELECT record FROM table_name_60 WHERE date = "february 21, 2008" | CREATE TABLE table_name_60 (record VARCHAR, date VARCHAR) | What is the record of the game on February 21, 2008? |
SELECT home FROM table_name_74 WHERE leading_scorer = "manu ginóbili (34)" | CREATE TABLE table_name_74 (home VARCHAR, leading_scorer VARCHAR) | Who was the home team of the game with manu ginóbili (34) as the leading scorer? |
SELECT record FROM table_name_59 WHERE date = "february 25, 2008" | CREATE TABLE table_name_59 (record VARCHAR, date VARCHAR) | What is the record of the game on February 25, 2008? |
SELECT type FROM table_name_7 WHERE moving_to = "valenciennes" | CREATE TABLE table_name_7 (type VARCHAR, moving_to VARCHAR) | What type is shown with a moving to of valenciennes? |
SELECT transfer_window FROM table_name_63 WHERE transfer_fee = "n/a" AND moving_to = "free agent" AND name = "joe sagar" | CREATE TABLE table_name_63 (transfer_window VARCHAR, name VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) | What is the transfer window with n/a as the Transfer fee, free agent for the Moving to, and Joe Sagar as the name? |
SELECT name FROM table_name_81 WHERE type = "end of contract" AND nat = "sco" AND moving_to = "cardiff city" | CREATE TABLE table_name_81 (name VARCHAR, moving_to VARCHAR, type VARCHAR, nat VARCHAR) | What is the name of the person with a type of end of contract, nat of sco, and the Moving to is cardiff city? |
SELECT transfer_window FROM table_name_54 WHERE transfer_fee = "free" AND moving_to = "derby county" | CREATE TABLE table_name_54 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) | What Transfer window that has a Transfer fee of free, with a Moving to of derby county? |
SELECT MIN(game) FROM table_name_98 WHERE attendance = 56 OFFSET 505 | CREATE TABLE table_name_98 (game INTEGER, attendance VARCHAR) | What is the first game number that had attendance of 56,505? |
SELECT crowd FROM table_name_59 WHERE away_team = "footscray" | CREATE TABLE table_name_59 (crowd VARCHAR, away_team VARCHAR) | What was the crowd size for the away team footscray? |
SELECT race_name FROM table_name_4 WHERE circuit = "goodwood" | CREATE TABLE table_name_4 (race_name VARCHAR, circuit VARCHAR) | Which Race Name has Goodwood in the Curcuit? |
SELECT constructor FROM table_name_6 WHERE winning_driver = "jim clark" AND circuit = "syracuse" | CREATE TABLE table_name_6 (constructor VARCHAR, winning_driver VARCHAR, circuit VARCHAR) | Which Constructor has the Winning Driver, Jim Clark and the Circuit, Syracuse? |
SELECT constructor FROM table_name_72 WHERE winning_driver = "jo siffert" | CREATE TABLE table_name_72 (constructor VARCHAR, winning_driver VARCHAR) | Which Constructor has the Winning Driver, Jo Siffert? |
SELECT constructor FROM table_name_49 WHERE circuit = "pergusa" | CREATE TABLE table_name_49 (constructor VARCHAR, circuit VARCHAR) | Which Constructor has Pergusa in the Circuit? |
SELECT date FROM table_name_89 WHERE venue = "mcg" | CREATE TABLE table_name_89 (date VARCHAR, venue VARCHAR) | On what date was a game played at MCG? |
SELECT AVG(total) FROM table_name_93 WHERE gold = 2 AND silver < 1 | CREATE TABLE table_name_93 (total INTEGER, gold VARCHAR, silver VARCHAR) | What is the average total medals of the team with 2 gold and less than 1 silver? |
SELECT MIN(silver) FROM table_name_95 WHERE nation = "iceland" AND total < 87 | CREATE TABLE table_name_95 (silver INTEGER, nation VARCHAR, total VARCHAR) | What is the lowest amount of silver medals Iceland, who has less than 87 medals, has? |
SELECT MIN(bronze) FROM table_name_86 WHERE nation = "andorra" AND total > 6 | CREATE TABLE table_name_86 (bronze INTEGER, nation VARCHAR, total VARCHAR) | What is the least amount of bronze Andorra, who has more than 6 total medals, has? |
SELECT MIN(bronze) FROM table_name_75 WHERE nation = "liechtenstein" AND gold > 11 | CREATE TABLE table_name_75 (bronze INTEGER, nation VARCHAR, gold VARCHAR) | What is the lowest amount of bronze Liechtenstein, who has more than 11 gold, has? |
SELECT AVG(silver) FROM table_name_87 WHERE bronze < 15 AND nation = "montenegro" AND total > 11 | CREATE TABLE table_name_87 (silver INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR) | What is the average amount of silver medals Montenegro, who has less than 15 bronze and more than 11 total medals, has? |
SELECT MIN(voter_turnout) FROM table_name_62 WHERE byut = 50.7 AND ou_psd < 36.8 | CREATE TABLE table_name_62 (voter_turnout INTEGER, byut VARCHAR, ou_psd VARCHAR) | What is the lower turnout that has a byut of 50.7 and an ou psd smaller than 36.8? |
SELECT COUNT(voter_registration) FROM table_name_78 WHERE byut = 48.2 | CREATE TABLE table_name_78 (voter_registration VARCHAR, byut VARCHAR) | What is the voter registration that has a BYut of 48.2? |
SELECT home_team FROM table_name_22 WHERE venue = "vfl park" | CREATE TABLE table_name_22 (home_team VARCHAR, venue VARCHAR) | Who was the home team at VFL Park? |
SELECT home_team FROM table_name_78 WHERE venue = "kardinia park" | CREATE TABLE table_name_78 (home_team VARCHAR, venue VARCHAR) | Who was the home team at Kardinia Park? |
SELECT paper_type FROM table_name_3 WHERE denomination = "1 cent" | CREATE TABLE table_name_3 (paper_type VARCHAR, denomination VARCHAR) | What type of paper is the 1 cent denominations made on? |
SELECT paper_type FROM table_name_7 WHERE date_of_issue = "26 july 2007" | CREATE TABLE table_name_7 (paper_type VARCHAR, date_of_issue VARCHAR) | What is the paper type that the one that was issued on 26 july 2007 done on? |
SELECT home_team AS score FROM table_name_65 WHERE home_team = "footscray" | CREATE TABLE table_name_65 (home_team VARCHAR) | What did the home team footscray score? |
SELECT COUNT(crowd) FROM table_name_95 WHERE home_team = "footscray" | CREATE TABLE table_name_95 (crowd VARCHAR, home_team VARCHAR) | What was the total crowd size for the him team footscray? |
SELECT home_team FROM table_name_57 WHERE venue = "corio oval" | CREATE TABLE table_name_57 (home_team VARCHAR, venue VARCHAR) | What is the Home team at corio oval? |
SELECT livery FROM table_name_82 WHERE date < 1936 AND description = "gresley rf" | CREATE TABLE table_name_82 (livery VARCHAR, date VARCHAR, description VARCHAR) | What livery was worn on the date before 1936, with the description of Gresley RF? |
SELECT number_ & _name FROM table_name_16 WHERE description = "gresley rb" AND date < 1937 | CREATE TABLE table_name_16 (number_ VARCHAR, _name VARCHAR, description VARCHAR, date VARCHAR) | Which number and name has the description Gresley RB and a date before 1937? |
SELECT owner_s_ FROM table_name_60 WHERE date < 1940 AND number_ & _name = "no. 1222" | CREATE TABLE table_name_60 (owner_s_ VARCHAR, date VARCHAR, number_ VARCHAR, _name VARCHAR) | Who is the owner before 1940, who had a number and name of no. 1222? |
SELECT type FROM table_name_2 WHERE scratch = "750 gb" | CREATE TABLE table_name_2 (type VARCHAR, scratch VARCHAR) | What type has a scratch of 750 GB? |
SELECT cache FROM table_name_13 WHERE memory = "24 gb qpi 5.86 gt/s" AND number = 64 | CREATE TABLE table_name_13 (cache VARCHAR, memory VARCHAR, number VARCHAR) | What is the Cache for a Number 64 with a Memory of 24 gb qpi 5.86 gt/s? |
SELECT memory FROM table_name_68 WHERE clock = "2.26ghz" AND number = 32 | CREATE TABLE table_name_68 (memory VARCHAR, clock VARCHAR, number VARCHAR) | What is the Memory for a Number 32 with a Clock of 2.26ghz? |
SELECT place_of_birth FROM table_name_62 WHERE acquired = 2008 | CREATE TABLE table_name_62 (place_of_birth VARCHAR, acquired VARCHAR) | Of those acquired in 2008, where were they born? |
SELECT shoots FROM table_name_99 WHERE acquired = 2010 AND player = "matthew myers" | CREATE TABLE table_name_99 (shoots VARCHAR, acquired VARCHAR, player VARCHAR) | What is the shooting preference of Matthew Myers, acquired in 2010? |
SELECT acquired FROM table_name_18 WHERE player = "bruce graham" | CREATE TABLE table_name_18 (acquired VARCHAR, player VARCHAR) | In what year was player Bruce Graham acquired? |
SELECT d_42_√ FROM table_name_67 WHERE d_44_√ = "r 36 √" | CREATE TABLE table_name_67 (d_42_√ VARCHAR, d_44_√ VARCHAR) | Name the D 42 √ when it has D 44 √ of r 36 √ |
SELECT d_45_o FROM table_name_30 WHERE d_46_o = "d 26" | CREATE TABLE table_name_30 (d_45_o VARCHAR, d_46_o VARCHAR) | Name the D 45 O that has D 46 O of d 26 |
SELECT MIN(goals_against) FROM table_name_29 WHERE goal_difference = 7 AND losses > 13 | CREATE TABLE table_name_29 (goals_against INTEGER, goal_difference VARCHAR, losses VARCHAR) | Name the least goals for goal difference of 7 and losses more than 13 |
SELECT COUNT(position) FROM table_name_12 WHERE goal_difference > -17 AND played < 38 | CREATE TABLE table_name_12 (position VARCHAR, goal_difference VARCHAR, played VARCHAR) | Tell me the total number of positions with goal difference more than -17 and played less than 38 |
SELECT MIN(crowd) FROM table_name_21 WHERE home_team = "south melbourne" | CREATE TABLE table_name_21 (crowd INTEGER, home_team VARCHAR) | What was the attendance when South Melbourne played as the home team? |
SELECT COUNT(crowd) FROM table_name_80 WHERE away_team = "footscray" | CREATE TABLE table_name_80 (crowd VARCHAR, away_team VARCHAR) | What was the attendance when Footscray played as the away team? |
SELECT MIN(quantity) FROM table_name_72 WHERE manufacturer = "peckett and sons" AND gwr_nos = "696, 779, 93 5" | CREATE TABLE table_name_72 (quantity INTEGER, manufacturer VARCHAR, gwr_nos VARCHAR) | What is the lowest quantity for GWR Nos. 696, 779, 93 5 from the manufacturer Peckett and Sons? |
SELECT MIN(capacity) FROM table_name_95 WHERE opening > 2015 AND city = "trabzon" | CREATE TABLE table_name_95 (capacity INTEGER, opening VARCHAR, city VARCHAR) | What is the lowest capacity with an opening larger than 2015 in Trabzon? |
SELECT AVG(opening) FROM table_name_20 WHERE stadium = "stadyum samsun" AND capacity < 34 OFFSET 658 | CREATE TABLE table_name_20 (opening INTEGER, stadium VARCHAR, capacity VARCHAR) | What is the average opening at Stadyum Samsun with a capacity smaller than 34,658? |
SELECT years_for_jazz FROM table_name_46 WHERE school_club_team = "oregon state" | CREATE TABLE table_name_46 (years_for_jazz VARCHAR, school_club_team VARCHAR) | What is the Years for Jazz Club at Oregon State? |
SELECT years_for_jazz FROM table_name_38 WHERE player = "andre owens" | CREATE TABLE table_name_38 (years_for_jazz VARCHAR, player VARCHAR) | Which player is Andre Owens in Year for Jazz? |
SELECT years_for_jazz FROM table_name_54 WHERE school_club_team = "houston" | CREATE TABLE table_name_54 (years_for_jazz VARCHAR, school_club_team VARCHAR) | What is the Year for Jazz club of Houston? |
SELECT position FROM table_name_58 WHERE player = "dan o'sullivan" | CREATE TABLE table_name_58 (position VARCHAR, player VARCHAR) | What is position does Dan O'Sullivan play? |
SELECT position FROM table_name_21 WHERE school_club_team = "kansas" | CREATE TABLE table_name_21 (position VARCHAR, school_club_team VARCHAR) | What position in the club team of Kansas? |
SELECT years_for_jazz FROM table_name_43 WHERE position = "center" AND player = "greg ostertag" | CREATE TABLE table_name_43 (years_for_jazz VARCHAR, position VARCHAR, player VARCHAR) | Who is the center position of Years for Jazz, Greg Ostertag? |
SELECT date FROM table_name_73 WHERE away_team = "university" | CREATE TABLE table_name_73 (date VARCHAR, away_team VARCHAR) | What is the Date for the Away team University? |
SELECT home_team FROM table_name_19 WHERE venue = "junction oval" | CREATE TABLE table_name_19 (home_team VARCHAR, venue VARCHAR) | What is the Home team score at junction oval? |
SELECT date FROM table_name_48 WHERE home_team = "essendon" | CREATE TABLE table_name_48 (date VARCHAR, home_team VARCHAR) | What Date did the Home team play in essendon? |
SELECT country FROM table_name_1 WHERE of_1 = "locotenent" | CREATE TABLE table_name_1 (country VARCHAR, of_1 VARCHAR) | What country has OF-1 Locotenent? |
SELECT country FROM table_name_40 WHERE of_1 = "locotenent" | CREATE TABLE table_name_40 (country VARCHAR, of_1 VARCHAR) | What country has OF-1 Locotenent? |
SELECT of_5 FROM table_name_48 WHERE country = "ghana" | CREATE TABLE table_name_48 (of_5 VARCHAR, country VARCHAR) | Which OF-5 is in Ghana? |
SELECT of_4 FROM table_name_47 WHERE country = "albania" | CREATE TABLE table_name_47 (of_4 VARCHAR, country VARCHAR) | What is the OF-4 of Albania? |
SELECT SUM(pick__number) FROM table_name_79 WHERE cfl_team = "edmonton eskimos" | CREATE TABLE table_name_79 (pick__number INTEGER, cfl_team VARCHAR) | What is the total pick numbers for the CFL team Edmonton Eskimos? |
SELECT player FROM table_name_40 WHERE college = "concordia" | CREATE TABLE table_name_40 (player VARCHAR, college VARCHAR) | What p;layer attended Concordia College? |
SELECT SUM(pick__number) FROM table_name_87 WHERE position = "ol" | CREATE TABLE table_name_87 (pick__number INTEGER, position VARCHAR) | What is the total number of picks for the position of OL? |
SELECT MAX(week) FROM table_name_7 WHERE result = "w 38-13" | CREATE TABLE table_name_7 (week INTEGER, result VARCHAR) | Name the highest week for result of w 38-13 |
SELECT date FROM table_name_88 WHERE attendance = "35,763" | CREATE TABLE table_name_88 (date VARCHAR, attendance VARCHAR) | I want to know the date with attendance of 35,763 |
SELECT series FROM table_name_39 WHERE editor = "dargaud" AND albums = "27" | CREATE TABLE table_name_39 (series VARCHAR, editor VARCHAR, albums VARCHAR) | Which series with a total of 27 albums did Dargaud edit? |
SELECT years FROM table_name_78 WHERE magazine = "vaillant and pif" | CREATE TABLE table_name_78 (years VARCHAR, magazine VARCHAR) | What years did the magazine Vaillant and Pif run? |
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.