training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_12 (share VARCHAR, weekly_rank VARCHAR, date VARCHAR) ###human: Which Share has a weekly Rank of 8 and is dated 15 June? ###assistant: SELECT share FROM table_name_12 WHERE weekly_rank = "8" AND date = "15 june"
###context:CREATE TABLE table_name_82 (weekly_rank VARCHAR, official_ratings__millions_ VARCHAR) ###human: Which Weekly Rank has an Official ratings (millions) of 11.58? ###assistant: SELECT weekly_rank FROM table_name_82 WHERE official_ratings__millions_ = 11.58
###context:CREATE TABLE table_name_39 (show VARCHAR, date VARCHAR) ###human: Which Show is dated 9 June? ###assistant: SELECT show FROM table_name_39 WHERE date = "9 june"
###context:CREATE TABLE table_name_8 (weekly_rank VARCHAR, official_ratings__millions_ VARCHAR, show VARCHAR) ###human: Which Weekly Rank for a Live Final Show has an Official Ratings (millions) greater than 5.2? ###assistant: SELECT weekly_rank FROM table_name_8 WHERE official_ratings__millions_ > 5.2 AND show = "live final"
###context:CREATE TABLE table_name_9 (status VARCHAR, opposing_teams VARCHAR) ###human: What is the status with the opposing team of Scotland? ###assistant: SELECT status FROM table_name_9 WHERE opposing_teams = "scotland"
###context:CREATE TABLE table_name_16 (against INTEGER, opposing_teams VARCHAR, venue VARCHAR, status VARCHAR) ###human: What is the lowest against score for Twickenham, London with the status of Five Nations against Ireland? ###assistant: SELECT MIN(against) FROM table_name_16 WHERE venue = "twickenham, london" AND status = "five nations" AND opposing_teams = "ireland"
###context:CREATE TABLE table_name_31 (venue VARCHAR, against INTEGER) ###human: Which Venue has a Against smaller than 7? ###assistant: SELECT venue FROM table_name_31 WHERE against < 7
###context:CREATE TABLE table_name_71 (date VARCHAR, status VARCHAR, against VARCHAR) ###human: When has a Status of five nations, and a Against of 7? ###assistant: SELECT date FROM table_name_71 WHERE status = "five nations" AND against = 7
###context:CREATE TABLE table_name_16 (venue VARCHAR, against INTEGER) ###human: Which Venue has a Against larger than 13? ###assistant: SELECT venue FROM table_name_16 WHERE against > 13
###context:CREATE TABLE table_name_91 (against INTEGER, venue VARCHAR) ###human: Name the Against which has a Venue of wembley stadium , london? ###assistant: SELECT MAX(against) FROM table_name_91 WHERE venue = "wembley stadium , london"
###context:CREATE TABLE table_name_29 (wins INTEGER, byes INTEGER) ###human: Which wins have less than 1 bye? ###assistant: SELECT MAX(wins) FROM table_name_29 WHERE byes < 1
###context:CREATE TABLE table_name_38 (against INTEGER, club VARCHAR, losses VARCHAR, wins VARCHAR) ###human: Which Against has Losses larger than 10, and Wins smaller than 4, and a Club of dunolly? ###assistant: SELECT MIN(against) FROM table_name_38 WHERE losses > 10 AND wins < 4 AND club = "dunolly"
###context:CREATE TABLE table_name_45 (byes INTEGER, wins VARCHAR, against VARCHAR, club VARCHAR) ###human: Which Byes has an Against smaller than 1297, and a Club of avoca, and Wins larger than 12? ###assistant: SELECT AVG(byes) FROM table_name_45 WHERE against < 1297 AND club = "avoca" AND wins > 12
###context:CREATE TABLE table_name_90 (kit_factory VARCHAR, manufacturer VARCHAR, model VARCHAR) ###human: What Kit/Factory has a J250 model made by Jabiru? ###assistant: SELECT kit_factory FROM table_name_90 WHERE manufacturer = "jabiru" AND model = "j250"
###context:CREATE TABLE table_name_12 (birth VARCHAR, marriage VARCHAR) ###human: When was the duchess, who was married on 11 july 1643, born? ###assistant: SELECT birth FROM table_name_12 WHERE marriage = "11 july 1643"
###context:CREATE TABLE table_name_91 (birth VARCHAR, name VARCHAR) ###human: When was anne of lorraine born? ###assistant: SELECT birth FROM table_name_91 WHERE name = "anne of lorraine"
###context:CREATE TABLE table_name_56 (death VARCHAR, spouse VARCHAR) ###human: When did the duchess, who was married to philippe, die? ###assistant: SELECT death FROM table_name_56 WHERE spouse = "philippe"
###context:CREATE TABLE table_name_59 (ceased_to_be_duchess VARCHAR, marriage VARCHAR) ###human: When did the woman, who was married 22 may 1657, cease to be the duchess? ###assistant: SELECT ceased_to_be_duchess FROM table_name_59 WHERE marriage = "22 may 1657"
###context:CREATE TABLE table_name_14 (score VARCHAR, tie_no VARCHAR) ###human: What is the score of the game with a tie no of 3? ###assistant: SELECT score FROM table_name_14 WHERE tie_no = "3"
###context:CREATE TABLE table_name_33 (away_team VARCHAR, date VARCHAR, home_team VARCHAR) ###human: Who did home team sunderland play on 23 january 1982? ###assistant: SELECT away_team FROM table_name_33 WHERE date = "23 january 1982" AND home_team = "sunderland"
###context:CREATE TABLE table_name_63 (score VARCHAR, date VARCHAR, away_team VARCHAR) ###human: What is the score of the game against away team queens park rangers on 23 january 1982? ###assistant: SELECT score FROM table_name_63 WHERE date = "23 january 1982" AND away_team = "queens park rangers"
###context:CREATE TABLE table_name_21 (score VARCHAR, tie_no VARCHAR) ###human: What is the score of the game with a tie no of 6? ###assistant: SELECT score FROM table_name_21 WHERE tie_no = "6"
###context:CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, home_team VARCHAR) ###human: What is the score of the game home team gillingham played on 23 january 1982? ###assistant: SELECT score FROM table_name_67 WHERE date = "23 january 1982" AND home_team = "gillingham"
###context:CREATE TABLE table_name_15 (tie_no VARCHAR, home_team VARCHAR) ###human: What is the tie no of the game that home team huddersfield town played? ###assistant: SELECT tie_no FROM table_name_15 WHERE home_team = "huddersfield town"
###context:CREATE TABLE table_name_89 (home VARCHAR, record VARCHAR) ###human: What is the home team of the game with a 2-0 record? ###assistant: SELECT home FROM table_name_89 WHERE record = "2-0"
###context:CREATE TABLE table_name_67 (score VARCHAR, record VARCHAR) ###human: What is the score of the game with a 3-0 record? ###assistant: SELECT score FROM table_name_67 WHERE record = "3-0"
###context:CREATE TABLE table_name_98 (visitor VARCHAR, date VARCHAR) ###human: What is the visitor team on April 4? ###assistant: SELECT visitor FROM table_name_98 WHERE date = "april 4"
###context:CREATE TABLE table_name_45 (score VARCHAR, visitor VARCHAR, record VARCHAR) ###human: What is the score of the game with the chicago black hawks as the visitor and a 3-1 record? ###assistant: SELECT score FROM table_name_45 WHERE visitor = "chicago black hawks" AND record = "3-1"
###context:CREATE TABLE table_name_64 (instant_messaging VARCHAR, telephony VARCHAR) ###human: What is Instant Messaging, when Telephony is "Yes with integrated Sametime"? ###assistant: SELECT instant_messaging FROM table_name_64 WHERE telephony = "yes with integrated sametime"
###context:CREATE TABLE table_name_24 (videoconferencing VARCHAR, faxing VARCHAR, synchronous_conferencing VARCHAR, web_conferencing VARCHAR) ###human: What is Videoconferencing, when Synchronous Conferencing is "No", when Web Conferencing is "No", and when Faxing is "Yes"? ###assistant: SELECT videoconferencing FROM table_name_24 WHERE synchronous_conferencing = "no" AND web_conferencing = "no" AND faxing = "yes"
###context:CREATE TABLE table_name_82 (videoconferencing VARCHAR, data_conferencing VARCHAR, web_conferencing VARCHAR) ###human: What is Videoconferencing, when Data Conferencing is "No", and when Web Conferencing is "No"? ###assistant: SELECT videoconferencing FROM table_name_82 WHERE data_conferencing = "no" AND web_conferencing = "no"
###context:CREATE TABLE table_name_40 (application_sharing VARCHAR, web_conferencing VARCHAR) ###human: What is Application Sharing, when Web Conferencing is "Web Conferencing"? ###assistant: SELECT application_sharing FROM table_name_40 WHERE web_conferencing = "web conferencing"
###context:CREATE TABLE table_name_48 (instant_messaging VARCHAR, electronic_meeting_system VARCHAR, name VARCHAR) ###human: What is Instant Messaging, when Electronic Meeting System is "Yes", and when Name is "Microsoft Sharepoint"? ###assistant: SELECT instant_messaging FROM table_name_48 WHERE electronic_meeting_system = "yes" AND name = "microsoft sharepoint"
###context:CREATE TABLE table_name_26 (instant_messaging VARCHAR, telephony VARCHAR) ###human: What is Instant Messaging, when Telephony is "Yes with integrated Sametime"? ###assistant: SELECT instant_messaging FROM table_name_26 WHERE telephony = "yes with integrated sametime"
###context:CREATE TABLE table_name_78 (tournament VARCHAR, outcome VARCHAR, opponents VARCHAR) ###human: What Tournament has an Outcome of winner, and Opponents of eddie dibbs harold solomon? ###assistant: SELECT tournament FROM table_name_78 WHERE outcome = "winner" AND opponents = "eddie dibbs harold solomon"
###context:CREATE TABLE table_name_59 (partner VARCHAR, score VARCHAR) ###human: What Partner has a Score of 3–6, 2–6? ###assistant: SELECT partner FROM table_name_59 WHERE score = "3–6, 2–6"
###context:CREATE TABLE table_name_65 (tournament VARCHAR, partner VARCHAR) ###human: What Tournament has a Partner of tom gorman? ###assistant: SELECT tournament FROM table_name_65 WHERE partner = "tom gorman"
###context:CREATE TABLE table_name_2 (outcome VARCHAR, opponents VARCHAR) ###human: What Outcome has Opponents of bob hewitt frew mcmillan? ###assistant: SELECT outcome FROM table_name_2 WHERE opponents = "bob hewitt frew mcmillan"
###context:CREATE TABLE table_name_36 (opposing_teams VARCHAR, date VARCHAR) ###human: Who was the name of the opposing team on 11/02/1961? ###assistant: SELECT opposing_teams FROM table_name_36 WHERE date = "11/02/1961"
###context:CREATE TABLE table_name_14 (opposing_teams VARCHAR, against INTEGER) ###human: Which Opposing team had an Against smaller Than 5? ###assistant: SELECT opposing_teams FROM table_name_14 WHERE against < 5
###context:CREATE TABLE table_name_91 (status VARCHAR, date VARCHAR) ###human: What is the status for 07/01/1961? ###assistant: SELECT status FROM table_name_91 WHERE date = "07/01/1961"
###context:CREATE TABLE table_name_22 (position VARCHAR, player VARCHAR) ###human: What position does Karl Singer play? ###assistant: SELECT position FROM table_name_22 WHERE player = "karl singer"
###context:CREATE TABLE table_name_37 (player VARCHAR, position VARCHAR, afl_team VARCHAR) ###human: Which player is an offensive tackle for the New York Jets? ###assistant: SELECT player FROM table_name_37 WHERE position = "offensive tackle" AND afl_team = "new york jets"
###context:CREATE TABLE table_name_42 (position VARCHAR, player VARCHAR) ###human: What position does Mike Dennis play? ###assistant: SELECT position FROM table_name_42 WHERE player = "mike dennis"
###context:CREATE TABLE table_name_14 (afl_team VARCHAR, position VARCHAR, pick VARCHAR) ###human: Which AFL team has a pick 4 for the offensive tackle position? ###assistant: SELECT afl_team FROM table_name_14 WHERE position = "offensive tackle" AND pick = 4
###context:CREATE TABLE table_name_88 (country VARCHAR, name VARCHAR) ###human: From which country was Sodje loaned? ###assistant: SELECT country FROM table_name_88 WHERE name = "sodje"
###context:CREATE TABLE table_name_35 (loan_club VARCHAR, name VARCHAR) ###human: From which club is player C. Dickinson? ###assistant: SELECT loan_club FROM table_name_35 WHERE name = "c. dickinson"
###context:CREATE TABLE table_name_26 (fate VARCHAR, ship VARCHAR) ###human: What is the fate for the Bremen ship? ###assistant: SELECT fate FROM table_name_26 WHERE ship = "bremen"
###context:CREATE TABLE table_name_54 (original_operator VARCHAR, builder VARCHAR, ship VARCHAR) ###human: Who is the original operator for the AG Vulcan builder and the Prinzess Irene ship? ###assistant: SELECT original_operator FROM table_name_54 WHERE builder = "ag vulcan" AND ship = "prinzess irene"
###context:CREATE TABLE table_name_9 (tonnage VARCHAR, ship VARCHAR, builder VARCHAR, original_operator VARCHAR) ###human: What is the Tonnage that has builder AG Vulcan, and the original operator NDL, and the ship, Prinzess Irene? ###assistant: SELECT tonnage FROM table_name_9 WHERE builder = "ag vulcan" AND original_operator = "ndl" AND ship = "prinzess irene"
###context:CREATE TABLE table_name_60 (player VARCHAR, score VARCHAR) ###human: Who has a Score of 68-71-70=208? ###assistant: SELECT player FROM table_name_60 WHERE score = 68 - 71 - 70 = 208
###context:CREATE TABLE table_name_55 (country VARCHAR, to_par VARCHAR, score VARCHAR) ###human: Which country has -9 to par with a Score of 70-69-68=207? ###assistant: SELECT country FROM table_name_55 WHERE to_par = "-9" AND score = 70 - 69 - 68 = 207
###context:CREATE TABLE table_name_5 (to_par VARCHAR, player VARCHAR) ###human: What is Tiger Woods' to par? ###assistant: SELECT to_par FROM table_name_5 WHERE player = "tiger woods"
###context:CREATE TABLE table_name_85 (away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR) ###human: Which away team played against Peterborough United, with a tie no of replay? ###assistant: SELECT away_team FROM table_name_85 WHERE tie_no = "replay" AND home_team = "peterborough united"
###context:CREATE TABLE table_name_19 (matches INTEGER, econ VARCHAR, wickets VARCHAR, best VARCHAR) ###human: What are the lowest matches that have wickets greater than 16, 3/15 as the best, and an econ less than 8? ###assistant: SELECT MIN(matches) FROM table_name_19 WHERE wickets > 16 AND best = "3/15" AND econ < 8
###context:CREATE TABLE table_name_27 (econ VARCHAR, s_rate VARCHAR, runs VARCHAR) ###human: How many econs have 13.76 as the S/Rate, with runs less than 325? ###assistant: SELECT COUNT(econ) FROM table_name_27 WHERE s_rate = 13.76 AND runs < 325
###context:CREATE TABLE table_name_24 (wickets INTEGER, average VARCHAR, overs VARCHAR, player VARCHAR) ###human: What is the average wickets that have overs greater than 44, danish kaneria as the player, with an average greater than 13.8? ###assistant: SELECT AVG(wickets) FROM table_name_24 WHERE overs > 44 AND player = "danish kaneria" AND average > 13.8
###context:CREATE TABLE table_name_40 (_inns VARCHAR, player VARCHAR, wickets VARCHAR) ###human: How many 5+/inns have tyron henderson as the player, with wickets less than 21? ###assistant: SELECT COUNT(5) + _inns FROM table_name_40 WHERE player = "tyron henderson" AND wickets < 21
###context:CREATE TABLE table_name_42 (surface VARCHAR, partner VARCHAR) ###human: What is the surface when the partner was Robert Haybittel? ###assistant: SELECT surface FROM table_name_42 WHERE partner = "robert haybittel"
###context:CREATE TABLE table_name_82 (ratings__5_capital_cities_ VARCHAR, episode_no VARCHAR) ###human: What was the rating of the episode Wonder Drug? ###assistant: SELECT ratings__5_capital_cities_ FROM table_name_82 WHERE episode_no = "wonder drug"
###context:CREATE TABLE table_name_77 (winning_team VARCHAR, date VARCHAR) ###human: Who was the winning team on May 12? ###assistant: SELECT winning_team FROM table_name_77 WHERE date = "may 12"
###context:CREATE TABLE table_name_46 (winning_team VARCHAR, circuit VARCHAR) ###human: Who was the winning team for circuit zolder? ###assistant: SELECT winning_team FROM table_name_46 WHERE circuit = "circuit zolder"
###context:CREATE TABLE table_name_1 (winning_team VARCHAR, round VARCHAR) ###human: Who was the winning team for round 3? ###assistant: SELECT winning_team FROM table_name_1 WHERE round = "3"
###context:CREATE TABLE table_name_11 (winning_team VARCHAR, date VARCHAR) ###human: Who was the winning team on July 13? ###assistant: SELECT winning_team FROM table_name_11 WHERE date = "july 13"
###context:CREATE TABLE table_name_95 (year INTEGER, venue VARCHAR) ###human: Name the highest Year which has a Venue of narbonne , france? ###assistant: SELECT MAX(year) FROM table_name_95 WHERE venue = "narbonne , france"
###context:CREATE TABLE table_name_5 (competition VARCHAR, year VARCHAR, venue VARCHAR) ###human: Which Competition has a Year larger than 1990 in seville , spain? ###assistant: SELECT competition FROM table_name_5 WHERE year > 1990 AND venue = "seville , spain"
###context:CREATE TABLE table_name_71 (year VARCHAR, venue VARCHAR) ###human: COunt the Year which has a Venue of latakia , syria? ###assistant: SELECT COUNT(year) FROM table_name_71 WHERE venue = "latakia , syria"
###context:CREATE TABLE table_name_93 (position VARCHAR, event VARCHAR, venue VARCHAR) ###human: Which Position has an Event of 4x400 m relay, and a Venue of stuttgart , germany? ###assistant: SELECT position FROM table_name_93 WHERE event = "4x400 m relay" AND venue = "stuttgart , germany"
###context:CREATE TABLE table_name_80 (year INTEGER, competition VARCHAR, venue VARCHAR) ###human: Which Year has a Competition of european indoor championships, and a Venue of budapest , hungary? ###assistant: SELECT SUM(year) FROM table_name_80 WHERE competition = "european indoor championships" AND venue = "budapest , hungary"
###context:CREATE TABLE table_name_84 (rounds VARCHAR, engine VARCHAR, driver VARCHAR) ###human: How many rounds did satrio hermanto go with an opc-challenge engine? ###assistant: SELECT rounds FROM table_name_84 WHERE engine = "opc-challenge" AND driver = "satrio hermanto"
###context:CREATE TABLE table_name_27 (rounds VARCHAR, driver VARCHAR) ###human: How many rounds did frédéric vervisch go? ###assistant: SELECT rounds FROM table_name_27 WHERE driver = "frédéric vervisch"
###context:CREATE TABLE table_name_46 (rounds VARCHAR, driver VARCHAR) ###human: How many rounds did shirley van der lof go? ###assistant: SELECT rounds FROM table_name_46 WHERE driver = "shirley van der lof"
###context:CREATE TABLE table_name_2 (engine VARCHAR, driver VARCHAR, class VARCHAR, team VARCHAR) ###human: What c class engine did philipp eng and team hs technik motorsport use? ###assistant: SELECT engine FROM table_name_2 WHERE class = "c" AND team = "hs technik motorsport" AND driver = "philipp eng"
###context:CREATE TABLE table_name_74 (chassis VARCHAR, engine VARCHAR, driver VARCHAR) ###human: What is the chassis of rahel frey's volkswagen engine? ###assistant: SELECT chassis FROM table_name_74 WHERE engine = "volkswagen" AND driver = "rahel frey"
###context:CREATE TABLE table_name_80 (losses INTEGER, against VARCHAR, wins VARCHAR) ###human: What is the greatest number of losses when the against is 1465 and there are more than 7 wins? ###assistant: SELECT MAX(losses) FROM table_name_80 WHERE against = 1465 AND wins > 7
###context:CREATE TABLE table_name_36 (against INTEGER, draws VARCHAR, wins VARCHAR, golden_rivers VARCHAR) ###human: What is the total of against matches when there are less than 12 wins, less than 0 draws, and Moulamein is the golden river? ###assistant: SELECT SUM(against) FROM table_name_36 WHERE wins < 12 AND golden_rivers = "moulamein" AND draws < 0
###context:CREATE TABLE table_name_1 (losses VARCHAR, golden_rivers VARCHAR, byes VARCHAR) ###human: What is the total losses when Hay is the golden river and there are more than 2 byes? ###assistant: SELECT COUNT(losses) FROM table_name_1 WHERE golden_rivers = "hay" AND byes > 2
###context:CREATE TABLE table_name_76 (draws VARCHAR, against VARCHAR, byes VARCHAR) ###human: What is the total number of draws when there are 1465 against matches and less than 2 byes? ###assistant: SELECT COUNT(draws) FROM table_name_76 WHERE against = 1465 AND byes < 2
###context:CREATE TABLE table_name_22 (losses INTEGER, draws VARCHAR, against VARCHAR) ###human: What is the greatest number of losses when there are more than 0 draws and 1390 against matches? ###assistant: SELECT MAX(losses) FROM table_name_22 WHERE draws > 0 AND against = 1390
###context:CREATE TABLE table_name_76 (wins INTEGER, byes INTEGER) ###human: What is the highest number of wins when there are more than 2 byes? ###assistant: SELECT MAX(wins) FROM table_name_76 WHERE byes > 2
###context:CREATE TABLE table_name_70 (pct INTEGER, wins VARCHAR, name VARCHAR) ###human: Which percent has Wins larger than 72, and a Name of john yovicsin? ###assistant: SELECT SUM(pct) FROM table_name_70 WHERE wins > 72 AND name = "john yovicsin"
###context:CREATE TABLE table_name_75 (ties INTEGER, years VARCHAR, pct VARCHAR) ###human: How many Ties have Years of 1919–1925, and a Pct larger than 0.734? ###assistant: SELECT SUM(ties) FROM table_name_75 WHERE years = "1919–1925" AND pct > 0.734
###context:CREATE TABLE table_name_89 (pct INTEGER, years VARCHAR, wins VARCHAR) ###human: Which Pct has Years of 1957–1970, and Wins smaller than 78? ###assistant: SELECT SUM(pct) FROM table_name_89 WHERE years = "1957–1970" AND wins < 78
###context:CREATE TABLE table_name_18 (wins INTEGER, years VARCHAR, pct VARCHAR) ###human: Which Wins have Years of 1881, and a Pct larger than 0.75? ###assistant: SELECT AVG(wins) FROM table_name_18 WHERE years = "1881" AND pct > 0.75
###context:CREATE TABLE table_name_41 (genre VARCHAR, year_recorded VARCHAR) ###human: What's the genre of the song recorded in 1929? ###assistant: SELECT genre FROM table_name_41 WHERE year_recorded = "1929"
###context:CREATE TABLE table_name_59 (year_inducted VARCHAR) ###human: What's the year inducted for the label of label? ###assistant: SELECT year_inducted FROM table_name_59 WHERE "label" = "label"
###context:CREATE TABLE table_name_26 (genre VARCHAR, year_recorded VARCHAR) ###human: What genre is the song recorded in 1929? ###assistant: SELECT genre FROM table_name_26 WHERE year_recorded = "1929"
###context:CREATE TABLE table_name_56 (genre VARCHAR, year_recorded VARCHAR) ###human: What genre is the song recorded in 1926? ###assistant: SELECT genre FROM table_name_56 WHERE year_recorded = "1926"
###context:CREATE TABLE table_name_23 (party VARCHAR, residence VARCHAR) ###human: Which Party has a Residence of san diego? ###assistant: SELECT party FROM table_name_23 WHERE residence = "san diego"
###context:CREATE TABLE table_name_23 (years_in_senate VARCHAR, years_in_assembly VARCHAR, name VARCHAR) ###human: Which Years in Senate has a Years in Assembly of 2010–present, and toni atkins? ###assistant: SELECT years_in_senate FROM table_name_23 WHERE years_in_assembly = "2010–present" AND name = "toni atkins"
###context:CREATE TABLE table_name_12 (party VARCHAR, years_in_senate VARCHAR, years_in_assembly VARCHAR) ###human: Which Party has Years in Senate of —, and Years in Assembly of 2012–present? ###assistant: SELECT party FROM table_name_12 WHERE years_in_senate = "—" AND years_in_assembly = "2012–present"
###context:CREATE TABLE table_name_60 (residence VARCHAR, name VARCHAR) ###human: Show the Residence whose Name is rich gordon? ###assistant: SELECT residence FROM table_name_60 WHERE name = "rich gordon"
###context:CREATE TABLE table_name_27 (years_in_assembly VARCHAR, name VARCHAR) ###human: Which Years in Assembly has a Name of toni atkins? ###assistant: SELECT years_in_assembly FROM table_name_27 WHERE name = "toni atkins"
###context:CREATE TABLE table_name_77 (party VARCHAR, years_in_assembly VARCHAR, name VARCHAR) ###human: Which Party has Years in Assembly of 2008–present, and a Name of tom ammiano? ###assistant: SELECT party FROM table_name_77 WHERE years_in_assembly = "2008–present" AND name = "tom ammiano"
###context:CREATE TABLE table_name_34 (year_s__won VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR) ###human: In what year(s) did Raymond Floyd have a total of less than 291 and a To par of +10? ###assistant: SELECT year_s__won FROM table_name_34 WHERE total < 291 AND to_par = "+10" AND player = "raymond floyd"
###context:CREATE TABLE table_name_61 (to_par VARCHAR, total VARCHAR, player VARCHAR) ###human: What was Jeff Sluman's To par when his total was smaller than 284? ###assistant: SELECT to_par FROM table_name_61 WHERE total < 284 AND player = "jeff sluman"
###context:CREATE TABLE table_name_83 (finish VARCHAR, country VARCHAR, player VARCHAR) ###human: What was the finish for Lanny Wadkins of the United States? ###assistant: SELECT finish FROM table_name_83 WHERE country = "united states" AND player = "lanny wadkins"
###context:CREATE TABLE table_name_55 (player VARCHAR, to_par VARCHAR) ###human: Which player had a To par of +11? ###assistant: SELECT player FROM table_name_55 WHERE to_par = "+11"
###context:CREATE TABLE table_name_9 (country VARCHAR, year_s__won VARCHAR) ###human: From which country was the player whose year(s) won was 1983? ###assistant: SELECT country FROM table_name_9 WHERE year_s__won = "1983"
###context:CREATE TABLE table_name_70 (total VARCHAR, finish VARCHAR) ###human: What is the total for the player whose finish was t66? ###assistant: SELECT total FROM table_name_70 WHERE finish = "t66"