question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the status for the opposing team South Africa?
CREATE TABLE table_name_9 (status VARCHAR, opposing_teams VARCHAR)
SELECT status FROM table_name_9 WHERE opposing_teams = "south africa"
What was the date for the match where Tweedie-Yates' partner was jodi kenoyer?
CREATE TABLE table_name_18 (date VARCHAR, partner VARCHAR)
SELECT date FROM table_name_18 WHERE partner = "jodi kenoyer"
What's the lowest Floors with Feet that's larger htan 262, has a Name of Standard Bank Building, and Metres that's larger htan 138.8?
CREATE TABLE table_name_29 (floors INTEGER, metres VARCHAR, feet VARCHAR, name VARCHAR)
SELECT MIN(floors) FROM table_name_29 WHERE feet > 262 AND name = "standard bank building" AND metres > 138.8
Which visitors have a leading scorer of roy : 25
CREATE TABLE table_11964047_7 (visitor VARCHAR, leading_scorer VARCHAR)
SELECT visitor FROM table_11964047_7 WHERE leading_scorer = "Roy : 25"
Which award was given in 2012?
CREATE TABLE table_name_16 (award VARCHAR, year VARCHAR)
SELECT award FROM table_name_16 WHERE year = "2012"
Tell me the format for geffen of the united states
CREATE TABLE table_name_3 (format VARCHAR, label VARCHAR, region VARCHAR)
SELECT format FROM table_name_3 WHERE label = "geffen" AND region = "united states"
What is the average Points when the engine was a climax straight-4 earlier than 1958?
CREATE TABLE table_name_4 (points INTEGER, engine VARCHAR, year VARCHAR)
SELECT AVG(points) FROM table_name_4 WHERE engine = "climax straight-4" AND year < 1958
What was the Overall number that is the lowest, and has a pick greater than 9?
CREATE TABLE table_name_86 (overall INTEGER, pick INTEGER)
SELECT MIN(overall) FROM table_name_86 WHERE pick > 9
How many episodes were series episode 214?
CREATE TABLE table_23294081_10 (_number VARCHAR, no VARCHAR)
SELECT COUNT(_number) FROM table_23294081_10 WHERE no = 214
What is the prize money for Virginia?
CREATE TABLE table_11622496_1 (location VARCHAR)
SELECT 1 AS st_prize__$__ FROM table_11622496_1 WHERE location = "Virginia"
Name the windows builders for apache gump
CREATE TABLE table_22903426_1 (windows_builders VARCHAR, name VARCHAR)
SELECT windows_builders FROM table_22903426_1 WHERE name = "Apache Gump"
What is the record on June 13?
CREATE TABLE table_name_57 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_57 WHERE date = "june 13"
What is the sum of Round(s), when Method is "Submission (Banana Split)"?
CREATE TABLE table_name_79 (round INTEGER, method VARCHAR)
SELECT SUM(round) FROM table_name_79 WHERE method = "submission (banana split)"
display all the information of employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40.
CREATE TABLE employees (department_id VARCHAR, salary VARCHAR, commission_pct VARCHAR)
SELECT * FROM employees WHERE salary BETWEEN 8000 AND 12000 AND commission_pct <> "null" OR department_id <> 40
What is the Facility ID that has a City of license of wheeling, and a ERP kW less than 4.5?
CREATE TABLE table_name_52 (facility_id INTEGER, city_of_license VARCHAR, erp_kw VARCHAR)
SELECT MAX(facility_id) FROM table_name_52 WHERE city_of_license = "wheeling" AND erp_kw < 4.5
when was the first elected when the candidates is thomas lawyer (dr) 54.9% william beekman (f) 45.1%?
CREATE TABLE table_2668347_14 (first_elected VARCHAR, candidates VARCHAR)
SELECT first_elected FROM table_2668347_14 WHERE candidates = "Thomas Lawyer (DR) 54.9% William Beekman (F) 45.1%"
What is the intro date for the throughput of 16 mbit/s?
CREATE TABLE table_29778616_1 (intro_date VARCHAR, throughput VARCHAR)
SELECT intro_date FROM table_29778616_1 WHERE throughput = "16 Mbit/s"
How many wins did Cobden have when draws were more than 0?
CREATE TABLE table_name_90 (wins VARCHAR, club VARCHAR, draws VARCHAR)
SELECT COUNT(wins) FROM table_name_90 WHERE club = "cobden" AND draws > 0
What years does Our Lady Sacred Heart School, which is state integrated, have?
CREATE TABLE table_name_47 (years VARCHAR, authority VARCHAR, name VARCHAR)
SELECT years FROM table_name_47 WHERE authority = "state integrated" AND name = "our lady sacred heart school"
Which date had the Hornets as the home team?
CREATE TABLE table_name_53 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_53 WHERE home = "hornets"
Which position did the player from the hometown of Dallas, TX play?
CREATE TABLE table_11677100_12 (position VARCHAR, hometown VARCHAR)
SELECT position FROM table_11677100_12 WHERE hometown = "Dallas, TX"
Which player has an A-League of 150 (4)?
CREATE TABLE table_name_1 (name VARCHAR, a_league VARCHAR)
SELECT name FROM table_name_1 WHERE a_league = "150 (4)"
What is the sum of Game, when Date is "Wed. Nov. 14"?
CREATE TABLE table_name_26 (game INTEGER, date VARCHAR)
SELECT SUM(game) FROM table_name_26 WHERE date = "wed. nov. 14"
What is the launch site of the delta iv rocket?
CREATE TABLE table_name_26 (launch_site VARCHAR, rocket VARCHAR)
SELECT launch_site FROM table_name_26 WHERE rocket = "delta iv"
When was the premiere on the TVB Jade Channel?
CREATE TABLE table_name_86 (premiere VARCHAR, channel VARCHAR)
SELECT premiere FROM table_name_86 WHERE channel = "tvb jade"
Timsah arena is in what country?
CREATE TABLE table_name_32 (country VARCHAR, stadium VARCHAR)
SELECT country FROM table_name_32 WHERE stadium = "timsah arena"
What nation has 1 bronze and 3 silvers?
CREATE TABLE table_name_9 (nation VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT nation FROM table_name_9 WHERE bronze = "1" AND silver = "3"
Which chassis used by the entrant Automobiles Gonfaronnaises Sportives scored 0 points?
CREATE TABLE table_name_65 (chassis VARCHAR, points VARCHAR, entrant VARCHAR)
SELECT chassis FROM table_name_65 WHERE points = 0 AND entrant = "automobiles gonfaronnaises sportives"
What is listed for the Cores that has the L3 cache of 8 MB and Model number of Core i7-860?
CREATE TABLE table_name_76 (cores VARCHAR, l3_cache VARCHAR, model_number VARCHAR)
SELECT cores FROM table_name_76 WHERE l3_cache = "8 mb" AND model_number = "core i7-860"
Name the number when acquisition via far eastern
CREATE TABLE table_15463188_16 (number VARCHAR, acquisition_via VARCHAR)
SELECT number FROM table_15463188_16 WHERE acquisition_via = "Far Eastern"
Which inhabitants have 2009 as the election, with cremona as the municipality?
CREATE TABLE table_name_42 (inhabitants VARCHAR, election VARCHAR, municipality VARCHAR)
SELECT inhabitants FROM table_name_42 WHERE election = 2009 AND municipality = "cremona"
Find all the vocal types.
CREATE TABLE vocals (TYPE VARCHAR)
SELECT DISTINCT TYPE FROM vocals
When was victoria park used as a venue?
CREATE TABLE table_name_18 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_18 WHERE venue = "victoria park"
What district is the parish who had the South Cambridgeshire rural district as the former local authority?
CREATE TABLE table_name_71 (district VARCHAR, former_local_authority VARCHAR)
SELECT district FROM table_name_71 WHERE former_local_authority = "south cambridgeshire rural district"
Find the name and college of students whose decisions are yes in the tryout.
CREATE TABLE tryout (cName VARCHAR, pID VARCHAR, decision VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR)
SELECT T1.pName, T2.cName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes'
Which Matches have a Tally of 1-38?
CREATE TABLE table_name_7 (matches VARCHAR, tally VARCHAR)
SELECT matches FROM table_name_7 WHERE tally = "1-38"
Which athlete has the fastest time of 15.82?
CREATE TABLE table_name_7 (athlete VARCHAR, fastest_time__s_ VARCHAR)
SELECT athlete FROM table_name_7 WHERE fastest_time__s_ = 15.82
What is the largest season with a Third Driver of jimmy davies?
CREATE TABLE table_name_2 (season INTEGER, third_driver VARCHAR)
SELECT MAX(season) FROM table_name_2 WHERE third_driver = "jimmy davies"
Tell me the player for pick number less than 29 and mls team of chicago fire
CREATE TABLE table_name_97 (player VARCHAR, pick__number VARCHAR, mls_team VARCHAR)
SELECT player FROM table_name_97 WHERE pick__number < 29 AND mls_team = "chicago fire"
How many weeks have an Attendance of 62,289?
CREATE TABLE table_name_68 (week INTEGER, attendance VARCHAR)
SELECT SUM(week) FROM table_name_68 WHERE attendance = 62 OFFSET 289
How many flights have destination ATO?
CREATE TABLE FLIGHTS (DestAirport VARCHAR)
SELECT COUNT(*) FROM FLIGHTS WHERE DestAirport = "ATO"
How many years was Audi Sport Team Joest in 3rd position?
CREATE TABLE table_name_8 (year VARCHAR, team VARCHAR, pos VARCHAR)
SELECT COUNT(year) FROM table_name_8 WHERE team = "audi sport team joest" AND pos = "3rd"
Felicia Taylor was cyber girl in week 3, so who was the cyber girl in week 5?
CREATE TABLE table_name_95 (week_5 VARCHAR, week_3 VARCHAR)
SELECT week_5 FROM table_name_95 WHERE week_3 = "felicia taylor"
Which Pick # has a Round smaller than 6, and an Overall larger than 13, and a College of penn state?
CREATE TABLE table_name_6 (pick__number VARCHAR, college VARCHAR, round VARCHAR, overall VARCHAR)
SELECT pick__number FROM table_name_6 WHERE round < 6 AND overall > 13 AND college = "penn state"
what's the ungen for αžαŸ’αžšαžΈαž‘αžŸ?
CREATE TABLE table_name_70 (ungegn VARCHAR, word_form VARCHAR)
SELECT ungegn FROM table_name_70 WHERE word_form = "αžαŸ’αžšαžΈαž‘αžŸ"
What Percentage has a Place of 5?
CREATE TABLE table_name_73 (percentage VARCHAR, place VARCHAR)
SELECT percentage FROM table_name_73 WHERE place = 5
Which game does the quentyn martell have?
CREATE TABLE table_name_54 (game VARCHAR, pov_character VARCHAR)
SELECT game FROM table_name_54 WHERE pov_character = "quentyn martell"
When Nashville was the visiting team what was the lowest Attendance shown?
CREATE TABLE table_name_34 (attendance INTEGER, visitor VARCHAR)
SELECT MIN(attendance) FROM table_name_34 WHERE visitor = "nashville"
Jos verstappen jeroen bleekemolen is on Imp2 winning team where all are rnd.
CREATE TABLE table_14154271_2 (rnd VARCHAR, lmp2_winning_team VARCHAR)
SELECT rnd FROM table_14154271_2 WHERE lmp2_winning_team = "Jos Verstappen Jeroen Bleekemolen"
What Championship has a Date of 26 may 1986?
CREATE TABLE table_name_66 (championship VARCHAR, date VARCHAR)
SELECT championship FROM table_name_66 WHERE date = "26 may 1986"
Which Australian has British of Ι’s?
CREATE TABLE table_name_61 (australian VARCHAR, british VARCHAR)
SELECT australian FROM table_name_61 WHERE british = "Ι’s"
Name the Country which has Stolen Ends larger than 7, and a Skip of david murdoch?
CREATE TABLE table_name_67 (country VARCHAR, stolen_ends VARCHAR, skip VARCHAR)
SELECT country FROM table_name_67 WHERE stolen_ends > 7 AND skip = "david murdoch"
What is the mean played number where the goals conceded is less than 16?
CREATE TABLE table_name_81 (played INTEGER, goals_conceded INTEGER)
SELECT AVG(played) FROM table_name_81 WHERE goals_conceded < 16
What was the least amount of points scored by the golden bears when the opponent scored 15 points?
CREATE TABLE table_21035326_1 (golden_bears_points INTEGER, opponents VARCHAR)
SELECT MIN(golden_bears_points) FROM table_21035326_1 WHERE opponents = 15
How many values of HDTV apply when television service is elite shopping tv?
CREATE TABLE table_15887683_16 (hdtv VARCHAR, television_service VARCHAR)
SELECT COUNT(hdtv) FROM table_15887683_16 WHERE television_service = "Elite Shopping TV"
What year did jaroslav vojtek category:articles with hcards Direct?
CREATE TABLE table_22032599_1 (year__ceremony_ VARCHAR, director VARCHAR)
SELECT year__ceremony_ FROM table_22032599_1 WHERE director = "Jaroslav Vojtek Category:Articles with hCards"
Which Fighting Spirit has a Name of tsurugamine, and a Technique smaller than 10?
CREATE TABLE table_name_55 (fighting_spirit INTEGER, name VARCHAR, technique VARCHAR)
SELECT AVG(fighting_spirit) FROM table_name_55 WHERE name = "tsurugamine" AND technique < 10
What draws are the lowest when wins are larger than 18?
CREATE TABLE table_name_44 (draws INTEGER, wins INTEGER)
SELECT MIN(draws) FROM table_name_44 WHERE wins > 18
Name the total number of awardees for best screenplay
CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_award VARCHAR)
SELECT COUNT(awardee_s_) FROM table_24446718_3 WHERE name_of_award = "Best Screenplay"
Where is the school with Royals as their mascot?
CREATE TABLE table_name_15 (location VARCHAR, mascot VARCHAR)
SELECT location FROM table_name_15 WHERE mascot = "royals"
What is the last name of the musician that has been at the back position the most?
CREATE TABLE Band (lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR)
SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id WHERE stageposition = "back" GROUP BY lastname ORDER BY COUNT(*) DESC LIMIT 1
What is the enrollment ratio in primary in the region where the enrollment ratio in preschool is 38.14?
CREATE TABLE table_25042332_22 (primary__6_13_years_ VARCHAR, preschool__0_5_years_ VARCHAR)
SELECT primary__6_13_years_ FROM table_25042332_22 WHERE preschool__0_5_years_ = "38.14"
What was the moving that has a free transfer fee, and the nationality of CYP, and winter as the transfer window?
CREATE TABLE table_name_12 (moving_to VARCHAR, transfer_window VARCHAR, transfer_fee VARCHAR, nat VARCHAR)
SELECT moving_to FROM table_name_12 WHERE transfer_fee = "free" AND nat = "cyp" AND transfer_window = "winter"
What team was the home team when the record was 11–8–2?
CREATE TABLE table_name_26 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_26 WHERE record = "11–8–2"
How many titles/sources have a developer of Clover Studio?
CREATE TABLE table_26538035_1 (title_and_source VARCHAR, developer VARCHAR)
SELECT COUNT(title_and_source) FROM table_26538035_1 WHERE developer = "Clover Studio"
Name the county for mccain being 38.78%
CREATE TABLE table_20468206_1 (county VARCHAR, mccain_percentage VARCHAR)
SELECT county FROM table_20468206_1 WHERE mccain_percentage = "38.78%"
Who had the highest rebounds in game 2?
CREATE TABLE table_23286112_12 (high_rebounds VARCHAR, game VARCHAR)
SELECT high_rebounds FROM table_23286112_12 WHERE game = 2
What is the data limit for a T-Mobile internet basic plan?
CREATE TABLE table_name_18 (data_limit__gb VARCHAR, company VARCHAR, plan_name VARCHAR)
SELECT data_limit__gb FROM table_name_18 WHERE company = "t-mobile" AND plan_name = "internet basic"
Which film has a role named Taylor?
CREATE TABLE table_name_68 (film VARCHAR, role VARCHAR)
SELECT film FROM table_name_68 WHERE role = "taylor"
Who won the game where the Challenge Leader is ACC (2-1)?
CREATE TABLE table_1672976_6 (winner VARCHAR, challenge_leader VARCHAR)
SELECT winner FROM table_1672976_6 WHERE challenge_leader = "ACC (2-1)"
WHAT HOMETOWN DOES HE PLAY AS THE CATCHER FOR?
CREATE TABLE table_11677100_11 (hometown VARCHAR, position VARCHAR)
SELECT hometown FROM table_11677100_11 WHERE position = "Catcher"
Which position has 50+12 points and fewer than 10 draws?
CREATE TABLE table_name_92 (position INTEGER, points VARCHAR, draws VARCHAR)
SELECT MAX(position) FROM table_name_92 WHERE points = "50+12" AND draws < 10
What were the starting odds for the opening odds of 2-1?
CREATE TABLE table_22517564_3 (starting_odds VARCHAR, opening_odds VARCHAR)
SELECT starting_odds FROM table_22517564_3 WHERE opening_odds = "2-1"
which Helium has a Argon of βˆ’189.6?
CREATE TABLE table_name_54 (helium VARCHAR, argon VARCHAR)
SELECT helium FROM table_name_54 WHERE argon = "βˆ’189.6"
Name the number of season for 18th position
CREATE TABLE table_24596664_1 (season VARCHAR, position VARCHAR)
SELECT COUNT(season) FROM table_24596664_1 WHERE position = "18th"
What country of argentina has the To par of 68?
CREATE TABLE table_name_51 (to_par VARCHAR, score VARCHAR, country VARCHAR)
SELECT to_par FROM table_name_51 WHERE score = 68 AND country = "argentina"
If there are more than 0 Silver medals, less than 5 gold medals, and no bronze medals, what was the total number of medals?
CREATE TABLE table_name_43 (total VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT COUNT(total) FROM table_name_43 WHERE silver > 0 AND gold < 5 AND bronze < 0
Which country is the airport that has the highest altitude located in?
CREATE TABLE airports (country VARCHAR, elevation VARCHAR)
SELECT country FROM airports ORDER BY elevation DESC LIMIT 1
Can you tell me the Divisional Record that has the Away Team of dallas?
CREATE TABLE table_name_58 (divisional_record VARCHAR, away_team VARCHAR)
SELECT divisional_record FROM table_name_58 WHERE away_team = "dallas"
Name the height in ft for the player from wyoming
CREATE TABLE table_name_59 (height_in_ft VARCHAR, school_club_team_country VARCHAR)
SELECT height_in_ft FROM table_name_59 WHERE school_club_team_country = "wyoming"
What was the Timberwolves' record on April 3?
CREATE TABLE table_17058226_10 (record VARCHAR, date VARCHAR)
SELECT record FROM table_17058226_10 WHERE date = "April 3"
What is the type of the player who ended in 2013, had a summer transfer window, and moved from kalmar ff?
CREATE TABLE table_name_34 (type VARCHAR, moving_from VARCHAR, ends VARCHAR, transfer_window VARCHAR)
SELECT type FROM table_name_34 WHERE ends = 2013 AND transfer_window = "summer" AND moving_from = "kalmar ff"
Who had the high rebounds when the score was l 85–102 (ot)?
CREATE TABLE table_name_55 (high_rebounds VARCHAR, score VARCHAR)
SELECT high_rebounds FROM table_name_55 WHERE score = "l 85–102 (ot)"
What Week 2 has a Week 1 of crystal beddows?
CREATE TABLE table_name_66 (week_2 VARCHAR, week_1 VARCHAR)
SELECT week_2 FROM table_name_66 WHERE week_1 = "crystal beddows"
Who directed the episode that originally aired on January 15, 2008?
CREATE TABLE table_13301516_1 (directed_by VARCHAR, original_air_date VARCHAR)
SELECT directed_by FROM table_13301516_1 WHERE original_air_date = "January 15, 2008"
What 2009 has statistics by surface in 2012?
CREATE TABLE table_name_66 (Id VARCHAR)
SELECT 2009 FROM table_name_66 WHERE 2012 = "statistics by surface"
Who was the home team on September 20, 1998 at Spartan Stadium?
CREATE TABLE table_name_39 (home_team VARCHAR, venue VARCHAR, date VARCHAR)
SELECT home_team FROM table_name_39 WHERE venue = "spartan stadium" AND date = "september 20, 1998"
Who had the most rebounds and how many did they have on January 19?
CREATE TABLE table_27744844_7 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_27744844_7 WHERE date = "January 19"
What is the lowest Draws, when Byes is less than 2?
CREATE TABLE table_name_6 (draws INTEGER, byes INTEGER)
SELECT MIN(draws) FROM table_name_6 WHERE byes < 2
When mega pass* (senior/disabled) is the type of fare what is the cash fare?
CREATE TABLE table_20803241_1 (cash_fare VARCHAR, type_of_fare VARCHAR)
SELECT cash_fare FROM table_20803241_1 WHERE type_of_fare = "Mega Pass* (Senior/Disabled)"
What is the highest year with field reporter Steve Lyons?
CREATE TABLE table_2941848_2 (year INTEGER, s_field_reporter VARCHAR)
SELECT MAX(year) FROM table_2941848_2 WHERE s_field_reporter = "Steve Lyons"
What was the resolution for the match that ended by Submission (armbar)?
CREATE TABLE table_name_91 (res VARCHAR, method VARCHAR)
SELECT res FROM table_name_91 WHERE method = "submission (armbar)"
What is the Tie no when Wimbledon is the home team?
CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_12 WHERE home_team = "wimbledon"
what is the total when the rank is 4?
CREATE TABLE table_name_88 (total VARCHAR, rank VARCHAR)
SELECT total FROM table_name_88 WHERE rank = "4"
What is Points, when Draws is less than 7, when Wins is less than 16, and when Goals For is "35"?
CREATE TABLE table_name_17 (points VARCHAR, goals_for VARCHAR, draws VARCHAR, wins VARCHAR)
SELECT points FROM table_name_17 WHERE draws < 7 AND wins < 16 AND goals_for = 35
What year did she compete in tampere, finland?
CREATE TABLE table_name_95 (year INTEGER, venue VARCHAR)
SELECT AVG(year) FROM table_name_95 WHERE venue = "tampere, finland"
What's the report for the True Value 500?
CREATE TABLE table_10527215_3 (report VARCHAR, name VARCHAR)
SELECT report FROM table_10527215_3 WHERE name = "True Value 500"
Which host team played against the New England Patriots?
CREATE TABLE table_name_29 (host_team VARCHAR, visiting_team VARCHAR)
SELECT host_team FROM table_name_29 WHERE visiting_team = "new england patriots"
What was the smallest crowd size at a home game for Footscray?
CREATE TABLE table_name_93 (crowd INTEGER, home_team VARCHAR)
SELECT MIN(crowd) FROM table_name_93 WHERE home_team = "footscray"
Who's the owner of channel 3/32 (vhf/uhf) broadcasting 24-hours?
CREATE TABLE table_name_89 (owner VARCHAR, broadcasting_hours VARCHAR, channel___bkk__ VARCHAR)
SELECT owner FROM table_name_89 WHERE broadcasting_hours = "24-hours" AND channel___bkk__ = "3/32 (vhf/uhf)"