context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_29475589_3 (director VARCHAR, writer_s_ VARCHAR) | When nicole dubuc duane capizzi is the writer who is the director? | SELECT director FROM table_29475589_3 WHERE writer_s_ = "Nicole Dubuc Duane Capizzi" |
CREATE TABLE table_name_90 (erp_w INTEGER, city_of_license VARCHAR, frequency_mhz VARCHAR) | Name the average ERP W when it has a city of license of pound, virginia and frequency mhz more than 91.3 | SELECT AVG(erp_w) FROM table_name_90 WHERE city_of_license = "pound, virginia" AND frequency_mhz > 91.3 |
CREATE TABLE table_29486189_4 (representative VARCHAR, first_elected VARCHAR, residence VARCHAR) | how many representatives from hanover twp were first elected in 2008 | SELECT COUNT(representative) FROM table_29486189_4 WHERE first_elected = "2008" AND residence = "Hanover Twp" |
CREATE TABLE table_27722734_7 (game INTEGER, date VARCHAR) | Name the most game for december 1 | SELECT MAX(game) FROM table_27722734_7 WHERE date = "December 1" |
CREATE TABLE table_27734577_13 (game INTEGER, high_assists VARCHAR) | What is the game number where josh smith (4) had the high assists? | SELECT MIN(game) FROM table_27734577_13 WHERE high_assists = "Josh Smith (4)" |
CREATE TABLE table_29521180_35 (quarterfinals VARCHAR, athlete VARCHAR) | How many athletes were named federico muller? | SELECT COUNT(quarterfinals) FROM table_29521180_35 WHERE athlete = "Federico Muller" |
CREATE TABLE table_27756314_10 (date VARCHAR, high_points VARCHAR) | What is the date when the high points is michael beasley , martell webster (16)? | SELECT date FROM table_27756314_10 WHERE high_points = "Michael Beasley , Martell Webster (16)" |
CREATE TABLE table_27765443_2 (maximum_peak_performance___teraflops__ VARCHAR, period_of_operation VARCHAR) | Name the most peak performance for october 2006 - january 2010 | SELECT maximum_peak_performance___teraflops__ FROM table_27765443_2 WHERE period_of_operation = "October 2006 - January 2010" |
CREATE TABLE table_name_44 (year INTEGER, award_description_s_ VARCHAR) | What is the average year with an award of platinum? | SELECT AVG(year) FROM table_name_44 WHERE award_description_s_ = "platinum" |
CREATE TABLE table_27781212_1 (winnings VARCHAR, driver VARCHAR) | how many winnings does jeff gordon have? | SELECT winnings FROM table_27781212_1 WHERE driver = "Jeff Gordon" |
CREATE TABLE table_29546030_2 (skip__club_ VARCHAR, pa VARCHAR, blank_ends VARCHAR) | Which skip (club) had 31 PA and 9 blank ends? | SELECT skip__club_ FROM table_29546030_2 WHERE pa = 31 AND blank_ends = 9 |
CREATE TABLE table_name_84 (catalog VARCHAR, label VARCHAR, format VARCHAR) | Name the catalog for alfa records and cd format | SELECT catalog FROM table_name_84 WHERE label = "alfa records" AND format = "cd" |
CREATE TABLE table_name_59 (year VARCHAR, artist VARCHAR, weeks_at_number_one VARCHAR) | What's the sum of years when the Artist of the queen were less than 1? | SELECT COUNT(year) FROM table_name_59 WHERE artist = "queen" AND weeks_at_number_one < 1 |
CREATE TABLE table_name_90 (result VARCHAR, game_site VARCHAR) | What is the result of the game that was played at Soldier Field? | SELECT result FROM table_name_90 WHERE game_site = "soldier field" |
CREATE TABLE table_29566686_1 (clubs_involved VARCHAR, leagues_entering_at_this_round VARCHAR) | How many different values of clubs involved were there when the league entering at this round was allsvenskan? | SELECT COUNT(clubs_involved) FROM table_29566686_1 WHERE leagues_entering_at_this_round = "Allsvenskan" |
CREATE TABLE table_name_28 (score VARCHAR, opponent VARCHAR, date VARCHAR) | What is the score of the Devil Rays on April 24? | SELECT score FROM table_name_28 WHERE opponent = "devil rays" AND date = "april 24" |
CREATE TABLE table_29574579_1 (episode VARCHAR, directed_by VARCHAR) | How many episodes are directed by Jamie Payne? | SELECT COUNT(episode) FROM table_29574579_1 WHERE directed_by = "Jamie Payne" |
CREATE TABLE table_2791668_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) | how many millions of North American people saw the episode whose director was Ed Sherin? | SELECT us_viewers__millions_ FROM table_2791668_1 WHERE directed_by = "Ed Sherin" |
CREATE TABLE table_name_47 (h_s_asst_principal VARCHAR, glendale_principal VARCHAR, year VARCHAR) | What is the H.S. Asst. principal with a Glendale principal Joyce Brace during 2002-2003? | SELECT h_s_asst_principal FROM table_name_47 WHERE glendale_principal = "joyce brace" AND year = "2002-2003" |
CREATE TABLE table_name_99 (hs_principal VARCHAR, wr_principal VARCHAR, ms_principal VARCHAR) | Who is the h.s. principal with Dave Lovering as w.r. principal and Marty Pizur as m.s. principal? | SELECT hs_principal FROM table_name_99 WHERE wr_principal = "dave lovering" AND ms_principal = "marty pizur" |
CREATE TABLE table_29584044_1 (original_air_date VARCHAR, no_in_series VARCHAR) | What is the original air date of the episode that was number 31 in the series? | SELECT original_air_date FROM table_29584044_1 WHERE no_in_series = 31 |
CREATE TABLE table_name_55 (hh_principal VARCHAR, wr_principal VARCHAR, hs_principal VARCHAR, maplemere_principal VARCHAR) | Who is the h.h. principal with Jim Haught as h.s. principal, Charlie Taylor as maplemere principal, and Rich Auerbach as w.r. principal? | SELECT hh_principal FROM table_name_55 WHERE hs_principal = "jim haught" AND maplemere_principal = "charlie taylor" AND wr_principal = "rich auerbach" |
CREATE TABLE table_name_58 (glendale_principal VARCHAR, year VARCHAR, ms_principal VARCHAR, hs_principal VARCHAR) | Who is the Glendale principal with Greg Smorel as m.s. principal and Joleen Reinholz as H.S. principal during 2006-2007? | SELECT glendale_principal FROM table_name_58 WHERE ms_principal = "greg smorel" AND hs_principal = "joleen reinholz" AND year = "2006-2007" |
CREATE TABLE table_27987623_3 (episode VARCHAR, viewers__millions_ VARCHAR) | Which episode had viewership of 0.296 million? | SELECT episode FROM table_27987623_3 WHERE viewers__millions_ = "0.296" |
CREATE TABLE table_name_97 (winner VARCHAR, general_classification VARCHAR, stage VARCHAR) | Who was the winner in stage 7 with a general classification of Pavel Tonkov? | SELECT winner FROM table_name_97 WHERE general_classification = "pavel tonkov" AND stage = "7" |
CREATE TABLE table_2801442_1 (area__km²_ INTEGER, code VARCHAR) | How big (in km2) is the district with a code BW? | SELECT MIN(area__km²_) FROM table_2801442_1 WHERE code = "BW" |
CREATE TABLE table_28019988_5 (season__number INTEGER, us_viewers__million_ VARCHAR, written_by VARCHAR) | What episode number of the season was written by Tom Garrigus and had 2.31 million u.s. viewers? | SELECT MAX(season__number) FROM table_28019988_5 WHERE us_viewers__million_ = "2.31" AND written_by = "Tom Garrigus" |
CREATE TABLE table_29633639_1 (peak VARCHAR, chinese_title VARCHAR) | how many peaks where for the chinese episode named 萬凰之王 | SELECT COUNT(peak) FROM table_29633639_1 WHERE chinese_title = "萬凰之王" |
CREATE TABLE table_28035004_1 (operator VARCHAR, bodybuilder VARCHAR) | Who is the operator when willowbrook was the bodybuilder? | SELECT operator FROM table_28035004_1 WHERE bodybuilder = "Willowbrook" |
CREATE TABLE table_name_95 (one_mora VARCHAR, gloss VARCHAR, accented_mora VARCHAR) | What is the one mora for a low tone mora with a gloss of /˩okiru/ [òkìɽɯ́]? | SELECT one_mora FROM table_name_95 WHERE NOT accented_mora = "low tone" AND gloss = "/˩okiru/ [òkìɽɯ́]" |
CREATE TABLE table_28068063_3 (match_points VARCHAR, eliminated_from_competition VARCHAR) | How many teams eliminated béziers from competition? | SELECT COUNT(match_points) FROM table_28068063_3 WHERE eliminated_from_competition = "Béziers" |
CREATE TABLE table_28068063_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR) | Who proceeded to the quarter final when the london irish were eliminated from competition? | SELECT proceed_to_quarter_final FROM table_28068063_3 WHERE eliminated_from_competition = "London Irish" |
CREATE TABLE table_name_86 (opponent VARCHAR, method VARCHAR, record VARCHAR) | Who is the opponent of the match with a method of submission (armbar) and a 9-3-1 record? | SELECT opponent FROM table_name_86 WHERE method = "submission (armbar)" AND record = "9-3-1" |
CREATE TABLE table_name_19 (location VARCHAR, method VARCHAR, opponent VARCHAR) | What is the location of the match where the method was submission (armbar) and Mayra Conde was the opponent? | SELECT location FROM table_name_19 WHERE method = "submission (armbar)" AND opponent = "mayra conde" |
CREATE TABLE table_29644931_1 (participants_recipients VARCHAR, category VARCHAR) | Which films participated when the category was Best Newcomer? | SELECT participants_recipients FROM table_29644931_1 WHERE category = "Best Newcomer" |
CREATE TABLE table_28089666_1 (original_air_date VARCHAR, production_code VARCHAR) | What original air date was the episode with production code of 5.05? | SELECT original_air_date FROM table_28089666_1 WHERE production_code = "5.05" |
CREATE TABLE table_28089666_1 (written_by VARCHAR, production_code VARCHAR) | Who wrote episode with production code 1.01? | SELECT written_by FROM table_28089666_1 WHERE production_code = "1.01" |
CREATE TABLE table_name_1 (location VARCHAR, game VARCHAR) | What is the location of game 7? | SELECT location FROM table_name_1 WHERE game = 7 |
CREATE TABLE table_29692554_2 (wrestler VARCHAR, method_of_elimination VARCHAR, time VARCHAR) | Who was eliminated by being pinned after a spear at 22:50? | SELECT wrestler FROM table_29692554_2 WHERE method_of_elimination = "Pinned after a spear" AND time = "22:50" |
CREATE TABLE table_29686983_1 (circuit VARCHAR, fastest_lap VARCHAR, winning_rider VARCHAR) | what is the circuit where the fastest lap is sam lowes and the winning rider is luca scassa? | SELECT circuit FROM table_29686983_1 WHERE fastest_lap = "Sam Lowes" AND winning_rider = "Luca Scassa" |
CREATE TABLE table_name_37 (date VARCHAR, final_score VARCHAR, stadium VARCHAR) | When was the game at Gillette Stadium that ended in a final score of 30-17? | SELECT date FROM table_name_37 WHERE final_score = "30-17" AND stadium = "gillette stadium" |
CREATE TABLE table_2818164_7 (original_air_date VARCHAR, written_by VARCHAR, directed_by VARCHAR) | What is the original air date the was written by mark st. germain and direct by jay sandrich? | SELECT original_air_date FROM table_2818164_7 WHERE written_by = "Mark St. Germain" AND directed_by = "Jay Sandrich" |
CREATE TABLE table_name_74 (year VARCHAR, regular_season VARCHAR) | What year did the Nashville Metros have the Regular Season 2nd, central? | SELECT year FROM table_name_74 WHERE regular_season = "2nd, central" |
CREATE TABLE table_2970978_1 (___ave_on_prev_season VARCHAR, competition VARCHAR) | What is every value for average on previous season if the competition is league two? | SELECT ___ave_on_prev_season FROM table_2970978_1 WHERE competition = "League Two" |
CREATE TABLE table_name_78 (year INTEGER, regular_season VARCHAR, playoffs VARCHAR, open_cup VARCHAR) | What was the average year that the Nashville Metros did not qualify for the Playoffs, did not qualify for the Open Cup, and had the Regular Season 7th, Southeast? | SELECT AVG(year) FROM table_name_78 WHERE playoffs = "did not qualify" AND open_cup = "did not qualify" AND regular_season = "7th, southeast" |
CREATE TABLE table_28190363_1 (presenter_s_ VARCHAR, name VARCHAR) | How many sets of presenters are there for the version of the show named Celebrity Masterchef? | SELECT COUNT(presenter_s_) FROM table_28190363_1 WHERE name = "Celebrity MasterChef" |
CREATE TABLE table_29704430_1 (stolen_ends INTEGER) | What is the most stolen ends? | SELECT MAX(stolen_ends) FROM table_29704430_1 |
CREATE TABLE table_282413_3 (ethnic_group VARCHAR) | How many times is the ethnic group other: total? | SELECT COUNT(*) FROM table_282413_3 WHERE ethnic_group = "Other: Total" |
CREATE TABLE table_29747178_2 (series__number VARCHAR, directed_by VARCHAR) | What is the series # when the director is john showalter? | SELECT series__number FROM table_29747178_2 WHERE directed_by = "John Showalter" |
CREATE TABLE table_29773532_21 (episode INTEGER, share_16_39 VARCHAR) | Which episode had a share 16-19 of 23,22%? | SELECT MAX(episode) FROM table_29773532_21 WHERE share_16_39 = "23,22%" |
CREATE TABLE table_name_78 (decile INTEGER, roll VARCHAR, authority VARCHAR, area VARCHAR) | Name the least decile for state authority and area of eketahuna with roll more than 44 | SELECT MIN(decile) FROM table_name_78 WHERE authority = "state" AND area = "eketahuna" AND roll > 44 |
CREATE TABLE table_name_91 (launched VARCHAR, completed VARCHAR) | Name the launched for 13 september 1934 completion | SELECT launched FROM table_name_91 WHERE completed = "13 september 1934" |
CREATE TABLE table_name_43 (pennant_number VARCHAR, launched VARCHAR, completed VARCHAR) | Name the pennant number for completion of 30 october 1934 and launched 29 march 1934 | SELECT pennant_number FROM table_name_43 WHERE launched = "29 march 1934" AND completed = "30 october 1934" |
CREATE TABLE table_name_8 (points_classification_navy_blue_jersey VARCHAR, general_classification_yellow_jersey VARCHAR) | Which Points Classification Navy Blue Jersey that has a Jersey of Graeme Brown | SELECT points_classification_navy_blue_jersey FROM table_name_8 WHERE general_classification_yellow_jersey = "graeme brown" |
CREATE TABLE table_name_34 (intermediate_sprints_classification_red_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, points_classification_navy_blue_jersey VARCHAR) | What is the Intermediate Sprints Classification Red Jersey that has a Green Jersey of Murilo Antonio Fischer, and Jose Joaquin Rojas Gil? | SELECT intermediate_sprints_classification_red_jersey FROM table_name_34 WHERE mountains_classification_green_jersey = "murilo antonio fischer" AND points_classification_navy_blue_jersey = "jose joaquin rojas gil" |
CREATE TABLE table_name_74 (general_classification_yellow_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, team_classification VARCHAR) | What is General Classification Yellow Jersey that has a Murilo Antonio Fischer, and Lampre-Fondital? | SELECT general_classification_yellow_jersey FROM table_name_74 WHERE mountains_classification_green_jersey = "murilo antonio fischer" AND team_classification = "lampre-fondital" |
CREATE TABLE table_name_11 (points_classification_navy_blue_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, team_classification VARCHAR) | What is the Points Classification Navy Blue Jersey that has Yoann le Boulanger, and Gerolsteiner? | SELECT points_classification_navy_blue_jersey FROM table_name_11 WHERE mountains_classification_green_jersey = "yoann le boulanger" AND team_classification = "gerolsteiner" |
CREATE TABLE table_2850912_6 (pick__number INTEGER, player VARCHAR) | What pick was Greg Strome? | SELECT MAX(pick__number) FROM table_2850912_6 WHERE player = "Greg Strome" |
CREATE TABLE table_29799700_2 (tv_network_s_ VARCHAR, series_finale VARCHAR) | Which TV network had its series finale on May 7, 2012? | SELECT tv_network_s_ FROM table_29799700_2 WHERE series_finale = "May 7, 2012" |
CREATE TABLE table_28601467_1 (winner VARCHAR, result VARCHAR, runner_up VARCHAR) | What are all the winning records when the result is Scotland won on points table and the Runner-Up result is [[|]] 4 points? | SELECT winner FROM table_28601467_1 WHERE result = "Scotland won on points table" AND runner_up = "[[|]] 4 points" |
CREATE TABLE table_28601467_1 (runner_up VARCHAR, winner VARCHAR) | What is the runner-up record where winner record is Ireland 59 points? | SELECT runner_up FROM table_28601467_1 WHERE winner = "Ireland 59 points" |
CREATE TABLE table_29803475_2 (original_air_date VARCHAR, us_viewers__million_ VARCHAR) | What is every original air date with U.S. viewers of 0.23 million? | SELECT original_air_date FROM table_29803475_2 WHERE us_viewers__million_ = "0.23" |
CREATE TABLE table_28601467_1 (final_venue VARCHAR, winner VARCHAR, host_nation_s_ VARCHAR, runner_up VARCHAR) | What was the final venue whene England hasted the competition and the runner-up record is [[|]] 4 points and the winner record is [[|]] 6 points? | SELECT final_venue FROM table_28601467_1 WHERE host_nation_s_ = "England" AND runner_up = "[[|]] 4 points" AND winner = "[[|]] 6 points" |
CREATE TABLE table_name_8 (record VARCHAR, score VARCHAR) | What record was reached with a score of 7 - 2? | SELECT record FROM table_name_8 WHERE score = "7 - 2" |
CREATE TABLE table_name_39 (games VARCHAR, player VARCHAR) | What is the number of games for Roger Merrett? | SELECT games FROM table_name_39 WHERE player = "roger merrett" |
CREATE TABLE table_298550_1 (country_with_flag VARCHAR, population__1_july_2005_est_ VARCHAR) | What is every country with a flag with population of 11346670? | SELECT country_with_flag FROM table_298550_1 WHERE population__1_july_2005_est_ = 11346670 |
CREATE TABLE table_298883_5 (dimensions VARCHAR, reverse VARCHAR) | What are the dimensions of the coin with western sea barrage and locks at taedong gang on the reverse side? | SELECT dimensions FROM table_298883_5 WHERE reverse = "Western sea barrage and locks at Taedong Gang" |
CREATE TABLE table_name_12 (entrant VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR) | Before 1987, what is the Entrant with bmw straight-4 (t/c) as Engine and a great than 2 Pts? | SELECT entrant FROM table_name_12 WHERE year < 1987 AND engine = "bmw straight-4 (t/c)" AND pts > 2 |
CREATE TABLE table_30008638_1 (miss_water INTEGER, country_territory VARCHAR) | How many Miss Waters has Canada had? | SELECT MAX(miss_water) FROM table_30008638_1 WHERE country_territory = "Canada" |
CREATE TABLE table_28802165_1 (poor_law_union VARCHAR, townland VARCHAR) | What is the poor law union on Marshalstown? | SELECT poor_law_union FROM table_28802165_1 WHERE townland = "Marshalstown" |
CREATE TABLE table_28859177_3 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR) | What is the original air date for episode graeme clifford directed and lindsay sturman wrote? | SELECT original_air_date FROM table_28859177_3 WHERE directed_by = "Graeme Clifford" AND written_by = "Lindsay Sturman" |
CREATE TABLE table_name_61 (points VARCHAR, lost VARCHAR, division VARCHAR, league_pos VARCHAR) | What is the total number of points for the conference division, a league position of 9th, and a lost result less than 13? | SELECT COUNT(points) FROM table_name_61 WHERE division = "conference" AND league_pos = "9th" AND lost < 13 |
CREATE TABLE table_2886617_4 (nationality VARCHAR, nhl_team VARCHAR) | What country does the player who joined the Vancouver Canucks originally hail from? | SELECT nationality FROM table_2886617_4 WHERE nhl_team = "Vancouver Canucks" |
CREATE TABLE table_2886617_3 (nationality VARCHAR, position VARCHAR, college_junior_club_team VARCHAR) | Which nationality has left wing as the position and college/junior/team is portland winterhawks (whl)? | SELECT nationality FROM table_2886617_3 WHERE position = "Left Wing" AND college_junior_club_team = "Portland Winterhawks (WHL)" |
CREATE TABLE table_3002894_4 (nupowr_183 VARCHAR, nupowr_117 VARCHAR) | When 0,4, or 8 mb is the nupowr 117 what is the nupowr 183? | SELECT nupowr_183 FROM table_3002894_4 WHERE nupowr_117 = "0,4, or 8 MB" |
CREATE TABLE table_name_52 (points INTEGER, wins VARCHAR, team VARCHAR, rank VARCHAR) | Name the least point for mv agusta and rank of 13th for wins less than 0 | SELECT MIN(points) FROM table_name_52 WHERE team = "mv agusta" AND rank = "13th" AND wins < 0 |
CREATE TABLE table_name_98 (rank INTEGER, games VARCHAR, season VARCHAR) | Name the least rank when games are more than 34 and the season is 2009-10 | SELECT MIN(rank) FROM table_name_98 WHERE games > 34 AND season = "2009-10" |
CREATE TABLE table_name_6 (how_ashtagrama_iyers_say_it VARCHAR, pure_tamil VARCHAR) | Name how ashtagrama lyers say it for engal veetil, engal agathil | SELECT how_ashtagrama_iyers_say_it FROM table_name_6 WHERE pure_tamil = "engal veetil, engal agathil" |
CREATE TABLE table_name_8 (english_meaning VARCHAR, how_other_tamils_say_it VARCHAR) | Name the english meaning for engey poringo | SELECT english_meaning FROM table_name_8 WHERE how_other_tamils_say_it = "engey poringo" |
CREATE TABLE table_30049462_5 (high_points VARCHAR, team VARCHAR) | in the detroit team who made the high points | SELECT high_points FROM table_30049462_5 WHERE team = "Detroit" |
CREATE TABLE table_name_22 (how_other_iyers_say_it VARCHAR, how_ashtagrama_iyers_say_it VARCHAR) | Name how other lyers say enga ullale | SELECT how_other_iyers_say_it FROM table_name_22 WHERE how_ashtagrama_iyers_say_it = "enga ullale" |
CREATE TABLE table_name_68 (built VARCHAR, registry VARCHAR, passengers VARCHAR) | What's the total built by the United Kingdom and holds 1,300 passengers? | SELECT COUNT(built) FROM table_name_68 WHERE registry = "united kingdom" AND passengers = 1 OFFSET 300 |
CREATE TABLE table_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR) | what is the most amount of cattle where they live in british columbia | SELECT MAX(number_of_dairy_cows) FROM table_29012710_1 WHERE province = "British Columbia" |
CREATE TABLE table_29012710_1 (province VARCHAR, number_of_dairy_cows VARCHAR) | what is the most number where cattle is 13000 | SELECT COUNT(province) FROM table_29012710_1 WHERE number_of_dairy_cows = 13000 |
CREATE TABLE table_30054758_3 (high_rebounds VARCHAR, high_points VARCHAR) | How many entries are there for high rebounds when high points is inge – 19? | SELECT COUNT(high_rebounds) FROM table_30054758_3 WHERE high_points = "Inge – 19" |
CREATE TABLE table_name_28 (state_ranked_in_partisan_order VARCHAR, percentage_republicans VARCHAR, republican__democratic VARCHAR) | Which state has 67% Republicans and a ratio of 24/12 of Republicans to Democrats? | SELECT state_ranked_in_partisan_order FROM table_name_28 WHERE percentage_republicans = "67%" AND republican__democratic = "24/12" |
CREATE TABLE table_29054902_1 (production_code VARCHAR, us_viewers__million_ VARCHAR) | What is the production code of the episode that was watched by 3.81 million U.S. viewers? | SELECT production_code FROM table_29054902_1 WHERE us_viewers__million_ = "3.81" |
CREATE TABLE table_name_91 (republican__democratic VARCHAR, state_ranked_in_partisan_order VARCHAR) | What is the ratio of Republicans to Democrats in South Carolina? | SELECT republican__democratic FROM table_name_91 WHERE state_ranked_in_partisan_order = "south carolina" |
CREATE TABLE table_29087004_2 (series__number INTEGER, united_states_original_airdate VARCHAR) | What number episode in the series had and original United States air date of December 24, 2010? | SELECT MAX(series__number) FROM table_29087004_2 WHERE united_states_original_airdate = "December 24, 2010" |
CREATE TABLE table_29087004_2 (written_by VARCHAR, united_states_original_airdate VARCHAR, directed_by VARCHAR, canada_original_airdate VARCHAR) | Who wrote the episode directed by Jos Humphrey that had an original Canadian air date that was unknown and a United States original air date of August 27, 2011? | SELECT written_by FROM table_29087004_2 WHERE directed_by = "Jos Humphrey" AND canada_original_airdate = "Unknown" AND united_states_original_airdate = "August 27, 2011" |
CREATE TABLE table_name_18 (republican_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR) | What is the Republican seat plurality of North Carolina? | SELECT republican_seat_plurality FROM table_name_18 WHERE state_ranked_in_partisan_order = "north carolina" |
CREATE TABLE table_30058355_2 (thurs_25_aug VARCHAR, fri_26_aug VARCHAR) | What shows for thurs 25 aug when fri 26 aug is 19' 30.70 116.023mph? | SELECT thurs_25_aug FROM table_30058355_2 WHERE fri_26_aug = "19' 30.70 116.023mph" |
CREATE TABLE table_30062172_3 (length VARCHAR, round VARCHAR, gt3_winner VARCHAR) | When david ashburn richard westbrook is the gt3 winner and 1 is the round what is the length? | SELECT length FROM table_30062172_3 WHERE round = 1 AND gt3_winner = "David Ashburn Richard Westbrook" |
CREATE TABLE table_30062172_3 (gt4_winner VARCHAR, circuit VARCHAR, gt3_winner VARCHAR) | When charles bateman michael lyons is the gt3 winner and donington park is the circuit who is the gt4 winner? | SELECT gt4_winner FROM table_30062172_3 WHERE circuit = "Donington Park" AND gt3_winner = "Charles Bateman Michael Lyons" |
CREATE TABLE table_29160596_1 (appearances INTEGER, top_mc VARCHAR) | How many appearances by Meek Mill? | SELECT MAX(appearances) FROM table_29160596_1 WHERE top_mc = "Meek Mill" |
CREATE TABLE table_30108346_1 (number_of_troops VARCHAR, troops_per_$1_billion___usd___gdp VARCHAR) | Name the number of troops for troops per $1 billion being 2.45 | SELECT COUNT(number_of_troops) FROM table_30108346_1 WHERE troops_per_$1_billion___usd___gdp = "2.45" |
CREATE TABLE table_30108346_1 (troops_per_one_million_population VARCHAR, troops_per_$1_billion___usd___gdp VARCHAR) | Name the total number of troops per one million being 2.76 | SELECT COUNT(troops_per_one_million_population) FROM table_30108346_1 WHERE troops_per_$1_billion___usd___gdp = "2.76" |
CREATE TABLE table_30108930_6 (player VARCHAR, college VARCHAR) | Which player(s) played at Howard college? | SELECT player FROM table_30108930_6 WHERE college = "Howard" |
CREATE TABLE table_name_11 (start VARCHAR, finish VARCHAR, laps VARCHAR) | Which start has 32 as the finish and laps more than 6? | SELECT start FROM table_name_11 WHERE finish = "32" AND laps > 6 |
CREATE TABLE table_29434211_1 (poles VARCHAR, series VARCHAR) | How many poles does the European F3 Open series have? | SELECT poles FROM table_29434211_1 WHERE series = "European F3 Open" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.