answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT MIN(1 AS st_half) FROM table_name_21 WHERE score > 621 AND rank = 35
CREATE TABLE table_name_21 (score VARCHAR, rank VARCHAR)
What is the lowest first half when the score is larger than 621 and the rank 35?
SELECT grid FROM table_name_72 WHERE points > 10 AND time_retired = "+13.7 secs"
CREATE TABLE table_name_72 (grid VARCHAR, points VARCHAR, time_retired VARCHAR)
Which Grid has Points larger than 10 and a Time/Retired of +13.7 secs?
SELECT team FROM table_name_67 WHERE points = 0 AND grid > 13 AND driver = "alex yoong"
CREATE TABLE table_name_67 (team VARCHAR, driver VARCHAR, points VARCHAR, grid VARCHAR)
Which Team has Points of 0, a Grid larger than 13, and a Driver of alex yoong?
SELECT MAX(silver) FROM table_name_75 WHERE rank = "19" AND gold < 2
CREATE TABLE table_name_75 (silver INTEGER, rank VARCHAR, gold VARCHAR)
What is the hioghest amount of silver medals for a nation ranked higher than 19 and less than 2 gold medals?
SELECT nation FROM table_name_67 WHERE silver = 11
CREATE TABLE table_name_67 (nation VARCHAR, silver VARCHAR)
What nation finished with 11 silver medals?
SELECT pick FROM table_name_75 WHERE player = "benito cheng"
CREATE TABLE table_name_75 (pick VARCHAR, player VARCHAR)
What is Benito Cheng's Pick number?
SELECT pba_team FROM table_name_42 WHERE player = "richard bachmann"
CREATE TABLE table_name_42 (pba_team VARCHAR, player VARCHAR)
What is Richard Bachmann's PBA team?
SELECT pick FROM table_name_55 WHERE college = "far eastern" AND player = "johnny abarrientos"
CREATE TABLE table_name_55 (pick VARCHAR, college VARCHAR, player VARCHAR)
What is Far Eastern College Johnny Abarrientos' Pick number?
SELECT home_team FROM table_name_14 WHERE tie_no = "10"
CREATE TABLE table_name_14 (home_team VARCHAR, tie_no VARCHAR)
What home team has 10 as the tie no?
SELECT score FROM table_name_7 WHERE tie_no = "7"
CREATE TABLE table_name_7 (score VARCHAR, tie_no VARCHAR)
What is the game score when the tie no is 7?
SELECT away_team FROM table_name_82 WHERE date = "10 january 1979" AND tie_no = "17"
CREATE TABLE table_name_82 (away_team VARCHAR, date VARCHAR, tie_no VARCHAR)
Who was the away team on 10 January 1979 who had a tie no of 17?
SELECT date FROM table_name_91 WHERE tie_no = "2"
CREATE TABLE table_name_91 (date VARCHAR, tie_no VARCHAR)
When was the game that has tie no 2?
SELECT SUM(round) FROM table_name_44 WHERE event = "golden trophy 1999"
CREATE TABLE table_name_44 (round INTEGER, event VARCHAR)
What round did the match at the Golden Trophy 1999 event end?
SELECT event FROM table_name_33 WHERE record = "8–5–1"
CREATE TABLE table_name_33 (event VARCHAR, record VARCHAR)
What event had a record of 8–5–1?
SELECT hdr_output___exr_, _hdr, _logluv_, _etc_ FROM table_name_63 WHERE "name" = "name"
CREATE TABLE table_name_63 (hdr_output___exr_ VARCHAR, _hdr VARCHAR, _logluv_ VARCHAR, _etc_ VARCHAR)
What's the HDR Output that has a name of name?
SELECT exposure_fusion FROM table_name_38 WHERE name = "panoramaplus x4"
CREATE TABLE table_name_38 (exposure_fusion VARCHAR, name VARCHAR)
What's the exposure fusion of Panoramaplus x4?
SELECT hdr_output___exr_, _hdr, _logluv_, _etc_ FROM table_name_35 WHERE name = "photovista panorama"
CREATE TABLE table_name_35 (hdr_output___exr_ VARCHAR, _hdr VARCHAR, _logluv_ VARCHAR, _etc_ VARCHAR, name VARCHAR)
What's the HDR output of Photovista Panorama?
SELECT location FROM table_name_72 WHERE capacity = "101,119"
CREATE TABLE table_name_72 (location VARCHAR, capacity VARCHAR)
Which location has 101,119 as the capacity?
SELECT MIN(rank) FROM table_name_68 WHERE location = "university park, pa"
CREATE TABLE table_name_68 (rank INTEGER, location VARCHAR)
What is the lowest rank that has university park, pa as the location?
SELECT home_team FROM table_name_13 WHERE rank > 6 AND capacity = "94,392"
CREATE TABLE table_name_13 (home_team VARCHAR, rank VARCHAR, capacity VARCHAR)
What home team has a rank greater than 6, and 94,392 as the capacity?
SELECT builder FROM table_name_98 WHERE name = "uss cambridge"
CREATE TABLE table_name_98 (builder VARCHAR, name VARCHAR)
Who was the builder for the USS cambridge?
SELECT laid_down FROM table_name_17 WHERE name = "uss cambridge"
CREATE TABLE table_name_17 (laid_down VARCHAR, name VARCHAR)
What year was the USS Cambridge laid down?
SELECT game FROM table_name_82 WHERE record = "11-12"
CREATE TABLE table_name_82 (game VARCHAR, record VARCHAR)
What was the number of the game when the record was 11-12?
SELECT score FROM table_name_4 WHERE game = "16"
CREATE TABLE table_name_4 (score VARCHAR, game VARCHAR)
What was the score of Game 16?
SELECT location_attendance FROM table_name_54 WHERE record = "9-6"
CREATE TABLE table_name_54 (location_attendance VARCHAR, record VARCHAR)
What was the location and attendance at the game when the record was 9-6?
SELECT date FROM table_name_88 WHERE round__leg_ = "3"
CREATE TABLE table_name_88 (date VARCHAR, round__leg_ VARCHAR)
What date has 3 as the round (leg)?
SELECT MIN(year) FROM table_name_87 WHERE result = "nominated" AND film = "bridget jones: the edge of reason"
CREATE TABLE table_name_87 (year INTEGER, result VARCHAR, film VARCHAR)
What was the year of Bridget Jones: The Edge of Reason that was nominated?
SELECT lost_to FROM table_name_74 WHERE film = "chicago"
CREATE TABLE table_name_74 (lost_to VARCHAR, film VARCHAR)
Who was the loss to for the film Chicago?
SELECT ihsaa_football_class FROM table_name_79 WHERE ihsaa_class = "aaa" AND location = "nashville"
CREATE TABLE table_name_79 (ihsaa_football_class VARCHAR, ihsaa_class VARCHAR, location VARCHAR)
Which IHSAA Football Class has a IHSAA Class of aaa, and a Location of nashville?
SELECT mascot FROM table_name_63 WHERE enrollment = 640
CREATE TABLE table_name_63 (mascot VARCHAR, enrollment VARCHAR)
Which Mascot has an Enrollment of 640?
SELECT ihsaa_class FROM table_name_96 WHERE location = "brazil"
CREATE TABLE table_name_96 (ihsaa_class VARCHAR, location VARCHAR)
Which IHSAA Class has a Location of brazil?
SELECT school FROM table_name_55 WHERE enrollment = 908
CREATE TABLE table_name_55 (school VARCHAR, enrollment VARCHAR)
Which School has a Enrollment of 908?
SELECT currency FROM table_name_34 WHERE code = "sek"
CREATE TABLE table_name_34 (currency VARCHAR, code VARCHAR)
What type of currency has a code of SEK?
SELECT code FROM table_name_34 WHERE currency = "croatian kuna"
CREATE TABLE table_name_34 (code VARCHAR, currency VARCHAR)
What code is used to represent the currency of Croatian Kuna?
SELECT model FROM table_name_68 WHERE chassis_code = "w116.036"
CREATE TABLE table_name_68 (model VARCHAR, chassis_code VARCHAR)
What's the model that has chassis code W116.036?
SELECT score FROM table_name_71 WHERE year = "1992"
CREATE TABLE table_name_71 (score VARCHAR, year VARCHAR)
What the score of the 1992 game?
SELECT score FROM table_name_59 WHERE runners_up = "tsv siegen"
CREATE TABLE table_name_59 (score VARCHAR, runners_up VARCHAR)
What is the score when TSV Siegen was the runner-up?
SELECT year FROM table_name_30 WHERE venue = "bad neuenahr eppelborn"
CREATE TABLE table_name_30 (year VARCHAR, venue VARCHAR)
What year was the game at Bad Neuenahr Eppelborn?
SELECT venue FROM table_name_65 WHERE runners_up = "tennis borussia berlin" AND score = "4 – 2 *"
CREATE TABLE table_name_65 (venue VARCHAR, runners_up VARCHAR, score VARCHAR)
What was the venue when the runner up was Tennis Borussia Berlin, and the score was 4 – 2 *?
SELECT runners_up FROM table_name_2 WHERE venue = "bergisch gladbach" AND year = "1983"
CREATE TABLE table_name_2 (runners_up VARCHAR, venue VARCHAR, year VARCHAR)
What team was runner-up at Bergisch Gladbach in 1983?
SELECT time FROM table_name_77 WHERE lane = 7
CREATE TABLE table_name_77 (time VARCHAR, lane VARCHAR)
What was the time of the swimmer in lane 7?
SELECT rank FROM table_name_23 WHERE time = "1:55.40"
CREATE TABLE table_name_23 (rank VARCHAR, time VARCHAR)
What was the rank of the swimmer with a time of 1:55.40?
SELECT date FROM table_name_14 WHERE game = "13"
CREATE TABLE table_name_14 (date VARCHAR, game VARCHAR)
What was the date for game 13?
SELECT record FROM table_name_72 WHERE opponent = "st. louis cardinals"
CREATE TABLE table_name_72 (record VARCHAR, opponent VARCHAR)
What is the record for the opponent St. Louis Cardinals?
SELECT record FROM table_name_42 WHERE game = "8"
CREATE TABLE table_name_42 (record VARCHAR, game VARCHAR)
What is the record for Game 8?
SELECT mobile FROM table_name_31 WHERE opera = "2.62%"
CREATE TABLE table_name_31 (mobile VARCHAR, opera VARCHAR)
What percentage of users were using mobile browsers during the period in which 2.62% were using Opera?
SELECT mobile FROM table_name_28 WHERE chrome = "9.00%"
CREATE TABLE table_name_28 (mobile VARCHAR, chrome VARCHAR)
What percentage of users were using mobile browsers during the period in which 9.00% were using Chrome?
SELECT safari FROM table_name_96 WHERE firefox = "30.82%"
CREATE TABLE table_name_96 (safari VARCHAR, firefox VARCHAR)
What percentage of users were using Safari during the period in which 30.82% were using Firefox?
SELECT internet_explorer FROM table_name_66 WHERE mobile = "2.1%"
CREATE TABLE table_name_66 (internet_explorer VARCHAR, mobile VARCHAR)
What percentage of users were using Internet Explorer during the period in which 2.1% were using mobile browsers?
SELECT other_mozilla FROM table_name_58 WHERE chrome = "9.00%"
CREATE TABLE table_name_58 (other_mozilla VARCHAR, chrome VARCHAR)
What percentage of users were using other Mozilla browsers during the period in which 9.00% were using Chrome?
SELECT date FROM table_name_94 WHERE result = "w 14-10"
CREATE TABLE table_name_94 (date VARCHAR, result VARCHAR)
What date has w 14-10 as the result?
SELECT opponent FROM table_name_29 WHERE week < 12 AND date = "november 25, 1965"
CREATE TABLE table_name_29 (opponent VARCHAR, week VARCHAR, date VARCHAR)
What opponent has a week less than 12, with November 25, 1965 as the date?
SELECT MIN(week) FROM table_name_70 WHERE date = "september 19, 1965" AND attendance < 46 OFFSET 941
CREATE TABLE table_name_70 (week INTEGER, date VARCHAR, attendance VARCHAR)
What is the lowest week that has September 19, 1965 as the date, with an attendance less than 46,941?
SELECT MIN(week) FROM table_name_66 WHERE attendance = 51 OFFSET 499
CREATE TABLE table_name_66 (week INTEGER, attendance VARCHAR)
What is the lowest week that has 51,499 as the attendance?
SELECT frequency FROM table_name_18 WHERE format = "active rock"
CREATE TABLE table_name_18 (frequency VARCHAR, format VARCHAR)
What is the frequency for the active rock format?
SELECT branding FROM table_name_66 WHERE frequency = "fm 88.9"
CREATE TABLE table_name_66 (branding VARCHAR, frequency VARCHAR)
What is the branding for fm 88.9?
SELECT owner FROM table_name_38 WHERE branding = "rock 97.7"
CREATE TABLE table_name_38 (owner VARCHAR, branding VARCHAR)
What is the name of the owner of rock 97.7?
SELECT branding FROM table_name_15 WHERE call_sign = "cbxp-fm"
CREATE TABLE table_name_15 (branding VARCHAR, call_sign VARCHAR)
What is the branding for cbxp-fm?
SELECT call_sign FROM table_name_34 WHERE format = "country" AND frequency = "fm 93.1"
CREATE TABLE table_name_34 (call_sign VARCHAR, format VARCHAR, frequency VARCHAR)
What is the call sign for country station fm 93.1?
SELECT frequency FROM table_name_65 WHERE format = "country" AND owner = "jim pattison group"
CREATE TABLE table_name_65 (frequency VARCHAR, format VARCHAR, owner VARCHAR)
What is the frequency for the country station owned by Jim Pattison Group?
SELECT game FROM table_name_60 WHERE location_attendance = "los angeles memorial sports arena"
CREATE TABLE table_name_60 (game VARCHAR, location_attendance VARCHAR)
What game was located at the Los Angeles Memorial Sports Arena?
SELECT location_attendance FROM table_name_44 WHERE score = "w 106-81"
CREATE TABLE table_name_44 (location_attendance VARCHAR, score VARCHAR)
What is the location for the game with a score of w 106-81?
SELECT location_attendance FROM table_name_26 WHERE game = "4"
CREATE TABLE table_name_26 (location_attendance VARCHAR, game VARCHAR)
Where is the location of Game 4?
SELECT SUM(lane) FROM table_name_89 WHERE rank = 2
CREATE TABLE table_name_89 (lane INTEGER, rank VARCHAR)
What is the lane total when rank is 2?
SELECT time FROM table_name_56 WHERE name = "gemma spofforth"
CREATE TABLE table_name_56 (time VARCHAR, name VARCHAR)
Gemma Spofforth has what time?
SELECT AVG(floors) FROM table_name_9 WHERE pinnacle_height_ft__m_ = "1,136 (346)" AND pinn_rank > 4
CREATE TABLE table_name_9 (floors INTEGER, pinnacle_height_ft__m_ VARCHAR, pinn_rank VARCHAR)
Which Floors have a Pinnacle height ft (m) of 1,136 (346), and a Pinn Rank larger than 4?
SELECT SUM(std_rank) FROM table_name_97 WHERE name = "311 south wacker drive" AND year > 1990
CREATE TABLE table_name_97 (std_rank INTEGER, name VARCHAR, year VARCHAR)
How much Standard Rank has a Name of 311 south wacker drive, and a Year larger than 1990?
SELECT MAX(floors) FROM table_name_92 WHERE pinnacle_height_ft__m_ = "995 (303)" AND std_rank > 6
CREATE TABLE table_name_92 (floors INTEGER, pinnacle_height_ft__m_ VARCHAR, std_rank VARCHAR)
Which Floors have a Pinnacle height ft (m) of 995 (303), and an Std Rank larger than 6?
SELECT AVG(time) FROM table_name_24 WHERE rank > 2 AND name = "andy turner"
CREATE TABLE table_name_24 (time INTEGER, rank VARCHAR, name VARCHAR)
What is the average time with a rank lower than 2 for Andy Turner?
SELECT date FROM table_name_34 WHERE year > 1981 AND location = "morocco"
CREATE TABLE table_name_34 (date VARCHAR, year VARCHAR, location VARCHAR)
What was the date for morocco when the year was lerger than 1981?
SELECT MIN(year) FROM table_name_80 WHERE city = "casablanca"
CREATE TABLE table_name_80 (year INTEGER, city VARCHAR)
What is the lowest year when the city is casablanca?
SELECT COUNT(year) FROM table_name_31 WHERE city = "san juan"
CREATE TABLE table_name_31 (year VARCHAR, city VARCHAR)
What year was the expansion in the city of San Juan?
SELECT city FROM table_name_50 WHERE location = "netherlands"
CREATE TABLE table_name_50 (city VARCHAR, location VARCHAR)
What city was located in the Netherlands?
SELECT location FROM table_name_88 WHERE year = 1971 AND city = "tokyo"
CREATE TABLE table_name_88 (location VARCHAR, year VARCHAR, city VARCHAR)
What location had a year of 1971 and a city of Tokyo?
SELECT award FROM table_name_62 WHERE year < 2005
CREATE TABLE table_name_62 (award VARCHAR, year INTEGER)
What award did they win before 2005?
SELECT date FROM table_name_44 WHERE home_team = "southend united"
CREATE TABLE table_name_44 (date VARCHAR, home_team VARCHAR)
When was Southend United the home team?
SELECT score FROM table_name_4 WHERE date = "13 december 1975" AND away_team = "halifax town"
CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR, away_team VARCHAR)
For the game on 13 December 1975 with Halifax Town as the away team what was the score?
SELECT away_team FROM table_name_69 WHERE tie_no = "6"
CREATE TABLE table_name_69 (away_team VARCHAR, tie_no VARCHAR)
Who was the away team when 6 was the tie no?
SELECT score FROM table_name_69 WHERE tie_no = "13"
CREATE TABLE table_name_69 (score VARCHAR, tie_no VARCHAR)
The game with 13 as the tie no had what as the score?
SELECT conference_joined FROM table_name_40 WHERE year_joined = 1954 AND mascot = "beavers"
CREATE TABLE table_name_40 (conference_joined VARCHAR, year_joined VARCHAR, mascot VARCHAR)
Which conference joined in 1954 with a beavers mascot?
SELECT romaji_title FROM table_name_79 WHERE tv_station = "tbs" AND japanese_title = "around40〜注文の多いオンナたち〜"
CREATE TABLE table_name_79 (romaji_title VARCHAR, tv_station VARCHAR, japanese_title VARCHAR)
What is the Romanji title for around40〜注文の多いオンナたち〜 on TBS?
SELECT tv_station FROM table_name_25 WHERE average_ratings = "14.7%"
CREATE TABLE table_name_25 (tv_station VARCHAR, average_ratings VARCHAR)
What station has average ratings of 14.7%?
SELECT japanese_title FROM table_name_70 WHERE episodes > 10 AND tv_station = "tbs" AND average_ratings = "14.8%"
CREATE TABLE table_name_70 (japanese_title VARCHAR, average_ratings VARCHAR, episodes VARCHAR, tv_station VARCHAR)
What is the Japanese title for the episode bigger than 10 on TBS with average ratings of 14.8%?
SELECT AVG(episodes) FROM table_name_64 WHERE average_ratings = "7.4%"
CREATE TABLE table_name_64 (episodes INTEGER, average_ratings VARCHAR)
What episode has average ratings of 7.4%?
SELECT MIN(episodes) FROM table_name_98 WHERE tv_station = "fuji tv" AND romaji_title = "absolute boyfriend"
CREATE TABLE table_name_98 (episodes INTEGER, tv_station VARCHAR, romaji_title VARCHAR)
What is the episode on Fuji TV titled Absolute Boyfriend?
SELECT COUNT(episodes) FROM table_name_39 WHERE tv_station = "nhk" AND average_ratings = "9.2%"
CREATE TABLE table_name_39 (episodes VARCHAR, tv_station VARCHAR, average_ratings VARCHAR)
What is the episode on NHK with average ratings of 9.2%?
SELECT school FROM table_name_86 WHERE year_joined > 1926 AND mascot = "vikings"
CREATE TABLE table_name_86 (school VARCHAR, year_joined VARCHAR, mascot VARCHAR)
Which School has a Year Joined larger than 1926, and a Mascot of vikings?
SELECT mascot FROM table_name_76 WHERE school = "logansport community"
CREATE TABLE table_name_76 (mascot VARCHAR, school VARCHAR)
Which Mascot has a School of logansport community?
SELECT previous_conference FROM table_name_22 WHERE ihsaa_class___football_soccer = "4a/5a/2a" AND year_joined > 1926
CREATE TABLE table_name_22 (previous_conference VARCHAR, ihsaa_class___football_soccer VARCHAR, year_joined VARCHAR)
Which Previous Conference has an IHSAA Class/ Football/ Soccer of 4a/5a/2a, and a Year Joined larger than 1926?
SELECT _number___county FROM table_name_13 WHERE year_joined > 1926 AND previous_conference = "olympic"
CREATE TABLE table_name_13 (_number___county VARCHAR, year_joined VARCHAR, previous_conference VARCHAR)
Which #/ County has a Year Joined larger than 1926, and a Previous Conference of olympic?
SELECT score FROM table_name_24 WHERE competition = "1996 asian cup qualification" AND date = "june 29, 1996"
CREATE TABLE table_name_24 (score VARCHAR, competition VARCHAR, date VARCHAR)
What is the Score of the 1996 Asian Cup Qualification on June 29, 1996?
SELECT venue FROM table_name_3 WHERE competition = "king's cup 1998"
CREATE TABLE table_name_3 (venue VARCHAR, competition VARCHAR)
What was the Venue of the King's Cup 1998?
SELECT venue FROM table_name_11 WHERE score = "4-1"
CREATE TABLE table_name_11 (venue VARCHAR, score VARCHAR)
What is the Venue of the Competition with a Score of 4-1?
SELECT enrollment FROM table_name_4 WHERE primary_conference = "mid-hoosier" AND county = "16 decatur" AND ihsaa_class = "aa"
CREATE TABLE table_name_4 (enrollment VARCHAR, ihsaa_class VARCHAR, primary_conference VARCHAR, county VARCHAR)
Which Enrollment has a Primary Conference of mid-hoosier, and a County of 16 decatur, and an IHSAA Class of aa?
SELECT location FROM table_name_79 WHERE school = "indian creek"
CREATE TABLE table_name_79 (location VARCHAR, school VARCHAR)
Where is Indian Creek school located?
SELECT school FROM table_name_73 WHERE location = "trafalgar"
CREATE TABLE table_name_73 (school VARCHAR, location VARCHAR)
Which school is located in trafalgar?
SELECT ihsaa_class FROM table_name_24 WHERE location = "charlottesville"
CREATE TABLE table_name_24 (ihsaa_class VARCHAR, location VARCHAR)
Which IHSAA Class is located in charlottesville?
SELECT country FROM table_name_7 WHERE notes = "sa/b" AND rank = 2
CREATE TABLE table_name_7 (country VARCHAR, notes VARCHAR, rank VARCHAR)
Which country had notes of sa/b and a rank of 2?
SELECT COUNT(rank) FROM table_name_28 WHERE country = "great britain"
CREATE TABLE table_name_28 (rank VARCHAR, country VARCHAR)
What was the rank for Great Britain?
SELECT tv_time FROM table_name_76 WHERE week = 12
CREATE TABLE table_name_76 (tv_time VARCHAR, week VARCHAR)
What was the tv time for the game on week 12?