context
stringlengths 27
484
| question
stringlengths 12
244
| answer
stringlengths 32
484
|
---|---|---|
CREATE TABLE table_name_95 (round INTEGER, record VARCHAR) | What is the smallest round to have a record of 4-0? | SELECT MIN(round) FROM table_name_95 WHERE record = "4-0" |
CREATE TABLE table_24108789_6 (events VARCHAR, points VARCHAR) | Name the number of events for 3031 | SELECT COUNT(events) FROM table_24108789_6 WHERE points = 3031 |
CREATE TABLE table_name_36 (grid INTEGER, laps VARCHAR, driver VARCHAR) | what average grid has laps larger than 52 and contains the driver of andrea de adamich? | SELECT AVG(grid) FROM table_name_36 WHERE laps > 52 AND driver = "andrea de adamich" |
CREATE TABLE table_name_15 (branding VARCHAR, call_sign VARCHAR) | What is the branding for cbxp-fm? | SELECT branding FROM table_name_15 WHERE call_sign = "cbxp-fm" |
CREATE TABLE table_name_35 (points VARCHAR, try_bonus VARCHAR) | How many points were there when the try bonus was 2? | SELECT points FROM table_name_35 WHERE try_bonus = "2" |
CREATE TABLE table_name_50 (overall INTEGER, pick VARCHAR) | what is the lowest overall when the pick is 20? | SELECT MIN(overall) FROM table_name_50 WHERE pick = 20 |
CREATE TABLE table_name_83 (lead VARCHAR, third VARCHAR) | WHAT IS THE LEAD WITH THIRD AS JEANNA SCHRAEDER? | SELECT lead FROM table_name_83 WHERE third = "jeanna schraeder" |
CREATE TABLE table_189893_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR) | What is every value for percentage(2006) with a Polish mother tongue? | SELECT percentage__2006_ FROM table_189893_1 WHERE mother_tongue = "Polish" |
CREATE TABLE table_name_22 (player VARCHAR, jersey_number_s_ INTEGER) | Who is the player with a Jersey Number(s) greater than 30? | SELECT player FROM table_name_22 WHERE jersey_number_s_ > 30 |
CREATE TABLE table_name_88 (mcintosh VARCHAR, paul_mccartney VARCHAR, whitten VARCHAR, stuart VARCHAR) | Which McIntosh has a Whitten of drums, and a Stuart of bass, and a Paul McCartney of electric guitar? | SELECT mcintosh FROM table_name_88 WHERE whitten = "drums" AND stuart = "bass" AND paul_mccartney = "electric guitar" |
CREATE TABLE table_name_21 (secondary_military_speciality VARCHAR, real_name VARCHAR) | What is Gareth Morgan's Secondary Military Specialty? | SELECT secondary_military_speciality FROM table_name_21 WHERE real_name = "gareth morgan" |
CREATE TABLE table_name_20 (total INTEGER, year_s__won VARCHAR) | What is the winning total from 1976? | SELECT MAX(total) FROM table_name_20 WHERE year_s__won = "1976" |
CREATE TABLE table_name_65 (last_season VARCHAR, team VARCHAR) | What is the last season the Worcester Wolves played? | SELECT last_season FROM table_name_65 WHERE team = "worcester wolves" |
CREATE TABLE table_name_63 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) | What is the smallest bronze value associated with golds over 0, silvers over 11, and totals of 36? | SELECT MIN(bronze) FROM table_name_63 WHERE gold > 0 AND total = 36 AND silver > 11 |
CREATE TABLE table_name_27 (viewers__in_millions_ VARCHAR, finale VARCHAR) | How many people tuned in to the finale on May 16, 2007? | SELECT COUNT(viewers__in_millions_) FROM table_name_27 WHERE finale = "may 16, 2007" |
CREATE TABLE table_name_16 (week INTEGER, opponent VARCHAR) | What is the average Week, when Opponent is Minnesota Vikings? | SELECT AVG(week) FROM table_name_16 WHERE opponent = "minnesota vikings" |
CREATE TABLE table_name_85 (mult VARCHAR, model_number VARCHAR) | What is Mult, when Model Number is Pentium II 450? | SELECT mult FROM table_name_85 WHERE model_number = "pentium ii 450" |
CREATE TABLE table_name_28 (gold INTEGER, nation VARCHAR, silver VARCHAR) | What is the average Gold, when Nation is Yugoslavia, and when Silver is greater than 0? | SELECT AVG(gold) FROM table_name_28 WHERE nation = "yugoslavia" AND silver > 0 |
CREATE TABLE table_name_23 (driver VARCHAR, laps VARCHAR, grid VARCHAR) | Which driver has 12 laps and a grid of less than 10? | SELECT driver FROM table_name_23 WHERE laps = 12 AND grid < 10 |
CREATE TABLE table_name_84 (score VARCHAR, record VARCHAR) | What is the Score for the game with a record of 38-18? | SELECT score FROM table_name_84 WHERE record = "38-18" |
CREATE TABLE table_name_49 (team VARCHAR, high_points VARCHAR) | What is Team, when High Points is "Tracy McGrady (24)"? | SELECT team FROM table_name_49 WHERE high_points = "tracy mcgrady (24)" |
CREATE TABLE table_17968282_1 (played INTEGER, points VARCHAR) | Name the most played when points is 105 | SELECT MAX(played) FROM table_17968282_1 WHERE points = 105 |
CREATE TABLE table_name_85 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR) | Which Position has a Pick smaller than 29, and a School/Club Team of arizona? | SELECT position FROM table_name_85 WHERE pick < 29 AND school_club_team = "arizona" |
CREATE TABLE table_name_95 (score VARCHAR, date VARCHAR) | What was the score of the March 14 game? | SELECT score FROM table_name_95 WHERE date = "march 14" |
CREATE TABLE table_name_17 (result VARCHAR, score VARCHAR, venue VARCHAR, date VARCHAR) | What was the result at dakar , senegal, on 3 september 2011, and with a Score of 2–0? | SELECT result FROM table_name_17 WHERE venue = "dakar , senegal" AND date = "3 september 2011" AND score = "2–0" |
CREATE TABLE table_name_44 (circuit VARCHAR, winning_constructor VARCHAR) | Which circuit was Delage the winning constructor for? | SELECT circuit FROM table_name_44 WHERE winning_constructor = "delage" |
CREATE TABLE table_name_87 (year VARCHAR, venue VARCHAR) | Which year was held in beijing? | SELECT year FROM table_name_87 WHERE venue = "beijing" |
CREATE TABLE table_name_97 (number_of_electorates__2009_ VARCHAR, name VARCHAR) | what is the total number of electorates (2009) when the name is govindpura? | SELECT COUNT(number_of_electorates__2009_) FROM table_name_97 WHERE name = "govindpura" |
CREATE TABLE table_28181347_6 (replaced_by VARCHAR, date_of_vacancy VARCHAR) | In football league one, what coach was hired as a replacement on 8 October 2007 | SELECT replaced_by FROM table_28181347_6 WHERE date_of_vacancy = "8 October 2007" |
CREATE TABLE table_name_13 (season VARCHAR, winner VARCHAR) | What season did Stoke City win? | SELECT season FROM table_name_13 WHERE winner = "stoke city" |
CREATE TABLE table_name_27 (dimensions VARCHAR, name VARCHAR) | What is the dimensions of the u50 appliance? | SELECT dimensions FROM table_name_27 WHERE name = "u50" |
CREATE TABLE table_28962227_1 (finale VARCHAR, runners_up VARCHAR) | What is the date of the finale where Holly Bell was runner-up? | SELECT finale FROM table_28962227_1 WHERE runners_up = "Holly Bell" |
CREATE TABLE table_name_29 (date VARCHAR, match VARCHAR) | What date was match 5? | SELECT date FROM table_name_29 WHERE match = 5 |
CREATE TABLE table_name_41 (margin_of_victory VARCHAR, date VARCHAR) | What is the Margin of victory on aug 11, 2002? | SELECT margin_of_victory FROM table_name_41 WHERE date = "aug 11, 2002" |
CREATE TABLE table_name_57 (crowd INTEGER, home_team VARCHAR) | How many people attended games with st kilda as the home side? | SELECT SUM(crowd) FROM table_name_57 WHERE home_team = "st kilda" |
CREATE TABLE table_name_44 (grid INTEGER, time_retired VARCHAR) | What is the average grid for the +2.2 secs time/retired? | SELECT AVG(grid) FROM table_name_44 WHERE time_retired = "+2.2 secs" |
CREATE TABLE table_name_91 (time VARCHAR, away VARCHAR) | What is the Time with an Away that is broadview hawks? | SELECT time FROM table_name_91 WHERE away = "broadview hawks" |
CREATE TABLE table_name_18 (first_elected INTEGER, incumbent VARCHAR) | What is John Shadegg's First Elected date? | SELECT AVG(first_elected) FROM table_name_18 WHERE incumbent = "john shadegg" |
CREATE TABLE table_28677723_14 (style VARCHAR, total VARCHAR) | Name the style for 27 | SELECT style FROM table_28677723_14 WHERE total = 27 |
CREATE TABLE table_2849652_2 (sport VARCHAR) | Where was the 2011-2012 soccer state tournament held? | SELECT 2011 AS _2012_state_tournament_location FROM table_2849652_2 WHERE sport = "Soccer" |
CREATE TABLE table_name_27 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR) | What is reserved for Jawad? | SELECT reserved_for___sc___st__none_ FROM table_name_27 WHERE name = "jawad" |
CREATE TABLE table_24330803_1 (position VARCHAR, points VARCHAR) | How many positions were given when 30 points were won? | SELECT COUNT(position) FROM table_24330803_1 WHERE points = "30" |
CREATE TABLE table_name_26 (played INTEGER, drawn VARCHAR, position VARCHAR, points VARCHAR) | Which Played has a Position larger than 5, a Points larger than 0, and a Drawn smaller than 0? | SELECT MAX(played) FROM table_name_26 WHERE position > 5 AND points > 0 AND drawn < 0 |
CREATE TABLE table_name_66 (date VARCHAR, week VARCHAR) | What date has 10 for the week? | SELECT date FROM table_name_66 WHERE week = 10 |
CREATE TABLE table_name_61 (record VARCHAR, opponent VARCHAR, loss VARCHAR) | What is the record of teams that play the yankees, and lose at mulholland (5-6) | SELECT record FROM table_name_61 WHERE opponent = "yankees" AND loss = "mulholland (5-6)" |
CREATE TABLE table_name_55 (date VARCHAR, matches VARCHAR, round VARCHAR) | What is Date, when Matches is less than 32, and when Round is Fifth Round Proper? | SELECT date FROM table_name_55 WHERE matches < 32 AND round = "fifth round proper" |
CREATE TABLE table_name_19 (gold VARCHAR, silver VARCHAR, bronze VARCHAR) | How much gold does the tank have that has 3 silver and more than 3 bronze? | SELECT COUNT(gold) FROM table_name_19 WHERE silver = 3 AND bronze > 3 |
CREATE TABLE table_name_59 (runner_up VARCHAR, year VARCHAR) | Who is the runner-up in 1990? | SELECT runner_up FROM table_name_59 WHERE year = 1990 |
CREATE TABLE table_name_43 (date VARCHAR, week VARCHAR) | What was the Date of Week 16? | SELECT date FROM table_name_43 WHERE week = 16 |
CREATE TABLE table_name_81 (erp_w VARCHAR, call_sign VARCHAR) | What is the total number of the ERP W with a call sign of w242ak? | SELECT COUNT(erp_w) FROM table_name_81 WHERE call_sign = "w242ak" |
CREATE TABLE table_name_93 (independence_league_ticket VARCHAR, prohibition_ticket VARCHAR) | When Coleridge A. Hart ran under the Prohibition ticket who ran under the Independence League ticket? | SELECT independence_league_ticket FROM table_name_93 WHERE prohibition_ticket = "coleridge a. hart" |
CREATE TABLE table_name_50 (points_for VARCHAR, club VARCHAR) | How many pints does the Cambrian Welfare RFC have? | SELECT points_for FROM table_name_50 WHERE club = "cambrian welfare rfc" |
CREATE TABLE table_18198579_2 (no INTEGER, tournament VARCHAR) | List the total numbers of Evian Masters tournaments. | SELECT MAX(no) FROM table_18198579_2 WHERE tournament = "Evian Masters" |
CREATE TABLE table_28846752_8 (matches INTEGER) | What is the highest number listed for matches? | SELECT MAX(matches) FROM table_28846752_8 |
CREATE TABLE table_14460085_3 (played INTEGER, team VARCHAR) | What is the lowest number of games played for deportivo español? | SELECT MIN(played) FROM table_14460085_3 WHERE team = "Deportivo Español" |
CREATE TABLE table_22825679_1 (sec_wins VARCHAR, percentage VARCHAR, home_record VARCHAR) | Name the sec wins for .357 percentage and 4-3 home record | SELECT sec_wins FROM table_22825679_1 WHERE percentage = ".357" AND home_record = "4-3" |
CREATE TABLE table_16337329_5 (past_habitual VARCHAR, probable_future VARCHAR) | Name the past habitual for गर्छस् garchas 'you (will) do' | SELECT past_habitual FROM table_16337329_5 WHERE probable_future = "गर्छस् garchas 'you (will) do'" |
CREATE TABLE table_name_13 (adelaide VARCHAR, sydney VARCHAR, perth VARCHAR, gold_coast VARCHAR) | Which Adelaide has Perth no, Gold Coast no, and Sydney yes? | SELECT adelaide FROM table_name_13 WHERE perth = "no" AND gold_coast = "yes" AND sydney = "yes" |
CREATE TABLE table_name_79 (matches INTEGER, name VARCHAR, seasons VARCHAR) | What is the average number of matches of leonardo in seasons after 1? | SELECT AVG(matches) FROM table_name_79 WHERE name = "leonardo" AND seasons > 1 |
CREATE TABLE table_29542269_2 (w INTEGER) | What is the lowest overall amount of w's? | SELECT MIN(w) FROM table_29542269_2 |
CREATE TABLE table_2562572_2 (population__2011_ VARCHAR, cyrillic_name VARCHAR) | How many 2011 populations have a Cyrillic name of футог? | SELECT COUNT(population__2011_) FROM table_2562572_2 WHERE cyrillic_name = "Футог" |
CREATE TABLE table_name_56 (tournament VARCHAR) | What's the 2009 of the Australian Open having a 1R in 2011? | SELECT 2009 FROM table_name_56 WHERE 2011 = "1r" AND tournament = "australian open" |
CREATE TABLE table_2980024_1 (other_goals VARCHAR, league_goals VARCHAR) | How many other goals did Dunne have in the season where he had 1 league goal? | SELECT other_goals FROM table_2980024_1 WHERE league_goals = 1 |
CREATE TABLE table_name_42 (surface VARCHAR, score_in_the_final VARCHAR) | Which Surface has a Score in the final of 2–6, 6–7? | SELECT surface FROM table_name_42 WHERE score_in_the_final = "2–6, 6–7" |
CREATE TABLE table_name_30 (points INTEGER, tyres VARCHAR, chassis VARCHAR) | What is the highest points with g Tyres and Minardi m187? | SELECT MAX(points) FROM table_name_30 WHERE tyres = "g" AND chassis = "minardi m187" |
CREATE TABLE table_name_22 (gold INTEGER, rank VARCHAR) | How many total Gold medals did the nation ranked #3 receive? | SELECT SUM(gold) FROM table_name_22 WHERE rank = "3" |
CREATE TABLE table_name_64 (fcc_info VARCHAR, frequency_mhz VARCHAR) | I need the FCC info on the radio Frequency MHz 107.5? | SELECT fcc_info FROM table_name_64 WHERE frequency_mhz = 107.5 |
CREATE TABLE table_name_93 (laps VARCHAR, time_retired VARCHAR) | How many laps were driven when the time/retired is +44.284? | SELECT COUNT(laps) FROM table_name_93 WHERE time_retired = "+44.284" |
CREATE TABLE table_name_66 (competition VARCHAR, res VARCHAR) | WHAT COMPETITION HAS MARIAN SANDU? | SELECT competition FROM table_name_66 WHERE res = "marian sandu" |
CREATE TABLE table_name_42 (year INTEGER, start VARCHAR) | What is the average Year, when Start is "11"? | SELECT AVG(year) FROM table_name_42 WHERE start = 11 |
CREATE TABLE table_name_65 (score VARCHAR, tie_no VARCHAR) | What is the score when the tie no is 29? | SELECT score FROM table_name_65 WHERE tie_no = "29" |
CREATE TABLE table_name_46 (round INTEGER, method VARCHAR, date VARCHAR) | Which Round has a Method of ko, and a Date of 1958? | SELECT MIN(round) FROM table_name_46 WHERE method = "ko" AND date = "1958" |
CREATE TABLE table_name_76 (record VARCHAR, decision VARCHAR, game VARCHAR) | What is the record of game 42, which had a clemmensen decision? | SELECT record FROM table_name_76 WHERE decision = "clemmensen" AND game = 42 |
CREATE TABLE table_name_88 (league INTEGER, fa_cup VARCHAR, name VARCHAR) | What is the smallest value for League Cup when the League number is greater than 1, no FA Cups, and Brian Deane scoring? | SELECT MIN(league) AS Cup FROM table_name_88 WHERE league > 1 AND name = "brian deane" AND fa_cup < 1 |
CREATE TABLE table_2781227_7 (college_junior_club_team VARCHAR, player VARCHAR) | What college team did Ryan Golden come from? | SELECT college_junior_club_team FROM table_2781227_7 WHERE player = "Ryan Golden" |
CREATE TABLE table_name_88 (tournament VARCHAR) | What is the 2006 result of the Canada Masters tournament that is A in 2009 and A in 2010? | SELECT 2006 FROM table_name_88 WHERE 2010 = "a" AND 2009 = "a" AND tournament = "canada masters" |
CREATE TABLE table_18974269_1 (player VARCHAR, original_season VARCHAR, eliminated VARCHAR) | Who was the contestant eliminated on episode 8 of RW: Key West season? | SELECT player FROM table_18974269_1 WHERE original_season = "RW: Key West" AND eliminated = "Episode 8" |
CREATE TABLE table_name_66 (round INTEGER, pick VARCHAR) | In which round was there a pick of 4? | SELECT MAX(round) FROM table_name_66 WHERE pick = 4 |
CREATE TABLE table_25042332_22 (region VARCHAR, primary__6_13_years_ VARCHAR) | In what region is the enrollment ratio in primary 94.40? | SELECT region FROM table_25042332_22 WHERE primary__6_13_years_ = "94.40" |
CREATE TABLE table_name_94 (crowd INTEGER, away_team VARCHAR) | What was the biggest crowd when South Melbourne was an away team? | SELECT MAX(crowd) FROM table_name_94 WHERE away_team = "south melbourne" |
CREATE TABLE table_name_71 (written_by VARCHAR, original_air_date VARCHAR) | What is the name of the writer for the episode with an Original air date of october 9, 2000? | SELECT written_by FROM table_name_71 WHERE original_air_date = "october 9, 2000" |
CREATE TABLE table_name_8 (region VARCHAR, state VARCHAR) | Tell me the region for georgia | SELECT region FROM table_name_8 WHERE state = "georgia" |
CREATE TABLE table_name_17 (rider VARCHAR, time VARCHAR) | Who had the time of 1:23.32.41? | SELECT rider FROM table_name_17 WHERE time = "1:23.32.41" |
CREATE TABLE table_name_41 (year INTEGER, result VARCHAR, award VARCHAR) | What year did was the Inside Soap Awards won? | SELECT AVG(year) FROM table_name_41 WHERE result = "won" AND award = "inside soap awards" |
CREATE TABLE table_name_49 (res VARCHAR, competition VARCHAR) | What was the result for the friendly match competition? | SELECT res FROM table_name_49 WHERE competition = "friendly match" |
CREATE TABLE table_18862490_2 (year INTEGER, score VARCHAR) | What is the first yar that someone won with a score of 68-66-68-71=273? | SELECT MIN(year) FROM table_18862490_2 WHERE score = 68 - 66 - 68 - 71 = 273 |
CREATE TABLE table_name_60 (kickoff_ VARCHAR, a_ VARCHAR, week VARCHAR) | What time was the kickoff on week 5? | SELECT kickoff_[a_] FROM table_name_60 WHERE week = "5" |
CREATE TABLE table_22485543_1 (color_commentator_s_ VARCHAR, ice_level_reporters VARCHAR) | Who is the color commentator when brian engblom is ice level reporters? | SELECT color_commentator_s_ FROM table_22485543_1 WHERE ice_level_reporters = "Brian Engblom" |
CREATE TABLE table_2610582_3 (location__transmitter_site_ VARCHAR, power_kw__erp_ VARCHAR) | What is the location that has a power of 5kw (10kw ERP)? | SELECT location__transmitter_site_ FROM table_2610582_3 WHERE power_kw__erp_ = "5kW (10kW ERP)" |
CREATE TABLE table_name_86 (nationality VARCHAR, player VARCHAR) | Which Nationality has a Player of larry wright? | SELECT nationality FROM table_name_86 WHERE player = "larry wright" |
CREATE TABLE table_name_43 (grid INTEGER, time VARCHAR, laps VARCHAR) | What is the smallest grid when the time is +8.051 and there were less than 23 laps? | SELECT MIN(grid) FROM table_name_43 WHERE time = "+8.051" AND laps < 23 |
CREATE TABLE table_27683516_3 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR) | What is the manner of departure when the date of vacancy is 28 september 2010? | SELECT manner_of_departure FROM table_27683516_3 WHERE date_of_vacancy = "28 September 2010" |
CREATE TABLE table_255205_1 (joined VARCHAR, type VARCHAR) | How many joined this Private/Church of God institution? | SELECT joined FROM table_255205_1 WHERE type = "Private/Church of God" |
CREATE TABLE table_name_84 (touchdowns VARCHAR, extra_points VARCHAR, points VARCHAR) | How many Touchdowns have Extra points larger than 0, and Points of 48? | SELECT COUNT(touchdowns) FROM table_name_84 WHERE extra_points > 0 AND points = 48 |
CREATE TABLE table_name_77 (round VARCHAR, position VARCHAR) | What is the total number of Round, when Position is 2B? | SELECT COUNT(round) FROM table_name_77 WHERE position = "2b" |
CREATE TABLE table_name_98 (name VARCHAR, location VARCHAR, entered_service VARCHAR) | Which is located in Angola and entered service in 1988? | SELECT name FROM table_name_98 WHERE location = "angola" AND entered_service = "1988" |
CREATE TABLE table_134987_3 (target_city__market VARCHAR, city_of_license VARCHAR, format VARCHAR) | What are the market city/market(s) for Rapid City Alternative format? | SELECT target_city__market FROM table_134987_3 WHERE city_of_license = "Rapid City" AND format = "Alternative" |
CREATE TABLE table_name_85 (score VARCHAR, home_team VARCHAR) | What is the score for the game in which Manchester United was the home team? | SELECT score FROM table_name_85 WHERE home_team = "manchester united" |
CREATE TABLE table_30120547_1 (civil_parish VARCHAR, townland VARCHAR) | What is the civil parish of the cappanaboul townland? | SELECT civil_parish FROM table_30120547_1 WHERE townland = "Cappanaboul" |
CREATE TABLE table_name_44 (Id VARCHAR) | What is 2012, when 2009 is "A"? | SELECT 2012 FROM table_name_44 WHERE 2009 = "a" |