training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_56 (moving_to VARCHAR, transfer_fee VARCHAR) ###human: What is the item "Moving to", when the Transfer fee is £300,000? ###assistant: SELECT moving_to FROM table_name_56 WHERE transfer_fee = "£300,000"
###context:CREATE TABLE table_name_94 (country VARCHAR, transfer_fee VARCHAR, name VARCHAR) ###human: What is the Country, when the Transfer fee is "loan", and when the Name is Lynch? ###assistant: SELECT country FROM table_name_94 WHERE transfer_fee = "loan" AND name = "lynch"
###context:CREATE TABLE table_name_86 (transfer_window VARCHAR, transfer_fee VARCHAR, name VARCHAR) ###human: What is the Transfer window, when the Transfer fee is "free", and when the Name is Dugdale? ###assistant: SELECT transfer_window FROM table_name_86 WHERE transfer_fee = "free" AND name = "dugdale"
###context:CREATE TABLE table_name_80 (name VARCHAR, transfer_fee VARCHAR) ###human: What is the Name, when the Transfer fee is "loan"? ###assistant: SELECT name FROM table_name_80 WHERE transfer_fee = "loan"
###context:CREATE TABLE table_name_30 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) ###human: What is the Transfer window, when the Transfer fee is "free", and when the item "Moving to" is Norwich City? ###assistant: SELECT transfer_window FROM table_name_30 WHERE transfer_fee = "free" AND moving_to = "norwich city"
###context:CREATE TABLE table_name_94 (transfer_fee VARCHAR, transfer_window VARCHAR, moving_to VARCHAR) ###human: What is the Transfer fee, when the Transfer window is "winter", and when the item "Moving to" is Northwich Victoria? ###assistant: SELECT transfer_fee FROM table_name_94 WHERE transfer_window = "winter" AND moving_to = "northwich victoria"
###context:CREATE TABLE table_name_44 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR) ###human: What companyw as the constructor when the Time/Retired was collision, and a Grid of 11? ###assistant: SELECT constructor FROM table_name_44 WHERE time_retired = "collision" AND grid = "11"
###context:CREATE TABLE table_name_2 (time_retired VARCHAR, grid VARCHAR) ###human: What shows as the Time/Retired for Grid 8? ###assistant: SELECT time_retired FROM table_name_2 WHERE grid = "8"
###context:CREATE TABLE table_name_36 (laps VARCHAR, grid VARCHAR) ###human: What is the number of laps for Grid 3? ###assistant: SELECT laps FROM table_name_36 WHERE grid = "3"
###context:CREATE TABLE table_name_50 (constructor VARCHAR, driver VARCHAR) ###human: What company was the constructor when Nick Heidfeld was the driver/ ###assistant: SELECT constructor FROM table_name_50 WHERE driver = "nick heidfeld"
###context:CREATE TABLE table_name_48 (laps VARCHAR, time_retired VARCHAR) ###human: What shows for laps when the Time/Retired was +1:08.577? ###assistant: SELECT laps FROM table_name_48 WHERE time_retired = "+1:08.577"
###context:CREATE TABLE table_name_11 (constructor VARCHAR, grid VARCHAR) ###human: What is the name of the constructor for Grid 1? ###assistant: SELECT constructor FROM table_name_11 WHERE grid = "1"
###context:CREATE TABLE table_name_98 (test_career VARCHAR, player VARCHAR) ###human: When was Mushfiqur Rahim's test career? ###assistant: SELECT test_career FROM table_name_98 WHERE player = "mushfiqur rahim"
###context:CREATE TABLE table_name_95 (points INTEGER, year INTEGER) ###human: Name the sum of points for 1984 ###assistant: SELECT SUM(points) FROM table_name_95 WHERE year < 1984
###context:CREATE TABLE table_name_99 (points VARCHAR, engine VARCHAR) ###human: Name the points for Engine of chevrolet 265c ###assistant: SELECT points FROM table_name_99 WHERE engine = "chevrolet 265c"
###context:CREATE TABLE table_name_43 (chassis VARCHAR, points VARCHAR, engine VARCHAR) ###human: Name the chassis of 147 points and engine of ford cosworth dfx ###assistant: SELECT chassis FROM table_name_43 WHERE points = 147 AND engine = "ford cosworth dfx"
###context:CREATE TABLE table_name_22 (term VARCHAR, district VARCHAR, party VARCHAR) ###human: Which term had a Democratic representative from district 7? ###assistant: SELECT term FROM table_name_22 WHERE district = "7" AND party = "democratic"
###context:CREATE TABLE table_name_6 (term VARCHAR, hometown VARCHAR, name VARCHAR) ###human: What was the term of Bruce Biers Kendall whose hometown is Anchorage? ###assistant: SELECT term FROM table_name_6 WHERE hometown = "anchorage" AND name = "bruce biers kendall"
###context:CREATE TABLE table_name_22 (hometown VARCHAR, legislatures VARCHAR) ###human: What is the hometown of the representative that served the twenty-sixth legislature? ###assistant: SELECT hometown FROM table_name_22 WHERE legislatures = "twenty-sixth"
###context:CREATE TABLE table_name_28 (qual VARCHAR, rank VARCHAR) ###human: What is the qual with a 19 rank? ###assistant: SELECT qual FROM table_name_28 WHERE rank = "19"
###context:CREATE TABLE table_name_33 (rank VARCHAR, finish VARCHAR) ###human: What rank has a 25 finish? ###assistant: SELECT rank FROM table_name_33 WHERE finish = "25"
###context:CREATE TABLE table_name_69 (finish VARCHAR, qual VARCHAR) ###human: What finish has a 143.056 qual? ###assistant: SELECT finish FROM table_name_69 WHERE qual = "143.056"
###context:CREATE TABLE table_name_17 (rank VARCHAR, laps VARCHAR, finish VARCHAR) ###human: What rank had more than 165 laps and a finish of 5? ###assistant: SELECT rank FROM table_name_17 WHERE laps > 165 AND finish = "5"
###context:CREATE TABLE table_name_22 (record VARCHAR, opponent VARCHAR, loss VARCHAR) ###human: What was the record at the game against the Blue Jays with a loss of Batista (0–3)? ###assistant: SELECT record FROM table_name_22 WHERE opponent = "blue jays" AND loss = "batista (0–3)"
###context:CREATE TABLE table_name_90 (loss VARCHAR, record VARCHAR) ###human: What was the loss of the game when the record was 14–8? ###assistant: SELECT loss FROM table_name_90 WHERE record = "14–8"
###context:CREATE TABLE table_name_62 (score VARCHAR, record VARCHAR) ###human: What was the score of the game when the record was 28–19? ###assistant: SELECT score FROM table_name_62 WHERE record = "28–19"
###context:CREATE TABLE table_name_94 (record VARCHAR, date VARCHAR, loss VARCHAR) ###human: What was the record at the game held on May 1st with a loss of Speier (1–3)? ###assistant: SELECT record FROM table_name_94 WHERE date = "may 1" AND loss = "speier (1–3)"
###context:CREATE TABLE table_name_75 (played VARCHAR, drawn VARCHAR, lost VARCHAR, points VARCHAR) ###human: How many goes played fot hteam that lost less than 12 games, drew 5, and had over 37 points? ###assistant: SELECT played FROM table_name_75 WHERE lost < 12 AND points > 37 AND drawn = 5
###context:CREATE TABLE table_name_83 (lost INTEGER, drawn VARCHAR, points VARCHAR) ###human: How many games lost for the team that drew 5 times and had over 41 points? ###assistant: SELECT AVG(lost) FROM table_name_83 WHERE drawn = 5 AND points > 41
###context:CREATE TABLE table_name_81 (played VARCHAR, points VARCHAR, drawn VARCHAR, team VARCHAR) ###human: How many games played for the army team with over 51 points and under 5 games drawn? ###assistant: SELECT COUNT(played) FROM table_name_81 WHERE drawn < 5 AND team = "army" AND points > 51
###context:CREATE TABLE table_name_4 (points INTEGER, team VARCHAR, lost VARCHAR) ###human: How many points for the navy team that lost over 11? ###assistant: SELECT SUM(points) FROM table_name_4 WHERE team = "navy" AND lost > 11
###context:CREATE TABLE table_name_31 (class VARCHAR, race_title VARCHAR) ###human: What class of car had the XI Coppa Acerbo title? ###assistant: SELECT class FROM table_name_31 WHERE race_title = "xi coppa acerbo"
###context:CREATE TABLE table_name_67 (driver_s VARCHAR, race_title VARCHAR) ###human: Who won the III Coppa Acerbo title? ###assistant: SELECT driver_s FROM table_name_67 WHERE race_title = "iii coppa acerbo"
###context:CREATE TABLE table_name_81 (race_title VARCHAR, vehicle VARCHAR) ###human: What's the name of the title for the Maserati A6GCS? ###assistant: SELECT race_title FROM table_name_81 WHERE vehicle = "maserati a6gcs"
###context:CREATE TABLE table_name_81 (driver_s VARCHAR, class VARCHAR, race_title VARCHAR) ###human: Who won the XXIV Gran Premio di Pescara in the sports car class? ###assistant: SELECT driver_s FROM table_name_81 WHERE class = "sports car" AND race_title = "xxiv gran premio di pescara"
###context:CREATE TABLE table_name_22 (surface VARCHAR, tournament VARCHAR) ###human: What surface was the città di caltanissetta played on? ###assistant: SELECT surface FROM table_name_22 WHERE tournament = "città di caltanissetta"
###context:CREATE TABLE table_name_1 (score VARCHAR, tournament VARCHAR) ###human: What was the score in Volkswagen Challenger tournament? ###assistant: SELECT score FROM table_name_1 WHERE tournament = "volkswagen challenger"
###context:CREATE TABLE table_name_23 (Id VARCHAR) ###human: what is the production in 2010 with 2011 production of 2,240,000? ###assistant: SELECT 2010 FROM table_name_23 WHERE 2011 = "2,240,000"
###context:CREATE TABLE table_name_52 (rank VARCHAR) ###human: what is the ranking for 2010 production of 2,903,000? ###assistant: SELECT rank FROM table_name_52 WHERE 2010 = "2,903,000"
###context:CREATE TABLE table_name_39 (rank VARCHAR) ###human: what is the production in 2010 with rank of 8? ###assistant: SELECT 2010 FROM table_name_39 WHERE rank = "8"
###context:CREATE TABLE table_name_95 (club VARCHAR, captain VARCHAR) ###human: What club captain is John Hutchinson in? ###assistant: SELECT club FROM table_name_95 WHERE captain = "john hutchinson"
###context:CREATE TABLE table_name_13 (australian_marquee VARCHAR, captain VARCHAR) ###human: What Australian Marquee team is Michael Beauchamp a captain of? ###assistant: SELECT australian_marquee FROM table_name_13 WHERE captain = "michael beauchamp"
###context:CREATE TABLE table_name_22 (junior_marquee_player VARCHAR, captain VARCHAR) ###human: What Junior Marquee team is Harry Kewell of? ###assistant: SELECT junior_marquee_player FROM table_name_22 WHERE captain = "harry kewell"
###context:CREATE TABLE table_name_33 (call_sign VARCHAR, frequency_mhz VARCHAR) ###human: What is the name of call sign that uses a Frequency MHz of 91.1 fm? ###assistant: SELECT call_sign FROM table_name_33 WHERE frequency_mhz = "91.1 fm"
###context:CREATE TABLE table_name_63 (erp_w VARCHAR, frequency_mhz VARCHAR) ###human: How much is the total ERP W for an 107.9 fm freqeuncy MHz? ###assistant: SELECT COUNT(erp_w) FROM table_name_63 WHERE frequency_mhz = "107.9 fm"
###context:CREATE TABLE table_name_39 (fcc_info VARCHAR, city_of_license VARCHAR) ###human: Can you tell me what is FCC info for harmony township, new jersey? ###assistant: SELECT fcc_info FROM table_name_39 WHERE city_of_license = "harmony township, new jersey"
###context:CREATE TABLE table_name_66 (erp_w INTEGER, city_of_license VARCHAR) ###human: What is the smallest ERP for allentown, pennsylvania? ###assistant: SELECT MIN(erp_w) FROM table_name_66 WHERE city_of_license = "allentown, pennsylvania"
###context:CREATE TABLE table_name_42 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) ###human: Which grid has a time/retired of +3.9 secs in less than 96 laps? ###assistant: SELECT AVG(grid) FROM table_name_42 WHERE time_retired = "+3.9 secs" AND laps < 96
###context:CREATE TABLE table_name_28 (driver VARCHAR, points VARCHAR, team VARCHAR) ###human: Which driver has 7 points for team Australia? ###assistant: SELECT driver FROM table_name_28 WHERE points = 7 AND team = "team australia"
###context:CREATE TABLE table_name_85 (laps INTEGER, points VARCHAR, team VARCHAR, time_retired VARCHAR) ###human: What is the fewest number of laps for a Dale Coyne Racing team with a mechanical time/retired and fewer than 5 points? ###assistant: SELECT MIN(laps) FROM table_name_85 WHERE team = "dale coyne racing" AND time_retired = "mechanical" AND points < 5
###context:CREATE TABLE table_name_61 (points INTEGER, driver VARCHAR, grid VARCHAR) ###human: What is the highest points total scored by Dan Clarke in a grid higher than 10? ###assistant: SELECT MAX(points) FROM table_name_61 WHERE driver = "dan clarke" AND grid > 10
###context:CREATE TABLE table_name_80 (total INTEGER, location VARCHAR) ###human: What is the earliest episode of the series that is set in Boston, Massachusetts? ###assistant: SELECT MIN(total) FROM table_name_80 WHERE location = "boston, massachusetts"
###context:CREATE TABLE table_name_84 (sample_size VARCHAR, date_s__administered VARCHAR) ###human: How many people were surveyed in the poll from June 30, 2010? ###assistant: SELECT sample_size FROM table_name_84 WHERE date_s__administered = "june 30, 2010"
###context:CREATE TABLE table_name_35 (meg_whitman__r_ VARCHAR, margin_of_error VARCHAR) ###human: What percentage of the vote with a margin of error of ± 3.3% did Meg Whitman (R) get? ###assistant: SELECT meg_whitman__r_ FROM table_name_35 WHERE margin_of_error = "± 3.3%"
###context:CREATE TABLE table_name_61 (sample_size VARCHAR, poll_source VARCHAR, date_s__administered VARCHAR) ###human: How many people participated in the Rasmussen Reports poll on October 13, 2010? ###assistant: SELECT sample_size FROM table_name_61 WHERE poll_source = "rasmussen reports" AND date_s__administered = "october 13, 2010"
###context:CREATE TABLE table_name_51 (meg_whitman__r_ VARCHAR, date_s__administered VARCHAR) ###human: What percent of the vote went to Meg Whitman in the poll taken on October 21, 2010. ###assistant: SELECT meg_whitman__r_ FROM table_name_51 WHERE date_s__administered = "october 21, 2010"
###context:CREATE TABLE table_name_10 (prize VARCHAR, event VARCHAR) ###human: What is the Prize, when the Event is Ept Deauville? ###assistant: SELECT prize FROM table_name_10 WHERE event = "ept deauville"
###context:CREATE TABLE table_name_26 (city VARCHAR, prize VARCHAR) ###human: What is the City, when the Prize is €880,000? ###assistant: SELECT city FROM table_name_26 WHERE prize = "€880,000"
###context:CREATE TABLE table_name_25 (city VARCHAR, winner VARCHAR) ###human: What is the City, when the Winner is Ruben Visser? ###assistant: SELECT city FROM table_name_25 WHERE winner = "ruben visser"
###context:CREATE TABLE table_name_98 (winner VARCHAR, prize VARCHAR) ###human: Who is the Winner, when the Prize is €880,000? ###assistant: SELECT winner FROM table_name_98 WHERE prize = "€880,000"
###context:CREATE TABLE table_name_17 (city VARCHAR, prize VARCHAR) ###human: What is the City, when the Prize is $1,859,000? ###assistant: SELECT city FROM table_name_17 WHERE prize = "$1,859,000"
###context:CREATE TABLE table_name_11 (prize VARCHAR, event VARCHAR) ###human: What is the Prize, when the Event is Ept Sanremo? ###assistant: SELECT prize FROM table_name_11 WHERE event = "ept sanremo"
###context:CREATE TABLE table_name_97 (date VARCHAR, venue VARCHAR) ###human: On what date was the venue at Edgbaston? ###assistant: SELECT date FROM table_name_97 WHERE venue = "edgbaston"
###context:CREATE TABLE table_name_51 (image INTEGER, harrison VARCHAR, ashmolean VARCHAR) ###human: What is the lowest image with a 20w Harrison, and less than 20 for Ashmolean? ###assistant: SELECT MIN(image) FROM table_name_51 WHERE harrison = "20w" AND ashmolean < 20
###context:CREATE TABLE table_name_40 (ashmolean VARCHAR, harrison VARCHAR, image VARCHAR) ###human: What is the number of Ashmolean with 14s Harrison, and image less than 542? ###assistant: SELECT COUNT(ashmolean) FROM table_name_40 WHERE harrison = "14s" AND image < 542
###context:CREATE TABLE table_name_43 (cooper VARCHAR, ashmolean VARCHAR, hahland VARCHAR) ###human: What is the cooper with an Ashmolean less than 21, and hahland smaller than 4? ###assistant: SELECT cooper FROM table_name_43 WHERE ashmolean < 21 AND hahland < 4
###context:CREATE TABLE table_name_62 (smith VARCHAR, ashmolean VARCHAR) ###human: What is the smith with a 16 ashmolean? ###assistant: SELECT smith FROM table_name_62 WHERE ashmolean = 16
###context:CREATE TABLE table_name_84 (order VARCHAR, species_authority VARCHAR) ###human: What order has the Species Authority of hydrochaeris hydrochaeris (linnaeus, 1766)? ###assistant: SELECT order FROM table_name_84 WHERE species_authority = "hydrochaeris hydrochaeris (linnaeus, 1766)"
###context:CREATE TABLE table_name_70 (red_list INTEGER, family VARCHAR, species_authority VARCHAR) ###human: What is the highest Red List for the muridae family and species Authority of microtus pinetorum (le conte, 1830)? ###assistant: SELECT MAX(red_list) FROM table_name_70 WHERE family = "muridae" AND species_authority = "microtus pinetorum (le conte, 1830)"
###context:CREATE TABLE table_name_76 (name VARCHAR, species_authority VARCHAR) ###human: What is the name for the species Authority of sigmodon hispidus say & ord, 1825? ###assistant: SELECT name FROM table_name_76 WHERE species_authority = "sigmodon hispidus say & ord, 1825"
###context:CREATE TABLE table_name_73 (total INTEGER, silver VARCHAR, rank VARCHAR) ###human: What is the largest total with a Silver of 1, and a Rank larger than 7? ###assistant: SELECT MAX(total) FROM table_name_73 WHERE silver = 1 AND rank > 7
###context:CREATE TABLE table_name_98 (total VARCHAR, silver VARCHAR, bronze VARCHAR, nation VARCHAR) ###human: How many totals have a Bronze smaller than 3, a Nation of zimbabwe, and a Silver smaller than 6? ###assistant: SELECT COUNT(total) FROM table_name_98 WHERE bronze < 3 AND nation = "zimbabwe" AND silver < 6
###context:CREATE TABLE table_name_33 (silver INTEGER, rank VARCHAR, bronze VARCHAR, total VARCHAR) ###human: What is the smallest silver with a Bronze smaller than 6, a Total of 3, and a Rank smaller than 9? ###assistant: SELECT MIN(silver) FROM table_name_33 WHERE bronze < 6 AND total = 3 AND rank < 9
###context:CREATE TABLE table_name_14 (rank VARCHAR, total VARCHAR, gold VARCHAR, nation VARCHAR) ###human: How many ranks have 0 golds, a Nation of namibia, and a Total smaller than 1? ###assistant: SELECT COUNT(rank) FROM table_name_14 WHERE gold = 0 AND nation = "namibia" AND total < 1
###context:CREATE TABLE table_name_22 (total INTEGER, bronze VARCHAR, gold VARCHAR) ###human: How many totals have a Bronze of 0, and a Gold smaller than 0? ###assistant: SELECT SUM(total) FROM table_name_22 WHERE bronze = 0 AND gold < 0
###context:CREATE TABLE table_name_94 (silver INTEGER, rank VARCHAR, total VARCHAR) ###human: What is the total silver with a Rank larger than 9, and a Total larger than 1? ###assistant: SELECT SUM(silver) FROM table_name_94 WHERE rank > 9 AND total > 1
###context:CREATE TABLE table_name_31 (percentage___percentage_ VARCHAR, males VARCHAR) ###human: Which language do 1% of males speak? ###assistant: SELECT percentage___percentage_ FROM table_name_31 WHERE males = "1"
###context:CREATE TABLE table_name_44 (males VARCHAR, percentage___percentage_ VARCHAR) ###human: Which language do 87.5% of males speak? ###assistant: SELECT males FROM table_name_44 WHERE percentage___percentage_ = "87.5"
###context:CREATE TABLE table_name_10 (females VARCHAR, number VARCHAR) ###human: Which language do 706 females speak? ###assistant: SELECT females FROM table_name_10 WHERE number = "706"
###context:CREATE TABLE table_name_11 (females VARCHAR, language VARCHAR) ###human: How many females speak Ukrainian? ###assistant: SELECT females FROM table_name_11 WHERE language = "ukrainian"
###context:CREATE TABLE table_name_98 (position INTEGER, goal_difference VARCHAR, played VARCHAR) ###human: What was the position of the team that had a goal difference of less than -11 and played less than 38 games? ###assistant: SELECT SUM(position) FROM table_name_98 WHERE goal_difference < -11 AND played < 38
###context:CREATE TABLE table_name_61 (played INTEGER, draws VARCHAR, goals_for VARCHAR, goal_difference VARCHAR, losses VARCHAR) ###human: Which position had a goal difference of less than 27, lost more than 13 games, scored less than 42 goals and drew 6 games? ###assistant: SELECT MAX(played) FROM table_name_61 WHERE goal_difference < 27 AND losses > 13 AND goals_for < 42 AND draws = 6
###context:CREATE TABLE table_name_96 (wins VARCHAR, goals_against INTEGER) ###human: What was the number of wins with goals against of less than 32? ###assistant: SELECT COUNT(wins) FROM table_name_96 WHERE goals_against < 32
###context:CREATE TABLE table_name_37 (in_service INTEGER, aircraft VARCHAR) ###human: How many Antonov An-2 Colt aircraft are in service? ###assistant: SELECT AVG(in_service) FROM table_name_37 WHERE aircraft = "antonov an-2 colt"
###context:CREATE TABLE table_name_67 (name VARCHAR, position VARCHAR) ###human: for the position of rb what is the name? ###assistant: SELECT name FROM table_name_67 WHERE position = "rb"
###context:CREATE TABLE table_name_75 (last_update VARCHAR, name VARCHAR) ###human: for the name of joe surratt what is the last update? ###assistant: SELECT last_update FROM table_name_75 WHERE name = "joe surratt"
###context:CREATE TABLE table_name_81 (last_update VARCHAR, name VARCHAR) ###human: for the name of jamar jackson what is the last update? ###assistant: SELECT last_update FROM table_name_81 WHERE name = "jamar jackson"
###context:CREATE TABLE table_name_87 (class VARCHAR, name VARCHAR) ###human: for the name of jamar jackson what is the class? ###assistant: SELECT class FROM table_name_87 WHERE name = "jamar jackson"
###context:CREATE TABLE table_name_99 (number VARCHAR, name VARCHAR) ###human: for the name of jamar jackson what is the total of Number? ###assistant: SELECT COUNT(number) FROM table_name_99 WHERE name = "jamar jackson"
###context:CREATE TABLE table_name_68 (term_in_office VARCHAR, state VARCHAR, member VARCHAR) ###human: What term did Stewart Mcarthur from Vic serve in office? ###assistant: SELECT term_in_office FROM table_name_68 WHERE state = "vic" AND member = "stewart mcarthur"
###context:CREATE TABLE table_name_70 (party VARCHAR, member VARCHAR) ###human: What is Hon Paul Keating's Party? ###assistant: SELECT party FROM table_name_70 WHERE member = "hon paul keating"
###context:CREATE TABLE table_name_73 (member VARCHAR, party VARCHAR, electorate VARCHAR) ###human: What member is in the liberal party and has an electorate of bruce? ###assistant: SELECT member FROM table_name_73 WHERE party = "liberal" AND electorate = "bruce"
###context:CREATE TABLE table_name_6 (electorate VARCHAR, member VARCHAR, state VARCHAR, party VARCHAR) ###human: Which Electorate is from vic, a labor party, and is David Charles a member of? ###assistant: SELECT electorate FROM table_name_6 WHERE state = "vic" AND party = "labor" AND member = "david charles"
###context:CREATE TABLE table_name_59 (format VARCHAR, label VARCHAR, date VARCHAR) ###human: Name the format on july 27, 1994 for alfa records ###assistant: SELECT format FROM table_name_59 WHERE label = "alfa records" AND date = "july 27, 1994"
###context:CREATE TABLE table_name_43 (region VARCHAR, format VARCHAR, catalog VARCHAR) ###human: Name the region for cd with catalog of alca-9203 ###assistant: SELECT region FROM table_name_43 WHERE format = "cd" AND catalog = "alca-9203"
###context:CREATE TABLE table_name_6 (date VARCHAR, label VARCHAR, catalog VARCHAR) ###human: Name the date for alfa records and catalog of alr-28045 ###assistant: SELECT date FROM table_name_6 WHERE label = "alfa records" AND catalog = "alr-28045"
###context:CREATE TABLE table_name_30 (region VARCHAR, format VARCHAR, date VARCHAR) ###human: Name the region for cd format on february 22, 1984 ###assistant: SELECT region FROM table_name_30 WHERE format = "cd" AND date = "february 22, 1984"
###context:CREATE TABLE table_name_6 (region VARCHAR, date VARCHAR) ###human: Name the region for february 14, 2002 ###assistant: SELECT region FROM table_name_6 WHERE date = "february 14, 2002"
###context:CREATE TABLE table_name_16 (first_game INTEGER, lost INTEGER) ###human: What First game has a Lost greater than 16? ###assistant: SELECT AVG(first_game) FROM table_name_16 WHERE lost > 16
###context:CREATE TABLE table_name_80 (percentage VARCHAR, first_game VARCHAR) ###human: What Percentage did the First game of 1998 have? ###assistant: SELECT percentage FROM table_name_80 WHERE first_game = 1998