question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the combined of 2 overalls and 5 slaloms?
CREATE TABLE table_name_93 (combined VARCHAR, overall VARCHAR, slalom VARCHAR)
SELECT combined FROM table_name_93 WHERE overall = "2" AND slalom = "5"
College of san diego state, and a Pick # smaller than 30 has what lowest overall?
CREATE TABLE table_name_46 (overall INTEGER, college VARCHAR, pick__number VARCHAR)
SELECT MIN(overall) FROM table_name_46 WHERE college = "san diego state" AND pick__number < 30
Which City has 600kw 500kw ERP ?
CREATE TABLE table_name_86 (city VARCHAR, erp__analog__digital_ VARCHAR)
SELECT city FROM table_name_86 WHERE erp__analog__digital_ = "600kw 500kw"
How many millions of people in the US watched the episode with season number 8?
CREATE TABLE table_19925114_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)
SELECT us_viewers__millions_ FROM table_19925114_1 WHERE no_in_season = 8
Which zone had mădălina gojnea monica niculescu as the opponent?
CREATE TABLE table_name_30 (zone VARCHAR, opponents VARCHAR)
SELECT zone FROM table_name_30 WHERE opponents = "mădălina gojnea monica niculescu"
What's the call sign of The Q?
CREATE TABLE table_name_43 (call_sign VARCHAR, branding VARCHAR)
SELECT call_sign FROM table_name_43 WHERE branding = "the q"
What is the total number of Entered when the eliminated number is 3?
CREATE TABLE table_name_53 (entered VARCHAR, eliminated VARCHAR)
SELECT COUNT(entered) FROM table_name_53 WHERE eliminated = "3"
Name the region 1 for episode number 13
CREATE TABLE table_171320_3 (region_1 VARCHAR, ep__number VARCHAR)
SELECT region_1 FROM table_171320_3 WHERE ep__number = 13
What is the total of First Season games with 1537 Wins and a Season greater than 109?
CREATE TABLE table_name_71 (first_season INTEGER, wins VARCHAR, seasons VARCHAR)
SELECT SUM(first_season) FROM table_name_71 WHERE wins = 1537 AND seasons > 109
Which Album has a Label of msb 801?
CREATE TABLE table_name_87 (album VARCHAR, label VARCHAR)
SELECT album FROM table_name_87 WHERE label = "msb 801"
Records from Kontor Records from the catalog of Kontor446 was released in what format?
CREATE TABLE table_name_63 (format VARCHAR, label VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_63 WHERE label = "kontor records" AND catalog = "kontor446"
In how many different audition cities were the Bridgestone arena auditions held?
CREATE TABLE table_27455867_1 (audition_city VARCHAR, audition_venue VARCHAR)
SELECT COUNT(audition_city) FROM table_27455867_1 WHERE audition_venue = "Bridgestone Arena"
What is the least amount of wickets?
CREATE TABLE table_27922491_8 (wickets INTEGER)
SELECT MIN(wickets) FROM table_27922491_8
Who was the outgoing manager for the team, necaxa?
CREATE TABLE table_name_28 (outgoing_manager VARCHAR, team VARCHAR)
SELECT outgoing_manager FROM table_name_28 WHERE team = "necaxa"
What is the highest reset points where the events is 23?
CREATE TABLE table_13282157_1 (Reset INTEGER, events VARCHAR)
SELECT MAX(Reset) AS points FROM table_13282157_1 WHERE events = 23
Which Game is the lowest one that has Points smaller than 92?
CREATE TABLE table_name_14 (game INTEGER, points INTEGER)
SELECT MIN(game) FROM table_name_14 WHERE points < 92
How many Episodes have a Romaji Title of slow dance?
CREATE TABLE table_name_29 (episodes INTEGER, romaji_title VARCHAR)
SELECT SUM(episodes) FROM table_name_29 WHERE romaji_title = "slow dance"
who got the first place when the Japanese Regional Leagues was in hokushinetsu?
CREATE TABLE table_21632864_1 (champions VARCHAR, regional VARCHAR)
SELECT champions FROM table_21632864_1 WHERE regional = "Hokushinetsu"
What was the location and attendance at the game where the final score is w 118-112?
CREATE TABLE table_17382360_9 (location_attendance VARCHAR, score VARCHAR)
SELECT location_attendance FROM table_17382360_9 WHERE score = "W 118-112"
On what date did Lori McNeil play as a partner with a score of 6–7(6), 5–7?
CREATE TABLE table_name_84 (date VARCHAR, partner VARCHAR, score VARCHAR)
SELECT date FROM table_name_84 WHERE partner = "lori mcneil" AND score = "6–7(6), 5–7"
Name the average top-10 for cuts made of 10 and top-25 more than 6
CREATE TABLE table_name_57 (top_10 INTEGER, cuts_made VARCHAR, top_25 VARCHAR)
SELECT AVG(top_10) FROM table_name_57 WHERE cuts_made = 10 AND top_25 > 6
What is the record of the game with 35 points and pittsburgh as the home team?
CREATE TABLE table_name_77 (record VARCHAR, home VARCHAR, points VARCHAR)
SELECT record FROM table_name_77 WHERE home = "pittsburgh" AND points = 35
What was the teams record when they played the ottawa senators?
CREATE TABLE table_27539535_7 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_27539535_7 WHERE opponent = "Ottawa Senators"
Name the loss with record of 14-19
CREATE TABLE table_name_68 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_68 WHERE record = "14-19"
Who came in 3rd at Venue?
CREATE TABLE table_name_99 (Id VARCHAR)
SELECT 3 AS rd_place FROM table_name_99 WHERE "venue" = "venue"
WHAT IS THE LEAD WITH THIRD AS TARA GEORGE?
CREATE TABLE table_name_79 (lead VARCHAR, third VARCHAR)
SELECT lead FROM table_name_79 WHERE third = "tara george"
What language was the film Pelle Erobreren, which received the best actor nomination, in?
CREATE TABLE table_name_11 (language VARCHAR, category VARCHAR, original_title VARCHAR)
SELECT language FROM table_name_11 WHERE category = "best actor" AND original_title = "pelle erobreren"
What is the average Year with a Veritas rs chassis and more than 0 points?
CREATE TABLE table_name_73 (year INTEGER, chassis VARCHAR, points VARCHAR)
SELECT AVG(year) FROM table_name_73 WHERE chassis = "veritas rs" AND points > 0
When 3t7458 is the production code who are the writers?
CREATE TABLE table_19068566_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_19068566_1 WHERE production_code = "3T7458"
What district(s) did henry clay represent?
CREATE TABLE table_2668264_8 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_2668264_8 WHERE incumbent = "Henry Clay"
What conference has mayville state as the school?
CREATE TABLE table_name_71 (conference VARCHAR, school VARCHAR)
SELECT conference FROM table_name_71 WHERE school = "mayville state"
What is Occupation², when Age¹ is greater than 24, when Alias is "Black"?
CREATE TABLE table_name_52 (occupation² VARCHAR, age¹ VARCHAR, alias VARCHAR)
SELECT occupation² FROM table_name_52 WHERE age¹ > 24 AND alias = "black"
Name the sum of played for c.d. luis ángel firpo and place more than 3
CREATE TABLE table_name_67 (played INTEGER, team VARCHAR, place VARCHAR)
SELECT SUM(played) FROM table_name_67 WHERE team = "c.d. luis ángel firpo" AND place > 3
Thomas J. Lane is the incumbent of how many parties?
CREATE TABLE table_1342013_20 (party VARCHAR, incumbent VARCHAR)
SELECT COUNT(party) FROM table_1342013_20 WHERE incumbent = "Thomas J. Lane"
What is the margin of victory of the tournament on 5 Jun 1988?
CREATE TABLE table_name_75 (margin_of_victory VARCHAR, date VARCHAR)
SELECT margin_of_victory FROM table_name_75 WHERE date = "5 jun 1988"
How many sacks for the player with over 1 tackle, under 3 assisted tackles, and over 0 yards?
CREATE TABLE table_name_46 (sack VARCHAR, yards VARCHAR, tackles VARCHAR, assisted VARCHAR)
SELECT COUNT(sack) FROM table_name_46 WHERE tackles > 1 AND assisted < 3 AND yards > 0
What Singapore League Cup does Masahiro Fukasawa have?
CREATE TABLE table_name_99 (singapore_league_cup VARCHAR, name VARCHAR)
SELECT singapore_league_cup FROM table_name_99 WHERE name = "masahiro fukasawa"
What Competition on August 3, 2005 had a Score of 5-0?
CREATE TABLE table_name_16 (competition VARCHAR, score VARCHAR, date VARCHAR)
SELECT competition FROM table_name_16 WHERE score = "5-0" AND date = "august 3, 2005"
What is the highest Bush#, when Others% is "1.7%", when Others# is less than 75, and when Kerry# is greater than 1,524?
CREATE TABLE table_name_85 (bush_number INTEGER, kerry_number VARCHAR, others_percentage VARCHAR, others_number VARCHAR)
SELECT MAX(bush_number) FROM table_name_85 WHERE others_percentage = "1.7%" AND others_number < 75 AND kerry_number > 1 OFFSET 524
What game was Minnesota the team?
CREATE TABLE table_name_70 (game VARCHAR, team VARCHAR)
SELECT COUNT(game) FROM table_name_70 WHERE team = "minnesota"
what is the score in fg-fga if in ft-fta is 16-21
CREATE TABLE table_23817012_6 (fg_fga VARCHAR, ft_fta VARCHAR)
SELECT fg_fga FROM table_23817012_6 WHERE ft_fta = "16-21"
How many mascotts are there for college station, texas
CREATE TABLE table_28243691_1 (team_nickname VARCHAR, location VARCHAR)
SELECT COUNT(team_nickname) FROM table_28243691_1 WHERE location = "College Station, Texas"
What character is played by dani harmer for under 23 episodes?
CREATE TABLE table_name_51 (character VARCHAR, episodes VARCHAR, actor VARCHAR)
SELECT character FROM table_name_51 WHERE episodes < 23 AND actor = "dani harmer"
Name the winning score for jim barnes and year of 1924
CREATE TABLE table_name_24 (winning_score VARCHAR, runner_up VARCHAR, year VARCHAR)
SELECT winning_score FROM table_name_24 WHERE runner_up = "jim barnes" AND year = 1924
Name the result for japanese
CREATE TABLE table_21790203_1 (result VARCHAR, language_s_ VARCHAR)
SELECT result FROM table_21790203_1 WHERE language_s_ = "Japanese"
Who won Division North when Division Southwest was won by Novaci and Division West by Vrapčište?
CREATE TABLE table_name_75 (division_north VARCHAR, division_southwest VARCHAR, division_west VARCHAR)
SELECT division_north FROM table_name_75 WHERE division_southwest = "novaci" AND division_west = "vrapčište"
Which Foreign population has a Population (2004) larger than 234733?
CREATE TABLE table_name_26 (foreign_population INTEGER, population__2004_ INTEGER)
SELECT AVG(foreign_population) FROM table_name_26 WHERE population__2004_ > 234733
Who directed the episode with production code ca303?
CREATE TABLE table_25740548_4 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_25740548_4 WHERE production_code = "CA303"
What is the highest game number?
CREATE TABLE table_13619027_10 (game INTEGER)
SELECT MAX(game) FROM table_13619027_10
how many people wrote the episode directed by rob schrab?
CREATE TABLE table_28081876_4 (written_by VARCHAR, directed_by VARCHAR)
SELECT COUNT(written_by) FROM table_28081876_4 WHERE directed_by = "Rob Schrab"
What District has a Member with a First Election date of 1985?
CREATE TABLE table_name_43 (district VARCHAR, position VARCHAR, first_election VARCHAR)
SELECT district FROM table_name_43 WHERE position = "member" AND first_election = "1985"
How many tries for were there 48 points?
CREATE TABLE table_name_57 (tries_for VARCHAR, points VARCHAR)
SELECT tries_for FROM table_name_57 WHERE points = "48"
Which Lost has Points of 28 and a Drawn smaller than 8?
CREATE TABLE table_name_47 (lost INTEGER, points VARCHAR, drawn VARCHAR)
SELECT AVG(lost) FROM table_name_47 WHERE points = 28 AND drawn < 8
For all directors who directed more than one movie, return the titles of all movies directed by them, along with the director name. Sort by director name, then movie title.
CREATE TABLE Movie (title VARCHAR, director VARCHAR); CREATE TABLE Movie (director VARCHAR, title VARCHAR)
SELECT T1.title, T1.director FROM Movie AS T1 JOIN Movie AS T2 ON T1.director = T2.director WHERE T1.title <> T2.title ORDER BY T1.director, T1.title
How many people in the crowd with north melbourne as an away team?
CREATE TABLE table_name_72 (crowd INTEGER, away_team VARCHAR)
SELECT SUM(crowd) FROM table_name_72 WHERE away_team = "north melbourne"
Where can you find Colorado and Southern Railway #9?
CREATE TABLE table_1057316_1 (disposition VARCHAR, operational_owner_s_ VARCHAR)
SELECT disposition FROM table_1057316_1 WHERE operational_owner_s_ = "Colorado and Southern Railway #9"
What's the 1986 if 1991 has a QF and 1998 has a 3R?
CREATE TABLE table_name_51 (Id VARCHAR)
SELECT 1986 FROM table_name_51 WHERE 1991 = "qf" AND 1998 = "3r"
What is Tony Jacklin's total?
CREATE TABLE table_name_33 (total VARCHAR, player VARCHAR)
SELECT total FROM table_name_33 WHERE player = "tony jacklin"
How many employees do we have?
CREATE TABLE Employees (Id VARCHAR)
SELECT COUNT(*) FROM Employees
Which name has group 0 in Bl4 area?
CREATE TABLE table_name_51 (name VARCHAR, group_s_ VARCHAR, area VARCHAR)
SELECT name FROM table_name_51 WHERE group_s_ = 0 AND area = "bl4"
What are the statuses of the platelet counts for the conditions where the prothrombin time and partial thromboblastin time is unaffected?
CREATE TABLE table_20592988_1 (platelet_count VARCHAR, prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR)
SELECT platelet_count FROM table_20592988_1 WHERE prothrombin_time = "Unaffected" AND partial_thromboplastin_time = "Unaffected"
Tell me the average attendance for week of 11
CREATE TABLE table_name_58 (attendance INTEGER, week VARCHAR)
SELECT AVG(attendance) FROM table_name_58 WHERE week = 11
What year shows 4 points?
CREATE TABLE table_name_65 (year VARCHAR, points VARCHAR)
SELECT year FROM table_name_65 WHERE points = 4
When the opposing team was SSC-R what was the statistic?
CREATE TABLE table_name_79 (statistic VARCHAR, opponent VARCHAR)
SELECT statistic FROM table_name_79 WHERE opponent = "ssc-r"
Tell me the power for 1935-45
CREATE TABLE table_name_91 (power VARCHAR, year VARCHAR)
SELECT power FROM table_name_91 WHERE year = "1935-45"
What is the result for Boston's road team in game 4?
CREATE TABLE table_name_73 (result VARCHAR, road_team VARCHAR, game VARCHAR)
SELECT result FROM table_name_73 WHERE road_team = "boston" AND game = "game 4"
The U.S. airdate of 8 august 2008 also had canadian airdates of what?
CREATE TABLE table_10935205_1 (canadian_airdate VARCHAR, us_airdate VARCHAR)
SELECT canadian_airdate FROM table_10935205_1 WHERE us_airdate = "8 August 2008"
What is the booking status code of the apartment with apartment number "Suite 634"?
CREATE TABLE Apartments (apt_id VARCHAR, apt_number VARCHAR); CREATE TABLE Apartment_Bookings (booking_status_code VARCHAR, apt_id VARCHAR)
SELECT T1.booking_status_code FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.apt_number = "Suite 634"
What is the number of the episode seen by 1.370 million people in the US?
CREATE TABLE table_2345558_1 (_number INTEGER, us_viewers__millions_ VARCHAR)
SELECT MAX(_number) FROM table_2345558_1 WHERE us_viewers__millions_ = "1.370"
Which Date has a Status of second test?
CREATE TABLE table_name_54 (date VARCHAR, status VARCHAR)
SELECT date FROM table_name_54 WHERE status = "second test"
What is the average finish when winnings equals $71,200?
CREATE TABLE table_2182562_1 (avg_finish VARCHAR, winnings VARCHAR)
SELECT avg_finish FROM table_2182562_1 WHERE winnings = "$71,200"
Who is the January playmate with a March playmate Alexandria Karlsen?
CREATE TABLE table_name_59 (january VARCHAR, march VARCHAR)
SELECT january FROM table_name_59 WHERE march = "alexandria karlsen"
What was the score of the Away team that played against the Home team of Fitzroy?
CREATE TABLE table_name_10 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_10 WHERE home_team = "fitzroy"
What is the Location of the Event on March 30, 2008?
CREATE TABLE table_name_73 (location VARCHAR, date VARCHAR)
SELECT location FROM table_name_73 WHERE date = "march 30, 2008"
What publisher does Paleo Entertainment develop for?
CREATE TABLE table_name_14 (publisher VARCHAR, developer VARCHAR)
SELECT publisher FROM table_name_14 WHERE developer = "paleo entertainment"
Which Krypton has a Physical property of critical pressure (atm)?
CREATE TABLE table_name_36 (krypton VARCHAR, physical_property VARCHAR)
SELECT krypton FROM table_name_36 WHERE physical_property = "critical pressure (atm)"
What was the team that held the race title of Mallala?
CREATE TABLE table_name_47 (team VARCHAR, race_title VARCHAR)
SELECT team FROM table_name_47 WHERE race_title = "mallala"
what's the thursday iuppiter (jupiter) with saturday saturnus ( saturn) being jesarn
CREATE TABLE table_1277350_1 (thursday_iuppiter__jupiter_ VARCHAR, saturday_saturnus___saturn_ VARCHAR)
SELECT thursday_iuppiter__jupiter_ FROM table_1277350_1 WHERE saturday_saturnus___saturn_ = "Jesarn"
What's the result when the score is 2-2?
CREATE TABLE table_name_10 (result VARCHAR, score VARCHAR)
SELECT result FROM table_name_10 WHERE score = "2-2"
What total average has 1988 has the year (s) won?
CREATE TABLE table_name_34 (total INTEGER, year_s__won VARCHAR)
SELECT AVG(total) FROM table_name_34 WHERE year_s__won = "1988"
What is the value in 2009 when 1R is in 2007?
CREATE TABLE table_name_19 (Id VARCHAR)
SELECT 2009 FROM table_name_19 WHERE 2007 = "1r"
Which place has horton smith as the player?
CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_10 WHERE player = "horton smith"
Who drove the car with a grid of 7?
CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_38 WHERE grid = 7
Name the player for ol
CREATE TABLE table_20649850_1 (player VARCHAR, position VARCHAR)
SELECT player FROM table_20649850_1 WHERE position = "OL"
Who are all the major users of the Gordon Close-Support Weapon System?
CREATE TABLE table_29474407_11 (major_users VARCHAR, name__designation VARCHAR)
SELECT major_users FROM table_29474407_11 WHERE name__designation = "Gordon Close-Support Weapon System"
What was the longitude for the shock that occured on 2010-01-09?
CREATE TABLE table_25675509_1 (longitude VARCHAR, date__yyyy_mm_dd_ VARCHAR)
SELECT longitude FROM table_25675509_1 WHERE date__yyyy_mm_dd_ = "2010-01-09"
what's the model name with engine code being b5254 t4
CREATE TABLE table_1147701_4 (model_name VARCHAR, engine_code VARCHAR)
SELECT model_name FROM table_1147701_4 WHERE engine_code = "B5254 T4"
What is the affiliation for towson, md?
CREATE TABLE table_name_37 (affiliation VARCHAR, location VARCHAR)
SELECT affiliation FROM table_name_37 WHERE location = "towson, md"
When Partizan is Team 2, what is the Agg?
CREATE TABLE table_name_47 (agg VARCHAR, team_2 VARCHAR)
SELECT agg FROM table_name_47 WHERE team_2 = "partizan"
What is the wheel arrangement with 1 quantity preserved?
CREATE TABLE table_name_1 (wheel_arrangement VARCHAR, quantity_preserved VARCHAR)
SELECT wheel_arrangement FROM table_name_1 WHERE quantity_preserved = "1"
What is the maximum foot per second speed where time to feet ratio is 22.1 at 55 degrees?
CREATE TABLE table_16439764_1 (m_v_ft_s INTEGER, time_to_ft__m__at_55°__seconds_ VARCHAR)
SELECT MAX(m_v_ft_s) FROM table_16439764_1 WHERE time_to_ft__m__at_55°__seconds_ = "22.1"
What is the to par value for the game with a winning score of 71-69-71-70=281?
CREATE TABLE table_name_49 (to_par VARCHAR, winning_score VARCHAR)
SELECT to_par FROM table_name_49 WHERE winning_score = 71 - 69 - 71 - 70 = 281
What is the Result when the Theme was by Dolly Parton?
CREATE TABLE table_name_42 (result VARCHAR, theme VARCHAR)
SELECT result FROM table_name_42 WHERE theme = "dolly parton"
What is the pole position of the Portuguese Grand Prix?
CREATE TABLE table_name_54 (pole_position VARCHAR, grand_prix VARCHAR)
SELECT pole_position FROM table_name_54 WHERE grand_prix = "portuguese grand prix"
What is the average year for a Saar of FK Pirmasens and Hessen of Wormatia Worms?
CREATE TABLE table_name_47 (year INTEGER, saar VARCHAR, hessen VARCHAR)
SELECT AVG(year) FROM table_name_47 WHERE saar = "fk pirmasens" AND hessen = "wormatia worms"
When 6th, south division 2 is the mens 1st xi what is the mens 2nd xi?
CREATE TABLE table_21576644_2 (mens_2nd_xi VARCHAR, mens_1st_xi VARCHAR)
SELECT mens_2nd_xi FROM table_21576644_2 WHERE mens_1st_xi = "6th, South Division 2"
What is the first year for Popgun?
CREATE TABLE table_name_41 (first_year VARCHAR, title VARCHAR)
SELECT first_year FROM table_name_41 WHERE title = "popgun"
Which Election has a Municipality of laives, and Inhabitants smaller than 17,197?
CREATE TABLE table_name_35 (election INTEGER, municipality VARCHAR, inhabitants VARCHAR)
SELECT AVG(election) FROM table_name_35 WHERE municipality = "laives" AND inhabitants < 17 OFFSET 197
Name the icb sector for ai
CREATE TABLE table_168274_1 (icb_sector VARCHAR, ticker_symbol VARCHAR)
SELECT icb_sector FROM table_168274_1 WHERE ticker_symbol = "AI"
who is the other person where the assistant is paulo babo
CREATE TABLE table_28046929_2 (driver VARCHAR, co_driver VARCHAR)
SELECT driver FROM table_28046929_2 WHERE co_driver = "Paulo Babo"