context
stringlengths
0
489
instruction
stringlengths
16
244
response
stringlengths
38
557
CREATE TABLE table_2668336_19 (incumbent VARCHAR, candidates VARCHAR, result VARCHAR)
Who were the incumbent(s) in the election featuring john murray (dr) 50.4% george denison (dr) 49.6% with a result of a retired democratic-republican hold?
SELECT incumbent FROM table_2668336_19 WHERE candidates = "John Murray (DR) 50.4% George Denison (DR) 49.6%" AND result = "Retired Democratic-Republican hold"
CREATE TABLE table_290017_1 (subdivision_name___ru____gost_ VARCHAR, subdivision_name___be____bgn_pcgn_ VARCHAR)
What are the subdivision names (RU) where the subdivision name (BE) is Hrodzenskaya Voblasts'?
SELECT subdivision_name___ru____gost_ FROM table_290017_1 WHERE subdivision_name___be____bgn_pcgn_ = "Hrodzenskaya voblasts'"
CREATE TABLE table_290017_1 (subdivision_name___be____bgn_pcgn_ VARCHAR, subdivision_name___ru____bgn_pcgn_ VARCHAR)
What is the subdivision name (BE) where subdivision name (RU) (BGN) is Grodnenskaya Oblast'?
SELECT subdivision_name___be____bgn_pcgn_ FROM table_290017_1 WHERE subdivision_name___ru____bgn_pcgn_ = "Grodnenskaya oblast'"
CREATE TABLE table_29002641_1 (into_service VARCHAR, number VARCHAR)
Name the into service for dh2
SELECT into_service FROM table_29002641_1 WHERE number = "DH2"
CREATE TABLE table_name_40 (year_of_release INTEGER, label VARCHAR)
What was the last year MCA had a Release?
SELECT MAX(year_of_release) FROM table_name_40 WHERE label = "mca"
CREATE TABLE table_name_57 (electorate INTEGER, name VARCHAR, political_party VARCHAR, constituency VARCHAR)
What is the smallest electorate for the Conservative party in South West Devon constituency, with over 2 conservatives and a name of Plymstock Radford?
SELECT MIN(electorate) FROM table_name_57 WHERE political_party = "conservative" AND constituency = "south west devon" AND "conservative" > 2 AND name = "plymstock radford"
CREATE TABLE table_2668393_18 (district VARCHAR, candidates VARCHAR)
What is the district with the candidates edwin gray (dr)?
SELECT district FROM table_2668393_18 WHERE candidates = "Edwin Gray (DR)"
CREATE TABLE table_29039942_1 (original_airdate VARCHAR, writer VARCHAR, director VARCHAR)
What was the original airdate for the episode written by daisuke habara and directed by akimitsu sasaki
SELECT original_airdate FROM table_29039942_1 WHERE writer = "Daisuke Habara" AND director = "Akimitsu Sasaki"
CREATE TABLE table_26745820_1 (no VARCHAR, distance VARCHAR)
what is the no when the distance is 4168km?
SELECT no FROM table_26745820_1 WHERE distance = "4168km"
CREATE TABLE table_29033869_3 (venue VARCHAR, opponent VARCHAR, position_on_ladder VARCHAR)
Which venue did collingsworth play essendon in when they had the 3rd position on the ladder?
SELECT venue FROM table_29033869_3 WHERE opponent = "Essendon" AND position_on_ladder = "3rd"
CREATE TABLE table_name_65 (year INTEGER, event VARCHAR, championship VARCHAR, nation VARCHAR, result VARCHAR)
What year did Canada get a silver in the olympics in the Men's Coxless Pair event?
SELECT MIN(year) FROM table_name_65 WHERE nation = "canada" AND result = "silver" AND championship = "olympics" AND event = "men's coxless pair"
CREATE TABLE table_26769_1 (population__july_2009_est_ VARCHAR, population_density_per_km² VARCHAR)
What was the population of a country with a population density of 14.3/km² (/sqmi)?
SELECT population__july_2009_est_ FROM table_26769_1 WHERE population_density_per_km² = "14.3/km² (/sqmi)"
CREATE TABLE table_29050051_3 (_number INTEGER, position VARCHAR, previous_school VARCHAR)
What is the highest number a guard from brophy college prep wore?
SELECT MAX(_number) FROM table_29050051_3 WHERE position = "Guard" AND previous_school = "Brophy College Prep"
CREATE TABLE table_26769_1 (country_or_territory_with_flag VARCHAR, population_density_per_km² VARCHAR)
What was the country with a population density per km² of 3.5/km² (/sqmi)?
SELECT country_or_territory_with_flag FROM table_26769_1 WHERE population_density_per_km² = "3.5/km² (/sqmi)"
CREATE TABLE table_name_52 (school VARCHAR, enrollment VARCHAR, county VARCHAR)
Which School has an Enrollment larger than 264, and a County of 46 la porte?
SELECT school FROM table_name_52 WHERE enrollment > 264 AND county = "46 la porte"
CREATE TABLE table_29050051_3 (name VARCHAR, previous_school VARCHAR)
Who previously attended south kent school / brentwood hs?
SELECT name FROM table_29050051_3 WHERE previous_school = "South Kent School / Brentwood HS"
CREATE TABLE table_2679061_6 (pick__number INTEGER, nhl_team VARCHAR)
What is the pick # for nhl team vancouver canucks?
SELECT MIN(pick__number) FROM table_2679061_6 WHERE nhl_team = "Vancouver Canucks"
CREATE TABLE table_29063233_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR)
How many directed by entries have UK viewership over 6.16 million?
SELECT COUNT(directed_by) FROM table_29063233_1 WHERE uk_viewers__million_ = "6.16"
CREATE TABLE table_2679061_6 (college_junior_club_team VARCHAR, player VARCHAR)
What is the college/junior/club team for player don barber?
SELECT college_junior_club_team FROM table_2679061_6 WHERE player = "Don Barber"
CREATE TABLE table_29077342_19 (mountains_classification VARCHAR, team_classification VARCHAR, general_classification VARCHAR)
Name the mountains classification for rabobank and damiano cunego
SELECT mountains_classification FROM table_29077342_19 WHERE team_classification = "Rabobank" AND general_classification = "Damiano Cunego"
CREATE TABLE table_29087004_3 (written_by VARCHAR, directed_by VARCHAR, united_states_original_airdate VARCHAR)
Who were the writers of the episodes directed by Greg Sullivan and which first aired on July 21, 2012?
SELECT written_by FROM table_29087004_3 WHERE directed_by = "Greg Sullivan" AND united_states_original_airdate = "July 21, 2012"
CREATE TABLE table_name_78 (position INTEGER, lost VARCHAR, played VARCHAR)
How much Position has a Lost of 8, and a Played larger than 14?
SELECT SUM(position) FROM table_name_78 WHERE lost = 8 AND played > 14
CREATE TABLE table_name_13 (drawn VARCHAR, name VARCHAR, points VARCHAR)
How much Drawn has a Name of erc lechbruck, and Points smaller than 17?
SELECT COUNT(drawn) FROM table_name_13 WHERE name = "erc lechbruck" AND points < 17
CREATE TABLE table_26853172_1 (hand_number VARCHAR, player_1 VARCHAR, prevailing_wind VARCHAR)
What is the hand number of the hand where player 1 is south and the east wind is prevailing?
SELECT COUNT(hand_number) FROM table_26853172_1 WHERE player_1 = "South" AND prevailing_wind = "East"
CREATE TABLE table_26914076_4 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
Who directed the episode that had 0.57 million U.S. viewers?
SELECT directed_by FROM table_26914076_4 WHERE us_viewers__millions_ = "0.57"
CREATE TABLE table_29141354_4 (first_broadcast VARCHAR, jamie_and_johns_guest VARCHAR)
When id the episode broadcast with Mark Webber as Jamie and John's guest?
SELECT first_broadcast FROM table_29141354_4 WHERE jamie_and_johns_guest = "Mark Webber"
CREATE TABLE table_29141354_4 (_episode_2 VARCHAR, andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4 VARCHAR, episode VARCHAR)
How many items are listed under 'andrew and georgies guest lee mack replaced andrew flint as team captain for one week' for episode 04x04?
SELECT COUNT(andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4), _episode_2 FROM table_29141354_4 WHERE episode = "04x04"
CREATE TABLE table_26977890_1 (result VARCHAR, combatants_b VARCHAR)
With the Royal Navy as Combatants B, what was the result?
SELECT result FROM table_26977890_1 WHERE combatants_b = "Royal Navy"
CREATE TABLE table_26986076_3 (rank INTEGER, rider VARCHAR)
What is Paul Coward 492cc nourish Weslake's lowest rank?
SELECT MIN(rank) FROM table_26986076_3 WHERE rider = "Paul Coward 492cc Nourish Weslake"
CREATE TABLE table_name_72 (total INTEGER, country VARCHAR, player VARCHAR)
What was the total for united states player phil mickelson?
SELECT MIN(total) FROM table_name_72 WHERE country = "united states" AND player = "phil mickelson"
CREATE TABLE table_269920_17 (l3_cache__mb_ INTEGER, model VARCHAR, qpi_speed__gt_s_ VARCHAR, speed__ghz_ VARCHAR)
What is the maximum L3 cache of the processor whose speed is 2.00 GHZ, has a QPI speed of 4.8 gt/s, and is model e5504?
SELECT MAX(l3_cache__mb_) FROM table_269920_17 WHERE qpi_speed__gt_s_ = "4.8" AND speed__ghz_ = "2.00" AND model = "E5504"
CREATE TABLE table_29154676_1 (season_no INTEGER, us_viewers__millions_ VARCHAR)
What is the last episode in the season that had 3.91 million viewers in the US?
SELECT MIN(season_no) FROM table_29154676_1 WHERE us_viewers__millions_ = "3.91"
CREATE TABLE table_27086613_5 (fa_cup_goals INTEGER, fa_cup_apps VARCHAR, position VARCHAR)
Name the least fa cup goals with fa cup apps being 2 and fw
SELECT MIN(fa_cup_goals) FROM table_27086613_5 WHERE fa_cup_apps = 2 AND position = "FW"
CREATE TABLE table_29154676_1 (season_no VARCHAR, written_by VARCHAR)
How many episodes were written by Warren Leight?
SELECT COUNT(season_no) FROM table_29154676_1 WHERE written_by = "Warren Leight"
CREATE TABLE table_name_58 (venue VARCHAR, result VARCHAR, opponent VARCHAR)
what is the venue when the result is loss and the opponent is st george-illawarra dragons?
SELECT venue FROM table_name_58 WHERE result = "loss" AND opponent = "st george-illawarra dragons"
CREATE TABLE table_29162856_1 (pole_position VARCHAR, winning_rider VARCHAR, fastest_lap VARCHAR)
Who had the pole position(s) when rob guiver won and kyle ryde had the fastest lap?
SELECT pole_position FROM table_29162856_1 WHERE winning_rider = "Rob Guiver" AND fastest_lap = "Kyle Ryde"
CREATE TABLE table_29217650_1 (december_28 VARCHAR, movies VARCHAR)
What is the figure for December 28 for ang tanging ina mo (last na 'to!)?
SELECT december_28 FROM table_29217650_1 WHERE movies = "Ang Tanging Ina Mo (Last na 'To!)"
CREATE TABLE table_name_31 (democratic_alternative VARCHAR, polling_institute VARCHAR)
What is the value of the Democratic Alternative for the poll released by Malta Today?
SELECT democratic_alternative FROM table_name_31 WHERE polling_institute = "malta today"
CREATE TABLE table_name_46 (polling_institute VARCHAR, lead VARCHAR, labour VARCHAR)
Which polling institute showed a lead of 12% and a Labour share of the poll at 40.2%?
SELECT polling_institute FROM table_name_46 WHERE lead = "12%" AND labour = "40.2%"
CREATE TABLE table_29219286_1 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR)
How many people wrote episode 9 in the season that was directed by Ernest Dickerson?
SELECT COUNT(written_by) FROM table_29219286_1 WHERE directed_by = "Ernest Dickerson" AND no_in_season = 9
CREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, cp_winning_team VARCHAR, gm_winning_team VARCHAR)
Who was the EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup?
SELECT ep_winning_team FROM table_29225103_2 WHERE cp_winning_team = "Dave Clark" AND gm_winning_team = "Stuart Northrup"
CREATE TABLE table_29225103_2 (cm_winning_team VARCHAR, fm_winning_team VARCHAR)
Who was the CM winning team when the FM winning team was #17 Elva - Ford?
SELECT cm_winning_team FROM table_29225103_2 WHERE fm_winning_team = "#17 Elva - Ford"
CREATE TABLE table_27277284_27 (socket VARCHAR, frequency VARCHAR, model_number VARCHAR)
What kind of sockets does a 2100MHz Athlon X2 QL-64 use?
SELECT socket FROM table_27277284_27 WHERE frequency = "2100MHz" AND model_number = "Athlon X2 QL-64"
CREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, fm_winning_team VARCHAR, hm_winning_team VARCHAR)
Who was the EP winning team when the FM winning team was Brabham - Ford and the HM winning team was Osca?
SELECT ep_winning_team FROM table_29225103_2 WHERE fm_winning_team = "Brabham - Ford" AND hm_winning_team = "Osca"
CREATE TABLE table_27279050_3 (country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR)
How many times is last/current driver(s) 3 november 2013 is adderly fong ( 2013 )?
SELECT COUNT(country) FROM table_27279050_3 WHERE last_current_driver_s__3_november_2013 = "Adderly Fong ( 2013 )"
CREATE TABLE table_27279050_3 (country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR)
What is the country when last/current driver(s) 3 november 2013 is daniel abt ( 2012 )?
SELECT country FROM table_27279050_3 WHERE last_current_driver_s__3_november_2013 = "Daniel Abt ( 2012 )"
CREATE TABLE table_name_92 (round VARCHAR, res VARCHAR, event VARCHAR)
In what round was the loss at ufc 118?
SELECT round FROM table_name_92 WHERE res = "loss" AND event = "ufc 118"
CREATE TABLE table_name_62 (decile VARCHAR, area VARCHAR, authority VARCHAR)
Which decile has an Area of welcome bay, and an Authority of state?
SELECT decile FROM table_name_62 WHERE area = "welcome bay" AND authority = "state"
CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR)
How many distance places have brisbane at $3.80?
SELECT COUNT(distance) FROM table_2923917_4 WHERE brisbane = "$3.80"
CREATE TABLE table_name_70 (decile INTEGER, name VARCHAR)
What is the smallest decile with a Name of st mary's catholic school?
SELECT MIN(decile) FROM table_name_70 WHERE name = "st mary's catholic school"
CREATE TABLE table_name_14 (births__000s_ INTEGER, total_fertility_rate VARCHAR, natural_growth VARCHAR)
What is the average birth rate that has a total fertility rate of na, and a natural growth smaller than 2.5?
SELECT AVG(births__000s_) FROM table_name_14 WHERE total_fertility_rate = "na" AND natural_growth < 2.5
CREATE TABLE table_27329061_2 (compatible_repository VARCHAR, version VARCHAR, default_desktop_environment VARCHAR)
What is the compatible repository when the version is old version, no longer supported: 9 and default desktop environment is lxde?
SELECT compatible_repository FROM table_27329061_2 WHERE version = "Old version, no longer supported: 9" AND default_desktop_environment = "LXDE"
CREATE TABLE table_name_60 (total_fertility_rate VARCHAR, deaths INTEGER)
What was the total fertility rate that had a death rate larger than 7.8?
SELECT total_fertility_rate FROM table_name_60 WHERE deaths > 7.8
CREATE TABLE table_27329061_2 (default_desktop_environment VARCHAR, edition VARCHAR, compatible_repository VARCHAR)
What is the default desktop environment when the edition is kde and the compatible repository is ubuntu 13.04?
SELECT default_desktop_environment FROM table_27329061_2 WHERE edition = "KDE" AND compatible_repository = "Ubuntu 13.04"
CREATE TABLE table_name_38 (total VARCHAR, average_annual VARCHAR)
What is the average value for 2005, when the value for 2008 is greater than 0, when the value for 2007 is greater than 310, when the Average annual is 767, and when the Total is greater than 4,597?
SELECT AVG(2005) FROM table_name_38 WHERE 2008 > 0 AND 2007 > 310 AND average_annual = 767 AND total > 4 OFFSET 597
CREATE TABLE table_name_59 (births__000s_ INTEGER, deaths VARCHAR, year VARCHAR)
What was the amount of Births (000s) that had a death rate larger than 7.6, and a Year of 1990-2009?
SELECT SUM(births__000s_) FROM table_name_59 WHERE deaths > 7.6 AND year = "1990-2009"
CREATE TABLE table_name_83 (year VARCHAR, team VARCHAR, tournament VARCHAR, finish VARCHAR)
In what Year was 1st Division El Salvador with a Finish of Champion and a Team of Fas?
SELECT year FROM table_name_83 WHERE tournament = "1st division el salvador" AND finish = "champion" AND team = "fas"
CREATE TABLE table_name_25 (finish VARCHAR, team VARCHAR, tournament VARCHAR)
During the Tournament of 1st Division El Salvador, what was the Finish for the Team of Platense Municipal Zacatecoluca?
SELECT finish FROM table_name_25 WHERE team = "platense municipal zacatecoluca" AND tournament = "1st division el salvador"
CREATE TABLE table_29285076_2 (location VARCHAR, date VARCHAR)
At what location was the March 17 race held?
SELECT location FROM table_29285076_2 WHERE date = "March 17"
CREATE TABLE table_29285076_2 (location VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)
Where was the race with Luke Ellery as fastest lap and Wayne Boyd as winning driver?
SELECT location FROM table_29285076_2 WHERE fastest_lap = "Luke Ellery" AND winning_driver = "Wayne Boyd"
CREATE TABLE table_29289372_1 (area__km²_ VARCHAR, income_classification VARCHAR, population__2010_ VARCHAR)
When 318676 is the population of 2010 and 1st class is the income classification what is the area in kilometers squared?
SELECT area__km²_ FROM table_29289372_1 WHERE income_classification = "1st Class" AND population__2010_ = 318676
CREATE TABLE table_29289372_1 (population__2010_ VARCHAR, income_classification VARCHAR, city_municipality VARCHAR)
When itogon, benguet is the city/municipality and 1st class is the income classification how many measurements of population in 2010?
SELECT COUNT(population__2010_) FROM table_29289372_1 WHERE income_classification = "1st Class" AND city_municipality = "Itogon, Benguet"
CREATE TABLE table_name_55 (rank INTEGER, silver VARCHAR, total VARCHAR)
What is the total rank with more than 2 silver and total larger than 10?
SELECT SUM(rank) FROM table_name_55 WHERE silver = 2 AND total > 10
CREATE TABLE table_27441210_12 (weeks_at__number1 INTEGER, artist VARCHAR)
How many weeks was K.Maro at #1?
SELECT MAX(weeks_at__number1) FROM table_27441210_12 WHERE artist = "K.Maro"
CREATE TABLE table_27441210_5 (number_one_single_s_ VARCHAR, artist VARCHAR)
Name the number one singles for desvarieux, jacob
SELECT number_one_single_s_ FROM table_27441210_5 WHERE artist = "Desvarieux, Jacob"
CREATE TABLE table_name_10 (year VARCHAR, extra VARCHAR, result VARCHAR, venue VARCHAR)
Result of 1st, and a Venue of melbourne , australia, and a Extra of 100 m happened in which year?
SELECT year FROM table_name_10 WHERE result = "1st" AND venue = "melbourne , australia" AND extra = "100 m"
CREATE TABLE table_27450976_1 (title VARCHAR, written_by VARCHAR)
What is the name of the episode that was written by Scott M. Gimple?
SELECT title FROM table_27450976_1 WHERE written_by = "Scott M. Gimple"
CREATE TABLE table_27491610_2 (no_in_series INTEGER, directed_by VARCHAR)
What was the latest number in series that was directed by Skip Sudduth?
SELECT MAX(no_in_series) FROM table_27491610_2 WHERE directed_by = "Skip Sudduth"
CREATE TABLE table_27491610_2 (no_in_season INTEGER, no_in_series VARCHAR)
What number in season is number 141 in series?
SELECT MAX(no_in_season) FROM table_27491610_2 WHERE no_in_series = 141
CREATE TABLE table_275023_1 (formed_from VARCHAR, province VARCHAR)
What province was New Plymouth formed from?
SELECT formed_from FROM table_275023_1 WHERE province = "New Plymouth"
CREATE TABLE table_name_11 (losses INTEGER, games VARCHAR, season VARCHAR, team_name VARCHAR, points VARCHAR)
How many losses did the Burnaby Lakers accumulate when they scored 8 points in 1998 playing less than 25 games?
SELECT SUM(losses) FROM table_name_11 WHERE team_name = "burnaby lakers" AND points = 8 AND season = "1998" AND games < 25
CREATE TABLE table_name_16 (supplier VARCHAR, keys__x_modes_ VARCHAR, basic_shape VARCHAR, wrist_pad VARCHAR)
Which Supplier have a Basic shape of flat, a Wrist pad of no, and Keys (x modes) of 25+?
SELECT supplier FROM table_name_16 WHERE basic_shape = "flat" AND wrist_pad = "no" AND keys__x_modes_ = "25+"
CREATE TABLE table_name_5 (location VARCHAR, name_of_system VARCHAR, traction_type VARCHAR)
At what location did the event that used electric traction and system name ATM (1880–1911) GETA (1911–1944) occur?
SELECT location FROM table_name_5 WHERE name_of_system = "atm (1880–1911) geta (1911–1944)" AND traction_type = "electric"
CREATE TABLE table_275506_1 (start_of_stage VARCHAR, year VARCHAR)
How many entries for start of stage occur in the year 2006?
SELECT COUNT(start_of_stage) FROM table_275506_1 WHERE year = "2006"
CREATE TABLE table_name_38 (to_par VARCHAR, country VARCHAR, place VARCHAR)
What is the to par of the player from the United States with a t5 place?
SELECT to_par FROM table_name_38 WHERE country = "united states" AND place = "t5"
CREATE TABLE table_2933761_1 (played_by VARCHAR, occupation VARCHAR)
Who played the mathematics student?
SELECT played_by FROM table_2933761_1 WHERE occupation = "Mathematics Student"
CREATE TABLE table_2933761_1 (prison_connection VARCHAR, name VARCHAR)
How many prisons is Joan Leaven connected with?
SELECT COUNT(prison_connection) FROM table_2933761_1 WHERE name = "Joan Leaven"
CREATE TABLE table_name_39 (moving_to VARCHAR, name VARCHAR, year VARCHAR, rank VARCHAR)
Ismaël Bangoura with a rank larger than 5 after the year 2005 was moving to what football club?
SELECT moving_to FROM table_name_39 WHERE year > 2005 AND rank > 5 AND name = "ismaël bangoura"
CREATE TABLE table_27573848_18 (mountains_classification VARCHAR, winner VARCHAR)
How many times was Robert Gesink a winner?
SELECT COUNT(mountains_classification) FROM table_27573848_18 WHERE winner = "Robert Gesink"
CREATE TABLE table_29332810_14 (general_classification VARCHAR, winner VARCHAR, young_rider_classification VARCHAR)
Who is listed under the general classifcation where Ben Swift won and Cameron Meyer was listed under the young rider?
SELECT general_classification FROM table_29332810_14 WHERE winner = "Ben Swift" AND young_rider_classification = "Cameron Meyer"
CREATE TABLE table_name_37 (rank INTEGER, year VARCHAR, moving_from VARCHAR)
Moving from Nancy after 2005, what is listed as the lowest rank?
SELECT MIN(rank) FROM table_name_37 WHERE year > 2005 AND moving_from = "nancy"
CREATE TABLE table_name_10 (money_requested__£_ VARCHAR, company_or_product_name VARCHAR)
How much Money is requested by BassToneSlap?
SELECT money_requested__£_ FROM table_name_10 WHERE company_or_product_name = "basstoneslap"
CREATE TABLE table_29302816_8 (quarterfinalists VARCHAR, runner_up VARCHAR)
What are the quarterfinalists when the runner up is andrew pattison?
SELECT quarterfinalists FROM table_29302816_8 WHERE runner_up = "Andrew Pattison"
CREATE TABLE table_name_83 (company_or_product_name VARCHAR, episode VARCHAR, investing_dragon_s_ VARCHAR)
What is the name of the Company or Product that is Episode 3 and is suppoted by Investing Dragon Deborah Meaden?
SELECT company_or_product_name FROM table_name_83 WHERE episode = "episode 3" AND investing_dragon_s_ = "deborah meaden"
CREATE TABLE table_27615896_18 (sd VARCHAR, status VARCHAR)
What is the total number of sd listings where the status is quarterfinals lost to Novak Djokovic [1]?
SELECT COUNT(sd) FROM table_27615896_18 WHERE status = "Quarterfinals lost to Novak Djokovic [1]"
CREATE TABLE table_29361707_2 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
Who was the winner at the track where Roberval Andrade won pole, Felipe Giaffone had the fastest lap, and RVR Corinthians Motorsport was the winning team?
SELECT winning_driver FROM table_29361707_2 WHERE pole_position = "Roberval Andrade" AND fastest_lap = "Felipe Giaffone" AND winning_team = "RVR Corinthians Motorsport"
CREATE TABLE table_name_12 (name VARCHAR, directed___undirected VARCHAR, basis VARCHAR)
What is the name of the algorithm with a directed/undirected of both and a subgraph-centric basis?
SELECT name FROM table_name_12 WHERE directed___undirected = "both" AND basis = "subgraph-centric"
CREATE TABLE table_name_13 (directed___undirected VARCHAR, name VARCHAR, induced___non_induced VARCHAR, counting_method VARCHAR)
What is the directed/undirected for mfinder, which has an induced/non-induced of induced and an exact counting method?
SELECT directed___undirected FROM table_name_13 WHERE induced___non_induced = "induced" AND counting_method = "exact" AND name = "mfinder"
CREATE TABLE table_29395291_2 (subscribers__2006___thousands_ INTEGER, provider VARCHAR)
What is the maximum number of 2006 subscribers for Glo Mobile?
SELECT MAX(subscribers__2006___thousands_) FROM table_29395291_2 WHERE provider = "Glo Mobile"
CREATE TABLE table_name_6 (opponent VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR)
Who is the opponent for the winner outcome on a hard surface on August 27, 2011?
SELECT opponent FROM table_name_6 WHERE outcome = "winner" AND surface = "hard" AND date = "august 27, 2011"
CREATE TABLE table_27654988_1 (opponent VARCHAR, competition VARCHAR, scorers VARCHAR)
Who was the opponent in the Women's Cup 0 0 where Brancão Couto 0 is the scorer?
SELECT opponent FROM table_27654988_1 WHERE competition = "Women's Cup 0 0" AND scorers = "Brancão Couto 0"
CREATE TABLE table_name_2 (municipality VARCHAR, population VARCHAR, county VARCHAR, area VARCHAR, area_km² VARCHAR)
Which municipality's area is outer circle south and smaller than 368 km in Akershus County with more than 14,398 people?
SELECT municipality FROM table_name_2 WHERE area = "outer circle south" AND area_km² < 368 AND county = "akershus" AND population > 14 OFFSET 398
CREATE TABLE table_27711947_1 (artist VARCHAR, choreographer VARCHAR, rating VARCHAR)
List all artists with choreographer Marcos Aguirre and a simple rating.
SELECT artist FROM table_27711947_1 WHERE choreographer = "Marcos Aguirre" AND rating = "Simple"
CREATE TABLE table_2941963_1 (remittances_2010 VARCHAR, remittances_2009 VARCHAR)
how many remittances in 2010 where the remittances is 19.73?
SELECT COUNT(remittances_2010) FROM table_2941963_1 WHERE remittances_2009 = "19.73"
CREATE TABLE table_2771237_1 (overall_record VARCHAR, average_attendance VARCHAR)
What was the overall record in the season where average attendance was 16720?
SELECT overall_record FROM table_2771237_1 WHERE average_attendance = 16720
CREATE TABLE table_2941848_2 (pregame_analysts VARCHAR, trophy_presentation VARCHAR)
What is every pregame analyst with Chris Rose as trophy presenter?
SELECT pregame_analysts FROM table_2941848_2 WHERE trophy_presentation = "Chris Rose"
CREATE TABLE table_2941848_2 (play_by_play_announcer VARCHAR, trophy_presentation VARCHAR)
Who is every play-by-play announcer when Chris Rose is the trophy presenter?
SELECT play_by_play_announcer FROM table_2941848_2 WHERE trophy_presentation = "Chris Rose"
CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)
Name the score for september 25
SELECT score FROM table_name_93 WHERE date = "september 25"
CREATE TABLE table_29474407_11 (country_of_origin VARCHAR, name__designation VARCHAR)
What country made the Flieger-Doppelpistole 1919?
SELECT country_of_origin FROM table_29474407_11 WHERE name__designation = "Flieger-Doppelpistole 1919"
CREATE TABLE table_27712702_9 (score VARCHAR, date VARCHAR)
What was the score of the January 8 game?
SELECT score FROM table_27712702_9 WHERE date = "January 8"