answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT nationality FROM table_name_70 WHERE school_club_team = "ucla"
CREATE TABLE table_name_70 (nationality VARCHAR, school_club_team VARCHAR)
What country is team ucla come from?
SELECT SUM(round) FROM table_name_79 WHERE pick < 220 AND player = "alford turner"
CREATE TABLE table_name_79 (round INTEGER, pick VARCHAR, player VARCHAR)
How many rounds have picked smaller than 220, with Alford Turner as a player?
SELECT MIN(pick) FROM table_name_61 WHERE round > 6 AND player = "dean sears"
CREATE TABLE table_name_61 (pick INTEGER, round VARCHAR, player VARCHAR)
What is the pick with Dean Sears and round larger than 6?
SELECT SUM(pick) FROM table_name_12 WHERE player = "bill duffy"
CREATE TABLE table_name_12 (pick INTEGER, player VARCHAR)
What is the total pick with Bill Duffy?
SELECT SUM(round) FROM table_name_37 WHERE pick = 109
CREATE TABLE table_name_37 (round INTEGER, pick VARCHAR)
What is the total round with pick of 109?
SELECT COUNT(pick__number) FROM table_name_5 WHERE round = 12
CREATE TABLE table_name_5 (pick__number VARCHAR, round VARCHAR)
How many picks for round 12?
SELECT pick__number FROM table_name_21 WHERE player = "tom donchez"
CREATE TABLE table_name_21 (pick__number VARCHAR, player VARCHAR)
What was Tom Donchez pick number?
SELECT date FROM table_name_75 WHERE against < 6 AND venue = "durban"
CREATE TABLE table_name_75 (date VARCHAR, against VARCHAR, venue VARCHAR)
What is date when against is smaller than 6 and location was durban?
SELECT note FROM table_name_28 WHERE year > 2003
CREATE TABLE table_name_28 (note VARCHAR, year INTEGER)
What was the note with a year after 2003?
SELECT year FROM table_name_62 WHERE note = "vocals" AND album = "north (original motion picture soundtrack)"
CREATE TABLE table_name_62 (year VARCHAR, note VARCHAR, album VARCHAR)
When was the note a vocals and the album north (original motion picture soundtrack)?
SELECT album FROM table_name_95 WHERE note = "tape [tape echo]"
CREATE TABLE table_name_95 (album VARCHAR, note VARCHAR)
Which album had the note tape [tape echo]?
SELECT artist FROM table_name_32 WHERE year = 2003
CREATE TABLE table_name_32 (artist VARCHAR, year VARCHAR)
Which artist was 2003?
SELECT title FROM table_name_83 WHERE season__number > 10 AND series__number > 35 AND directed_by = "erik wiese and eddie trigueros"
CREATE TABLE table_name_83 (title VARCHAR, directed_by VARCHAR, season__number VARCHAR, series__number VARCHAR)
What is the Title of the episode after Season 10 Directed by Erik Wiese and Eddie Trigueros after Seres 35?
SELECT original_airdate FROM table_name_19 WHERE directed_by = "erik wiese" AND season__number > 6
CREATE TABLE table_name_19 (original_airdate VARCHAR, directed_by VARCHAR, season__number VARCHAR)
What is the Original airdate of the episode after Season 6 Directed by Erik Wiese?
SELECT AVG(laps) FROM table_name_42 WHERE rider = "toni elias"
CREATE TABLE table_name_42 (laps INTEGER, rider VARCHAR)
What is the average of laps ridden by Toni Elias?
SELECT time FROM table_name_47 WHERE manufacturer = "yamaha" AND grid < 8 AND laps < 23
CREATE TABLE table_name_47 (time VARCHAR, laps VARCHAR, manufacturer VARCHAR, grid VARCHAR)
How long did it take for the rider of a Yamaha with a grid less than 8 and laps less than 23?
SELECT MIN(laps) FROM table_name_45 WHERE time = "42:31.153" AND grid > 1
CREATE TABLE table_name_45 (laps INTEGER, time VARCHAR, grid VARCHAR)
What is the fewest amount of laps when the grid was larger than 1 and 42:31.153?
SELECT time FROM table_name_65 WHERE laps = 23 AND grid = 13
CREATE TABLE table_name_65 (time VARCHAR, laps VARCHAR, grid VARCHAR)
How long did it take to ride when the laps were 23 and the grid of 13?
SELECT result FROM table_name_9 WHERE attendance > 71 OFFSET 164
CREATE TABLE table_name_9 (result VARCHAR, attendance INTEGER)
What was the result for the 71,164 in attendance?
SELECT rank FROM table_name_83 WHERE floors > 47
CREATE TABLE table_name_83 (rank VARCHAR, floors INTEGER)
Which rank is above floor 47?
SELECT class FROM table_name_40 WHERE team = "rml"
CREATE TABLE table_name_40 (class VARCHAR, team VARCHAR)
What class is the RML Team?
SELECT result FROM table_name_30 WHERE home_team = "portland" AND date = "may 31"
CREATE TABLE table_name_30 (result VARCHAR, home_team VARCHAR, date VARCHAR)
Which Result has a Home team of portland, and a Date of may 31?
SELECT date FROM table_name_16 WHERE road_team = "portland" AND game = "game 5"
CREATE TABLE table_name_16 (date VARCHAR, road_team VARCHAR, game VARCHAR)
Which Date has a Road team of portland, and a Game of game 5?
SELECT home_team FROM table_name_85 WHERE road_team = "portland" AND result = "104–110"
CREATE TABLE table_name_85 (home_team VARCHAR, road_team VARCHAR, result VARCHAR)
Which Home team has a Road team of portland, and a Result of 104–110?
SELECT home_team FROM table_name_85 WHERE game = "game 5"
CREATE TABLE table_name_85 (home_team VARCHAR, game VARCHAR)
Which Home team has a Game of game 5?
SELECT date FROM table_name_4 WHERE home_team = "philadelphia" AND result = "104–110"
CREATE TABLE table_name_4 (date VARCHAR, home_team VARCHAR, result VARCHAR)
Which Date has a Home team of philadelphia, and a Result of 104–110?
SELECT road_team FROM table_name_17 WHERE home_team = "portland" AND date = "may 31"
CREATE TABLE table_name_17 (road_team VARCHAR, home_team VARCHAR, date VARCHAR)
Which Road team has a Home team of portland, and a Date of may 31?
SELECT tongan FROM table_name_15 WHERE north_marquesan = "/haʔe/"
CREATE TABLE table_name_15 (tongan VARCHAR, north_marquesan VARCHAR)
Which Tongan has a North Marquesan of /haʔe/?
SELECT north_marquesan FROM table_name_2 WHERE takuu = "/ɾani/"
CREATE TABLE table_name_2 (north_marquesan VARCHAR, takuu VARCHAR)
What kind of North Marquesan has a Takuu of /ɾani/?
SELECT takuu FROM table_name_83 WHERE north_marquesan = "/vehine/"
CREATE TABLE table_name_83 (takuu VARCHAR, north_marquesan VARCHAR)
What kind of Takuu has a North Marquesan of /vehine/?
SELECT rarotongan FROM table_name_15 WHERE tahitian = "/metua/"
CREATE TABLE table_name_15 (rarotongan VARCHAR, tahitian VARCHAR)
What kind of Rarotongan has a Tahitian of /metua/?
SELECT tongan FROM table_name_89 WHERE north_marquesan = "/haʔe/"
CREATE TABLE table_name_89 (tongan VARCHAR, north_marquesan VARCHAR)
What kind of Tongan has a North Marquesan of /haʔe/?
SELECT south_marquesan FROM table_name_67 WHERE sāmoan = "/matua/"
CREATE TABLE table_name_67 (south_marquesan VARCHAR, sāmoan VARCHAR)
What kind of South Marquesan has a Sāmoan of /matua/?
SELECT MAX(col__m_) FROM table_name_94 WHERE prominence__m_ = 3 OFFSET 046
CREATE TABLE table_name_94 (col__m_ INTEGER, prominence__m_ VARCHAR)
What is the maximum Col (m) when 3,046 is the Prominence (m)?
SELECT location FROM table_name_15 WHERE peak = "pico basilé"
CREATE TABLE table_name_15 (location VARCHAR, peak VARCHAR)
Where is the peak Pico Basilé located?
SELECT german_gewehr_98 FROM table_name_46 WHERE danish_krag_jørgensen_1889 = "4.28kg"
CREATE TABLE table_name_46 (german_gewehr_98 VARCHAR, danish_krag_jørgensen_1889 VARCHAR)
What is the German Gewehr 98 when the Danish Krag-Jørgensen 1889 is 4.28kg?
SELECT rifle FROM table_name_94 WHERE german_gewehr_98 = "74cm"
CREATE TABLE table_name_94 (rifle VARCHAR, german_gewehr_98 VARCHAR)
What is the Rifle when the German Gewehr 98 is 74cm?
SELECT us_krag_jørgensen_m1892 FROM table_name_87 WHERE norwegian_krag_jørgensen_m1894 = "126.8cm"
CREATE TABLE table_name_87 (us_krag_jørgensen_m1892 VARCHAR, norwegian_krag_jørgensen_m1894 VARCHAR)
What is the US Krag-Jørgensen M1892 when the Norwegian Krag-Jørgensen M1894 is 126.8cm?
SELECT team FROM table_name_31 WHERE league = "national" AND year = 2001
CREATE TABLE table_name_31 (team VARCHAR, league VARCHAR, year VARCHAR)
What team has a national league in 2001?
SELECT league FROM table_name_79 WHERE year < 1973 AND position = "third baseman"
CREATE TABLE table_name_79 (league VARCHAR, year VARCHAR, position VARCHAR)
What is the league of the third baseman player before 1973?
SELECT original_title FROM table_name_15 WHERE film_title_used_in_nomination = "monga"
CREATE TABLE table_name_15 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
What is Original Title, when Film Title Used In Nomination is "Monga"?
SELECT result FROM table_name_47 WHERE original_title = "tiānmǎ cháfáng (天馬茶房)"
CREATE TABLE table_name_47 (result VARCHAR, original_title VARCHAR)
What is Result, when Original Title is "Tiānmǎ Cháfáng (天馬茶房)"?
SELECT film_title_used_in_nomination FROM table_name_27 WHERE original_title = "báng-kah (艋舺)"
CREATE TABLE table_name_27 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
What is Film Title Used In Nomination, when Original Title is "Báng-Kah (艋舺)"
SELECT original_title FROM table_name_73 WHERE director = "ting shan-si" AND film_title_used_in_nomination = "the 800 heroes"
CREATE TABLE table_name_73 (original_title VARCHAR, director VARCHAR, film_title_used_in_nomination VARCHAR)
What is the Original Title, when Director is "Ting Shan-Si", and when Film Title Used In Nomination is "The 800 Heroes"?
SELECT year__ceremony_ FROM table_name_66 WHERE director = "wang siu-di"
CREATE TABLE table_name_66 (year__ceremony_ VARCHAR, director VARCHAR)
What is Year (Ceremony), when Director is "Wang Siu-Di"?
SELECT result FROM table_name_43 WHERE film_title_used_in_nomination = "kuei-mei, a woman"
CREATE TABLE table_name_43 (result VARCHAR, film_title_used_in_nomination VARCHAR)
What is Result, when Film Title Used In Nomination is "Kuei-Mei, A Woman"?
SELECT serials_issued FROM table_name_39 WHERE design = "yellow on blue" AND issued = 1955
CREATE TABLE table_name_39 (serials_issued VARCHAR, design VARCHAR, issued VARCHAR)
What was the issued serial for yellow on blue design issued in 1955?
SELECT serial_format FROM table_name_72 WHERE design = "white on blue" AND serials_issued = "ss-00-00 to zz-99-99"
CREATE TABLE table_name_72 (serial_format VARCHAR, design VARCHAR, serials_issued VARCHAR)
What is the serial format for white on blue with a serial issued of ss-00-00 to zz-99-99?
SELECT serials_issued FROM table_name_71 WHERE issued = 1966
CREATE TABLE table_name_71 (serials_issued VARCHAR, issued VARCHAR)
What is the issued serial given in 1966?
SELECT serial_format FROM table_name_71 WHERE issued = 1972
CREATE TABLE table_name_71 (serial_format VARCHAR, issued VARCHAR)
What serial format was issued in 1972?
SELECT type FROM table_name_1 WHERE issued = 1964
CREATE TABLE table_name_1 (type VARCHAR, issued VARCHAR)
What type was issued in 1964?
SELECT tournament FROM table_name_97 WHERE opponent_team = "hungary's league selection"
CREATE TABLE table_name_97 (tournament VARCHAR, opponent_team VARCHAR)
At which tournament does Milan play against Hungary's league selection?
SELECT score FROM table_name_65 WHERE date = "1 august 2008"
CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR)
What was the final score on 1 August 2008?
SELECT location FROM table_name_74 WHERE opponent_team = "napoli"
CREATE TABLE table_name_74 (location VARCHAR, opponent_team VARCHAR)
Where did Milan play against Napoli?
SELECT week FROM table_name_37 WHERE tv_time = "bye"
CREATE TABLE table_name_37 (week VARCHAR, tv_time VARCHAR)
WHAT WEEK HAS A TV TIME OF BYE?
SELECT attendance FROM table_name_17 WHERE week = 15
CREATE TABLE table_name_17 (attendance VARCHAR, week VARCHAR)
WHAT WAS THE ATTENDANCE FOR WEEK 15?
SELECT result FROM table_name_30 WHERE date = "november 29, 2001"
CREATE TABLE table_name_30 (result VARCHAR, date VARCHAR)
WHAT WAS THE RESULT FOR NOVEMBER 29, 2001?
SELECT built FROM table_name_16 WHERE location = "clarkdale"
CREATE TABLE table_name_16 (built VARCHAR, location VARCHAR)
In what year was the bridge in Clarkdale built?
SELECT built FROM table_name_79 WHERE name = "gila bend overpass"
CREATE TABLE table_name_79 (built VARCHAR, name VARCHAR)
In what year was the Gila Bend Overpass built?
SELECT county FROM table_name_33 WHERE name = "canyon padre bridge"
CREATE TABLE table_name_33 (county VARCHAR, name VARCHAR)
In what county is the Canyon Padre Bridge?
SELECT MIN(championships) FROM table_name_94 WHERE years_won = "1971"
CREATE TABLE table_name_94 (championships INTEGER, years_won VARCHAR)
Who won the ABA Championship in 1971?
SELECT AVG(lost) FROM table_name_5 WHERE played < 14
CREATE TABLE table_name_5 (lost INTEGER, played INTEGER)
What was the average amount of losses for teams with played less than 14?
SELECT COUNT(played) FROM table_name_61 WHERE name = "se freising" AND points > 13
CREATE TABLE table_name_61 (played VARCHAR, name VARCHAR, points VARCHAR)
What was the total number of games played by se freising when their points were larger than 13?
SELECT AVG(lost) FROM table_name_65 WHERE points > 3 AND played > 14
CREATE TABLE table_name_65 (lost INTEGER, points VARCHAR, played VARCHAR)
What was the average losses for team with points larger than 3 and played larger thna 14?
SELECT SUM(lost) FROM table_name_42 WHERE name = "ev bruckberg" AND drawn > 1
CREATE TABLE table_name_42 (lost INTEGER, name VARCHAR, drawn VARCHAR)
How many losses did ev bruckberg have when the drawn was more than 1?
SELECT dates_administered FROM table_name_19 WHERE poll_source = "rasmussen reports" AND lead_margin > 32
CREATE TABLE table_name_19 (dates_administered VARCHAR, poll_source VARCHAR, lead_margin VARCHAR)
What was the date administered from a source of Rasmussen Reports and a lead margin over 32?
SELECT score FROM table_name_38 WHERE home = "chicago black hawks" AND date = "march 28"
CREATE TABLE table_name_38 (score VARCHAR, home VARCHAR, date VARCHAR)
What is the Score of the Chicago Black Hawks Home game on March 28?
SELECT visitor FROM table_name_86 WHERE date = "april 2"
CREATE TABLE table_name_86 (visitor VARCHAR, date VARCHAR)
What is the Visitor of the game on April 2?
SELECT home FROM table_name_61 WHERE date = "april 4"
CREATE TABLE table_name_61 (home VARCHAR, date VARCHAR)
What is the Home team on April 4?
SELECT visitor FROM table_name_56 WHERE date = "march 31"
CREATE TABLE table_name_56 (visitor VARCHAR, date VARCHAR)
What is the Visitor on March 31?
SELECT home FROM table_name_43 WHERE date = "april 2"
CREATE TABLE table_name_43 (home VARCHAR, date VARCHAR)
What is the Home team on April 2?
SELECT date FROM table_name_86 WHERE record = "2-3"
CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR)
What is the Date of the game with a Record of 2-3?
SELECT track FROM table_name_55 WHERE year = "1926"
CREATE TABLE table_name_55 (track VARCHAR, year VARCHAR)
What track was used in 1926?
SELECT 250 AS _cc FROM table_name_31 WHERE year = "1927"
CREATE TABLE table_name_31 (year VARCHAR)
Who won the 250cc in 1927?
SELECT designated_grand_prix FROM table_name_32 WHERE track = "granollers"
CREATE TABLE table_name_32 (designated_grand_prix VARCHAR, track VARCHAR)
What grand prix was held at Granollers?
SELECT 350 AS _cc FROM table_name_90 WHERE track = "sachsenring"
CREATE TABLE table_name_90 (track VARCHAR)
Who won the 350cc at Sachsenring?
SELECT fleet_number_s_ FROM table_name_35 WHERE quantity_made = "13"
CREATE TABLE table_name_35 (fleet_number_s_ VARCHAR, quantity_made VARCHAR)
Which fleet numbers has quanitity of 13?
SELECT wheel_arrangement FROM table_name_3 WHERE year_made = "1900"
CREATE TABLE table_name_3 (wheel_arrangement VARCHAR, year_made VARCHAR)
Which wheel arrangement made in year 1900?
SELECT fleet_number_s_ FROM table_name_78 WHERE quantity_made = "1"
CREATE TABLE table_name_78 (fleet_number_s_ VARCHAR, quantity_made VARCHAR)
Which fleet numbers has quantity of 1?
SELECT score FROM table_name_43 WHERE partner = "florencia labat" AND surface = "clay" AND opponents = "laura golarsa ann grossman"
CREATE TABLE table_name_43 (score VARCHAR, opponents VARCHAR, partner VARCHAR, surface VARCHAR)
what is the score when the partner is florencia labat, the surface is clay, the opponents is laura golarsa ann grossman?
SELECT opponents FROM table_name_93 WHERE surface = "clay" AND date = "12 july 1992"
CREATE TABLE table_name_93 (opponents VARCHAR, surface VARCHAR, date VARCHAR)
who is the opponents when the surface is clay and the date is 12 july 1992?
SELECT tournament FROM table_name_39 WHERE outcome = "winner" AND opponents = "kerry-anne guse corina morariu"
CREATE TABLE table_name_39 (tournament VARCHAR, outcome VARCHAR, opponents VARCHAR)
what is the tournament when the outcome is winner and the opponents is kerry-anne guse corina morariu?
SELECT score FROM table_name_67 WHERE partner = "alexandra fusai"
CREATE TABLE table_name_67 (score VARCHAR, partner VARCHAR)
what is the score when the partner is alexandra fusai?
SELECT surface FROM table_name_13 WHERE opponents = "louise field nathalie herreman"
CREATE TABLE table_name_13 (surface VARCHAR, opponents VARCHAR)
what is the surface when the opponents are louise field nathalie herreman?
SELECT score FROM table_name_18 WHERE surface = "clay" AND tournament = "san marino"
CREATE TABLE table_name_18 (score VARCHAR, surface VARCHAR, tournament VARCHAR)
what is the score when the surface is clay and the tournament is san marino?
SELECT AVG(grid) FROM table_name_76 WHERE laps < 32 AND manufacturer = "yamaha"
CREATE TABLE table_name_76 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR)
If the manufacturer is Yamaha, and the laps driven were under 32, what's the average of all grid sizes with that criteria?
SELECT MIN(laps) FROM table_name_26 WHERE manufacturer = "suzuki" AND grid = 8
CREATE TABLE table_name_26 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR)
What's the smallest amount of laps that suzuki ran with a grid value of 8?
SELECT opponent FROM table_name_68 WHERE h_a_n = "h" AND score = "101-105"
CREATE TABLE table_name_68 (opponent VARCHAR, h_a_n VARCHAR, score VARCHAR)
Who were the opponents when the score of the game was 101-105 and the H/A/N was H?
SELECT score FROM table_name_4 WHERE opponent = "baltimore bullets" AND date = "march 14"
CREATE TABLE table_name_4 (score VARCHAR, opponent VARCHAR, date VARCHAR)
What is the score of the game against the baltimore bullets on March 14?
SELECT opponent FROM table_name_87 WHERE h_a_n = "h" AND score = "122-135"
CREATE TABLE table_name_87 (opponent VARCHAR, h_a_n VARCHAR, score VARCHAR)
Who were the opponents when the score was 122-135 and the H/A/N was H?
SELECT score FROM table_name_7 WHERE record = "22-55"
CREATE TABLE table_name_7 (score VARCHAR, record VARCHAR)
What is the score of the game where the record was 22-55?
SELECT AVG(drawn) FROM table_name_32 WHERE name = "ersc amberg" AND points < 14
CREATE TABLE table_name_32 (drawn INTEGER, name VARCHAR, points VARCHAR)
What is the average games that were drawn with ERSC Amberg as name and less than 14 points?
SELECT COUNT(position) FROM table_name_17 WHERE drawn = 0 AND points > 22 AND played > 14
CREATE TABLE table_name_17 (position VARCHAR, played VARCHAR, drawn VARCHAR, points VARCHAR)
What is the total position with a drawn of 0 and greater than 22 points and a greater than 14 played?
SELECT song FROM table_name_52 WHERE weeks_at_number_one > 2 AND issue_date_s_ = "17 april - 8 may"
CREATE TABLE table_name_52 (song VARCHAR, weeks_at_number_one VARCHAR, issue_date_s_ VARCHAR)
Which Song has a Weeks at number one larger than 2, and an Issue date(s) of 17 april - 8 may?
SELECT song FROM table_name_17 WHERE issue_date_s_ = "29 may - 26 june"
CREATE TABLE table_name_17 (song VARCHAR, issue_date_s_ VARCHAR)
Which Song has an Issue date(s) of 29 may - 26 june?
SELECT report FROM table_name_31 WHERE home_team = "new zealand breakers"
CREATE TABLE table_name_31 (report VARCHAR, home_team VARCHAR)
what is the report when the home team is new zealand breakers?
SELECT score FROM table_name_23 WHERE home_team = "cairns taipans"
CREATE TABLE table_name_23 (score VARCHAR, home_team VARCHAR)
what is the score when the home team is cairns taipans?
SELECT away_team FROM table_name_45 WHERE venue = "cairns convention centre"
CREATE TABLE table_name_45 (away_team VARCHAR, venue VARCHAR)
Who is the away team when the venue is cairns convention centre?
SELECT away_team FROM table_name_28 WHERE home_team = "sydney spirit"
CREATE TABLE table_name_28 (away_team VARCHAR, home_team VARCHAR)
who is the away team when the home team is sydney spirit?
SELECT Box AS score FROM table_name_3 WHERE home_team = "melbourne tigers"
CREATE TABLE table_name_3 (Box VARCHAR, home_team VARCHAR)
what is the box score when the home team is melbourne tigers?