instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What listing for Podiums has 0 F/laps and 39 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (podiums VARCHAR, f_laps VARCHAR, points VARCHAR)
SELECT podiums FROM table_name_38 WHERE f_laps = "0" AND points = "39"
Write a SQL query that answers the following question: Which Loss has a Record of 20–16–9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_75 WHERE record = "20–16–9"
Write a SQL query that answers the following question: Which Date has a Record of 19–16–8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_43 WHERE record = "19–16–8"
Write a SQL query that answers the following question: Can you tell me the Time that has the Lane of 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (time VARCHAR, lane VARCHAR)
SELECT time FROM table_name_35 WHERE lane = 8
Write a SQL query that answers the following question: Can you tell me the Total number of Rankthat has the Lane of 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (rank VARCHAR, lane VARCHAR)
SELECT COUNT(rank) FROM table_name_67 WHERE lane = 4
Write a SQL query that answers the following question: Can you tell me the lowest Rank that has the Nationality of australia, and the Name of leisel jones, and the Lane larger than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (rank INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR)
SELECT MIN(rank) FROM table_name_49 WHERE nationality = "australia" AND name = "leisel jones" AND lane > 4
Write a SQL query that answers the following question: Can you tell me the Name that has the Rank of 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (name VARCHAR, rank VARCHAR)
SELECT name FROM table_name_10 WHERE rank = 4
Write a SQL query that answers the following question: What is the highest Against for a game against Bristol City?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (against INTEGER, opposing_team VARCHAR)
SELECT MAX(against) FROM table_name_7 WHERE opposing_team = "bristol city"
Write a SQL query that answers the following question: What was the date of the game against Oxford United?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (date VARCHAR, opposing_team VARCHAR)
SELECT date FROM table_name_87 WHERE opposing_team = "oxford united"
Write a SQL query that answers the following question: What country is ranked number 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (country VARCHAR, rank VARCHAR)
SELECT country FROM table_name_41 WHERE rank = 4
Write a SQL query that answers the following question: What are the notes from the rank of 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (notes VARCHAR, rank VARCHAR)
SELECT notes FROM table_name_47 WHERE rank = 1
Write a SQL query that answers the following question: What rowers have FA as the notes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (rowers VARCHAR, notes VARCHAR)
SELECT rowers FROM table_name_41 WHERE notes = "fa"
Write a SQL query that answers the following question: What is the lowest rank has 7:09.06 as the time?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (rank INTEGER, time VARCHAR)
SELECT MIN(rank) FROM table_name_81 WHERE time = "7:09.06"
Write a SQL query that answers the following question: What notes have 2 as the rank?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (notes VARCHAR, rank VARCHAR)
SELECT notes FROM table_name_62 WHERE rank = 2
Write a SQL query that answers the following question: What was the match that happened in Bishop's Stortford?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (match VARCHAR, opponent VARCHAR)
SELECT match FROM table_name_91 WHERE opponent = "bishop's stortford"
Write a SQL query that answers the following question: What was the final score for the Thurrock?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (score1 VARCHAR, opponent VARCHAR)
SELECT score1 FROM table_name_99 WHERE opponent = "thurrock"
Write a SQL query that answers the following question: Which IHSAA class has a mascot of the Raiders?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (ihsaa_class VARCHAR, mascot VARCHAR)
SELECT ihsaa_class FROM table_name_80 WHERE mascot = "raiders"
Write a SQL query that answers the following question: Which school has a mascot of the Panthers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (school VARCHAR, mascot VARCHAR)
SELECT school FROM table_name_25 WHERE mascot = "panthers"
Write a SQL query that answers the following question: What's Italy's time when the notes were SA/B?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (time VARCHAR, notes VARCHAR, country VARCHAR)
SELECT time FROM table_name_96 WHERE notes = "sa/b" AND country = "italy"
Write a SQL query that answers the following question: What is Italy's rank?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (rank VARCHAR, country VARCHAR)
SELECT rank FROM table_name_15 WHERE country = "italy"
Write a SQL query that answers the following question: How many appearances did the player for the Rayo Vallecano club that scored more than 37 goals make?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (appearances VARCHAR, club VARCHAR, goals VARCHAR)
SELECT COUNT(appearances) FROM table_name_15 WHERE club = "rayo vallecano" AND goals > 37
Write a SQL query that answers the following question: Who's the player that was eliminated on episode 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (player VARCHAR, eliminated VARCHAR)
SELECT player FROM table_name_32 WHERE eliminated = "episode 4"
Write a SQL query that answers the following question: Who is the player in 20th place?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (player VARCHAR, placing VARCHAR)
SELECT player FROM table_name_65 WHERE placing = "20th place"
Write a SQL query that answers the following question: What's the original season in 11th place?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (original_season VARCHAR, placing VARCHAR)
SELECT original_season FROM table_name_15 WHERE placing = "11th place"
Write a SQL query that answers the following question: Who's the player eliminated on episode 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (player VARCHAR, eliminated VARCHAR)
SELECT player FROM table_name_50 WHERE eliminated = "episode 5"
Write a SQL query that answers the following question: Who's the player that's male and on the original season of RW: Key West?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (player VARCHAR, gender VARCHAR, original_season VARCHAR)
SELECT player FROM table_name_36 WHERE gender = "male" AND original_season = "rw: key west"
Write a SQL query that answers the following question: Who's the player eliminated on episode 8 of Fresh Meat?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (player VARCHAR, original_season VARCHAR, eliminated VARCHAR)
SELECT player FROM table_name_59 WHERE original_season = "fresh meat" AND eliminated = "episode 8"
Write a SQL query that answers the following question: The boat named Agamemnon has what status?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (status VARCHAR, name VARCHAR)
SELECT status FROM table_name_94 WHERE name = "agamemnon"
Write a SQL query that answers the following question: What status does the boat Ajax have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (status VARCHAR, name VARCHAR)
SELECT status FROM table_name_54 WHERE name = "ajax"
Write a SQL query that answers the following question: What is the average upper index MJ/Nm 3 for the upper index Kcal/Nm 3 entry of 19,376?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (upper_index_mj__nm_3 INTEGER, upper_index_kcal__nm_3 VARCHAR)
SELECT AVG(upper_index_mj__nm_3) FROM table_name_70 WHERE upper_index_kcal__nm_3 = 19 OFFSET 376
Write a SQL query that answers the following question: What is the Upper index Kcal/ Nm 3 of iso-butane, and a Lower index MJ/ Nm 3 smaller than 84.71?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (upper_index_kcal__nm_3 VARCHAR, fuel_gas VARCHAR, lower_index_mj__nm_3 VARCHAR)
SELECT COUNT(upper_index_kcal__nm_3) FROM table_name_59 WHERE fuel_gas = "iso-butane" AND lower_index_mj__nm_3 < 84.71
Write a SQL query that answers the following question: What is the Lower index Kcal/ Nm 3 entry, for the row with entries of an Upper index Kcal/ Nm 3 smaller than 19,376, and a Lower index MJ/ Nm 3 of 74.54?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (lower_index_kcal__nm_3 INTEGER, lower_index_mj__nm_3 VARCHAR, upper_index_kcal__nm_3 VARCHAR)
SELECT AVG(lower_index_kcal__nm_3) FROM table_name_5 WHERE lower_index_mj__nm_3 = 74.54 AND upper_index_kcal__nm_3 < 19 OFFSET 376
Write a SQL query that answers the following question: What is the entry for Upper index Kcal/ Nm 3 for the row with an entry that has a Lower index MJ/ Nm 3 of 47.91, and an Upper index MJ/ Nm 3 larger than 53.28?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (upper_index_kcal__nm_3 INTEGER, lower_index_mj__nm_3 VARCHAR, upper_index_mj__nm_3 VARCHAR)
SELECT SUM(upper_index_kcal__nm_3) FROM table_name_93 WHERE lower_index_mj__nm_3 = 47.91 AND upper_index_mj__nm_3 > 53.28
Write a SQL query that answers the following question: What is the entry for Upper index Kcal/ Nm 3 for the row with an entry that has a Lower index MJ/ Nm 3 larger than 47.91, for propylene, and an Upper index MJ/ Nm 3 larger than 77.04?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (upper_index_kcal__nm_3 INTEGER, upper_index_mj__nm_3 VARCHAR, lower_index_mj__nm_3 VARCHAR, fuel_gas VARCHAR)
SELECT SUM(upper_index_kcal__nm_3) FROM table_name_1 WHERE lower_index_mj__nm_3 > 47.91 AND fuel_gas = "propylene" AND upper_index_mj__nm_3 > 77.04
Write a SQL query that answers the following question: What match number has a ground of H and the opponent Chelsea under 18s?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (match INTEGER, ground VARCHAR, opponent VARCHAR)
SELECT AVG(match) FROM table_name_37 WHERE ground = "h" AND opponent = "chelsea under 18s"
Write a SQL query that answers the following question: On what date is there a match lower than 14 with a ground of H and the opponent Aston Villa under 18s?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (date VARCHAR, opponent VARCHAR, match VARCHAR, ground VARCHAR)
SELECT date FROM table_name_11 WHERE match < 14 AND ground = "h" AND opponent = "aston villa under 18s"
Write a SQL query that answers the following question: On what date is there a score1 of 2 - 4 with the opponent Chelsea under 18s?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (date VARCHAR, score1 VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_69 WHERE score1 = "2 - 4" AND opponent = "chelsea under 18s"
Write a SQL query that answers the following question: What is the ticket price at Canadian National Exhibition Stadium?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (ticket_price_s_ VARCHAR, venue VARCHAR)
SELECT ticket_price_s_ FROM table_name_7 WHERE venue = "canadian national exhibition stadium"
Write a SQL query that answers the following question: What was the ticket price at Red Rocks Amphitheatre?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (ticket_price_s_ VARCHAR, venue VARCHAR)
SELECT ticket_price_s_ FROM table_name_96 WHERE venue = "red rocks amphitheatre"
Write a SQL query that answers the following question: What was the ticket price on September 16, 1986?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (ticket_price_s_ VARCHAR, date_s_ VARCHAR)
SELECT ticket_price_s_ FROM table_name_56 WHERE date_s_ = "september 16, 1986"
Write a SQL query that answers the following question: Who was the opposition for the player who has a total of 10 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (opposition VARCHAR, total VARCHAR)
SELECT opposition FROM table_name_72 WHERE total = 10
Write a SQL query that answers the following question: Which player is from County Dublin?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (player VARCHAR, county VARCHAR)
SELECT player FROM table_name_89 WHERE county = "dublin"
Write a SQL query that answers the following question: What is the average 2006 metropolitan population of Lima with a GDP per capita over $13,100?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (metropolitan_population__2006__millions INTEGER, metropolitan_area VARCHAR, gdp__ppp__us$_per_capita VARCHAR)
SELECT AVG(metropolitan_population__2006__millions) FROM table_name_38 WHERE metropolitan_area = "lima" AND gdp__ppp__us$_per_capita > 13 OFFSET 100
Write a SQL query that answers the following question: Who placed highest with a time of 1:47.70?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (rank INTEGER, time VARCHAR)
SELECT MIN(rank) FROM table_name_22 WHERE time = "1:47.70"
Write a SQL query that answers the following question: Which Prominence (m) has an Elevation (m) of 3,095?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (prominence__m_ INTEGER, elevation__m_ VARCHAR)
SELECT MIN(prominence__m_) FROM table_name_67 WHERE elevation__m_ = 3 OFFSET 095
Write a SQL query that answers the following question: How long did Witold Latoszek character lasted?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (duration VARCHAR, character VARCHAR)
SELECT duration FROM table_name_53 WHERE character = "witold latoszek"
Write a SQL query that answers the following question: Which episode was the last written by chris hawkshaw this season?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (no_in_season INTEGER, written_by VARCHAR)
SELECT MAX(no_in_season) FROM table_name_72 WHERE written_by = "chris hawkshaw"
Write a SQL query that answers the following question: What is the greatest 2007 when the change 06-07 was 14.7%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (change_06_07 VARCHAR)
SELECT MAX(2007) FROM table_name_61 WHERE change_06_07 = "14.7%"
Write a SQL query that answers the following question: when was the ship completed when laid down is 21 august 1925?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (completed VARCHAR, laid_down VARCHAR)
SELECT completed FROM table_name_32 WHERE laid_down = "21 august 1925"
Write a SQL query that answers the following question: When was satsuki dd-27 completed?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (completed VARCHAR, name VARCHAR)
SELECT completed FROM table_name_25 WHERE name = "satsuki dd-27"
Write a SQL query that answers the following question: when was the ship launched when it was laid down 20 october 1924 and built by fujinagata shipyards, japan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (launched VARCHAR, builder VARCHAR, laid_down VARCHAR)
SELECT launched FROM table_name_36 WHERE builder = "fujinagata shipyards, japan" AND laid_down = "20 october 1924"
Write a SQL query that answers the following question: when was the ship completed that was laid down on 23 march 1926?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (completed VARCHAR, laid_down VARCHAR)
SELECT completed FROM table_name_31 WHERE laid_down = "23 march 1926"
Write a SQL query that answers the following question: when was the ship laid down when it was completed on 3 july 1926?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (laid_down VARCHAR, completed VARCHAR)
SELECT laid_down FROM table_name_43 WHERE completed = "3 july 1926"
Write a SQL query that answers the following question: What was the score of the game at the Chicago Stadium?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (score VARCHAR, location_attendance VARCHAR)
SELECT score FROM table_name_38 WHERE location_attendance = "chicago stadium"
Write a SQL query that answers the following question: What was the date of the game when the record was 46-31?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_9 WHERE record = "46-31"
Write a SQL query that answers the following question: What was the score of the game at the Chicago Stadium?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (score VARCHAR, location_attendance VARCHAR)
SELECT score FROM table_name_67 WHERE location_attendance = "chicago stadium"
Write a SQL query that answers the following question: What is the Rank of the Swimmer in Lane 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (rank INTEGER, lane VARCHAR)
SELECT AVG(rank) FROM table_name_16 WHERE lane = 5
Write a SQL query that answers the following question: What is the Rank of the swimmer with a Time of 49 in Lane 7 or larger?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (rank VARCHAR, time VARCHAR, lane VARCHAR)
SELECT COUNT(rank) FROM table_name_41 WHERE time = 49 AND lane > 7
Write a SQL query that answers the following question: What is the Lane of the swimmer with a Rank of 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (lane INTEGER, rank VARCHAR)
SELECT MAX(lane) FROM table_name_24 WHERE rank = 8
Write a SQL query that answers the following question: What Level has a Season larger than 2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (level VARCHAR, season INTEGER)
SELECT level FROM table_name_54 WHERE season > 2010
Write a SQL query that answers the following question: What Adminstration has a Season of 2000?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (administration VARCHAR, season VARCHAR)
SELECT administration FROM table_name_56 WHERE season = 2000
Write a SQL query that answers the following question: What Position has a Season larger than 2000 with a Level of Tier 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (position VARCHAR, season VARCHAR, level VARCHAR)
SELECT position FROM table_name_21 WHERE season > 2000 AND level = "tier 3"
Write a SQL query that answers the following question: What Position has a Level of tier 4 with a Season smaller than 2003?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (position VARCHAR, level VARCHAR, season VARCHAR)
SELECT position FROM table_name_85 WHERE level = "tier 4" AND season < 2003
Write a SQL query that answers the following question: Who had the most rebounds in the game against New York?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (high_rebounds VARCHAR, opponent VARCHAR)
SELECT high_rebounds FROM table_name_74 WHERE opponent = "new york"
Write a SQL query that answers the following question: Who was the opponent for game 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (opponent VARCHAR, game VARCHAR)
SELECT opponent FROM table_name_10 WHERE game = 30
Write a SQL query that answers the following question: Who had the most rebounds in the game at the Mohegan Sun Arena that led to a 24-7 record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (high_rebounds VARCHAR, location VARCHAR, record VARCHAR)
SELECT high_rebounds FROM table_name_75 WHERE location = "mohegan sun arena" AND record = "24-7"
Write a SQL query that answers the following question: How many people attended the September 21, 1980 game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_22 WHERE date = "september 21, 1980"
Write a SQL query that answers the following question: Which Total has a Date of 1602, and Greater Doubles smaller than 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (total INTEGER, date VARCHAR, greater_doubles VARCHAR)
SELECT MAX(total) FROM table_name_72 WHERE date = 1602 AND greater_doubles < 16
Write a SQL query that answers the following question: What is the value of the size (steps) that has just ratio 10:9 and a size (cents) more than 160
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (size__steps_ VARCHAR, just_ratio VARCHAR, size__cents_ VARCHAR)
SELECT COUNT(size__steps_) FROM table_name_26 WHERE just_ratio = "10:9" AND size__cents_ > 160
Write a SQL query that answers the following question: what is the value of the audio with a just ratio 21:20
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (audio VARCHAR, just_ratio VARCHAR)
SELECT audio FROM table_name_28 WHERE just_ratio = "21:20"
Write a SQL query that answers the following question: What is the error that has a size (steps) more than 5 and a just (cents) value 536.95
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (error VARCHAR, size__steps_ VARCHAR, just__cents_ VARCHAR)
SELECT error FROM table_name_65 WHERE size__steps_ > 5 AND just__cents_ = 536.95
Write a SQL query that answers the following question: What is the average size (cents) with an interval of major third and size (steps) more than 5
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (size__cents_ INTEGER, interval_name VARCHAR, size__steps_ VARCHAR)
SELECT AVG(size__cents_) FROM table_name_33 WHERE interval_name = "major third" AND size__steps_ > 5
Write a SQL query that answers the following question: What is the average number of points for places over 7 and having a draw order of 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (points INTEGER, place VARCHAR, draw VARCHAR)
SELECT AVG(points) FROM table_name_49 WHERE place > 7 AND draw = 4
Write a SQL query that answers the following question: How many league goals did the player with 10 league apps and 0 FA cup goals have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (league_goals VARCHAR, fa_cup_goals VARCHAR, league_apps VARCHAR)
SELECT COUNT(league_goals) FROM table_name_93 WHERE fa_cup_goals = 0 AND league_apps = "10"
Write a SQL query that answers the following question: What was the sum of league goals where the toal was 8 and league cup goals were larger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (league_goals INTEGER, total_goals VARCHAR, league_cup_goals VARCHAR)
SELECT SUM(league_goals) FROM table_name_80 WHERE total_goals = 8 AND league_cup_goals > 0
Write a SQL query that answers the following question: For the Japanese title サプリ that had 11 episodes, what is the average ratings?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (average_ratings VARCHAR, episodes VARCHAR, japanese_title VARCHAR)
SELECT average_ratings FROM table_name_92 WHERE episodes = 11 AND japanese_title = "サプリ"
Write a SQL query that answers the following question: When the average ratings is 10.3%, what is the average episodes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (episodes INTEGER, average_ratings VARCHAR)
SELECT AVG(episodes) FROM table_name_32 WHERE average_ratings = "10.3%"
Write a SQL query that answers the following question: What is the fewest episodes with the Romaji title Regatta~Kimi to Ita Eien~?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (episodes INTEGER, romaji_title VARCHAR)
SELECT MIN(episodes) FROM table_name_40 WHERE romaji_title = "regatta~kimi to ita eien~"
Write a SQL query that answers the following question: With the Romaji title of Hanayome Wa Yakudoshi!, what is the Japanese title?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (japanese_title VARCHAR, romaji_title VARCHAR)
SELECT japanese_title FROM table_name_34 WHERE romaji_title = "hanayome wa yakudoshi!"
Write a SQL query that answers the following question: For what Japanese title is there less than 11 episodes and the Romaji title is Regatta~Kimi to Ita Eien~?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (japanese_title VARCHAR, episodes VARCHAR, romaji_title VARCHAR)
SELECT japanese_title FROM table_name_89 WHERE episodes < 11 AND romaji_title = "regatta~kimi to ita eien~"
Write a SQL query that answers the following question: what is the most episodes when the average ratings is 18.8%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (episodes INTEGER, average_ratings VARCHAR)
SELECT MAX(episodes) FROM table_name_52 WHERE average_ratings = "18.8%"
Write a SQL query that answers the following question: How many episodes when the tv station is ntv and the japanese title is たったひとつの恋?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (episodes VARCHAR, tv_station VARCHAR, japanese_title VARCHAR)
SELECT episodes FROM table_name_47 WHERE tv_station = "ntv" AND japanese_title = "たったひとつの恋"
Write a SQL query that answers the following question: what is the tv station when the romaji title is kazoku~tsuma no fuzai・otto no sonzai~?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (tv_station VARCHAR, romaji_title VARCHAR)
SELECT tv_station FROM table_name_17 WHERE romaji_title = "kazoku~tsuma no fuzai・otto no sonzai~"
Write a SQL query that answers the following question: what is the tv station when the average ratings is 19.5%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (tv_station VARCHAR, average_ratings VARCHAR)
SELECT tv_station FROM table_name_36 WHERE average_ratings = "19.5%"
Write a SQL query that answers the following question: Of all the schools that left before 2003, what is the average year joined?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (year_joined INTEGER, year_left INTEGER)
SELECT AVG(year_joined) FROM table_name_22 WHERE year_left < 2003
Write a SQL query that answers the following question: What year did the Ingots, who left after 2007, join?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (year_joined VARCHAR, mascot VARCHAR, year_left VARCHAR)
SELECT COUNT(year_joined) FROM table_name_48 WHERE mascot = "ingots" AND year_left > 2007
Write a SQL query that answers the following question: What is the original Release date of the Track written by Dallas Frazier?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (original_release VARCHAR, writer_s_ VARCHAR)
SELECT original_release FROM table_name_27 WHERE writer_s_ = "dallas frazier"
Write a SQL query that answers the following question: What is the Original Artis of the Track with a Length of 2:38?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (original_artist VARCHAR, length VARCHAR)
SELECT original_artist FROM table_name_64 WHERE length = "2:38"
Write a SQL query that answers the following question: What Song has a Length of 2:50?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (song_title VARCHAR, length VARCHAR)
SELECT song_title FROM table_name_7 WHERE length = "2:50"
Write a SQL query that answers the following question: What's the title when the genre is drama and network of KBS2 happening before 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (title VARCHAR, genre VARCHAR, year VARCHAR, network VARCHAR)
SELECT title FROM table_name_4 WHERE year < 2011 AND network = "kbs2" AND genre = "drama"
Write a SQL query that answers the following question: What's the title when the genre is drama with a network of KBS2 happening in 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (title VARCHAR, year VARCHAR, genre VARCHAR, network VARCHAR)
SELECT title FROM table_name_31 WHERE genre = "drama" AND network = "kbs2" AND year = 2011
Write a SQL query that answers the following question: What's the network in 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (network VARCHAR, year VARCHAR)
SELECT network FROM table_name_25 WHERE year = 2011
Write a SQL query that answers the following question: What's the Hangul/Japanese that happened before 2014 having a role of Baek Seung-Jo?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (hangul___japanese VARCHAR, year VARCHAR, role VARCHAR)
SELECT hangul___japanese FROM table_name_55 WHERE year < 2014 AND role = "baek seung-jo"
Write a SQL query that answers the following question: What's the Hangul/Japanese of Boys Over Flowers that's drama?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (hangul___japanese VARCHAR, genre VARCHAR, title VARCHAR)
SELECT hangul___japanese FROM table_name_80 WHERE genre = "drama" AND title = "boys over flowers"
Write a SQL query that answers the following question: What is the IHSAA class in monon?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (ihsaa_class VARCHAR, location VARCHAR)
SELECT ihsaa_class FROM table_name_56 WHERE location = "monon"
Write a SQL query that answers the following question: What is the IHSAA class with 395 in enrollment?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (ihsaa_class VARCHAR, enrollment VARCHAR)
SELECT ihsaa_class FROM table_name_69 WHERE enrollment = 395
Write a SQL query that answers the following question: What school has rebels as their mascot?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (school VARCHAR, mascot VARCHAR)
SELECT school FROM table_name_8 WHERE mascot = "rebels"
Write a SQL query that answers the following question: What is the total enrollment of the aa IHSAA class?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (enrollment VARCHAR, ihsaa_class VARCHAR)
SELECT COUNT(enrollment) FROM table_name_61 WHERE ihsaa_class = "aa"
Write a SQL query that answers the following question: What is the lowest enrollment at the pioneer school?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (enrollment INTEGER, school VARCHAR)
SELECT MIN(enrollment) FROM table_name_39 WHERE school = "pioneer"
Write a SQL query that answers the following question: What is the average enrollment of the IHSAA A class in wolcott?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (enrollment INTEGER, ihsaa_class VARCHAR, location VARCHAR)
SELECT AVG(enrollment) FROM table_name_34 WHERE ihsaa_class = "a" AND location = "wolcott"