output
stringlengths
18
557
instruction
stringlengths
22
540
SELECT title FROM table_23799653_1 WHERE directed_by = "Laura Innes" AND us_viewers__millions_ = "9.63"
CREATE TABLE table_23799653_1 (title VARCHAR, directed_by VARCHAR, us_viewers__millions_ VARCHAR), What's the name of the episode seen by 9.63 millions of people in the US, whose director is Laura Innes?
SELECT points_per_game FROM table_2387461_1 WHERE tournament = "2005 EuroBasket"
CREATE TABLE table_2387461_1 (points_per_game VARCHAR, tournament VARCHAR), How many points per game have the tournament 2005 eurobasket?
SELECT assists_per_game FROM table_2387461_1 WHERE points_per_game = "7.7"
CREATE TABLE table_2387461_1 (assists_per_game VARCHAR, points_per_game VARCHAR), How may assists per game have 7.7 points per game?
SELECT games_played FROM table_2387461_1 WHERE points_per_game = "4.7"
CREATE TABLE table_2387461_1 (games_played VARCHAR, points_per_game VARCHAR), How many games played have 4.7 as points per game?
SELECT assists_per_game FROM table_2387461_1 WHERE rebounds_per_game = "4.2"
CREATE TABLE table_2387461_1 (assists_per_game VARCHAR, rebounds_per_game VARCHAR), How many assists per game have 4.2 rebounds per game?
SELECT assists_per_game FROM table_2387461_1 WHERE tournament = "2010 FIBA World Championship"
CREATE TABLE table_2387461_1 (assists_per_game VARCHAR, tournament VARCHAR), How many assists per game in the tournament 2010 fiba world championship?
SELECT COUNT(games_played) FROM table_2387461_1 WHERE points_per_game = "4.7"
CREATE TABLE table_2387461_1 (games_played VARCHAR, points_per_game VARCHAR), How many games played have 4.7 points per game?
SELECT avg_finish FROM table_2387790_2 WHERE position = "3rd"
CREATE TABLE table_2387790_2 (avg_finish VARCHAR, position VARCHAR), What was the average finish the year Bodine finished 3rd?
SELECT position FROM table_2387790_2 WHERE year = 1987
CREATE TABLE table_2387790_2 (position VARCHAR, year VARCHAR), What position did he finish in 1987?
SELECT team_s_ FROM table_2387790_2 WHERE avg_finish = "8.3"
CREATE TABLE table_2387790_2 (team_s_ VARCHAR, avg_finish VARCHAR), What team was Bodine in when he had an average finish of 8.3?
SELECT COUNT(avg_start) FROM table_2387790_2 WHERE avg_finish = "11.7"
CREATE TABLE table_2387790_2 (avg_start VARCHAR, avg_finish VARCHAR), How many years did he have an average finish of 11.7?
SELECT MIN(week) FROM table_23916462_3
CREATE TABLE table_23916462_3 (week INTEGER), What is the least value for week?
SELECT COUNT(attendance) FROM table_23916462_3 WHERE date = "September 5"
CREATE TABLE table_23916462_3 (attendance VARCHAR, date VARCHAR), How many values for attendance on the date of September 5?
SELECT COUNT(date) FROM table_23916462_3 WHERE week = 4
CREATE TABLE table_23916462_3 (date VARCHAR, week VARCHAR), How many dates for the week of 4?
SELECT COUNT(attendance) FROM table_23916462_3 WHERE date = "August 26"
CREATE TABLE table_23916462_3 (attendance VARCHAR, date VARCHAR), How many values for attendance on the date of August 26?
SELECT 07 AS _08_gp_jgp_2nd FROM table_23938357_5 WHERE name = "Mao Asada"
CREATE TABLE table_23938357_5 (name VARCHAR), what is the total 07-08 gp/jgp 2nd with the name mao asada
SELECT owner_s___2009_ FROM table_23958917_1 WHERE location = "South Side Indianapolis"
CREATE TABLE table_23958917_1 (owner_s___2009_ VARCHAR, location VARCHAR), Name the owners 2009 for south side indianapolis
SELECT stacks FROM table_23958917_1 WHERE in_service_dates = "1 1969 2 1995"
CREATE TABLE table_23958917_1 (stacks VARCHAR, in_service_dates VARCHAR), Name the stacks for 1 1969 2 1995
SELECT COUNT(stacks) FROM table_23958917_1 WHERE unit_capacity__2009_ = "1 & 2 235 MW 3 & 4 88.2 MW"
CREATE TABLE table_23958917_1 (stacks VARCHAR, unit_capacity__2009_ VARCHAR), Name the number of stacks for 1 & 2 235 mw 3 & 4 88.2 mw
SELECT COUNT(in_service_dates) FROM table_23958917_1 WHERE owner_s___2009_ = "Hoosier Energy" AND location = "Petersburg"
CREATE TABLE table_23958917_1 (in_service_dates VARCHAR, owner_s___2009_ VARCHAR, location VARCHAR), Name the number for service dates for hoosier energy for petersburg
SELECT frequency FROM table_24018112_1 WHERE model__list_ = "L34xx"
CREATE TABLE table_24018112_1 (frequency VARCHAR, model__list_ VARCHAR), What frequency does model L34xx use?
SELECT brand_name FROM table_24018112_1 WHERE model__list_ = "G6xxx"
CREATE TABLE table_24018112_1 (brand_name VARCHAR, model__list_ VARCHAR), What brand is model G6xxx?
SELECT max_memory_speed FROM table_24018112_1 WHERE frequency = "2.93-3.2GHz"
CREATE TABLE table_24018112_1 (max_memory_speed VARCHAR, frequency VARCHAR), What is the maximum memory speed for frequencies between 2.93-3.2ghz?
SELECT brand_name FROM table_24018112_1 WHERE model__list_ = "i7-8xx"
CREATE TABLE table_24018112_1 (brand_name VARCHAR, model__list_ VARCHAR), What brand is model I7-8xx?
SELECT cores_threads FROM table_24018112_1 WHERE max_memory_speed = "DDR3-1333" AND frequency = "2.66-2.8GHz"
CREATE TABLE table_24018112_1 (cores_threads VARCHAR, max_memory_speed VARCHAR, frequency VARCHAR), List the number of cores for ddr3-1333 with frequencies between 2.66-2.8ghz.
SELECT frequency FROM table_24018112_1 WHERE brand_name = "Pentium"
CREATE TABLE table_24018112_1 (frequency VARCHAR, brand_name VARCHAR), What frequency does the Pentium processor use?
SELECT COUNT(bush_number) FROM table_2401326_1 WHERE bush_percentage = "69.7%"
CREATE TABLE table_2401326_1 (bush_number VARCHAR, bush_percentage VARCHAR), How many different counts of the votes for Bush are there in the county where he got 69.7% of the votes?
SELECT kerry_percentage FROM table_2401326_1 WHERE county = "Oneida"
CREATE TABLE table_2401326_1 (kerry_percentage VARCHAR, county VARCHAR), What percentage of the votes in Oneida did Kerry win?
SELECT bush_percentage FROM table_2401326_1 WHERE county = "Bonneville"
CREATE TABLE table_2401326_1 (bush_percentage VARCHAR, county VARCHAR), What percentage of the people in Bonneville voted for Bush?
SELECT others_percentage FROM table_2401326_1 WHERE others_number = 462
CREATE TABLE table_2401326_1 (others_percentage VARCHAR, others_number VARCHAR), What percentage of the votes were for others in the county where 462 people voted that way?
SELECT bush_percentage FROM table_2401326_1 WHERE kerry_percentage = "37.6%"
CREATE TABLE table_2401326_1 (bush_percentage VARCHAR, kerry_percentage VARCHAR), What's percentage voted for Busg in the county where Kerry got 37.6%?
SELECT MIN(kerry_number) FROM table_2401326_1 WHERE others_number = 8
CREATE TABLE table_2401326_1 (kerry_number INTEGER, others_number VARCHAR), How many people voted for Kerry in the county where 8 voted for others?
SELECT denis_nizhegorodov___rus__ FROM table_24059973_3 WHERE world_record = "North American record"
CREATE TABLE table_24059973_3 (denis_nizhegorodov___rus__ VARCHAR, world_record VARCHAR), When north american record is the world record who is the denis nizhegorodov ( rus )?
SELECT COUNT(incoming_manager) FROM table_24172157_3 WHERE outgoing_manager = "Roy Hodgson" AND team = "Fulham"
CREATE TABLE table_24172157_3 (incoming_manager VARCHAR, outgoing_manager VARCHAR, team VARCHAR), How many incoming managers were there after Roy Hodgson left the position for the Fulham team?
SELECT table FROM table_24172157_3 WHERE team = "Blackburn Rovers"
CREATE TABLE table_24172157_3 (table VARCHAR, team VARCHAR), What is the table for the team Blackburn Rovers?
SELECT date_of_appointment FROM table_24172157_3 WHERE team = "Liverpool" AND incoming_manager = "Roy Hodgson"
CREATE TABLE table_24172157_3 (date_of_appointment VARCHAR, team VARCHAR, incoming_manager VARCHAR), What was the date of appointment for incoming manager Roy Hodgson and the team is Liverpool?
SELECT team FROM table_24172157_3 WHERE incoming_manager = "Kenny Dalglish"
CREATE TABLE table_24172157_3 (team VARCHAR, incoming_manager VARCHAR), What team has an incoming manager named Kenny Dalglish?
SELECT date_of_vacancy FROM table_24172157_3 WHERE table = "Pre-season" AND team = "Liverpool"
CREATE TABLE table_24172157_3 (date_of_vacancy VARCHAR, table VARCHAR, team VARCHAR), What is the date of vacancy for the Liverpool team with a table named pre-season?
SELECT manner_of_departure FROM table_24162080_3 WHERE replaced_by = "Steve McClaren"
CREATE TABLE table_24162080_3 (manner_of_departure VARCHAR, replaced_by VARCHAR), When steve mcclaren is the replacer what is the manner of departure?
SELECT date_of_appointment FROM table_24162080_3 WHERE team = "1. FC Köln"
CREATE TABLE table_24162080_3 (date_of_appointment VARCHAR, team VARCHAR), When 1. fc köln is the team what is the date of appointment?
SELECT COUNT(tournament) FROM table_2417741_1 WHERE year = 1999
CREATE TABLE table_2417741_1 (tournament VARCHAR, year VARCHAR), When 1999 is the year how many tournaments are there?
SELECT COUNT(par) FROM table_2417741_1 WHERE winner = "Cary Middlecoff"
CREATE TABLE table_2417741_1 (par VARCHAR, winner VARCHAR), When cary middlecoff is the winner how many pars are there?
SELECT margin_of_victory FROM table_2417741_1 WHERE winner = "Hale Irwin"
CREATE TABLE table_2417741_1 (margin_of_victory VARCHAR, winner VARCHAR), When hale irwin is the winner what is the margin of victory?
SELECT COUNT(founded) FROM table_24195232_1 WHERE location = "Springfield, Ohio"
CREATE TABLE table_24195232_1 (founded VARCHAR, location VARCHAR), How many entries are there for founded when the location was springfield, ohio?
SELECT location FROM table_24195232_1 WHERE team_name = "Patriots"
CREATE TABLE table_24195232_1 (location VARCHAR, team_name VARCHAR), What was the location for the team name of patriots?
SELECT location FROM table_24195232_1 WHERE founded = 1957
CREATE TABLE table_24195232_1 (location VARCHAR, founded VARCHAR), What is the location when founded was 1957?
SELECT affiliation FROM table_24195232_1 WHERE institution = "Ohio Christian University"
CREATE TABLE table_24195232_1 (affiliation VARCHAR, institution VARCHAR), What is the affiliation when the institution was ohio christian university?
SELECT institution FROM table_24195232_1 WHERE location = "Circleville, Ohio"
CREATE TABLE table_24195232_1 (institution VARCHAR, location VARCHAR), What is the institution that was located is circleville, ohio?
SELECT location FROM table_24195232_1 WHERE team_name = "Eagles"
CREATE TABLE table_24195232_1 (location VARCHAR, team_name VARCHAR), What is the location for the team name of eagles?
SELECT original_airdate FROM table_24222929_3 WHERE live + sd_total_viewers = "5.09 million"
CREATE TABLE table_24222929_3 (original_airdate VARCHAR, live VARCHAR, sd_total_viewers VARCHAR), When did the episode that had 5.09 million total viewers (both Live and SD types) first air?
SELECT live + 7 AS _day_dvr_total_viewers FROM table_24222929_3 WHERE share = "8"
CREATE TABLE table_24222929_3 (live VARCHAR, share VARCHAR), How many total viewers (combined Live and SD) watched the episode with a share of 8?
SELECT original_airdate FROM table_24222929_3 WHERE episode_number_production_number = "4 1-04"
CREATE TABLE table_24222929_3 (original_airdate VARCHAR, episode_number_production_number VARCHAR), When did the fourth episode of the season (4 1-04) first air?
SELECT original_airdate FROM table_24222929_3 WHERE live + sd_total_viewers = "3.69 million"
CREATE TABLE table_24222929_3 (original_airdate VARCHAR, live VARCHAR, sd_total_viewers VARCHAR), When did the episode that had 3.69 million total viewers (Live and SD types combined) first air?
SELECT leading_actor FROM table_24225238_1 WHERE supporting_actor = "Cecil Kellaway"
CREATE TABLE table_24225238_1 (leading_actor VARCHAR, supporting_actor VARCHAR), Who was the leading actor in the film with a supporting actor named Cecil Kellaway?
SELECT supporting_actress FROM table_24225238_1 WHERE film = "For Whom the Bell Tolls"
CREATE TABLE table_24225238_1 (supporting_actress VARCHAR, film VARCHAR), Who was the supporting actress in "For Whom the Bell Tolls"?
SELECT supporting_actress FROM table_24225238_1 WHERE leading_actress = "Diane Keaton"
CREATE TABLE table_24225238_1 (supporting_actress VARCHAR, leading_actress VARCHAR), Who was the supporting actress in a film with Diane Keaton as the leading actress?
SELECT leading_actress FROM table_24225238_1 WHERE leading_actor = "Warren Beatty" AND oscars = "40th"
CREATE TABLE table_24225238_1 (leading_actress VARCHAR, leading_actor VARCHAR, oscars VARCHAR), Who was the leading actress in a film with Warren Beatty as the leading actor and also at the 40th Oscars?
SELECT film FROM table_24225238_1 WHERE supporting_actor = "Charles Bickford"
CREATE TABLE table_24225238_1 (film VARCHAR, supporting_actor VARCHAR), Which film had Charles Bickford as supporting actor?
SELECT supporting_actress FROM table_24225238_1 WHERE year = 1943
CREATE TABLE table_24225238_1 (supporting_actress VARCHAR, year VARCHAR), Who was the supporting actress in 1943?
SELECT COUNT(sydney) FROM table_24291077_4 WHERE week = 3
CREATE TABLE table_24291077_4 (sydney VARCHAR, week VARCHAR), How many episodes aired in Sydney in Week 3?
SELECT sydney FROM table_24291077_4 WHERE melbourne = 334000
CREATE TABLE table_24291077_4 (sydney VARCHAR, melbourne VARCHAR), How many viewers were there in Sydney for the episode when there were 334000 in Melbourne?
SELECT adelaide FROM table_24291077_4 WHERE week = 5
CREATE TABLE table_24291077_4 (adelaide VARCHAR, week VARCHAR), How many Adelaide viewers were there in Week 5?
SELECT MAX(brisbane) FROM table_24291077_4
CREATE TABLE table_24291077_4 (brisbane INTEGER), What is the highest number of Brisbane viewers?
SELECT MAX(brisbane) FROM table_24291077_8 WHERE melbourne = 276000
CREATE TABLE table_24291077_8 (brisbane INTEGER, melbourne VARCHAR), What was the rating in Brisbane the week it was 276000 in Melbourne?
SELECT total FROM table_24291077_8 WHERE week = 3
CREATE TABLE table_24291077_8 (total VARCHAR, week VARCHAR), What was the total rating on week 3?
SELECT MIN(brisbane) FROM table_24291077_8 WHERE adelaide = 94000
CREATE TABLE table_24291077_8 (brisbane INTEGER, adelaide VARCHAR), What was the rating for Brisbane the week that Adelaide had 94000?
SELECT us_viewers__million_ FROM table_24319661_3 WHERE directed_by = "Kevin Bray"
CREATE TABLE table_24319661_3 (us_viewers__million_ VARCHAR, directed_by VARCHAR), How many millions of people in the US watched when Kevin Bray was director?
SELECT COUNT(no_in_season) FROM table_24319661_3 WHERE us_viewers__million_ = "3.81"
CREATE TABLE table_24319661_3 (no_in_season VARCHAR, us_viewers__million_ VARCHAR), How many episodes in the season had 3.81 million US viewers?
SELECT MAX(folded) FROM table_24334261_1 WHERE stadium = "Fraser Field"
CREATE TABLE table_24334261_1 (folded INTEGER, stadium VARCHAR), What is the maximum folded value of the team whose stadium is Fraser Field?
SELECT MAX(founded) FROM table_24334261_1 WHERE team = "Worcester Tornadoes"
CREATE TABLE table_24334261_1 (founded INTEGER, team VARCHAR), What is the maximum founded year of the Worcester Tornadoes?
SELECT MAX(viewers) FROM table_24399615_3 WHERE airdate = "22 October 2009"
CREATE TABLE table_24399615_3 (viewers INTEGER, airdate VARCHAR), How many viewers were there for airdate is 22 october 2009?
SELECT cable_rank FROM table_24399615_3 WHERE episode_no = 4
CREATE TABLE table_24399615_3 (cable_rank VARCHAR, episode_no VARCHAR), What is the cable rank for episode no. 4?
SELECT bbc_three_weekly_ranking FROM table_24399615_3 WHERE episode_no = 5
CREATE TABLE table_24399615_3 (bbc_three_weekly_ranking VARCHAR, episode_no VARCHAR), Where where the bbc three weekly ranking for episode no. 5?
SELECT cable_rank FROM table_24399615_3 WHERE bbc_three_weekly_ranking = "N/A"
CREATE TABLE table_24399615_3 (cable_rank VARCHAR, bbc_three_weekly_ranking VARCHAR), What is the cable rank for bbc three weekly ranking of n/a?
SELECT cable_rank FROM table_24399615_3 WHERE airdate = "10 December 2009"
CREATE TABLE table_24399615_3 (cable_rank VARCHAR, airdate VARCHAR), What is the cable rank for the airdate of 10 december 2009?
SELECT COUNT(viewers) FROM table_24399615_3 WHERE airdate = "26 November 2009"
CREATE TABLE table_24399615_3 (viewers VARCHAR, airdate VARCHAR), How many entries are shown for viewers when the airdate was 26 november 2009?
SELECT difficulty FROM table_24463470_1 WHERE circuit = "Athens"
CREATE TABLE table_24463470_1 (difficulty VARCHAR, circuit VARCHAR), What is the difficulty of the athens circuit?
SELECT COUNT(unlock_order) FROM table_24463470_1 WHERE unlocks = "Paris"
CREATE TABLE table_24463470_1 (unlock_order VARCHAR, unlocks VARCHAR), How many instances is paris the unlock?
SELECT COUNT(setting) FROM table_24463470_1 WHERE unlocked_by = "N/A"
CREATE TABLE table_24463470_1 (setting VARCHAR, unlocked_by VARCHAR), How many instances is the unlocked n/a?
SELECT MIN(unlock_order) FROM table_24463470_1 WHERE circuit = "Athens"
CREATE TABLE table_24463470_1 (unlock_order INTEGER, circuit VARCHAR), What is the lowest unlock order for the athens circuit?
SELECT setting FROM table_24463470_1 WHERE difficulty = "Hard"
CREATE TABLE table_24463470_1 (setting VARCHAR, difficulty VARCHAR), What is the setting for the hard difficulty?
SELECT conditions FROM table_24463470_1 WHERE circuit = "Athens"
CREATE TABLE table_24463470_1 (conditions VARCHAR, circuit VARCHAR), What are the conditions for the athens circuit?
SELECT team FROM table_24491017_1 WHERE position = "11th"
CREATE TABLE table_24491017_1 (team VARCHAR, position VARCHAR), What team was he on when he finished in 11th position?
SELECT MAX(f_laps) FROM table_24491017_1 WHERE position = "8th"
CREATE TABLE table_24491017_1 (f_laps INTEGER, position VARCHAR), How many f/laps when he finished 8th?
SELECT team FROM table_24491017_1 WHERE f_laps = 10
CREATE TABLE table_24491017_1 (team VARCHAR, f_laps VARCHAR), What team was he on when he had 10 f/laps?
SELECT COUNT(podiums) FROM table_24491017_1 WHERE series = "British F3 National Class"
CREATE TABLE table_24491017_1 (podiums VARCHAR, series VARCHAR), How many podiums when he was in the british f3 national class series?
SELECT last_title FROM table_2454589_1 WHERE home_city = "Cuenca"
CREATE TABLE table_2454589_1 (last_title VARCHAR, home_city VARCHAR), Name the last title for cuenca
SELECT first_season_in_the_serie_a FROM table_2454589_1 WHERE last_title = "2006"
CREATE TABLE table_2454589_1 (first_season_in_the_serie_a VARCHAR, last_title VARCHAR), Name the first season in the series for 2006
SELECT last_title FROM table_2454589_1 WHERE first_season_in_current_spell = 2012
CREATE TABLE table_2454589_1 (last_title VARCHAR, first_season_in_current_spell VARCHAR), Name the last title for 2012
SELECT club FROM table_2454589_1 WHERE home_city = "Quevedo"
CREATE TABLE table_2454589_1 (club VARCHAR, home_city VARCHAR), Name the club for quevedo
SELECT MAX(first_season_in_the_serie_a) FROM table_2454589_1 WHERE stadium = "7 de Octubre"
CREATE TABLE table_2454589_1 (first_season_in_the_serie_a INTEGER, stadium VARCHAR), Name the most for first season in the serie a for 7 de octubre
SELECT COUNT(appearances¹) FROM table_24565004_15 WHERE goals¹ = 7
CREATE TABLE table_24565004_15 (appearances¹ VARCHAR, goals¹ VARCHAR), How many games had less than 7 goals scored?
SELECT name FROM table_24565004_15 WHERE goals¹ = 4
CREATE TABLE table_24565004_15 (name VARCHAR, goals¹ VARCHAR), List the player that scored 4 times.
SELECT COUNT(position) FROM table_24565004_15 WHERE nationality² = "Brazil"
CREATE TABLE table_24565004_15 (position VARCHAR, nationality² VARCHAR), How many players are from the country of Brazil?
SELECT period FROM table_24565004_15 WHERE position = "Attaquant"
CREATE TABLE table_24565004_15 (period VARCHAR, position VARCHAR), List the number of active years for attaquant.
SELECT mls_cup_playoffs FROM table_245695_2 WHERE concacaf_champions_cup___concacaf_champions_league = "Quarter-Finals (09-10)"
CREATE TABLE table_245695_2 (mls_cup_playoffs VARCHAR, concacaf_champions_cup___concacaf_champions_league VARCHAR), What was the mls cup playoffs when concacaf champions cup / concacaf champions league was quarter-finals (09-10)?
SELECT MIN(series__number) FROM table_24639086_3 WHERE season__number = "2.08"
CREATE TABLE table_24639086_3 (series__number INTEGER, season__number VARCHAR), What is the series minimum if the season number is 2.08?
SELECT viewers__in_millions_ FROM table_24639086_3 WHERE series__number = 14
CREATE TABLE table_24639086_3 (viewers__in_millions_ VARCHAR, series__number VARCHAR), What is the amount of viewers if the series number is 14?
SELECT original_air_date FROM table_24639086_3 WHERE viewers__in_millions_ = "2.48"
CREATE TABLE table_24639086_3 (original_air_date VARCHAR, viewers__in_millions_ VARCHAR), If the amount of viewers is 2.48 million, what is the original air date?
SELECT written_by FROM table_24639086_3 WHERE season__number = "2.08"
CREATE TABLE table_24639086_3 (written_by VARCHAR, season__number VARCHAR), If the season number is 2.08, who was the episode written by?