training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_86 (murder_and_non_negligent_manslaughter INTEGER, larceny_theft VARCHAR, burglary VARCHAR) ###human: What is the total rate of murder and non-negligent manslaughter when larceny-theft is 3,693.9 and burglary is more than 1,027.0? ###assistant: SELECT SUM(murder_and_non_negligent_manslaughter) FROM table_name_86 WHERE larceny_theft = "3,693.9" AND burglary > 1 OFFSET 027.0
###context:CREATE TABLE table_name_80 (name VARCHAR, district VARCHAR) ###human: What is the name for district total:? ###assistant: SELECT name FROM table_name_80 WHERE district = "total:"
###context:CREATE TABLE table_name_6 (number_of_electorates__2009_ INTEGER, name VARCHAR) ###human: What is the electorates in 2009 for Modi Nagar? ###assistant: SELECT AVG(number_of_electorates__2009_) FROM table_name_6 WHERE name = "modi nagar"
###context:CREATE TABLE table_name_53 (opponent VARCHAR, match_day VARCHAR, date VARCHAR) ###human: Who was the opponent on 12 May, when the match day was more than 33? ###assistant: SELECT opponent FROM table_name_53 WHERE match_day > 33 AND date = "12 may"
###context:CREATE TABLE table_name_6 (issue_date INTEGER, highest_position VARCHAR) ###human: What is the largest issue date for an album that reached position of 3? ###assistant: SELECT MAX(issue_date) FROM table_name_6 WHERE highest_position = 3
###context:CREATE TABLE table_name_66 (record VARCHAR, date VARCHAR) ###human: What is the record on March 16? ###assistant: SELECT record FROM table_name_66 WHERE date = "march 16"
###context:CREATE TABLE table_name_51 (score VARCHAR, date VARCHAR) ###human: What was the score on January 23? ###assistant: SELECT score FROM table_name_51 WHERE date = "january 23"
###context:CREATE TABLE table_name_17 (to_par VARCHAR, total VARCHAR) ###human: How many strokes off par was the player who scored 157? ###assistant: SELECT COUNT(to_par) FROM table_name_17 WHERE total = 157
###context:CREATE TABLE table_name_96 (to_par INTEGER, year_s__won VARCHAR, total VARCHAR) ###human: Which player who won in 1977 and scored great than 155 was the closest to par? ###assistant: SELECT MAX(to_par) FROM table_name_96 WHERE year_s__won = "1977" AND total > 155
###context:CREATE TABLE table_name_88 (country VARCHAR, to_par VARCHAR) ###human: What country was the player who was 11 off par from? ###assistant: SELECT country FROM table_name_88 WHERE to_par = 11
###context:CREATE TABLE table_name_90 (home_team VARCHAR, tie_no VARCHAR) ###human: What was the Home team in Tie no 16? ###assistant: SELECT home_team FROM table_name_90 WHERE tie_no = "16"
###context:CREATE TABLE table_name_61 (date VARCHAR, tie_no VARCHAR) ###human: What is the Date of Tie no 9? ###assistant: SELECT date FROM table_name_61 WHERE tie_no = "9"
###context:CREATE TABLE table_name_4 (score VARCHAR, tie_no VARCHAR) ###human: What is the Score in Tie 2? ###assistant: SELECT score FROM table_name_4 WHERE tie_no = "2"
###context:CREATE TABLE table_name_98 (tie_no VARCHAR, home_team VARCHAR) ###human: What is the Tie no when Scarborough is the Home team? ###assistant: SELECT tie_no FROM table_name_98 WHERE home_team = "scarborough"
###context:CREATE TABLE table_name_75 (tie_no VARCHAR, score VARCHAR, away_team VARCHAR) ###human: What is the Tie no when Swansea City is the Away team with a Score of 2–2? ###assistant: SELECT tie_no FROM table_name_75 WHERE score = "2–2" AND away_team = "swansea city"
###context:CREATE TABLE table_name_50 (name VARCHAR, constituency_number VARCHAR) ###human: What is the name of constituency 5? ###assistant: SELECT name FROM table_name_50 WHERE constituency_number = "5"
###context:CREATE TABLE table_name_16 (label VARCHAR, date_of_release VARCHAR) ###human: What label is released on September 20, 2005? ###assistant: SELECT label FROM table_name_16 WHERE date_of_release = "september 20, 2005"
###context:CREATE TABLE table_name_13 (total INTEGER, all_around VARCHAR, rope VARCHAR) ###human: What is the lowest total with an all around of 10 and a rope higher than 10? ###assistant: SELECT MIN(total) FROM table_name_13 WHERE all_around = 10 AND rope > 10
###context:CREATE TABLE table_name_56 (total INTEGER, name VARCHAR, place VARCHAR) ###human: What is Bianka Panova's highest total with lower than place 1? ###assistant: SELECT MAX(total) FROM table_name_56 WHERE name = "bianka panova" AND place < 1
###context:CREATE TABLE table_name_5 (place VARCHAR, rope VARCHAR, name VARCHAR) ###human: What is Milena Reljin's place with a smaller than 9.8 rope? ###assistant: SELECT place FROM table_name_5 WHERE rope < 9.8 AND name = "milena reljin"
###context:CREATE TABLE table_name_62 (game INTEGER, record VARCHAR) ###human: What is the highest game with a 24-23 record? ###assistant: SELECT MAX(game) FROM table_name_62 WHERE record = "24-23"
###context:CREATE TABLE table_name_32 (game INTEGER, record VARCHAR, hornets_score VARCHAR) ###human: What is the highest game with a 1-0 record, and the Hornets scored more than 100? ###assistant: SELECT MAX(game) FROM table_name_32 WHERE record = "1-0" AND hornets_score > 100
###context:CREATE TABLE table_name_63 (date_of_birth VARCHAR, name VARCHAR) ###human: When was Daniel Moro born? ###assistant: SELECT date_of_birth FROM table_name_63 WHERE name = "daniel moro"
###context:CREATE TABLE table_name_64 (score VARCHAR, money___$__ VARCHAR) ###human: What was the score for the player than won $450? ###assistant: SELECT score FROM table_name_64 WHERE money___$__ = 450
###context:CREATE TABLE table_name_21 (place VARCHAR, money___$__ VARCHAR) ###human: What place did the player that took won $350 finish in? ###assistant: SELECT place FROM table_name_21 WHERE money___$__ = 350
###context:CREATE TABLE table_name_53 (player VARCHAR, score VARCHAR) ###human: Which player had a score of 71-73-68-75=287? ###assistant: SELECT player FROM table_name_53 WHERE score = 71 - 73 - 68 - 75 = 287
###context:CREATE TABLE table_name_93 (year VARCHAR, name VARCHAR) ###human: What is Year, when Name is "Dong Shihou, 29 (董世侯)"? ###assistant: SELECT year FROM table_name_93 WHERE name = "dong shihou, 29 (董世侯)"
###context:CREATE TABLE table_name_23 (name VARCHAR, location VARCHAR) ###human: What is Name, when Location is "DZ"? ###assistant: SELECT name FROM table_name_23 WHERE location = "dz"
###context:CREATE TABLE table_name_98 (injured VARCHAR, date VARCHAR) ###human: What is Injured, when Date is "09.15 Sep. 15"? ###assistant: SELECT injured FROM table_name_98 WHERE date = "09.15 sep. 15"
###context:CREATE TABLE table_name_48 (date VARCHAR, name VARCHAR) ###human: What is Date, when Name is "Guay, Albert , 32"? ###assistant: SELECT date FROM table_name_48 WHERE name = "guay, albert , 32"
###context:CREATE TABLE table_name_7 (grid INTEGER, rider VARCHAR) ###human: What is the highest grid for rider Fonsi Nieto? ###assistant: SELECT MAX(grid) FROM table_name_7 WHERE rider = "fonsi nieto"
###context:CREATE TABLE table_name_2 (laps VARCHAR, time VARCHAR) ###human: What was the total number of Laps for the rider whose time was +7.951? ###assistant: SELECT COUNT(laps) FROM table_name_2 WHERE time = "+7.951"
###context:CREATE TABLE table_name_37 (laps INTEGER, rider VARCHAR, grid VARCHAR) ###human: What was the highest number of laps for rider Shuhei Aoyama in a grid higher than 24? ###assistant: SELECT MAX(laps) FROM table_name_37 WHERE rider = "shuhei aoyama" AND grid > 24
###context:CREATE TABLE table_name_75 (grid VARCHAR, bike VARCHAR, rider VARCHAR) ###human: What was the grid for rider Russell Holland, riding a Honda CBR1000rr? ###assistant: SELECT grid FROM table_name_75 WHERE bike = "honda cbr1000rr" AND rider = "russell holland"
###context:CREATE TABLE table_name_46 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR, grid VARCHAR) ###human: Who was the rider who went 14 laps on a Honda CBR1000rr, with a time of +1'04.877 on a grid larger than 23? ###assistant: SELECT rider FROM table_name_46 WHERE laps = 14 AND grid > 23 AND bike = "honda cbr1000rr" AND time = "+1'04.877"
###context:CREATE TABLE table_name_90 (year INTEGER, award VARCHAR, nominated_work VARCHAR) ###human: What is the earliest year with a Drama Desk award when the Mineola Twins was a nominated work? ###assistant: SELECT MIN(year) FROM table_name_90 WHERE award = "drama desk award" AND nominated_work = "the mineola twins"
###context:CREATE TABLE table_name_67 (nominated_work VARCHAR, category VARCHAR, year VARCHAR) ###human: Which nominated work is in the category of best performance by a leading actress in a play earlier than 2007? ###assistant: SELECT nominated_work FROM table_name_67 WHERE category = "best performance by a leading actress in a play" AND year < 2007
###context:CREATE TABLE table_name_54 (year INTEGER, award VARCHAR, nominated_work VARCHAR, category VARCHAR) ###human: What is the most recent year that the Mineola Twins was nominated for outstanding actress in a play and a Drama Desk award? ###assistant: SELECT MAX(year) FROM table_name_54 WHERE nominated_work = "the mineola twins" AND category = "outstanding actress in a play" AND award = "drama desk award"
###context:CREATE TABLE table_name_6 (result VARCHAR, award VARCHAR, year VARCHAR) ###human: What is the result for the Outer Critics Circle award earlier than 2004? ###assistant: SELECT result FROM table_name_6 WHERE award = "outer critics circle award" AND year < 2004
###context:CREATE TABLE table_name_62 (year INTEGER, nominated_work VARCHAR, category VARCHAR) ###human: In what year was The House of Blue Leaves nominated for outstanding actress in a play? ###assistant: SELECT SUM(year) FROM table_name_62 WHERE nominated_work = "the house of blue leaves" AND category = "outstanding actress in a play"
###context:CREATE TABLE table_name_75 (country VARCHAR, total INTEGER) ###human: Which Country has a Total smaller than 284? ###assistant: SELECT country FROM table_name_75 WHERE total < 284
###context:CREATE TABLE table_name_15 (to_par VARCHAR, year_s__won VARCHAR) ###human: Which To par has a Year(s) won of 1983? ###assistant: SELECT to_par FROM table_name_15 WHERE year_s__won = "1983"
###context:CREATE TABLE table_name_53 (total VARCHAR, player VARCHAR) ###human: How many Total has a Player of dave stockton? ###assistant: SELECT COUNT(total) FROM table_name_53 WHERE player = "dave stockton"
###context:CREATE TABLE table_name_73 (outcome VARCHAR, year VARCHAR, surface VARCHAR) ###human: What was the result in 1973 when the surface was clay? ###assistant: SELECT outcome FROM table_name_73 WHERE year = 1973 AND surface = "clay"
###context:CREATE TABLE table_name_25 (outcome VARCHAR, year VARCHAR) ###human: What was the outcome in 1975? ###assistant: SELECT outcome FROM table_name_25 WHERE year = 1975
###context:CREATE TABLE table_name_84 (opponents VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR) ###human: Who was Margaret Court's opponent on clay in 1975? ###assistant: SELECT opponents FROM table_name_84 WHERE surface = "clay" AND partner = "margaret court" AND year = 1975
###context:CREATE TABLE table_name_90 (against INTEGER, central_murray VARCHAR, wins VARCHAR) ###human: What is the number of against when Central Murray is Tooleybuc Manangatang and there are fewer than 13 wins? ###assistant: SELECT MAX(against) FROM table_name_90 WHERE central_murray = "tooleybuc manangatang" AND wins < 13
###context:CREATE TABLE table_name_84 (byes INTEGER, draws INTEGER) ###human: How many byes when the draws are fewer than 0? ###assistant: SELECT AVG(byes) FROM table_name_84 WHERE draws < 0
###context:CREATE TABLE table_name_27 (byes INTEGER, central_murray VARCHAR, losses VARCHAR) ###human: What is the byes for Woorineen when losses are more than 13? ###assistant: SELECT SUM(byes) FROM table_name_27 WHERE central_murray = "woorineen" AND losses > 13
###context:CREATE TABLE table_name_7 (wins INTEGER, losses VARCHAR, against VARCHAR) ###human: How many wins when there are 4 losses and against are fewer than 1281? ###assistant: SELECT AVG(wins) FROM table_name_7 WHERE losses = 4 AND against < 1281
###context:CREATE TABLE table_name_24 (against INTEGER, losses VARCHAR, wins VARCHAR) ###human: How many against when losses are 11 and wins are fewer than 5? ###assistant: SELECT AVG(against) FROM table_name_24 WHERE losses = 11 AND wins < 5
###context:CREATE TABLE table_name_67 (player VARCHAR, to_par VARCHAR, country VARCHAR) ###human: which Player has a To par of –7, and a Country of spain? ###assistant: SELECT player FROM table_name_67 WHERE to_par = "–7" AND country = "spain"
###context:CREATE TABLE table_name_40 (doctor VARCHAR, published VARCHAR) ###human: What doctor published on June 2003? ###assistant: SELECT doctor FROM table_name_40 WHERE published = "june 2003"
###context:CREATE TABLE table_name_99 (title VARCHAR, doctor VARCHAR, published VARCHAR) ###human: What title was published on November 2001 and has a 1st Doctor? ###assistant: SELECT title FROM table_name_99 WHERE doctor = "1st" AND published = "november 2001"
###context:CREATE TABLE table_name_74 (title VARCHAR, doctor VARCHAR, published VARCHAR) ###human: What is the title of the 8th doctor published in January 2003? ###assistant: SELECT title FROM table_name_74 WHERE doctor = "8th" AND published = "january 2003"
###context:CREATE TABLE table_name_7 (companion_s_ VARCHAR, author VARCHAR) ###human: What is the companion for the author Dave Stone? ###assistant: SELECT companion_s_ FROM table_name_7 WHERE author = "dave stone"
###context:CREATE TABLE table_name_29 (player VARCHAR, year_s__won VARCHAR) ###human: What Player won the PGA in 1989? ###assistant: SELECT player FROM table_name_29 WHERE year_s__won = "1989"
###context:CREATE TABLE table_name_42 (player VARCHAR, country VARCHAR) ###human: Which player is from Northern Ireland? ###assistant: SELECT player FROM table_name_42 WHERE country = "northern ireland"
###context:CREATE TABLE table_name_43 (player VARCHAR, score VARCHAR) ###human: What player has a score of 69-68-68=205? ###assistant: SELECT player FROM table_name_43 WHERE score = 69 - 68 - 68 = 205
###context:CREATE TABLE table_name_90 (week INTEGER, attendance INTEGER) ###human: Which Week has an Attendance larger than 63,369? ###assistant: SELECT MIN(week) FROM table_name_90 WHERE attendance > 63 OFFSET 369
###context:CREATE TABLE table_name_43 (result VARCHAR, date VARCHAR) ###human: What was the result on september 26? ###assistant: SELECT result FROM table_name_43 WHERE date = "september 26"
###context:CREATE TABLE table_name_71 (week INTEGER, game_site VARCHAR, attendance VARCHAR) ###human: Which Week has a Game site of oakland-alameda county coliseum, and an Attendance larger than 52,169? ###assistant: SELECT MIN(week) FROM table_name_71 WHERE game_site = "oakland-alameda county coliseum" AND attendance > 52 OFFSET 169
###context:CREATE TABLE table_name_80 (player VARCHAR, score VARCHAR) ###human: What is Player, when Score is "68-71=139"? ###assistant: SELECT player FROM table_name_80 WHERE score = 68 - 71 = 139
###context:CREATE TABLE table_name_99 (country VARCHAR, player VARCHAR) ###human: What is Country, when Player is "Tom Watson"? ###assistant: SELECT country FROM table_name_99 WHERE player = "tom watson"
###context:CREATE TABLE table_name_64 (against INTEGER, date VARCHAR) ###human: How many against on the date of 08/06/1985? ###assistant: SELECT SUM(against) FROM table_name_64 WHERE date = "08/06/1985"
###context:CREATE TABLE table_name_80 (venue VARCHAR, date VARCHAR) ###human: What is the venue for the match on 30/03/1985? ###assistant: SELECT venue FROM table_name_80 WHERE date = "30/03/1985"
###context:CREATE TABLE table_name_19 (status VARCHAR, against VARCHAR) ###human: What is the status of the match with 24 against? ###assistant: SELECT status FROM table_name_19 WHERE against = 24
###context:CREATE TABLE table_name_76 (opposing_teams VARCHAR, status VARCHAR) ###human: Who was the opposing team when the status is second test? ###assistant: SELECT opposing_teams FROM table_name_76 WHERE status = "second test"
###context:CREATE TABLE table_name_81 (status VARCHAR, against VARCHAR, opposing_teams VARCHAR) ###human: What is the status when Wales is the opposing team and there are more than 13 against? ###assistant: SELECT status FROM table_name_81 WHERE against > 13 AND opposing_teams = "wales"
###context:CREATE TABLE table_name_77 (number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR) ###human: What is the lowest number of households for the entry with a median income of $41,778 and a population greater than 38,319? ###assistant: SELECT MIN(number_of_households) FROM table_name_77 WHERE median_family_income = "$41,778" AND population > 38 OFFSET 319
###context:CREATE TABLE table_name_71 (church VARCHAR, stops VARCHAR) ###human: Which Church has 27 stops? ###assistant: SELECT church FROM table_name_71 WHERE stops = "27"
###context:CREATE TABLE table_name_12 (opponents VARCHAR, round VARCHAR) ###human: Who is the opponent(s) in round 6? ###assistant: SELECT opponents FROM table_name_12 WHERE round = "round 6"
###context:CREATE TABLE table_name_81 (year INTEGER, sport VARCHAR, college VARCHAR) ###human: In what year was the winner a soccer player from Virginia? ###assistant: SELECT SUM(year) FROM table_name_81 WHERE sport = "soccer" AND college = "virginia"
###context:CREATE TABLE table_name_75 (year INTEGER, winner VARCHAR) ###human: In what year did Morgan Brian win? ###assistant: SELECT AVG(year) FROM table_name_75 WHERE winner = "morgan brian"
###context:CREATE TABLE table_name_63 (winner VARCHAR, college VARCHAR, hometown VARCHAR) ###human: Who is the winner who attended college at Connecticut and is from North Syracuse, NY? ###assistant: SELECT winner FROM table_name_63 WHERE college = "connecticut" AND hometown = "north syracuse, ny"
###context:CREATE TABLE table_name_33 (hometown VARCHAR, college VARCHAR) ###human: What is the hometown of the player who went to college at USC? ###assistant: SELECT hometown FROM table_name_33 WHERE college = "usc"
###context:CREATE TABLE table_name_42 (draws INTEGER, against VARCHAR, wins VARCHAR) ###human: What is the lowest Draws, when Against is "1547", and when Wins is greater than 3? ###assistant: SELECT MIN(draws) FROM table_name_42 WHERE against = 1547 AND wins > 3
###context:CREATE TABLE table_name_70 (wins VARCHAR, losses VARCHAR, draws VARCHAR) ###human: What is the total number of Wins, when Losses is "6", and when Draws is greater than "0"? ###assistant: SELECT COUNT(wins) FROM table_name_70 WHERE losses = 6 AND draws > 0
###context:CREATE TABLE table_name_6 (draws INTEGER, byes INTEGER) ###human: What is the lowest Draws, when Byes is less than 2? ###assistant: SELECT MIN(draws) FROM table_name_6 WHERE byes < 2
###context:CREATE TABLE table_name_21 (draws VARCHAR, against VARCHAR, byes VARCHAR) ###human: What is the total number of Draws, when Against is "1134", and when Byes is less than 2? ###assistant: SELECT COUNT(draws) FROM table_name_21 WHERE against = 1134 AND byes < 2
###context:CREATE TABLE table_name_85 (wins INTEGER, byes VARCHAR, against VARCHAR, golden_rivers VARCHAR) ###human: What is the sum of Wins, when Against is less than 1033, when Golden Rivers is "Nullawil", and when Byes is less than 2? ###assistant: SELECT SUM(wins) FROM table_name_85 WHERE against < 1033 AND golden_rivers = "nullawil" AND byes < 2
###context:CREATE TABLE table_name_26 (year INTEGER, competition VARCHAR, notes VARCHAR) ###human: Which Year has a Competition of european championships, and Notes of 66.81 m? ###assistant: SELECT SUM(year) FROM table_name_26 WHERE competition = "european championships" AND notes = "66.81 m"
###context:CREATE TABLE table_name_3 (position VARCHAR, venue VARCHAR) ###human: Which Position has a Venue of berlin, germany? ###assistant: SELECT position FROM table_name_3 WHERE venue = "berlin, germany"
###context:CREATE TABLE table_name_87 (competition VARCHAR, venue VARCHAR) ###human: Which competition was held in Arles, France? ###assistant: SELECT competition FROM table_name_87 WHERE venue = "arles, france"
###context:CREATE TABLE table_name_8 (m1a1_abrams VARCHAR, m60a3_patton VARCHAR) ###human: What is the M1A1 when the M60A3 was T (Short Tons)? ###assistant: SELECT m1a1_abrams FROM table_name_8 WHERE m60a3_patton = "t (short tons)"
###context:CREATE TABLE table_name_17 (m60a3_patton VARCHAR, m1a1_abrams VARCHAR) ###human: What is the M60A3 when the M1A1 is T (Short Tons)? ###assistant: SELECT m60a3_patton FROM table_name_17 WHERE m1a1_abrams = "t (short tons)"
###context:CREATE TABLE table_name_66 (m60a3_patton VARCHAR, m1a1_abrams VARCHAR) ###human: What is the M60A3 that has an M1A1 of Km (mi)? ###assistant: SELECT m60a3_patton FROM table_name_66 WHERE m1a1_abrams = "km (mi)"
###context:CREATE TABLE table_name_28 (m60a3_patton VARCHAR, leclerc VARCHAR) ###human: What is the M60A3 that has 40 rounds as Leclerc? ###assistant: SELECT m60a3_patton FROM table_name_28 WHERE leclerc = "40 rounds"
###context:CREATE TABLE table_name_8 (lince VARCHAR, leclerc VARCHAR) ###human: What's the lince when Leclerc was Hp (kw)? ###assistant: SELECT lince FROM table_name_8 WHERE leclerc = "hp (kw)"
###context:CREATE TABLE table_name_92 (m1a1_abrams VARCHAR, lince VARCHAR) ###human: What is the M1A1 when the Lince was T (Short Tons)? ###assistant: SELECT m1a1_abrams FROM table_name_92 WHERE lince = "t (short tons)"
###context:CREATE TABLE table_name_73 (distance VARCHAR, time VARCHAR) ###human: Which Distance has a Time of 2:20.00? ###assistant: SELECT distance FROM table_name_73 WHERE time = "2:20.00"
###context:CREATE TABLE table_name_16 (distance VARCHAR, event VARCHAR, location VARCHAR) ###human: Which Distance has an Event of breaststroke, and a Location of beijing, chn? ###assistant: SELECT distance FROM table_name_16 WHERE event = "breaststroke" AND location = "beijing, chn"
###context:CREATE TABLE table_name_5 (meet VARCHAR, time VARCHAR) ###human: What Meet has a Time of 1:04.84? ###assistant: SELECT meet FROM table_name_5 WHERE time = "1:04.84"
###context:CREATE TABLE table_name_58 (season VARCHAR, viewer_rank___number_ VARCHAR) ###human: What season had a viewer rank of #4? ###assistant: SELECT COUNT(season) FROM table_name_58 WHERE viewer_rank___number_ = "#4"
###context:CREATE TABLE table_name_43 (season INTEGER, households_viewers__in_millions_ VARCHAR, viewer_rank___number_ VARCHAR) ###human: Which season had less than 25.4 viewers and had a viewer rank of #6? ###assistant: SELECT MIN(season) FROM table_name_43 WHERE households_viewers__in_millions_ < 25.4 AND viewer_rank___number_ = "#6"
###context:CREATE TABLE table_name_12 (season VARCHAR, viewer_rank___number_ VARCHAR) ###human: When did the season premiere that had a viewer rank of #6? ###assistant: SELECT season AS premiere FROM table_name_12 WHERE viewer_rank___number_ = "#6"
###context:CREATE TABLE table_name_16 (gold VARCHAR, rank VARCHAR, silver VARCHAR) ###human: What is the total number of gold medals of the ranked 2nd nation, which has less than 2 silvers? ###assistant: SELECT COUNT(gold) FROM table_name_16 WHERE rank = "2" AND silver < 2
###context:CREATE TABLE table_name_47 (gold VARCHAR, silver VARCHAR, bronze VARCHAR) ###human: What is the total number of gold medals of the nation with 0 silver and more than 1 bronze? ###assistant: SELECT COUNT(gold) FROM table_name_47 WHERE silver = 0 AND bronze > 1
###context:CREATE TABLE table_name_3 (bronze INTEGER, silver VARCHAR, total VARCHAR, gold VARCHAR) ###human: What is the lowest number of bronze of the nation with more than 13 total medals, more than 10 gold medals, and less than 22 silvers? ###assistant: SELECT MIN(bronze) FROM table_name_3 WHERE total > 13 AND gold > 10 AND silver < 22
###context:CREATE TABLE table_name_81 (main_date VARCHAR, number_of_fixtures VARCHAR) ###human: What was the main date of the round with 20 fixtures? ###assistant: SELECT main_date FROM table_name_81 WHERE number_of_fixtures = 20