question
stringlengths
12
244
context
stringlengths
27
489
answer
dict
Which mountain range has a rank of 19?
CREATE TABLE table_name_35 (mountain_range VARCHAR, rank VARCHAR)
{ "SQL_Query": "SELECT mountain_range FROM table_name_35 WHERE rank = 19" }
Which location includes Coast Mountains with a rank less than 18 at Skihist Mountain?
CREATE TABLE table_name_41 (location VARCHAR, mountain_peak VARCHAR, mountain_range VARCHAR, rank VARCHAR)
{ "SQL_Query": "SELECT location FROM table_name_41 WHERE mountain_range = \"coast mountains\" AND rank < 18 AND mountain_peak = \"skihist mountain\"" }
Which mountain range includes Mount Hubbard?
CREATE TABLE table_name_64 (mountain_range VARCHAR, mountain_peak VARCHAR)
{ "SQL_Query": "SELECT mountain_range FROM table_name_64 WHERE mountain_peak = \"mount hubbard\"" }
Which province includes Axel Heiberg Island?
CREATE TABLE table_name_25 (province VARCHAR, mountain_range VARCHAR)
{ "SQL_Query": "SELECT province FROM table_name_25 WHERE mountain_range = \"axel heiberg island\"" }
What are the notes of events that finished in 12th position?
CREATE TABLE table_name_94 (notes VARCHAR, position VARCHAR)
{ "SQL_Query": "SELECT notes FROM table_name_94 WHERE position = \"12th\"" }
Which venue was finished in 2nd position in 1985?
CREATE TABLE table_name_40 (venue VARCHAR, position VARCHAR, year VARCHAR)
{ "SQL_Query": "SELECT venue FROM table_name_40 WHERE position = \"2nd\" AND year = 1985" }
What is the average year of events that took place in Antwerp, Belgium?
CREATE TABLE table_name_97 (year INTEGER, venue VARCHAR)
{ "SQL_Query": "SELECT AVG(year) FROM table_name_97 WHERE venue = \"antwerp, belgium\"" }
What's the year of the event that took place most recently in Antwerp, Belgium with team competition notes?
CREATE TABLE table_name_42 (year INTEGER, notes VARCHAR, venue VARCHAR)
{ "SQL_Query": "SELECT MAX(year) FROM table_name_42 WHERE notes = \"team competition\" AND venue = \"antwerp, belgium\"" }
What was the label's format LP and catalog of CH-9192?
CREATE TABLE table_name_76 (label VARCHAR, format VARCHAR, catalog VARCHAR)
{ "SQL_Query": "SELECT label FROM table_name_76 WHERE format = \"lp\" AND catalog = \"ch-9192\"" }
When was Catalog CHD-9192 published?
CREATE TABLE table_name_66 (date VARCHAR, catalog VARCHAR)
{ "SQL_Query": "SELECT date FROM table_name_66 WHERE catalog = \"chd-9192\"" }
I need the FCC info on the radio Frequency MHz 107.5?
CREATE TABLE table_name_64 (fcc_info VARCHAR, frequency_mhz VARCHAR)
{ "SQL_Query": "SELECT fcc_info FROM table_name_64 WHERE frequency_mhz = 107.5" }
Give me the MHz Frequency of Allapattah, Florida.
CREATE TABLE table_name_28 (frequency_mhz VARCHAR, city_of_license VARCHAR)
{ "SQL_Query": "SELECT frequency_mhz FROM table_name_28 WHERE city_of_license = \"allapattah, florida\"" }
What class does the w298ak sign belong to?
CREATE TABLE table_name_10 (class VARCHAR, call_sign VARCHAR)
{ "SQL_Query": "SELECT class FROM table_name_10 WHERE call_sign = \"w298ak\"" }
What class is ERP W of 800?
CREATE TABLE table_name_9 (class VARCHAR, erp_w VARCHAR)
{ "SQL_Query": "SELECT class FROM table_name_9 WHERE erp_w = 800" }
What is the total of Goals Conceded that has Points smaller than 21 and a Lost thats smaller than 8?
CREATE TABLE table_name_10 (goals_conceded INTEGER, points VARCHAR, lost VARCHAR)
{ "SQL_Query": "SELECT SUM(goals_conceded) FROM table_name_10 WHERE points < 21 AND lost < 8" }
What's the total of Lost that's got Points larger than 28, Draw of 5, and Place that's smaller than 1?
CREATE TABLE table_name_69 (lost INTEGER, place VARCHAR, points VARCHAR, draw VARCHAR)
{ "SQL_Query": "SELECT SUM(lost) FROM table_name_69 WHERE points > 28 AND draw = 5 AND place < 1" }
What's the total of Goals Scored with Points that's smaller than 27, and a Team of C.D. Atlético Balboa?
CREATE TABLE table_name_40 (goals_scored INTEGER, points VARCHAR, team VARCHAR)
{ "SQL_Query": "SELECT SUM(goals_scored) FROM table_name_40 WHERE points < 27 AND team = \"c.d. atlético balboa\"" }
What is listed as the Highest Played and that has a Place that is larger than 10?
CREATE TABLE table_name_9 (played INTEGER, place INTEGER)
{ "SQL_Query": "SELECT MAX(played) FROM table_name_9 WHERE place > 10" }
What is listed as the Highest Played, has Points of 17, and Draw that is smaller than 5?
CREATE TABLE table_name_19 (played INTEGER, points VARCHAR, draw VARCHAR)
{ "SQL_Query": "SELECT MAX(played) FROM table_name_19 WHERE points = 17 AND draw < 5" }
When was the game that ended with a score of 6-4?
CREATE TABLE table_name_38 (date VARCHAR, score VARCHAR)
{ "SQL_Query": "SELECT date FROM table_name_38 WHERE score = \"6-4\"" }
What was the score on April 8?
CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_39 WHERE date = \"april 8\"" }
What was the decision in Minnesota?
CREATE TABLE table_name_12 (decision VARCHAR, home VARCHAR)
{ "SQL_Query": "SELECT decision FROM table_name_12 WHERE home = \"minnesota\"" }
Which score has a record of 58–15–8?
CREATE TABLE table_name_80 (score VARCHAR, record VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_80 WHERE record = \"58–15–8\"" }
Which section has a level of Tier 3, is in the 6th position, and is in the 1937-38 season?
CREATE TABLE table_name_74 (section VARCHAR, season VARCHAR, level VARCHAR, position VARCHAR)
{ "SQL_Query": "SELECT section FROM table_name_74 WHERE level = \"tier 3\" AND position = \"6th\" AND season = \"1937-38\"" }
Which section is in the 6th position?
CREATE TABLE table_name_8 (section VARCHAR, position VARCHAR)
{ "SQL_Query": "SELECT section FROM table_name_8 WHERE position = \"6th\"" }
Name the attendance with date of june 11
CREATE TABLE table_name_92 (attendance VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT attendance FROM table_name_92 WHERE date = \"june 11\"" }
Which partnership has a run number of 27?
CREATE TABLE table_name_70 (partnerships VARCHAR, runs VARCHAR)
{ "SQL_Query": "SELECT partnerships FROM table_name_70 WHERE runs = \"27\"" }
What venue did the parntership of shoaib malik / misbah-ul-haq occur?
CREATE TABLE table_name_79 (venue VARCHAR, partnerships VARCHAR)
{ "SQL_Query": "SELECT venue FROM table_name_79 WHERE partnerships = \"shoaib malik / misbah-ul-haq\"" }
What venue did the partnership of herschelle gibbs / justin kemp happen?
CREATE TABLE table_name_74 (venue VARCHAR, partnerships VARCHAR)
{ "SQL_Query": "SELECT venue FROM table_name_74 WHERE partnerships = \"herschelle gibbs / justin kemp\"" }
What is the number Played that has 310 Points for?
CREATE TABLE table_name_77 (played VARCHAR, points_for VARCHAR)
{ "SQL_Query": "SELECT played FROM table_name_77 WHERE points_for = \"310\"" }
What Losing bonus has a Points against of 588?
CREATE TABLE table_name_62 (losing_bonus VARCHAR, points_against VARCHAR)
{ "SQL_Query": "SELECT losing_bonus FROM table_name_62 WHERE points_against = \"588\"" }
What Tries against has a Losing bonus of 7?
CREATE TABLE table_name_43 (tries_against VARCHAR, losing_bonus VARCHAR)
{ "SQL_Query": "SELECT tries_against FROM table_name_43 WHERE losing_bonus = \"7\"" }
What Try bonus has a Points against of 488?
CREATE TABLE table_name_61 (try_bonus VARCHAR, points_against VARCHAR)
{ "SQL_Query": "SELECT try_bonus FROM table_name_61 WHERE points_against = \"488\"" }
What Points for has a Try bonus of 140?
CREATE TABLE table_name_26 (points_for VARCHAR, try_bonus VARCHAR)
{ "SQL_Query": "SELECT points_for FROM table_name_26 WHERE try_bonus = \"140\"" }
What Drawn has a Tries against of 0?
CREATE TABLE table_name_90 (drawn VARCHAR, tries_against VARCHAR)
{ "SQL_Query": "SELECT drawn FROM table_name_90 WHERE tries_against = \"0\"" }
What is the days held the champion with a reign larger than 3 and 1 defense has?
CREATE TABLE table_name_48 (days_held VARCHAR, reign VARCHAR, defenses VARCHAR)
{ "SQL_Query": "SELECT days_held FROM table_name_48 WHERE reign > 3 AND defenses = 1" }
What is the days held the champion with a reign larger than 3 and less than 1 defense has?
CREATE TABLE table_name_1 (days_held VARCHAR, reign VARCHAR, defenses VARCHAR)
{ "SQL_Query": "SELECT days_held FROM table_name_1 WHERE reign > 3 AND defenses < 1" }
What is the average defenses a champion with 404 days held and a reign larger than 1 has?
CREATE TABLE table_name_57 (defenses INTEGER, days_held VARCHAR, reign VARCHAR)
{ "SQL_Query": "SELECT AVG(defenses) FROM table_name_57 WHERE days_held = \"404\" AND reign > 1" }
What is the lowest defense a champion with 345 days held has?
CREATE TABLE table_name_46 (defenses INTEGER, days_held VARCHAR)
{ "SQL_Query": "SELECT MIN(defenses) FROM table_name_46 WHERE days_held = \"345\"" }
On what date was there a record of 76-72?
CREATE TABLE table_name_6 (date VARCHAR, record VARCHAR)
{ "SQL_Query": "SELECT date FROM table_name_6 WHERE record = \"76-72\"" }
What was the attendance that had a loss of Ponson (1-5)?
CREATE TABLE table_name_58 (attendance VARCHAR, loss VARCHAR)
{ "SQL_Query": "SELECT attendance FROM table_name_58 WHERE loss = \"ponson (1-5)\"" }
On which day was there a record of 36-39?
CREATE TABLE table_name_70 (date VARCHAR, record VARCHAR)
{ "SQL_Query": "SELECT date FROM table_name_70 WHERE record = \"36-39\"" }
On what day was the record 30-31?
CREATE TABLE table_name_88 (date VARCHAR, record VARCHAR)
{ "SQL_Query": "SELECT date FROM table_name_88 WHERE record = \"30-31\"" }
Who was the opponent at the game that had a loss of Leonard (7–8)?
CREATE TABLE table_name_82 (opponent VARCHAR, loss VARCHAR)
{ "SQL_Query": "SELECT opponent FROM table_name_82 WHERE loss = \"leonard (7–8)\"" }
What was the score of the game when the record was 18–43?
CREATE TABLE table_name_3 (score VARCHAR, record VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_3 WHERE record = \"18–43\"" }
What was the score of the game against the Royals when the record was 24–52?
CREATE TABLE table_name_75 (score VARCHAR, opponent VARCHAR, record VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_75 WHERE opponent = \"royals\" AND record = \"24–52\"" }
What was the score of the game when the record was 22–46?
CREATE TABLE table_name_36 (score VARCHAR, record VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_36 WHERE record = \"22–46\"" }
What is the real name of the person whose primary military specialty is shock paratrooper?
CREATE TABLE table_name_51 (real_name VARCHAR, primary_military_speciality VARCHAR)
{ "SQL_Query": "SELECT real_name FROM table_name_51 WHERE primary_military_speciality = \"shock paratrooper\"" }
What is the birthplace of Pete Sanderson?
CREATE TABLE table_name_71 (birthplace VARCHAR, real_name VARCHAR)
{ "SQL_Query": "SELECT birthplace FROM table_name_71 WHERE real_name = \"pete sanderson\"" }
What role did Jean-Luc Bouvier serve?
CREATE TABLE table_name_30 (function__figure_ VARCHAR, real_name VARCHAR)
{ "SQL_Query": "SELECT function__figure_ FROM table_name_30 WHERE real_name = \"jean-luc bouvier\"" }
What is the real name of the person who is a pilot of the silent attack kayak?
CREATE TABLE table_name_28 (real_name VARCHAR, function__figure_ VARCHAR)
{ "SQL_Query": "SELECT real_name FROM table_name_28 WHERE function__figure_ = \"pilot of the silent attack kayak\"" }
What is the code name of the person born in Liverpool?
CREATE TABLE table_name_94 (code_name VARCHAR, birthplace VARCHAR)
{ "SQL_Query": "SELECT code_name FROM table_name_94 WHERE birthplace = \"liverpool\"" }
What is the names for the medalist in the sport of canoeing?
CREATE TABLE table_name_25 (name VARCHAR, sport VARCHAR)
{ "SQL_Query": "SELECT name FROM table_name_25 WHERE sport = \"canoeing\"" }
What games had the women's half middleweight event?
CREATE TABLE table_name_90 (games VARCHAR, event VARCHAR)
{ "SQL_Query": "SELECT games FROM table_name_90 WHERE event = \"women's half middleweight\"" }
Who received the bronze medal in the 2000 Sydney games?
CREATE TABLE table_name_95 (name VARCHAR, medal VARCHAR, games VARCHAR)
{ "SQL_Query": "SELECT name FROM table_name_95 WHERE medal = \"bronze\" AND games = \"2000 sydney\"" }
How many people attended when opponent was twins?
CREATE TABLE table_name_80 (attendance VARCHAR, opponent VARCHAR)
{ "SQL_Query": "SELECT COUNT(attendance) FROM table_name_80 WHERE opponent = \"twins\"" }
Which date has a Record of 41-46?
CREATE TABLE table_name_55 (date VARCHAR, record VARCHAR)
{ "SQL_Query": "SELECT date FROM table_name_55 WHERE record = \"41-46\"" }
Which score has a Record of 48-55?
CREATE TABLE table_name_66 (score VARCHAR, record VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_66 WHERE record = \"48-55\"" }
Which score has a Record of 44-49?
CREATE TABLE table_name_96 (score VARCHAR, record VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_96 WHERE record = \"44-49\"" }
Which score has an Opponent of white sox, and a Record of 2-0?
CREATE TABLE table_name_92 (score VARCHAR, opponent VARCHAR, record VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_92 WHERE opponent = \"white sox\" AND record = \"2-0\"" }
How many votes did candice sjostrom receive?
CREATE TABLE table_name_94 (popular_votes INTEGER, candidate VARCHAR)
{ "SQL_Query": "SELECT AVG(popular_votes) FROM table_name_94 WHERE candidate = \"candice sjostrom\"" }
What percentage did chris wright receive?
CREATE TABLE table_name_23 (percentage VARCHAR, candidate VARCHAR)
{ "SQL_Query": "SELECT percentage FROM table_name_23 WHERE candidate = \"chris wright\"" }
How many votes for the candidate after 1992, 1.59% of the vote, and the office of us representative 4?
CREATE TABLE table_name_2 (popular_votes INTEGER, year VARCHAR, office VARCHAR, percentage VARCHAR)
{ "SQL_Query": "SELECT AVG(popular_votes) FROM table_name_2 WHERE office = \"us representative 4\" AND percentage = \"1.59%\" AND year > 1992" }
What years did J. Smith Young serve as a Representative?
CREATE TABLE table_name_36 (years VARCHAR, representative VARCHAR)
{ "SQL_Query": "SELECT years FROM table_name_36 WHERE representative = \"j. smith young\"" }
Which party did Thomas L. Young belong to?
CREATE TABLE table_name_58 (party VARCHAR, representative VARCHAR)
{ "SQL_Query": "SELECT party FROM table_name_58 WHERE representative = \"thomas l. young\"" }
What is the lowest total amount of medals from countries with 0 gold medals, more than 2 bronze medals, and more than 1 silver medal?
CREATE TABLE table_name_57 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR)
{ "SQL_Query": "SELECT MIN(total) FROM table_name_57 WHERE gold = 0 AND bronze > 2 AND silver > 1" }
What is the total number of silver medals for countries of rank 14, with less than 1 total medals?
CREATE TABLE table_name_66 (silver INTEGER, rank VARCHAR, total VARCHAR)
{ "SQL_Query": "SELECT SUM(silver) FROM table_name_66 WHERE rank = \"14\" AND total < 1" }
How many tackles for the player with over 0 fumble recovries and 0 forced fumbles?
CREATE TABLE table_name_96 (total VARCHAR, fumble_rec VARCHAR, fumble_force VARCHAR)
{ "SQL_Query": "SELECT COUNT(total) FROM table_name_96 WHERE fumble_rec > 0 AND fumble_force = 0" }
How many forced fumbles for jim laney with under 2 solo tackles?
CREATE TABLE table_name_20 (fumble_force VARCHAR, solo VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT COUNT(fumble_force) FROM table_name_20 WHERE solo < 2 AND player = \"jim laney\"" }
What is the high total for players with over 15 solo tackles?
CREATE TABLE table_name_31 (total INTEGER, solo INTEGER)
{ "SQL_Query": "SELECT MAX(total) FROM table_name_31 WHERE solo > 15" }
How many fumble recoveries for scott gajos with 0 forced fubmles, 0 sacks, and under 2 solo tackles?
CREATE TABLE table_name_65 (fumble_rec INTEGER, solo VARCHAR, player VARCHAR, sacks VARCHAR, fumble_force VARCHAR)
{ "SQL_Query": "SELECT SUM(fumble_rec) FROM table_name_65 WHERE sacks = \"0\" AND fumble_force = \"0\" AND player = \"scott gajos\" AND solo < 2" }
Who is the Opponent playing at 20:00 GMT at Camp Nou?
CREATE TABLE table_name_64 (opponent VARCHAR, time VARCHAR, ground VARCHAR)
{ "SQL_Query": "SELECT opponent FROM table_name_64 WHERE time = \"20:00 gmt\" AND ground = \"camp nou\"" }
What time was the match played with a score of 3-2?
CREATE TABLE table_name_35 (time VARCHAR, score VARCHAR)
{ "SQL_Query": "SELECT time FROM table_name_35 WHERE score = \"3-2\"" }
On which ground did the team play Aston Villa?
CREATE TABLE table_name_83 (ground VARCHAR, opponent VARCHAR)
{ "SQL_Query": "SELECT ground FROM table_name_83 WHERE opponent = \"aston villa\"" }
What kind of competition was it at San Siro at 18:30 GMT?
CREATE TABLE table_name_60 (competition VARCHAR, ground VARCHAR, time VARCHAR)
{ "SQL_Query": "SELECT competition FROM table_name_60 WHERE ground = \"san siro\" AND time = \"18:30 gmt\"" }
What is the total number of decile for the redwood school locality?
CREATE TABLE table_name_34 (decile VARCHAR, name VARCHAR)
{ "SQL_Query": "SELECT COUNT(decile) FROM table_name_34 WHERE name = \"redwood school\"" }
Which report includes a Circuit of Tripoli?
CREATE TABLE table_name_71 (report VARCHAR, circuit VARCHAR)
{ "SQL_Query": "SELECT report FROM table_name_71 WHERE circuit = \"tripoli\"" }