question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What opposing team was playing when sebastian telfair (7) had the highest assists?
CREATE TABLE table_17058226_5 (team VARCHAR, high_assists VARCHAR)
SELECT team FROM table_17058226_5 WHERE high_assists = "Sebastian Telfair (7)"
How many points does Clark have?
CREATE TABLE table_14342592_3 (points VARCHAR, player VARCHAR)
SELECT points FROM table_14342592_3 WHERE player = "Clark"
What was the score of the game which featured the gold coast blaze as the away team and the adelaide 36ers as the home team?
CREATE TABLE table_name_16 (score VARCHAR, away_team VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_16 WHERE away_team = "gold coast blaze" AND home_team = "adelaide 36ers"
what is the number of draws for ali said gouled?
CREATE TABLE table_name_12 (draws VARCHAR, name VARCHAR)
SELECT COUNT(draws) FROM table_name_12 WHERE name = "ali said gouled"
What is the type of the station with a 1 wrl appliance in Linton?
CREATE TABLE table_name_92 (type VARCHAR, appliances VARCHAR, location VARCHAR)
SELECT type FROM table_name_92 WHERE appliances = "1 wrl" AND location = "linton"
What earliest year with points larger than 68 and a rank of 7th?
CREATE TABLE table_name_71 (year INTEGER, points VARCHAR, rank VARCHAR)
SELECT MIN(year) FROM table_name_71 WHERE points > 68 AND rank = "7th"
What is the American locations with less than 114 years and more than 1 tied with more than 1022 total games?
CREATE TABLE table_name_36 (the_american VARCHAR, total_games VARCHAR, years VARCHAR, tied VARCHAR)
SELECT the_american FROM table_name_36 WHERE years < 114 AND tied > 1 AND total_games > 1022
What is the score for Lucas Glover of the United States?
CREATE TABLE table_name_31 (score VARCHAR, country VARCHAR, player VARCHAR)
SELECT score FROM table_name_31 WHERE country = "united states" AND player = "lucas glover"
What is the median household income of sacramento?
CREATE TABLE table_1356555_2 (median_household_income VARCHAR, county VARCHAR)
SELECT median_household_income FROM table_1356555_2 WHERE county = "Sacramento"
What is the batting style of the player born on 14 November 1971?
CREATE TABLE table_name_77 (batting_style VARCHAR, date_of_birth VARCHAR)
SELECT batting_style FROM table_name_77 WHERE date_of_birth = "14 november 1971"
Which language is the most popular on the Asian continent?
CREATE TABLE country (Code VARCHAR, Continent VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)
SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Continent = "Asia" GROUP BY T2.Language ORDER BY COUNT(*) DESC LIMIT 1
Who has the home ground Aami stadium?
CREATE TABLE table_14312471_7 (home_team VARCHAR, ground VARCHAR)
SELECT home_team FROM table_14312471_7 WHERE ground = "AAMI Stadium"
What was the date for Round 2r?
CREATE TABLE table_name_5 (date VARCHAR, round VARCHAR)
SELECT date FROM table_name_5 WHERE round = "2r"
Who was the rider with a Fri 3 June time of 18' 19.68 123.516mph?
CREATE TABLE table_29218221_2 (rider VARCHAR, fri_3_june VARCHAR)
SELECT rider FROM table_29218221_2 WHERE fri_3_june = "18' 19.68 123.516mph"
What is the average amount of floors of the building that is ranked larger than 30, a year prior to 1977 and an address of 100 Van Ness Avenue?
CREATE TABLE table_name_6 (floors INTEGER, name VARCHAR, rank VARCHAR, year VARCHAR)
SELECT AVG(floors) FROM table_name_6 WHERE rank > 30 AND year < 1977 AND name = "100 van ness avenue"
What is the game number with a score of 116–138?
CREATE TABLE table_name_31 (game VARCHAR, score VARCHAR)
SELECT COUNT(game) FROM table_name_31 WHERE score = "116–138"
Who was the winner of binibining pilipinas-International wheh Gionna Cabrera won Miss Universe Philippines?
CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, miss_universe_philippines VARCHAR)
SELECT binibining_pilipinas_international FROM table_1825751_4 WHERE miss_universe_philippines = "Gionna Cabrera"
What is the average grid for jack brabham going over 32 laps?
CREATE TABLE table_name_66 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT AVG(grid) FROM table_name_66 WHERE driver = "jack brabham" AND laps > 32
Which school has enrollment of 887?
CREATE TABLE table_name_44 (school VARCHAR, enrollment VARCHAR)
SELECT school FROM table_name_44 WHERE enrollment = 887
Which team was founded in 1970?
CREATE TABLE table_name_48 (team VARCHAR, founded VARCHAR)
SELECT team FROM table_name_48 WHERE founded = "1970"
What is the earliest year when the 25th Anniversary Loonie was the theme, and the mintage was less than 35,000?
CREATE TABLE table_name_18 (year INTEGER, theme VARCHAR, mintage VARCHAR)
SELECT MIN(year) FROM table_name_18 WHERE theme = "25th anniversary loonie" AND mintage < 35 OFFSET 000
Who is the Latin Commander of the Siege of Constantinople?
CREATE TABLE table_name_88 (latin_commander VARCHAR, battle VARCHAR)
SELECT latin_commander FROM table_name_88 WHERE battle = "siege of constantinople"
What was the result of the match on December 1, 1963?
CREATE TABLE table_name_43 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_43 WHERE date = "december 1, 1963"
How much Area km 2 have a Population of 1,215?
CREATE TABLE table_name_61 (area_km_2 VARCHAR, population VARCHAR)
SELECT COUNT(area_km_2) FROM table_name_61 WHERE population = 1 OFFSET 215
What player is from Chula Vista, Ca?
CREATE TABLE table_name_29 (player VARCHAR, hometown VARCHAR)
SELECT player FROM table_name_29 WHERE hometown = "chula vista, ca"
What was the week number when they played on Dec. 19?
CREATE TABLE table_name_79 (week VARCHAR, date VARCHAR)
SELECT COUNT(week) FROM table_name_79 WHERE date = "dec. 19"
What is k275av call sign's highest erp w?
CREATE TABLE table_name_59 (erp_w INTEGER, call_sign VARCHAR)
SELECT MAX(erp_w) FROM table_name_59 WHERE call_sign = "k275av"
What's the lowest squad number with more than 6 goals, fewer than 8 league goals, and more than 0 playoff goals?
CREATE TABLE table_name_28 (squad_no INTEGER, playoff_goals VARCHAR, total_goals VARCHAR, league_goals VARCHAR)
SELECT MIN(squad_no) FROM table_name_28 WHERE total_goals > 6 AND league_goals < 8 AND playoff_goals > 0
Show the names of the three most recent festivals.
CREATE TABLE festival_detail (Festival_Name VARCHAR, YEAR VARCHAR)
SELECT Festival_Name FROM festival_detail ORDER BY YEAR DESC LIMIT 3
What is Sum of Score, when Place is T2, and when Player is Justin Leonard?
CREATE TABLE table_name_13 (score INTEGER, place VARCHAR, player VARCHAR)
SELECT SUM(score) FROM table_name_13 WHERE place = "t2" AND player = "justin leonard"
Which Projects template has an IntelliTrace of no, and a Windows Phone development of yes, and a Test impact analysis of no?
CREATE TABLE table_name_39 (projects_templates VARCHAR, test_impact_analysis VARCHAR, intellitrace VARCHAR, windows_phone_development VARCHAR)
SELECT projects_templates FROM table_name_39 WHERE intellitrace = "no" AND windows_phone_development = "yes" AND test_impact_analysis = "no"
What is the total gold from New zealand and a rank less than 14?
CREATE TABLE table_name_18 (gold INTEGER, nation VARCHAR, rank VARCHAR)
SELECT SUM(gold) FROM table_name_18 WHERE nation = "new zealand" AND rank < 14
Which tournament was andreas haider-maurer the opponent in?
CREATE TABLE table_name_94 (tournament VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_name_94 WHERE opponent = "andreas haider-maurer"
What schools did lenard semajuste play for?
CREATE TABLE table_10960039_6 (college VARCHAR, player VARCHAR)
SELECT college FROM table_10960039_6 WHERE player = "Lenard Semajuste"
Name the laps for qual of 144.665
CREATE TABLE table_name_94 (laps INTEGER, qual VARCHAR)
SELECT SUM(laps) FROM table_name_94 WHERE qual = "144.665"
What events did the competition that took place in 1997 have?
CREATE TABLE table_name_96 (notes VARCHAR, year VARCHAR)
SELECT notes FROM table_name_96 WHERE year = 1997
Name the first broadcast for trisha goddard and glenn wool
CREATE TABLE table_23292220_5 (first_broadcast VARCHAR, jasons_team VARCHAR)
SELECT first_broadcast FROM table_23292220_5 WHERE jasons_team = "Trisha Goddard and Glenn Wool"
What is Quantity made, when Wheel Arrangement is "2-6-0", and when Class is "D-3"?
CREATE TABLE table_name_31 (quantity_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)
SELECT quantity_made FROM table_name_31 WHERE wheel_arrangement = "2-6-0" AND class = "d-3"
Which Run 3 has a Run 1 of 2:20.10?
CREATE TABLE table_name_13 (run_3 VARCHAR, run_1 VARCHAR)
SELECT run_3 FROM table_name_13 WHERE run_1 = "2:20.10"
What score has nashville predators as the opponent?
CREATE TABLE table_name_91 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_91 WHERE opponent = "nashville predators"
What was the home teams score while playing the away team of south melbourne?
CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_73 WHERE away_team = "south melbourne"
What is every value for approximate duration when event details is women's foil?
CREATE TABLE table_28003469_1 (approx_duration VARCHAR, event_details VARCHAR)
SELECT approx_duration FROM table_28003469_1 WHERE event_details = "Women's Foil"
What is Outcome, when Surface is "Carpet (I)", and when Date is "15 November 1993"?
CREATE TABLE table_name_32 (outcome VARCHAR, surface VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_32 WHERE surface = "carpet (i)" AND date = "15 november 1993"
Tell met he score for team of waaia
CREATE TABLE table_name_67 (score VARCHAR, team VARCHAR)
SELECT score FROM table_name_67 WHERE team = "waaia"
What is the team that has a shooting guard that played for the Grizzlies in 2000-2001?
CREATE TABLE table_name_98 (school_club_team VARCHAR, position VARCHAR, years_for_grizzlies VARCHAR)
SELECT school_club_team FROM table_name_98 WHERE position = "shooting guard" AND years_for_grizzlies = "2000-2001"
What is Website, when Last Release is 2009-08-09, 1.2.9?
CREATE TABLE table_name_25 (website VARCHAR, last_release VARCHAR)
SELECT website FROM table_name_25 WHERE last_release = "2009-08-09, 1.2.9"
What was the result of the game with a score of 3-2?
CREATE TABLE table_name_99 (result VARCHAR, score VARCHAR)
SELECT result FROM table_name_99 WHERE score = "3-2"
Name the former name for 49 rank
CREATE TABLE table_name_79 (Former VARCHAR, rank VARCHAR)
SELECT Former AS name FROM table_name_79 WHERE rank = 49
Tell me the affiliation for pick number less than 59 and position of gk
CREATE TABLE table_name_33 (affiliation VARCHAR, pick__number VARCHAR, position VARCHAR)
SELECT affiliation FROM table_name_33 WHERE pick__number < 59 AND position = "gk"
What is the Name of the Space Telescope Terminated on March 1993?
CREATE TABLE table_name_31 (name VARCHAR, terminated VARCHAR)
SELECT name FROM table_name_31 WHERE terminated = "march 1993"
What is the lwoest round of wild bill's fight night 21 at 5:00?
CREATE TABLE table_name_8 (round INTEGER, time VARCHAR, event VARCHAR)
SELECT MIN(round) FROM table_name_8 WHERE time = "5:00" AND event = "wild bill's fight night 21"
Find products with max page size as "A4" and pages per minute color smaller than 5.
CREATE TABLE product (product VARCHAR, max_page_size VARCHAR, pages_per_minute_color VARCHAR)
SELECT product FROM product WHERE max_page_size = "A4" AND pages_per_minute_color < 5
list the number of matches played by the teams that got an average of 1.079
CREATE TABLE table_14489821_1 (average VARCHAR)
SELECT 1986 AS _87 FROM table_14489821_1 WHERE average = "1.079"
Who wrote the episode originally aired on September 29, 1999?
CREATE TABLE table_18646432_4 (written_by VARCHAR, original_air_date VARCHAR)
SELECT written_by FROM table_18646432_4 WHERE original_air_date = "September 29, 1999"
what is the location when the designer is glen peloso and the restaurant is joe boo's cookoos?
CREATE TABLE table_name_48 (location VARCHAR, designer VARCHAR, restaurant_name VARCHAR)
SELECT location FROM table_name_48 WHERE designer = "glen peloso" AND restaurant_name = "joe boo's cookoos"
What is the largest crowd for the St Kilda as the away team?
CREATE TABLE table_name_26 (crowd INTEGER, away_team VARCHAR)
SELECT MAX(crowd) FROM table_name_26 WHERE away_team = "st kilda"
What chassis has patrick racing as an entrant, with a start greater than 6?
CREATE TABLE table_name_69 (chassis VARCHAR, entrant VARCHAR, start VARCHAR)
SELECT chassis FROM table_name_69 WHERE entrant = "patrick racing" AND start > 6
What was the score in the September 20 game?
CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_57 WHERE date = "september 20"
Name the Player who has a To par of –2 and a Score of 69-73=142?
CREATE TABLE table_name_74 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT player FROM table_name_74 WHERE to_par = "–2" AND score = 69 - 73 = 142
What Player won the PGA in 1989?
CREATE TABLE table_name_29 (player VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_29 WHERE year_s__won = "1989"
what's the position where player is anthony blaylock
CREATE TABLE table_10650711_1 (position VARCHAR, player VARCHAR)
SELECT position FROM table_10650711_1 WHERE player = "Anthony Blaylock"
What is Grupo Capitol Valladolid's highest rank with more than 34 games?
CREATE TABLE table_name_99 (rank INTEGER, team VARCHAR, games VARCHAR)
SELECT MAX(rank) FROM table_name_99 WHERE team = "grupo capitol valladolid" AND games > 34
What did the team do in the Open Cup in the 2nd, Northeast season of the USISL D-3 Pro League?
CREATE TABLE table_1939214_1 (open_cup VARCHAR, league VARCHAR, regular_season VARCHAR)
SELECT open_cup FROM table_1939214_1 WHERE league = "USISL D-3 Pro league" AND regular_season = "2nd, Northeast"
What is гә гә [ɡʷ] when ҕ ҕ [ʁ/ɣ] is ҿ ҿ [t͡ʂʼ]?
CREATE TABLE table_202365_2 (гә_гә_ VARCHAR, ɡʷ VARCHAR, ҕ_ҕ_ VARCHAR, ʁ_ɣ VARCHAR)
SELECT гә_гә_[ɡʷ] FROM table_202365_2 WHERE ҕ_ҕ_[ʁ_ɣ] = "Ҿ ҿ [t͡ʂʼ]"
What region has a lp format on 4 August 2008?
CREATE TABLE table_name_72 (region VARCHAR, format_s_ VARCHAR, date VARCHAR)
SELECT region FROM table_name_72 WHERE format_s_ = "lp" AND date = "4 august 2008"
Which Date has an Opposing Pitcher of jack morris, and an Inning of 4th?
CREATE TABLE table_name_88 (date VARCHAR, opposing_pitcher VARCHAR, inning VARCHAR)
SELECT date FROM table_name_88 WHERE opposing_pitcher = "jack morris" AND inning = "4th"
Which Thickness has a Weight of 3.50grams?
CREATE TABLE table_name_3 (thickness VARCHAR, weight VARCHAR)
SELECT thickness FROM table_name_3 WHERE weight = "3.50grams"
What's the speed rank in 1963?
CREATE TABLE table_name_11 (speed_rank VARCHAR, year VARCHAR)
SELECT speed_rank FROM table_name_11 WHERE year = "1963"
What is the total diagram for builder york?
CREATE TABLE table_name_2 (diagram INTEGER, builder VARCHAR)
SELECT SUM(diagram) FROM table_name_2 WHERE builder = "york"
What is the original air date of the episode that had a week ranking of 21?
CREATE TABLE table_23177573_1 (original_air_date VARCHAR, rank__week_ VARCHAR)
SELECT original_air_date FROM table_23177573_1 WHERE rank__week_ = 21
What is the average amount of goals that have a goal difference or 8 and the losses are smaller than 12?
CREATE TABLE table_name_99 (goals_for INTEGER, goal_difference VARCHAR, losses VARCHAR)
SELECT AVG(goals_for) FROM table_name_99 WHERE goal_difference = 8 AND losses < 12
What tires did BFM Enterprises run on their Offy engine and manta chassis?
CREATE TABLE table_name_15 (tires VARCHAR, team VARCHAR, engine VARCHAR, chassis VARCHAR)
SELECT tires FROM table_name_15 WHERE engine = "offy" AND chassis = "manta" AND team = "bfm enterprises"
What LNER Class has a Class of 6db?
CREATE TABLE table_name_31 (LNER VARCHAR, class VARCHAR)
SELECT LNER AS class FROM table_name_31 WHERE class = "6db"
What are the games with an Involuntary suspension of Season (hurricane Rita)?
CREATE TABLE table_name_72 (games VARCHAR, standing VARCHAR)
SELECT games FROM table_name_72 WHERE standing = "involuntary suspension of season (hurricane rita)"
What is the Total Apps listing for Paul Wilson?
CREATE TABLE table_name_78 (total_apps VARCHAR, name VARCHAR)
SELECT total_apps FROM table_name_78 WHERE name = "paul wilson"
What's the 2nd leg result in the round where Panionios is team #2?
CREATE TABLE table_19130829_4 (team__number2 VARCHAR)
SELECT 2 AS nd_leg FROM table_19130829_4 WHERE team__number2 = "Panionios"
What is the 2007 result when the 2010 result was 2r, at the US Open?
CREATE TABLE table_name_91 (tournament VARCHAR)
SELECT 2007 FROM table_name_91 WHERE 2010 = "2r" AND tournament = "us open"
Tell me the date for 6–3, 6–2
CREATE TABLE table_name_87 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_87 WHERE score = "6–3, 6–2"
Who was the home team in the game played at arden street oval?
CREATE TABLE table_name_42 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_42 WHERE venue = "arden street oval"
What was the 2nd leg score for the match with Lesotho as team 1?
CREATE TABLE table_name_82 (team_1 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_82 WHERE team_1 = "lesotho"
What Ranking has Gold less than 20 and the Event 1976 Toronto?
CREATE TABLE table_name_25 (ranking VARCHAR, gold VARCHAR, event VARCHAR)
SELECT ranking FROM table_name_25 WHERE gold < 20 AND event = "1976 toronto"
What place is Jay Hebert?
CREATE TABLE table_name_60 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_60 WHERE player = "jay hebert"
How many cash prizes were given for the hindi language film jodhaa akbar?
CREATE TABLE table_25926120_3 (cash_prize VARCHAR, language VARCHAR, name_of_film VARCHAR)
SELECT COUNT(cash_prize) FROM table_25926120_3 WHERE language = "Hindi" AND name_of_film = "Jodhaa Akbar"
What's the date of the game that has the Bulls as a visiting team?
CREATE TABLE table_name_48 (date VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_48 WHERE visitor = "bulls"
What is the debut for the person born in Poole?
CREATE TABLE table_name_82 (debut VARCHAR, born VARCHAR)
SELECT debut FROM table_name_82 WHERE born = "poole"
What is Craig Whelihan's average when his yards are smaller than 0?
CREATE TABLE table_name_76 (avg INTEGER, player VARCHAR, yards VARCHAR)
SELECT SUM(avg) FROM table_name_76 WHERE player = "craig whelihan" AND yards < 0
What was the date for Colorado?
CREATE TABLE table_name_92 (date VARCHAR, state VARCHAR)
SELECT date FROM table_name_92 WHERE state = "colorado"
What is the mean Fall 09 number where fall 05 is less than 3?
CREATE TABLE table_name_34 (fall_09 INTEGER, fall_05 INTEGER)
SELECT AVG(fall_09) FROM table_name_34 WHERE fall_05 < 3
Who made the decision when toronto was the home team?
CREATE TABLE table_name_21 (decision VARCHAR, home VARCHAR)
SELECT decision FROM table_name_21 WHERE home = "toronto"
What title was released in 1971?
CREATE TABLE table_name_54 (title VARCHAR, year VARCHAR)
SELECT title FROM table_name_54 WHERE year = 1971
What Dave Douglas' Place?
CREATE TABLE table_name_66 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_66 WHERE player = "dave douglas"
Show all card type codes and the number of cards in each type.
CREATE TABLE Customers_cards (card_type_code VARCHAR)
SELECT card_type_code, COUNT(*) FROM Customers_cards GROUP BY card_type_code
What episode number was written by Anthony Sparks?
CREATE TABLE table_25851971_1 (no INTEGER, written_by VARCHAR)
SELECT MIN(no) FROM table_25851971_1 WHERE written_by = "Anthony Sparks"
What was the u.s. viewers (millions) when the production code was 4alh19?
CREATE TABLE table_26702204_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)
SELECT us_viewers__million_ FROM table_26702204_1 WHERE production_code = "4ALH19"
What is the away team at the game with a Tie no of 2?
CREATE TABLE table_name_18 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_18 WHERE tie_no = "2"
What is Prize, when Runner-Up is "Simon Ehne", and when Winner is "David Tighe"?
CREATE TABLE table_name_37 (prize VARCHAR, runner_up VARCHAR, winner VARCHAR)
SELECT prize FROM table_name_37 WHERE runner_up = "simon ehne" AND winner = "david tighe"
How many games had a tied less 15 with goals against being fewer than 186?
CREATE TABLE table_name_41 (games VARCHAR, tied VARCHAR, goals_against VARCHAR)
SELECT COUNT(games) FROM table_name_41 WHERE tied < 15 AND goals_against < 186
What is Score, when Country is United States, and when Player is "Arnold Palmer"?
CREATE TABLE table_name_93 (score VARCHAR, country VARCHAR, player VARCHAR)
SELECT score FROM table_name_93 WHERE country = "united states" AND player = "arnold palmer"
What sum of Losses has Year greater than 1972, and Competition of nswrfl, and Draws 0, and Wins 16?
CREATE TABLE table_name_18 (loses INTEGER, wins VARCHAR, draws VARCHAR, year VARCHAR, competition VARCHAR)
SELECT SUM(loses) FROM table_name_18 WHERE year > 1972 AND competition = "nswrfl" AND draws = 0 AND wins = 16
How many countries earned 177.2 points?
CREATE TABLE table_1059743_2 (member_association VARCHAR, points VARCHAR)
SELECT COUNT(member_association) FROM table_1059743_2 WHERE points = "177.2"