context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_name_16 (area_km_2 INTEGER, population VARCHAR) | Can you tell me the lowest Area km 2 that has the Population of 2,352? | SELECT MIN(area_km_2) FROM table_name_16 WHERE population = 2 OFFSET 352 |
CREATE TABLE table_name_35 (fcc_info VARCHAR, state VARCHAR, city_of_license VARCHAR) | What is the FCC info for the radio station in West Lafayette, Indiana? | SELECT fcc_info FROM table_name_35 WHERE state = "indiana" AND city_of_license = "west lafayette" |
CREATE TABLE table_name_70 (frequency VARCHAR, state VARCHAR, call_sign VARCHAR) | What is the frequency of the radio station in Indiana that has a call sign of WGNR? | SELECT frequency FROM table_name_70 WHERE state = "indiana" AND call_sign = "wgnr" |
CREATE TABLE table_name_19 (frequency VARCHAR, call_sign VARCHAR) | What is the frequency of the radio station with a call sign of WGNR-FM? | SELECT frequency FROM table_name_19 WHERE call_sign = "wgnr-fm" |
CREATE TABLE table_name_71 (state VARCHAR, frequency VARCHAR, city_of_license VARCHAR) | What state is the radio station in that has a frequency of 90.1 FM and a city license in New Castle? | SELECT state FROM table_name_71 WHERE frequency = "90.1 fm" AND city_of_license = "new castle" |
CREATE TABLE table_name_61 (city_of_license VARCHAR, frequency VARCHAR) | What city is 103.3 FM licensed in? | SELECT city_of_license FROM table_name_61 WHERE frequency = "103.3 fm" |
CREATE TABLE table_name_87 (call_sign VARCHAR, state VARCHAR, frequency VARCHAR) | What is the call sign for 90.9 FM which is in Florida? | SELECT call_sign FROM table_name_87 WHERE state = "florida" AND frequency = "90.9 fm" |
CREATE TABLE table_name_98 (res VARCHAR, event VARCHAR) | What is the result for the Call to Arms I event? | SELECT res FROM table_name_98 WHERE event = "call to arms i" |
CREATE TABLE table_name_4 (record VARCHAR, team VARCHAR) | What is the record for the Utah Jazz? | SELECT record FROM table_name_4 WHERE team = "utah jazz" |
CREATE TABLE table_name_65 (location VARCHAR, method VARCHAR, time VARCHAR) | what is the location when the method is tko (punches) and the time is 2:48? | SELECT location FROM table_name_65 WHERE method = "tko (punches)" AND time = "2:48" |
CREATE TABLE table_name_90 (location VARCHAR, record VARCHAR) | what is the location when the record is 5-1-1? | SELECT location FROM table_name_90 WHERE record = "5-1-1" |
CREATE TABLE table_name_40 (avg_g VARCHAR, name VARCHAR) | What is the total avg/g of McCrary, Greg? | SELECT COUNT(avg_g) FROM table_name_40 WHERE name = "mccrary, greg" |
CREATE TABLE table_name_58 (effic INTEGER, avg_g VARCHAR) | What is the lowest effic with a 58.9 avg/g? | SELECT MIN(effic) FROM table_name_58 WHERE avg_g = 58.9 |
CREATE TABLE table_name_70 (avg_g VARCHAR, effic VARCHAR, name VARCHAR) | What is the avg/g of Rhines, Chris, who has an effic greater than 73.95? | SELECT avg_g FROM table_name_70 WHERE effic > 73.95 AND name = "rhines, chris" |
CREATE TABLE table_name_57 (week VARCHAR, record VARCHAR) | Which week has a record of 5–2? | SELECT week FROM table_name_57 WHERE record = "5–2" |
CREATE TABLE table_name_85 (date VARCHAR, result VARCHAR) | On what date was the result w 28–7? | SELECT date FROM table_name_85 WHERE result = "w 28–7" |
CREATE TABLE table_name_21 (name VARCHAR, birth VARCHAR) | Who has a birth of 16 august 1401? | SELECT name FROM table_name_21 WHERE birth = "16 august 1401" |
CREATE TABLE table_name_1 (death VARCHAR, husband VARCHAR) | when was the death of the person with husband Charles, 1st dauphin? | SELECT death FROM table_name_1 WHERE husband = "charles, 1st dauphin" |
CREATE TABLE table_name_45 (death VARCHAR, birth VARCHAR) | when was the death when the birth was 8 december 1542? | SELECT death FROM table_name_45 WHERE birth = "8 december 1542" |
CREATE TABLE table_name_72 (became_dauphine VARCHAR, birth VARCHAR) | When was became dauphine when birth is 1393? | SELECT became_dauphine FROM table_name_72 WHERE birth = "1393" |
CREATE TABLE table_name_79 (marriage VARCHAR, became_dauphine VARCHAR) | when was the marriage when became dauphine is 31 august 1412? | SELECT marriage FROM table_name_79 WHERE became_dauphine = "31 august 1412" |
CREATE TABLE table_name_36 (husband VARCHAR, ceased_to_be_dauphine VARCHAR) | who is the husband when ceased to be dauphine is 22 july 1461 became queen? | SELECT husband FROM table_name_36 WHERE ceased_to_be_dauphine = "22 july 1461 became queen" |
CREATE TABLE table_name_45 (money___ INTEGER, country VARCHAR, player VARCHAR) | what is the least money ($) when the country is united states and the player is kirk triplett? | SELECT MIN(money___) AS $__ FROM table_name_45 WHERE country = "united states" AND player = "kirk triplett" |
CREATE TABLE table_name_21 (money___ INTEGER, score VARCHAR) | what is the most money ($) when the score is 71-74-69-72=286? | SELECT MAX(money___) AS $__ FROM table_name_21 WHERE score = 71 - 74 - 69 - 72 = 286 |
CREATE TABLE table_name_40 (money___$__ VARCHAR, place VARCHAR, player VARCHAR) | What is the Money ($) when the Place is t6, and Player is chris dimarco? | SELECT money___$__ FROM table_name_40 WHERE place = "t6" AND player = "chris dimarco" |
CREATE TABLE table_name_26 (year VARCHAR, movie_title VARCHAR) | What year was Jamboree made? | SELECT year FROM table_name_26 WHERE movie_title = "jamboree" |
CREATE TABLE table_name_75 (movie_title VARCHAR, year VARCHAR) | What movie was made in 1957? | SELECT movie_title FROM table_name_75 WHERE year = 1957 |
CREATE TABLE table_name_35 (year VARCHAR, producer VARCHAR) | What year was Sam Kazman a producer? | SELECT year FROM table_name_35 WHERE producer = "sam kazman" |
CREATE TABLE table_name_60 (producer VARCHAR, year VARCHAR) | Who were the producers in 1961? | SELECT producer FROM table_name_60 WHERE year = 1961 |
CREATE TABLE table_name_70 (role VARCHAR, year VARCHAR) | What were the roles in 1961? | SELECT role FROM table_name_70 WHERE year = 1961 |
CREATE TABLE table_name_70 (date VARCHAR, week VARCHAR) | What was the date during week 13? | SELECT date FROM table_name_70 WHERE week = 13 |
CREATE TABLE table_name_26 (game INTEGER, november VARCHAR) | what is the game when on november 27? | SELECT SUM(game) FROM table_name_26 WHERE november = 27 |
CREATE TABLE table_name_68 (opponent VARCHAR, november VARCHAR) | who is the opponent on november 24? | SELECT opponent FROM table_name_68 WHERE november = 24 |
CREATE TABLE table_name_48 (opposing_team VARCHAR, venue VARCHAR, against VARCHAR, status VARCHAR) | Which opposing team had an Against score less than 42 and a Tour Match status in Rugby Park, Gisborne? | SELECT opposing_team FROM table_name_48 WHERE against < 42 AND status = "tour match" AND venue = "rugby park, gisborne" |
CREATE TABLE table_name_94 (date VARCHAR, opposing_team VARCHAR) | What date was the opposing team Poverty Bay? | SELECT date FROM table_name_94 WHERE opposing_team = "poverty bay" |
CREATE TABLE table_name_84 (venue VARCHAR, against VARCHAR, opposing_team VARCHAR) | Which venue had an against score smaller than 18 when the opposing team was North Auckland? | SELECT venue FROM table_name_84 WHERE against < 18 AND opposing_team = "north auckland" |
CREATE TABLE table_name_86 (score VARCHAR, time VARCHAR) | What was the score when the time was 14:00? | SELECT score FROM table_name_86 WHERE time = "14:00" |
CREATE TABLE table_name_13 (high_assists VARCHAR, high_points VARCHAR, high_rebounds VARCHAR) | What is High Assists, when High Points is "Kobe Bryant (27)", and when High Rebounds is "Pau Gasol (11)"? | SELECT high_assists FROM table_name_13 WHERE high_points = "kobe bryant (27)" AND high_rebounds = "pau gasol (11)" |
CREATE TABLE table_name_58 (record VARCHAR, team VARCHAR) | What is the record for the St. Louis team? | SELECT record FROM table_name_58 WHERE team = "st. louis" |
CREATE TABLE table_name_46 (Id VARCHAR) | What shows for 2002 when the 1991 is w? | SELECT 2002 FROM table_name_46 WHERE 1991 = "w" |
CREATE TABLE table_name_74 (Id VARCHAR) | What shows for 1995 when 1996 shows grand slams? | SELECT 1995 FROM table_name_74 WHERE 1996 = "grand slams" |
CREATE TABLE table_name_3 (Id VARCHAR) | What shows for 202 when the 1994 is A, the 1989 is NME, and the 199 is 2R? | SELECT 2002 FROM table_name_3 WHERE 1994 = "a" AND 1989 = "nme" AND 1999 = "2r" |
CREATE TABLE table_name_43 (tournament VARCHAR) | What shows for 1992 when 1988 is A, at the Australian Open? | SELECT 1992 FROM table_name_43 WHERE 1988 = "a" AND tournament = "australian open" |
CREATE TABLE table_name_3 (Id VARCHAR) | What shows for 1992 when 2001 is 1r, 1994 is 1r, and the 2002 is qf? | SELECT 1992 FROM table_name_3 WHERE 2001 = "1r" AND 1994 = "1r" AND 2002 = "qf" |
CREATE TABLE table_name_32 (Id VARCHAR) | What shows for 1988 when 1994 shows 10–6? | SELECT 1988 FROM table_name_32 WHERE 1994 = "10–6" |
CREATE TABLE table_name_37 (result VARCHAR, round VARCHAR) | What result is found for the round that has f? | SELECT result FROM table_name_37 WHERE round = "f" |
CREATE TABLE table_name_83 (method VARCHAR, opponent VARCHAR) | What was the method of resolution for the fight against dale hartt? | SELECT method FROM table_name_83 WHERE opponent = "dale hartt" |
CREATE TABLE table_name_72 (phase VARCHAR, round VARCHAR) | Which phase is for the Matchday 4 Round? | SELECT phase FROM table_name_72 WHERE round = "matchday 4" |
CREATE TABLE table_name_28 (mountain_range VARCHAR, mountain_peak VARCHAR, state VARCHAR, rank VARCHAR) | what is the mountain range when the state is colorado, rank is higher than 90 and mountain peak is whetstone mountain? | SELECT mountain_range FROM table_name_28 WHERE state = "colorado" AND rank > 90 AND mountain_peak = "whetstone mountain" |
CREATE TABLE table_name_73 (mountain_peak VARCHAR, location VARCHAR) | what is the mountain peak when the location is 37.5775°n 105.4856°w? | SELECT mountain_peak FROM table_name_73 WHERE location = "37.5775°n 105.4856°w" |
CREATE TABLE table_name_50 (mountain_range VARCHAR, mountain_peak VARCHAR) | what is the mountain range when the mountain peak is mauna kea? | SELECT mountain_range FROM table_name_50 WHERE mountain_peak = "mauna kea" |
CREATE TABLE table_name_21 (rank INTEGER, state VARCHAR, location VARCHAR) | what is the rank when the state is colorado and the location is 37.7859°n 107.7039°w? | SELECT SUM(rank) FROM table_name_21 WHERE state = "colorado" AND location = "37.7859°n 107.7039°w" |
CREATE TABLE table_name_82 (attendance VARCHAR, time VARCHAR) | What is the number of people in attendance when the time is 3:00? | SELECT attendance FROM table_name_82 WHERE time = "3:00" |
CREATE TABLE table_name_14 (score VARCHAR, location VARCHAR, date VARCHAR) | What was the score at Tiger Stadium on October 12? | SELECT score FROM table_name_14 WHERE location = "tiger stadium" AND date = "october 12" |
CREATE TABLE table_name_83 (attendance INTEGER, location VARCHAR, game VARCHAR) | What is the number of people in attendance at Oakland-Alameda County Coliseum, and game is 2? | SELECT SUM(attendance) FROM table_name_83 WHERE location = "oakland-alameda county coliseum" AND game = 2 |
CREATE TABLE table_name_13 (high_assists VARCHAR, team VARCHAR) | Who had the most assists in the game against Atlanta? | SELECT high_assists FROM table_name_13 WHERE team = "atlanta" |
CREATE TABLE table_name_85 (played INTEGER, lost INTEGER) | What is the lowest played with a lost bigger than 10? | SELECT MIN(played) FROM table_name_85 WHERE lost > 10 |
CREATE TABLE table_name_81 (team VARCHAR, goals_conceded VARCHAR, place VARCHAR) | What team with a goals conceded smaller than 25, and a place smaller than 3? | SELECT team FROM table_name_81 WHERE goals_conceded < 25 AND place < 3 |
CREATE TABLE table_name_90 (draw INTEGER, goals_scored VARCHAR, lost VARCHAR, place VARCHAR) | What is the sum of draw with a lost smaller than 6, and a place of 5, and a goals scored less than 29? | SELECT SUM(draw) FROM table_name_90 WHERE lost < 6 AND place = 5 AND goals_scored < 29 |
CREATE TABLE table_name_70 (place VARCHAR, points INTEGER) | What is the total number for a place with points smaller than 12? | SELECT COUNT(place) FROM table_name_70 WHERE points < 12 |
CREATE TABLE table_name_41 (place VARCHAR, country VARCHAR, player VARCHAR) | What is Place, when Country is "United States", and when Player is "Lee Trevino"? | SELECT place FROM table_name_41 WHERE country = "united states" AND player = "lee trevino" |
CREATE TABLE table_name_75 (score VARCHAR, country VARCHAR, player VARCHAR) | What is the total number of Score, when Country is "United States", and when Player is "Lee Trevino"? | SELECT COUNT(score) FROM table_name_75 WHERE country = "united states" AND player = "lee trevino" |
CREATE TABLE table_name_23 (to_par VARCHAR, place VARCHAR, player VARCHAR) | What is To Par, when Place is "T9", and when Player is "Lee Trevino"? | SELECT to_par FROM table_name_23 WHERE place = "t9" AND player = "lee trevino" |
CREATE TABLE table_name_3 (country VARCHAR, place VARCHAR, player VARCHAR) | What is the Country, when Place is T6, and when Player is "Raymond Floyd"? | SELECT country FROM table_name_3 WHERE place = "t6" AND player = "raymond floyd" |
CREATE TABLE table_name_15 (seasons_in_csl VARCHAR, top_division_titles__overall_ VARCHAR, home_stadium VARCHAR) | What were the years for Seasons in CSL when they played in the Guiyang Olympic Sports Center and had Top Division Titles (Overall) of 0? | SELECT seasons_in_csl FROM table_name_15 WHERE top_division_titles__overall_ = 0 AND home_stadium = "guiyang olympic sports center" |
CREATE TABLE table_name_18 (to_par VARCHAR, place VARCHAR, country VARCHAR) | What is To Par, when Place is "T5", and when Country is "United States"? | SELECT to_par FROM table_name_18 WHERE place = "t5" AND country = "united states" |
CREATE TABLE table_name_56 (score VARCHAR, country VARCHAR, to_par VARCHAR) | What is Score, when Country is "United States", and when To Par is "+4"? | SELECT score FROM table_name_56 WHERE country = "united states" AND to_par = "+4" |
CREATE TABLE table_name_48 (player VARCHAR, score VARCHAR) | What is Player, when Score is "66-74-76=216"? | SELECT player FROM table_name_48 WHERE score = 66 - 74 - 76 = 216 |
CREATE TABLE table_name_1 (country VARCHAR, place VARCHAR, player VARCHAR) | What is Country, when Place is "T9", and when Player is "Michael Campbell"? | SELECT country FROM table_name_1 WHERE place = "t9" AND player = "michael campbell" |
CREATE TABLE table_name_50 (player VARCHAR, country VARCHAR, place VARCHAR) | What is Player, when Country is "England", and when Place is "T7"? | SELECT player FROM table_name_50 WHERE country = "england" AND place = "t7" |
CREATE TABLE table_name_70 (player VARCHAR, place VARCHAR) | What is Player, when Place is "1"? | SELECT player FROM table_name_70 WHERE place = "1" |
CREATE TABLE table_name_88 (total INTEGER, player VARCHAR) | What is the total of Mark O'meara? | SELECT MIN(total) FROM table_name_88 WHERE player = "mark o'meara" |
CREATE TABLE table_name_83 (total VARCHAR, player VARCHAR) | What is the total for Bernhard Langer? | SELECT COUNT(total) FROM table_name_83 WHERE player = "bernhard langer" |
CREATE TABLE table_name_45 (player VARCHAR, to_par VARCHAR) | Which player has +2 to par? | SELECT player FROM table_name_45 WHERE to_par = "+2" |
CREATE TABLE table_name_87 (country VARCHAR, finish VARCHAR) | Which country has a finish of t22? | SELECT country FROM table_name_87 WHERE finish = "t22" |
CREATE TABLE table_name_29 (player VARCHAR, total VARCHAR, to_par VARCHAR) | Which player has a total of more than 290 and +4 to par. | SELECT player FROM table_name_29 WHERE total > 290 AND to_par = "+4" |
CREATE TABLE table_name_88 (gold VARCHAR, bronze VARCHAR) | What is the number of gold medals when the number of bronze medals is 8? | SELECT gold FROM table_name_88 WHERE bronze = "8" |
CREATE TABLE table_name_29 (rank VARCHAR, bronze VARCHAR) | What rank is the nation that has a bronze of source: Maltese Olympic Committee? | SELECT rank FROM table_name_29 WHERE bronze = "source: maltese olympic committee" |
CREATE TABLE table_name_44 (rank VARCHAR, silver VARCHAR) | What rank is the nation with 2 silver medals? | SELECT rank FROM table_name_44 WHERE silver = "2" |
CREATE TABLE table_name_91 (total VARCHAR, gold VARCHAR) | What is the total medal count for the nation that has 5 gold? | SELECT total FROM table_name_91 WHERE gold = "5" |
CREATE TABLE table_name_80 (bronze VARCHAR, rank VARCHAR) | How many bronze medals does the nation ranked number 1 have? | SELECT bronze FROM table_name_80 WHERE rank = "1" |
CREATE TABLE table_name_63 (nation VARCHAR, bronze VARCHAR) | What nation has 28 bronze medals? | SELECT nation FROM table_name_63 WHERE bronze = "28" |
CREATE TABLE table_name_40 (to_par INTEGER, score VARCHAR) | What is the average To Par, when Score is "72-67-71-72=282"? | SELECT AVG(to_par) FROM table_name_40 WHERE score = 72 - 67 - 71 - 72 = 282 |
CREATE TABLE table_name_22 (to_par INTEGER, place VARCHAR) | What is the highest To Par, when Place is "1"? | SELECT MAX(to_par) FROM table_name_22 WHERE place = "1" |
CREATE TABLE table_name_14 (nationality VARCHAR, team VARCHAR, player VARCHAR) | What's the nationality of Montreal Impact with Justin Mapp Category:articles with hcards as the player? | SELECT nationality FROM table_name_14 WHERE team = "montreal impact" AND player = "justin mapp category:articles with hcards" |
CREATE TABLE table_name_23 (player VARCHAR, nationality VARCHAR, year VARCHAR) | After 2009, who was the player that has a nationality of Canada? | SELECT player FROM table_name_23 WHERE nationality = "canada" AND year > 2009 |
CREATE TABLE table_name_78 (nationality VARCHAR, year VARCHAR, player VARCHAR) | After 2009, what's the nationality of a player named Dwayne de Rosario Category:articles with hcards? | SELECT nationality FROM table_name_78 WHERE year > 2009 AND player = "dwayne de rosario category:articles with hcards" |
CREATE TABLE table_name_36 (position VARCHAR, nationality VARCHAR, player VARCHAR) | What's the position when the player was Justin Mapp Category:articles with hcards with a United States nationality? | SELECT position FROM table_name_36 WHERE nationality = "united states" AND player = "justin mapp category:articles with hcards" |
CREATE TABLE table_name_34 (result VARCHAR, round VARCHAR) | What is the result of round R3? | SELECT result FROM table_name_34 WHERE round = "r3" |
CREATE TABLE table_name_72 (venue VARCHAR, round VARCHAR) | In which venue was round F? | SELECT venue FROM table_name_72 WHERE round = "f" |
CREATE TABLE table_name_69 (top_10 VARCHAR, starts VARCHAR, avg_finish VARCHAR) | How many top 10s belong to the team with a start of 7 and an average finish less than 16.7? | SELECT COUNT(top_10) FROM table_name_69 WHERE starts = 7 AND avg_finish < 16.7 |
CREATE TABLE table_name_46 (competition VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR) | Which Competition has an Event of 50km, a Year earlier than 2010 and a Position of 3rd? | SELECT competition FROM table_name_46 WHERE event = "50km" AND year < 2010 AND position = "3rd" |
CREATE TABLE table_name_74 (position VARCHAR, competition VARCHAR) | What is the Position for the European U23 Championships? | SELECT position FROM table_name_74 WHERE competition = "european u23 championships" |
CREATE TABLE table_name_49 (event VARCHAR, competition VARCHAR, position VARCHAR) | Which Event has 5th Position in the European Championships Competition? | SELECT event FROM table_name_49 WHERE competition = "european championships" AND position = "5th" |
CREATE TABLE table_name_64 (position VARCHAR, venue VARCHAR) | What Position is listed against a Venue of Debrecen, Hungary | SELECT position FROM table_name_64 WHERE venue = "debrecen, hungary" |
CREATE TABLE table_name_19 (blocks VARCHAR, rebounds INTEGER) | How many blocks are there when the rebounds are fewer than 5.2? | SELECT COUNT(blocks) FROM table_name_19 WHERE rebounds < 5.2 |
CREATE TABLE table_name_69 (rebounds INTEGER, steals VARCHAR, turnovers VARCHAR) | What is the maximum rebounds when there are 0.9 steals and fewer than 1.4 turnovers? | SELECT MAX(rebounds) FROM table_name_69 WHERE steals = 0.9 AND turnovers < 1.4 |
CREATE TABLE table_name_91 (opponent VARCHAR, week VARCHAR, date VARCHAR) | What team was the opponent in a week earlier than 17 on June 17, 2006? | SELECT opponent FROM table_name_91 WHERE week < 17 AND date = "june 17, 2006" |
CREATE TABLE table_name_19 (result VARCHAR, date VARCHAR) | What is the result for the game on May 27, 2006? | SELECT result FROM table_name_19 WHERE date = "may 27, 2006" |
CREATE TABLE table_name_20 (game_site VARCHAR, week VARCHAR) | What is the Game site week 1? | SELECT game_site FROM table_name_20 WHERE week = 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.