instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Which championship had a final score of 6–4, 2–6, 6–4, 7–6(3)?
The relevant table was constructed using the following SQL : CREATE TABLE table_2362486_1 (championship VARCHAR, score_in_the_final VARCHAR)
SELECT championship FROM table_2362486_1 WHERE score_in_the_final = "6–4, 2–6, 6–4, 7–6(3)"
Write a SQL query that answers the following question: What was the score in the final in 1988?
The relevant table was constructed using the following SQL : CREATE TABLE table_2362606_1 (score_in_final VARCHAR, year VARCHAR)
SELECT score_in_final FROM table_2362606_1 WHERE year = 1988
Write a SQL query that answers the following question: Name the london great britain for championship record
The relevant table was constructed using the following SQL : CREATE TABLE table_23619492_3 (london_ VARCHAR, _great_britain VARCHAR, world_record VARCHAR)
SELECT london_, _great_britain FROM table_23619492_3 WHERE world_record = "Championship record"
Write a SQL query that answers the following question: Name the total number of african record
The relevant table was constructed using the following SQL : CREATE TABLE table_23619492_3 (paula_radcliffe___gbr__ VARCHAR, world_record VARCHAR)
SELECT COUNT(paula_radcliffe___gbr__) FROM table_23619492_3 WHERE world_record = "African record"
Write a SQL query that answers the following question: Who are thebmix artists when tears for fears is artist 1 and eric prydz is artist 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_23649244_1 (mix_artist VARCHAR, artist_1 VARCHAR, artist_2 VARCHAR)
SELECT mix_artist FROM table_23649244_1 WHERE artist_1 = "Tears for Fears" AND artist_2 = "Eric Prydz"
Write a SQL query that answers the following question: Which level has marvin gaye as artist 1 and david bowie as artist 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR, artist_2 VARCHAR)
SELECT level FROM table_23649244_1 WHERE artist_1 = "Marvin Gaye" AND artist_2 = "David Bowie"
Write a SQL query that answers the following question: Which level has grandmaster flash as artist 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR)
SELECT level FROM table_23649244_1 WHERE artist_1 = "Grandmaster Flash"
Write a SQL query that answers the following question: Which level has wale as artist 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR)
SELECT level FROM table_23649244_1 WHERE artist_1 = "Wale"
Write a SQL query that answers the following question: Which mix artists have shlomo as artist 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_23649244_1 (mix_artist VARCHAR, artist_1 VARCHAR)
SELECT mix_artist FROM table_23649244_1 WHERE artist_1 = "Shlomo"
Write a SQL query that answers the following question: How many season had Melgar as a champion?
The relevant table was constructed using the following SQL : CREATE TABLE table_23647668_2 (season VARCHAR, champion VARCHAR)
SELECT COUNT(season) FROM table_23647668_2 WHERE champion = "Melgar"
Write a SQL query that answers the following question: Who was in third place in the 1980 season?
The relevant table was constructed using the following SQL : CREATE TABLE table_23647668_2 (third_place VARCHAR, season VARCHAR)
SELECT third_place FROM table_23647668_2 WHERE season = 1980
Write a SQL query that answers the following question: Name the open cup for usl pdl for did not qualify
The relevant table was constructed using the following SQL : CREATE TABLE table_2365150_1 (open_cup VARCHAR, league VARCHAR, playoffs VARCHAR)
SELECT open_cup FROM table_2365150_1 WHERE league = "USL PDL" AND playoffs = "Did not qualify"
Write a SQL query that answers the following question: Name the total number of open cup for 1996
The relevant table was constructed using the following SQL : CREATE TABLE table_2365150_1 (open_cup VARCHAR, year VARCHAR)
SELECT COUNT(open_cup) FROM table_2365150_1 WHERE year = 1996
Write a SQL query that answers the following question: Name the open cup for division finals
The relevant table was constructed using the following SQL : CREATE TABLE table_2365150_1 (open_cup VARCHAR, playoffs VARCHAR)
SELECT open_cup FROM table_2365150_1 WHERE playoffs = "division Finals"
Write a SQL query that answers the following question: Name the position for 2.16
The relevant table was constructed using the following SQL : CREATE TABLE table_23670057_1 (position VARCHAR, height__m_ VARCHAR)
SELECT position FROM table_23670057_1 WHERE height__m_ = "2.16"
Write a SQL query that answers the following question: Name the number for 1.96 height
The relevant table was constructed using the following SQL : CREATE TABLE table_23670057_1 (no VARCHAR, height__m_ VARCHAR)
SELECT no FROM table_23670057_1 WHERE height__m_ = "1.96"
Write a SQL query that answers the following question: Name the height for number 7
The relevant table was constructed using the following SQL : CREATE TABLE table_23670057_1 (height__m_ VARCHAR, no VARCHAR)
SELECT height__m_ FROM table_23670057_1 WHERE no = 7
Write a SQL query that answers the following question: name the player for number 5
The relevant table was constructed using the following SQL : CREATE TABLE table_23670057_1 (player VARCHAR, no VARCHAR)
SELECT player FROM table_23670057_1 WHERE no = 5
Write a SQL query that answers the following question: For all players playing at the center, list the height in feet.
The relevant table was constructed using the following SQL : CREATE TABLE table_23670057_4 (height__f_ VARCHAR, position VARCHAR)
SELECT height__f_ FROM table_23670057_4 WHERE position = "Center"
Write a SQL query that answers the following question: Display the serial numbers for the players who play at the center.
The relevant table was constructed using the following SQL : CREATE TABLE table_23670057_4 (no VARCHAR, position VARCHAR)
SELECT no FROM table_23670057_4 WHERE position = "Center"
Write a SQL query that answers the following question: What is the date of birth for basket baller called ido kozikaro
The relevant table was constructed using the following SQL : CREATE TABLE table_23670057_4 (year_born INTEGER, player VARCHAR)
SELECT MAX(year_born) FROM table_23670057_4 WHERE player = "Ido Kozikaro"
Write a SQL query that answers the following question: How tall is the basket ball player lior eliyahu in meters?
The relevant table was constructed using the following SQL : CREATE TABLE table_23670057_4 (height__m_ VARCHAR, player VARCHAR)
SELECT height__m_ FROM table_23670057_4 WHERE player = "Lior Eliyahu"
Write a SQL query that answers the following question: What was the average score for the couple that had 4 dances?
The relevant table was constructed using the following SQL : CREATE TABLE table_23662356_3 (average VARCHAR, number_of_dances VARCHAR)
SELECT average FROM table_23662356_3 WHERE number_of_dances = 4
Write a SQL query that answers the following question: How many averages were listed for the couple who had 12 dances?
The relevant table was constructed using the following SQL : CREATE TABLE table_23662356_3 (average VARCHAR, number_of_dances VARCHAR)
SELECT COUNT(average) FROM table_23662356_3 WHERE number_of_dances = 12
Write a SQL query that answers the following question: How many total points were earned from the couple that averaged 29.0 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_23662356_3 (total_points_earned INTEGER, average VARCHAR)
SELECT MAX(total_points_earned) FROM table_23662356_3 WHERE average = "29.0"
Write a SQL query that answers the following question: What album was the song It's going so badly on?
The relevant table was constructed using the following SQL : CREATE TABLE table_23667534_1 (album_s_ VARCHAR, song_s__title VARCHAR)
SELECT album_s_ FROM table_23667534_1 WHERE song_s__title = "It's Going So Badly"
Write a SQL query that answers the following question: What album was the song My Chariot on?
The relevant table was constructed using the following SQL : CREATE TABLE table_23667534_1 (album_s_ VARCHAR, song_s__title VARCHAR)
SELECT album_s_ FROM table_23667534_1 WHERE song_s__title = "My Chariot"
Write a SQL query that answers the following question: Who sand He's Bigfoot?
The relevant table was constructed using the following SQL : CREATE TABLE table_23667534_1 (singer_s_ VARCHAR, song_s__title VARCHAR)
SELECT singer_s_ FROM table_23667534_1 WHERE song_s__title = "He's Bigfoot"
Write a SQL query that answers the following question: What album was the song Shimmy Jimmy from the episode titled Toy to the world on?
The relevant table was constructed using the following SQL : CREATE TABLE table_23667534_1 (album_s_ VARCHAR, episode_title VARCHAR, song_s__title VARCHAR)
SELECT album_s_ FROM table_23667534_1 WHERE episode_title = "Toy to the World" AND song_s__title = "Shimmy Jimmy"
Write a SQL query that answers the following question: which players have a height of 2.07m?
The relevant table was constructed using the following SQL : CREATE TABLE table_23670057_5 (player VARCHAR, height__m_ VARCHAR)
SELECT player FROM table_23670057_5 WHERE height__m_ = "2.07"
Write a SQL query that answers the following question: Which clubs have players with height 2.14m?
The relevant table was constructed using the following SQL : CREATE TABLE table_23670057_5 (current_club VARCHAR, height__m_ VARCHAR)
SELECT current_club FROM table_23670057_5 WHERE height__m_ = "2.14"
Write a SQL query that answers the following question: Which players were born in 1983 and play as forward position?
The relevant table was constructed using the following SQL : CREATE TABLE table_23670057_5 (player VARCHAR, year_born VARCHAR, position VARCHAR)
SELECT player FROM table_23670057_5 WHERE year_born = 1983 AND position = "Forward"
Write a SQL query that answers the following question: What is every current club for the player Artūrs Štālbergs?
The relevant table was constructed using the following SQL : CREATE TABLE table_23670057_7 (current_club VARCHAR, player VARCHAR)
SELECT current_club FROM table_23670057_7 WHERE player = "Artūrs Štālbergs"
Write a SQL query that answers the following question: How many players have a height of 2.07?
The relevant table was constructed using the following SQL : CREATE TABLE table_23670057_7 (player VARCHAR, height__m_ VARCHAR)
SELECT COUNT(player) FROM table_23670057_7 WHERE height__m_ = "2.07"
Write a SQL query that answers the following question: What is the latest year born when the current club is Barons LMT?
The relevant table was constructed using the following SQL : CREATE TABLE table_23670057_7 (year_born INTEGER, current_club VARCHAR)
SELECT MAX(year_born) FROM table_23670057_7 WHERE current_club = "Barons LMT"
Write a SQL query that answers the following question: How many current clubs have the player Aigars Vitols?
The relevant table was constructed using the following SQL : CREATE TABLE table_23670057_7 (current_club VARCHAR, player VARCHAR)
SELECT COUNT(current_club) FROM table_23670057_7 WHERE player = "Aigars Vitols"
Write a SQL query that answers the following question: What is every year born for height of 1.88?
The relevant table was constructed using the following SQL : CREATE TABLE table_23670057_7 (year_born VARCHAR, height__m_ VARCHAR)
SELECT year_born FROM table_23670057_7 WHERE height__m_ = "1.88"
Write a SQL query that answers the following question: What is every number when the player is Aigars Vitols?
The relevant table was constructed using the following SQL : CREATE TABLE table_23670057_7 (no VARCHAR, player VARCHAR)
SELECT no FROM table_23670057_7 WHERE player = "Aigars Vitols"
Write a SQL query that answers the following question: Name the most high schools for 31851
The relevant table was constructed using the following SQL : CREATE TABLE table_2367847_2 (high_schools INTEGER, district_wide VARCHAR)
SELECT MAX(high_schools) FROM table_2367847_2 WHERE district_wide = 31851
Write a SQL query that answers the following question: Name the most district wide for 1639 other programs
The relevant table was constructed using the following SQL : CREATE TABLE table_2367847_2 (district_wide INTEGER, other_programs_ VARCHAR, _adjustments VARCHAR)
SELECT MAX(district_wide) FROM table_2367847_2 WHERE other_programs_ & _adjustments = 1639
Write a SQL query that answers the following question: Name the total number of elementary schools for 31851
The relevant table was constructed using the following SQL : CREATE TABLE table_2367847_2 (elementary_schools VARCHAR, district_wide VARCHAR)
SELECT COUNT(elementary_schools) FROM table_2367847_2 WHERE district_wide = 31851
Write a SQL query that answers the following question: Name the most middle schools for 2005-2006
The relevant table was constructed using the following SQL : CREATE TABLE table_2367847_2 (middle_schools INTEGER, year VARCHAR)
SELECT MAX(middle_schools) FROM table_2367847_2 WHERE year = "2005-2006"
Write a SQL query that answers the following question: If the polling average in July 2009 was 7.2%, what was it in May 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_23680576_2 (may_2009 VARCHAR, jul_2009 VARCHAR)
SELECT may_2009 FROM table_23680576_2 WHERE jul_2009 = "7.2%"
Write a SQL query that answers the following question: What was the polling average in Aug 2009 when is was 5.0% in Sep 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_23680576_2 (aug_2008 VARCHAR, sep_2008 VARCHAR)
SELECT aug_2008 FROM table_23680576_2 WHERE sep_2008 = "5.0%"
Write a SQL query that answers the following question: How many polling percentages were there in October 2008 when is was 30.8% in Aug 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_23680576_2 (oct_2008 VARCHAR, aug_2008 VARCHAR)
SELECT COUNT(oct_2008) FROM table_23680576_2 WHERE aug_2008 = "30.8%"
Write a SQL query that answers the following question: Name the party/s when the polling percentage was 6.3% in Dec 2008.
The relevant table was constructed using the following SQL : CREATE TABLE table_23680576_2 (party VARCHAR, dec_2008 VARCHAR)
SELECT party FROM table_23680576_2 WHERE dec_2008 = "6.3%"
Write a SQL query that answers the following question: What was the polling percentage in Nov 2008 when it was 1.7% in Aug 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_23680576_2 (nov_2008 VARCHAR, aug_2008 VARCHAR)
SELECT nov_2008 FROM table_23680576_2 WHERE aug_2008 = "1.7%"
Write a SQL query that answers the following question: What is the week 32 result when week 33 is 31.9%?
The relevant table was constructed using the following SQL : CREATE TABLE table_23680576_3 (week_32 VARCHAR, week_33 VARCHAR)
SELECT week_32 FROM table_23680576_3 WHERE week_33 = "31.9%"
Write a SQL query that answers the following question: List all week 37 results when week 33 is 14.3%.
The relevant table was constructed using the following SQL : CREATE TABLE table_23680576_3 (week_37 VARCHAR, week_33 VARCHAR)
SELECT week_37 FROM table_23680576_3 WHERE week_33 = "14.3%"
Write a SQL query that answers the following question: List the full amount of week 36 results when week 32 is 13.2%.
The relevant table was constructed using the following SQL : CREATE TABLE table_23680576_3 (week_36 VARCHAR, week_32 VARCHAR)
SELECT COUNT(week_36) FROM table_23680576_3 WHERE week_32 = "13.2%"
Write a SQL query that answers the following question: On what year was the local government area with a surface of 4563 square kilometers established?
The relevant table was constructed using the following SQL : CREATE TABLE table_23685890_2 (est VARCHAR, land_area__km²_ VARCHAR)
SELECT est FROM table_23685890_2 WHERE land_area__km²_ = "4563"
Write a SQL query that answers the following question: Which major town is located within the Outback Areas Community Development Trust?
The relevant table was constructed using the following SQL : CREATE TABLE table_23685890_2 (major_town VARCHAR, local_government_area VARCHAR)
SELECT major_town FROM table_23685890_2 WHERE local_government_area = "Outback Areas Community Development Trust"
Write a SQL query that answers the following question: How many towns exist on the government area with a surface of 110 square kilometers?
The relevant table was constructed using the following SQL : CREATE TABLE table_23685890_2 (towns INTEGER, land_area__km²_ VARCHAR)
SELECT MIN(towns) FROM table_23685890_2 WHERE land_area__km²_ = "110"
Write a SQL query that answers the following question: What type of local government area is Yalata?
The relevant table was constructed using the following SQL : CREATE TABLE table_23685890_2 (type VARCHAR, local_government_area VARCHAR)
SELECT type FROM table_23685890_2 WHERE local_government_area = "Yalata"
Write a SQL query that answers the following question: What was the 2006 population count of the local government area where Coober Pedy is located?
The relevant table was constructed using the following SQL : CREATE TABLE table_23685890_2 (pop_2006 VARCHAR, major_town VARCHAR)
SELECT pop_2006 FROM table_23685890_2 WHERE major_town = "Coober Pedy"
Write a SQL query that answers the following question: During what week was the game attended by 20114 people?
The relevant table was constructed using the following SQL : CREATE TABLE table_23685152_2 (week INTEGER, attendance VARCHAR)
SELECT MAX(week) FROM table_23685152_2 WHERE attendance = 20114
Write a SQL query that answers the following question: What was the record in game played on July 28?
The relevant table was constructed using the following SQL : CREATE TABLE table_23685152_2 (record VARCHAR, date VARCHAR)
SELECT record FROM table_23685152_2 WHERE date = "July 28"
Write a SQL query that answers the following question: What was the record in the game against Eskimos?
The relevant table was constructed using the following SQL : CREATE TABLE table_23685152_2 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_23685152_2 WHERE opponent = "Eskimos"
Write a SQL query that answers the following question: Whose WSOP earnings were $36,372?
The relevant table was constructed using the following SQL : CREATE TABLE table_23696862_6 (name VARCHAR, wsop_earnings VARCHAR)
SELECT name FROM table_23696862_6 WHERE wsop_earnings = "$36,372"
Write a SQL query that answers the following question: The person who had 0 WSOP earnings had how man WSOP cashes?
The relevant table was constructed using the following SQL : CREATE TABLE table_23696862_6 (wsop_cashes VARCHAR, wsop_earnings VARCHAR)
SELECT wsop_cashes FROM table_23696862_6 WHERE wsop_earnings = "0"
Write a SQL query that answers the following question: Who had 2 WSOP cashes and was 6th in final place?
The relevant table was constructed using the following SQL : CREATE TABLE table_23696862_6 (name VARCHAR, wsop_cashes VARCHAR, final_place VARCHAR)
SELECT name FROM table_23696862_6 WHERE wsop_cashes = 2 AND final_place = "6th"
Write a SQL query that answers the following question: What is the smallest amount of WSOP bracelets anyone had?
The relevant table was constructed using the following SQL : CREATE TABLE table_23696862_6 (wsop_bracelets INTEGER)
SELECT MIN(wsop_bracelets) FROM table_23696862_6
Write a SQL query that answers the following question: The person who had $126,796 WSOP earnings had how many WSOP cashes?
The relevant table was constructed using the following SQL : CREATE TABLE table_23696862_6 (wsop_cashes VARCHAR, wsop_earnings VARCHAR)
SELECT wsop_cashes FROM table_23696862_6 WHERE wsop_earnings = "$126,796"
Write a SQL query that answers the following question: What is the high 10 profile number when the high profile is 80?
The relevant table was constructed using the following SQL : CREATE TABLE table_237036_2 (high_10_profile INTEGER, high_profile VARCHAR)
SELECT MAX(high_10_profile) FROM table_237036_2 WHERE high_profile = 80
Write a SQL query that answers the following question: What is the baseline extended and main profiles when level is 1.3?
The relevant table was constructed using the following SQL : CREATE TABLE table_237036_2 (_extended_and_main_profiles VARCHAR, baseline INTEGER, level VARCHAR)
SELECT MIN(baseline), _extended_and_main_profiles FROM table_237036_2 WHERE level = "1.3"
Write a SQL query that answers the following question: What level has 11880 macroblocks and high 10 profile is 6000?
The relevant table was constructed using the following SQL : CREATE TABLE table_237036_2 (level VARCHAR, macroblocks_s VARCHAR, high_10_profile VARCHAR)
SELECT level FROM table_237036_2 WHERE macroblocks_s = 11880 AND high_10_profile = 6000
Write a SQL query that answers the following question: What are the luma samples at level 1.3?
The relevant table was constructed using the following SQL : CREATE TABLE table_237036_2 (luma_samples_s VARCHAR, level VARCHAR)
SELECT luma_samples_s FROM table_237036_2 WHERE level = "1.3"
Write a SQL query that answers the following question: What is the high 10 profile when high profile is 160?
The relevant table was constructed using the following SQL : CREATE TABLE table_237036_2 (high_10_profile VARCHAR, high_profile VARCHAR)
SELECT high_10_profile FROM table_237036_2 WHERE high_profile = 160
Write a SQL query that answers the following question: What is the original air date if the ratings is 1.92 million?
The relevant table was constructed using the following SQL : CREATE TABLE table_23705843_1 (original_air_date VARCHAR, ratings__millions_ VARCHAR)
SELECT original_air_date FROM table_23705843_1 WHERE ratings__millions_ = "1.92"
Write a SQL query that answers the following question: What is the name of the writer when the ratings was 2.61 million?
The relevant table was constructed using the following SQL : CREATE TABLE table_23705843_1 (writer VARCHAR, ratings__millions_ VARCHAR)
SELECT writer FROM table_23705843_1 WHERE ratings__millions_ = "2.61"
Write a SQL query that answers the following question: Who directed the episode written by Tony O'Grady (pseudonym of brian clemens)?
The relevant table was constructed using the following SQL : CREATE TABLE table_2370579_1 (directed_by VARCHAR, written_by VARCHAR)
SELECT directed_by FROM table_2370579_1 WHERE written_by = "Tony O'Grady (pseudonym of Brian Clemens)"
Write a SQL query that answers the following question: What is the production number for episode 23?
The relevant table was constructed using the following SQL : CREATE TABLE table_2370579_1 (prod__number INTEGER, episode__number VARCHAR)
SELECT MIN(prod__number) FROM table_2370579_1 WHERE episode__number = 23
Write a SQL query that answers the following question: What is the colloquial translation of (s)he will sing?
The relevant table was constructed using the following SQL : CREATE TABLE table_23710609_2 (romanian__colloquial_ VARCHAR, english VARCHAR)
SELECT romanian__colloquial_ FROM table_23710609_2 WHERE english = "(s)he will sing"
Write a SQL query that answers the following question: What was the date of the game played in El Paso, Texas?
The relevant table was constructed using the following SQL : CREATE TABLE table_23718905_6 (date VARCHAR, city VARCHAR)
SELECT date FROM table_23718905_6 WHERE city = "El Paso, Texas"
Write a SQL query that answers the following question: How many different matchup/results appear in San Diego, California?
The relevant table was constructed using the following SQL : CREATE TABLE table_23718905_6 (matchup_results VARCHAR, city VARCHAR)
SELECT COUNT(matchup_results) FROM table_23718905_6 WHERE city = "San Diego, California"
Write a SQL query that answers the following question: How many different items appear in the television column when the results where Iowa State 14, Minnesota 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_23718905_6 (television VARCHAR, matchup_results VARCHAR)
SELECT COUNT(television) FROM table_23718905_6 WHERE matchup_results = "Iowa State 14, Minnesota 13"
Write a SQL query that answers the following question: How many different items appear in he attendance column at Sun Devil Stadium?
The relevant table was constructed using the following SQL : CREATE TABLE table_23718905_6 (attendance VARCHAR, stadium VARCHAR)
SELECT COUNT(attendance) FROM table_23718905_6 WHERE stadium = "Sun Devil stadium"
Write a SQL query that answers the following question: In what bowl game was the result Oklahoma 31, Stanford 27?
The relevant table was constructed using the following SQL : CREATE TABLE table_23718905_6 (bowl_game VARCHAR, matchup_results VARCHAR)
SELECT bowl_game FROM table_23718905_6 WHERE matchup_results = "Oklahoma 31, Stanford 27"
Write a SQL query that answers the following question: What was the television that was dated December 28, 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_23718905_6 (television VARCHAR, date VARCHAR)
SELECT television FROM table_23718905_6 WHERE date = "December 28, 2009"
Write a SQL query that answers the following question: Which country has doosan infracore as then company name?
The relevant table was constructed using the following SQL : CREATE TABLE table_237199_1 (country VARCHAR, company_name VARCHAR)
SELECT country FROM table_237199_1 WHERE company_name = "Doosan Infracore"
Write a SQL query that answers the following question: How many north american brands have world headquarters in sagamihara?
The relevant table was constructed using the following SQL : CREATE TABLE table_237199_1 (north_american_brands VARCHAR, world_headquarters VARCHAR)
SELECT COUNT(north_american_brands) FROM table_237199_1 WHERE world_headquarters = "Sagamihara"
Write a SQL query that answers the following question: Which company name has headquarters in nagaokakyo, kyoto?
The relevant table was constructed using the following SQL : CREATE TABLE table_237199_1 (company_name VARCHAR, world_headquarters VARCHAR)
SELECT company_name FROM table_237199_1 WHERE world_headquarters = "Nagaokakyo, Kyoto"
Write a SQL query that answers the following question: what is the bore where the vehicle code is t214?
The relevant table was constructed using the following SQL : CREATE TABLE table_23722304_2 (bore__mm_ VARCHAR, vehicle_code VARCHAR)
SELECT bore__mm_ FROM table_23722304_2 WHERE vehicle_code = "T214"
Write a SQL query that answers the following question: what is the compression ratio whre the torque is 208?
The relevant table was constructed using the following SQL : CREATE TABLE table_23722304_2 (compression_ratio VARCHAR, torque__n_m_ VARCHAR)
SELECT compression_ratio FROM table_23722304_2 WHERE torque__n_m_ = 208
Write a SQL query that answers the following question: what is the vehicle code where the bore is 79.4?
The relevant table was constructed using the following SQL : CREATE TABLE table_23722304_2 (vehicle_code VARCHAR, bore__mm_ VARCHAR)
SELECT vehicle_code FROM table_23722304_2 WHERE bore__mm_ = "79.4"
Write a SQL query that answers the following question: what is the stroke where the vehicle code is t211?
The relevant table was constructed using the following SQL : CREATE TABLE table_23722304_2 (stroke__mm_ VARCHAR, vehicle_code VARCHAR)
SELECT stroke__mm_ FROM table_23722304_2 WHERE vehicle_code = "T211"
Write a SQL query that answers the following question: What was the rating/share for 18-49 for the episode that had 5.90 million viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_23730973_5 (rating VARCHAR, viewers__millions_ VARCHAR)
SELECT rating / SHARE(18 - 49) FROM table_23730973_5 WHERE viewers__millions_ = "5.90"
Write a SQL query that answers the following question: What was the title of episode 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_23730973_5 (episode VARCHAR, no VARCHAR)
SELECT episode FROM table_23730973_5 WHERE no = 3
Write a SQL query that answers the following question: What number episode had a rating of 4.7?
The relevant table was constructed using the following SQL : CREATE TABLE table_23730973_5 (no INTEGER, rating VARCHAR)
SELECT MIN(no) FROM table_23730973_5 WHERE rating = "4.7"
Write a SQL query that answers the following question: What was the rating for the episode that had 5.90 million viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_23730973_5 (rating VARCHAR, viewers__millions_ VARCHAR)
SELECT rating FROM table_23730973_5 WHERE viewers__millions_ = "5.90"
Write a SQL query that answers the following question: What number episode had a 4.2 rating?
The relevant table was constructed using the following SQL : CREATE TABLE table_23730973_5 (no INTEGER, rating VARCHAR)
SELECT MIN(no) FROM table_23730973_5 WHERE rating = "4.2"
Write a SQL query that answers the following question: What is the winning coach total number if the top team in regular season (points) is the Kansas City Spurs (110 points)?
The relevant table was constructed using the following SQL : CREATE TABLE table_237757_3 (winning_coach VARCHAR, top_team_in_regular_season__points_ VARCHAR)
SELECT COUNT(winning_coach) FROM table_237757_3 WHERE top_team_in_regular_season__points_ = "Kansas City Spurs (110 points)"
Write a SQL query that answers the following question: If the top team in regular season (points) is the New York Cosmos (200 points), what is the winner (number of titles)?
The relevant table was constructed using the following SQL : CREATE TABLE table_237757_3 (winner__number_of_titles_ VARCHAR, top_team_in_regular_season__points_ VARCHAR)
SELECT winner__number_of_titles_ FROM table_237757_3 WHERE top_team_in_regular_season__points_ = "New York Cosmos (200 points)"
Write a SQL query that answers the following question: If the runner-up is the Fort Lauderdale Strikers, what is the winner (number of titles)?
The relevant table was constructed using the following SQL : CREATE TABLE table_237757_3 (winner__number_of_titles_ VARCHAR, runners_up VARCHAR)
SELECT winner__number_of_titles_ FROM table_237757_3 WHERE runners_up = "Fort Lauderdale Strikers"
Write a SQL query that answers the following question: How many figures for Other in the district where the GN division is 95?
The relevant table was constructed using the following SQL : CREATE TABLE table_23777640_1 (other VARCHAR, gn_divisions VARCHAR)
SELECT COUNT(other) FROM table_23777640_1 WHERE gn_divisions = 95
Write a SQL query that answers the following question: What was the market share of the operator whose technology is CDMA EVDO GSM EDGE HSPA+?
The relevant table was constructed using the following SQL : CREATE TABLE table_23801721_1 (market_share VARCHAR, technology VARCHAR)
SELECT market_share FROM table_23801721_1 WHERE technology = "CDMA EVDO GSM EDGE HSPA+"
Write a SQL query that answers the following question: What was the rank of operator whose technology is CDMA EVDO?
The relevant table was constructed using the following SQL : CREATE TABLE table_23801721_1 (rank INTEGER, technology VARCHAR)
SELECT MIN(rank) FROM table_23801721_1 WHERE technology = "CDMA EVDO"
Write a SQL query that answers the following question: What was the production code for the episode directed by Michael Morris?
The relevant table was constructed using the following SQL : CREATE TABLE table_23793770_1 (production_code INTEGER, directed_by VARCHAR)
SELECT MIN(production_code) FROM table_23793770_1 WHERE directed_by = "Michael Morris"
Write a SQL query that answers the following question: What is the title the episode directed by Allison Liddi-Brown?
The relevant table was constructed using the following SQL : CREATE TABLE table_23793770_1 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_23793770_1 WHERE directed_by = "Allison Liddi-Brown"
Write a SQL query that answers the following question: What the production code for the episode with 16.10 U.S. viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_23793770_1 (production_code INTEGER, us_viewers__millions_ VARCHAR)
SELECT MAX(production_code) FROM table_23793770_1 WHERE us_viewers__millions_ = "16.10"