text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many people attended games at alberto picco stadium? ### Context: CREATE TABLE table_name_97 (capacity VARCHAR, stadium VARCHAR) [/INST] ### Response: SELECT COUNT(capacity) FROM table_name_97 WHERE stadium = "alberto picco" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What team is from terni? ### Context: CREATE TABLE table_name_59 (team VARCHAR, home_city VARCHAR) [/INST] ### Response: SELECT team FROM table_name_59 WHERE home_city = "terni" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total attendance of the game with Toronto as the visitor team? ### Context: CREATE TABLE table_name_82 (attendance VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT COUNT(attendance) FROM table_name_82 WHERE visitor = "toronto" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position does tim barnett play? ### Context: CREATE TABLE table_name_26 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_26 WHERE player = "tim barnett" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: I want the sum of number of seasons in top division for position in 2012-13 of 009 9th and number of seasons in premier league less than 3 ### Context: CREATE TABLE table_name_48 (number_of_seasons_in_top_division INTEGER, position_in_2012_13 VARCHAR, number_of_seasons_in_the_premier_league VARCHAR) [/INST] ### Response: SELECT SUM(number_of_seasons_in_top_division) FROM table_name_48 WHERE position_in_2012_13 = "009 9th" AND number_of_seasons_in_the_premier_league < 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many tons was the ship from norway? ### Context: CREATE TABLE table_name_14 (tons VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT COUNT(tons) FROM table_name_14 WHERE nationality = "norway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many people were in attendance at Glenferrie Oval? ### Context: CREATE TABLE table_name_43 (crowd INTEGER, venue VARCHAR) [/INST] ### Response: SELECT MIN(crowd) FROM table_name_43 WHERE venue = "glenferrie oval" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the away team score at Brunswick Street Oval? ### Context: CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_82 WHERE venue = "brunswick street oval" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was Melbourne's away team score? ### Context: CREATE TABLE table_name_20 (away_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_20 WHERE away_team = "melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Adam Keefe's nationality? ### Context: CREATE TABLE table_name_42 (nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_42 WHERE player = "adam keefe" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the player who went to Stanford? ### Context: CREATE TABLE table_name_8 (player VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_8 WHERE school_club_team = "stanford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the years on the Jazz for the player who is a combo forward? ### Context: CREATE TABLE table_name_12 (years_for_jazz VARCHAR, position VARCHAR) [/INST] ### Response: SELECT years_for_jazz FROM table_name_12 WHERE position = "combo forward" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total for the state of new york and a swimsuit less than 9.394? ### Context: CREATE TABLE table_name_97 (interview INTEGER, state VARCHAR, swimsuit VARCHAR) [/INST] ### Response: SELECT SUM(interview) FROM table_name_97 WHERE state = "new york" AND swimsuit < 9.394 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the greatest interview that has a swimsuit less than 8.838? ### Context: CREATE TABLE table_name_98 (interview INTEGER, swimsuit INTEGER) [/INST] ### Response: SELECT MAX(interview) FROM table_name_98 WHERE swimsuit < 8.838 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest average that has a swimsuit less than 8.966, for west virginia and an evening gown less than 8.711? ### Context: CREATE TABLE table_name_15 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, state VARCHAR) [/INST] ### Response: SELECT MIN(average) FROM table_name_15 WHERE swimsuit < 8.966 AND state = "west virginia" AND evening_gown < 8.711 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest swimsuit that has an evening gown bigger than 8.794 for illinois? ### Context: CREATE TABLE table_name_47 (swimsuit INTEGER, evening_gown VARCHAR, state VARCHAR) [/INST] ### Response: SELECT MIN(swimsuit) FROM table_name_47 WHERE evening_gown > 8.794 AND state = "illinois" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What day was the score 3-0 after 2011? ### Context: CREATE TABLE table_name_88 (date VARCHAR, score VARCHAR, year VARCHAR) [/INST] ### Response: SELECT date FROM table_name_88 WHERE score = "3-0" AND year = 2011 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What day was the result a win, the score 2-1, and the year before 2012? ### Context: CREATE TABLE table_name_7 (date VARCHAR, year VARCHAR, result VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_7 WHERE result = "win" AND score = "2-1" AND year < 2012 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest amount of floors in Stockholm with a rank of 15? ### Context: CREATE TABLE table_name_96 (floors INTEGER, location VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MAX(floors) FROM table_name_96 WHERE location = "stockholm" AND rank = "15" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the rank of Skanskaskrapan? ### Context: CREATE TABLE table_name_3 (rank VARCHAR, name VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_3 WHERE name = "skanskaskrapan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the rank of Point Hyllie? ### Context: CREATE TABLE table_name_52 (rank VARCHAR, name VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_52 WHERE name = "point hyllie" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many bronzes for the nation with 2 golds and ranked below 2? ### Context: CREATE TABLE table_name_9 (bronze INTEGER, gold VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT SUM(bronze) FROM table_name_9 WHERE gold = 2 AND rank > 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the decision when montreal was at home? ### Context: CREATE TABLE table_name_12 (decision VARCHAR, home VARCHAR) [/INST] ### Response: SELECT decision FROM table_name_12 WHERE home = "montreal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What day is the team 17–24–5? ### Context: CREATE TABLE table_name_59 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_59 WHERE record = "17–24–5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the visitor on november 14 with leclaire recording the decision? ### Context: CREATE TABLE table_name_43 (visitor VARCHAR, decision VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_43 WHERE decision = "leclaire" AND date = "november 14" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What day was St. Louis the visitor? ### Context: CREATE TABLE table_name_85 (date VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT date FROM table_name_85 WHERE visitor = "st. louis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What club team is the United States player with an overall pick smaller than 142 from? ### Context: CREATE TABLE table_name_98 (club_team VARCHAR, nationality VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT club_team FROM table_name_98 WHERE nationality = "united states" AND overall < 142 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which object type had an NGC number greater than 6357 and a declination (J2000) of Β°45β€²34β€³? ### Context: CREATE TABLE table_name_53 (object_type VARCHAR, ngc_number VARCHAR, declination___j2000__ VARCHAR) [/INST] ### Response: SELECT object_type FROM table_name_53 WHERE ngc_number > 6357 AND declination___j2000__ = "Β°45β€²34β€³" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For the constellation scorpius and object of planetary nebula, what was the declination (J2000)? ### Context: CREATE TABLE table_name_53 (declination___j2000__ VARCHAR, constellation VARCHAR, object_type VARCHAR) [/INST] ### Response: SELECT declination___j2000__ FROM table_name_53 WHERE constellation = "scorpius" AND object_type = "planetary nebula" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the earliest year a red maple had a mintage over 15,000? ### Context: CREATE TABLE table_name_48 (year INTEGER, theme VARCHAR, mintage VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_48 WHERE theme = "red maple" AND mintage > 15 OFFSET 000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the issue price of a voyageur before 2006? ### Context: CREATE TABLE table_name_89 (issue_price VARCHAR, year VARCHAR, theme VARCHAR) [/INST] ### Response: SELECT issue_price FROM table_name_89 WHERE year < 2006 AND theme = "voyageur" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many cowboy coins were minted? ### Context: CREATE TABLE table_name_1 (mintage VARCHAR, theme VARCHAR) [/INST] ### Response: SELECT mintage FROM table_name_1 WHERE theme = "cowboy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the attendance of the South Melbourne away game? ### Context: CREATE TABLE table_name_5 (crowd VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT COUNT(crowd) FROM table_name_5 WHERE away_team = "south melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the opponents score when Carlton played at home? ### Context: CREATE TABLE table_name_55 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_55 WHERE home_team = "carlton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the home team at MCG? ### Context: CREATE TABLE table_name_39 (home_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_39 WHERE venue = "mcg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the HDD capacity for # FDD larger than 0 when FDD capacity is 710kb ### Context: CREATE TABLE table_name_7 (hdd_capacity VARCHAR, _number_fdd VARCHAR, fdd_capacity__each_ VARCHAR) [/INST] ### Response: SELECT hdd_capacity FROM table_name_7 WHERE _number_fdd > 0 AND fdd_capacity__each_ = "710kb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: I want to know the HP model with a #HDD of 1 of sides of ds ### Context: CREATE TABLE table_name_68 (hp_model VARCHAR, _number_hdd VARCHAR, sides VARCHAR) [/INST] ### Response: SELECT hp_model FROM table_name_68 WHERE _number_hdd = 1 AND sides = "ds" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the command set with FDD capacity of 270kb and sides of ds with #FDD more than 1 ### Context: CREATE TABLE table_name_35 (command_set VARCHAR, _number_fdd VARCHAR, fdd_capacity__each_ VARCHAR, sides VARCHAR) [/INST] ### Response: SELECT command_set FROM table_name_35 WHERE fdd_capacity__each_ = "270kb" AND sides = "ds" AND _number_fdd > 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what was the foundation of Politeknik Pagoh? ### Context: CREATE TABLE table_name_73 (foundation INTEGER, official_name_in_malay VARCHAR) [/INST] ### Response: SELECT AVG(foundation) FROM table_name_73 WHERE official_name_in_malay = "politeknik pagoh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When the shares were less than 8, how many total viewers were there? ### Context: CREATE TABLE table_name_12 (total_viewers VARCHAR, share INTEGER) [/INST] ### Response: SELECT total_viewers FROM table_name_12 WHERE share < 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest crowd when North Melbourne played at home? ### Context: CREATE TABLE table_name_92 (crowd INTEGER, home_team VARCHAR) [/INST] ### Response: SELECT MIN(crowd) FROM table_name_92 WHERE home_team = "north melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which home team has a crowd larger than 25,000? ### Context: CREATE TABLE table_name_42 (home_team VARCHAR, crowd INTEGER) [/INST] ### Response: SELECT home_team FROM table_name_42 WHERE crowd > 25 OFFSET 000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What driver has a grid of under 10, and under 70 laps? ### Context: CREATE TABLE table_name_84 (driver VARCHAR, grid VARCHAR, laps VARCHAR) [/INST] ### Response: SELECT driver FROM table_name_84 WHERE grid < 10 AND laps < 70 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many total laps for a grid of 3? ### Context: CREATE TABLE table_name_42 (laps VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT COUNT(laps) FROM table_name_42 WHERE grid = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average grid for giorgio pantano? ### Context: CREATE TABLE table_name_70 (grid INTEGER, driver VARCHAR) [/INST] ### Response: SELECT AVG(grid) FROM table_name_70 WHERE driver = "giorgio pantano" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Year 10 6th Quads for the Open 2nd VIII of ACGS and a Year 11 2nd VIII NC? ### Context: CREATE TABLE table_name_7 (year_10_6th_quad VARCHAR, open_2nd_viii VARCHAR, year_11_2nd_viii VARCHAR) [/INST] ### Response: SELECT year_10_6th_quad FROM table_name_7 WHERE open_2nd_viii = "acgs" AND year_11_2nd_viii = "nc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Year 10 5th Quads with NC as Open 1st VIII and NC as a Year 10 3rd Quads? ### Context: CREATE TABLE table_name_16 (year_10_5th_quad VARCHAR, open_1st_viii VARCHAR, year_10_3rd_quad VARCHAR) [/INST] ### Response: SELECT year_10_5th_quad FROM table_name_16 WHERE open_1st_viii = "nc" AND year_10_3rd_quad = "nc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Open 1st VIII for the 2012 crew? ### Context: CREATE TABLE table_name_76 (open_1st_viii VARCHAR, crew VARCHAR) [/INST] ### Response: SELECT open_1st_viii FROM table_name_76 WHERE crew = 2012 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On July 25 what is the lowest attendance with the Brewers as the opponent? ### Context: CREATE TABLE table_name_26 (attendance INTEGER, opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT MIN(attendance) FROM table_name_26 WHERE opponent = "brewers" AND date = "july 25" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the high assists for orlando ### Context: CREATE TABLE table_name_46 (high_assists VARCHAR, team VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_46 WHERE team = "orlando" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the presenter on Friday of the series in which Alice Levine Jamie East presented on Sunday? ### Context: CREATE TABLE table_name_34 (friday VARCHAR, sunday VARCHAR) [/INST] ### Response: SELECT friday FROM table_name_34 WHERE sunday = "alice levine jamie east" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what series did Alice Levine Jamie East give a presentation on Saturday? ### Context: CREATE TABLE table_name_60 (series VARCHAR, saturday VARCHAR) [/INST] ### Response: SELECT series FROM table_name_60 WHERE saturday = "alice levine jamie east" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the presenter on Thursday of the series in which Emma Willis was the presenter on Wednesday, and Alice Levine Jamie East was the presenter on Sunday? ### Context: CREATE TABLE table_name_15 (thursday VARCHAR, wednesday VARCHAR, sunday VARCHAR) [/INST] ### Response: SELECT thursday FROM table_name_15 WHERE wednesday = "emma willis" AND sunday = "alice levine jamie east" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On the series in which Emma Willis Jamie East presented on Friday, who was the presenter on Sunday? ### Context: CREATE TABLE table_name_79 (sunday VARCHAR, friday VARCHAR) [/INST] ### Response: SELECT sunday FROM table_name_79 WHERE friday = "emma willis jamie east" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the presenter on Monday of "Big Brother 13" in which Alice Levine Jamie East presented on Sunday? ### Context: CREATE TABLE table_name_45 (monday VARCHAR, sunday VARCHAR, series VARCHAR) [/INST] ### Response: SELECT monday FROM table_name_45 WHERE sunday = "alice levine jamie east" AND series = "big brother 13" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What state was the president who was elected earlier than 1848 born in? ### Context: CREATE TABLE table_name_43 (birth_state VARCHAR, election_year INTEGER) [/INST] ### Response: SELECT birth_state FROM table_name_43 WHERE election_year < 1848 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the resident state for the president elected in 1864? ### Context: CREATE TABLE table_name_83 (resident_state VARCHAR, election_year VARCHAR) [/INST] ### Response: SELECT resident_state FROM table_name_83 WHERE election_year = 1864 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the election year of the president with a Birth State of lost connecticut? ### Context: CREATE TABLE table_name_61 (election_year INTEGER, birth_state VARCHAR) [/INST] ### Response: SELECT AVG(election_year) FROM table_name_61 WHERE birth_state = "lost connecticut" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which ICAO's IATA is ath? ### Context: CREATE TABLE table_name_63 (icao VARCHAR, iata VARCHAR) [/INST] ### Response: SELECT icao FROM table_name_63 WHERE iata = "ath" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which country's city is Sendai? ### Context: CREATE TABLE table_name_5 (country VARCHAR, city VARCHAR) [/INST] ### Response: SELECT country FROM table_name_5 WHERE city = "sendai" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which ICAO's city is Manchester? ### Context: CREATE TABLE table_name_96 (icao VARCHAR, city VARCHAR) [/INST] ### Response: SELECT icao FROM table_name_96 WHERE city = "manchester" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which airport is in Saudi Arabia when the ICAO is oejn? ### Context: CREATE TABLE table_name_20 (airport VARCHAR, country VARCHAR, icao VARCHAR) [/INST] ### Response: SELECT airport FROM table_name_20 WHERE country = "saudi arabia" AND icao = "oejn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which IATA's ICAO is rjss? ### Context: CREATE TABLE table_name_17 (iata VARCHAR, icao VARCHAR) [/INST] ### Response: SELECT iata FROM table_name_17 WHERE icao = "rjss" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which country features Adelaide Airport? ### Context: CREATE TABLE table_name_21 (country VARCHAR, airport VARCHAR) [/INST] ### Response: SELECT country FROM table_name_21 WHERE airport = "adelaide airport" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the mean number of laps when the grid was 8? ### Context: CREATE TABLE table_name_8 (laps INTEGER, grid VARCHAR) [/INST] ### Response: SELECT AVG(laps) FROM table_name_8 WHERE grid = 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the largest lap number when the time was +31.982? ### Context: CREATE TABLE table_name_5 (laps INTEGER, time VARCHAR) [/INST] ### Response: SELECT MAX(laps) FROM table_name_5 WHERE time = "+31.982" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What time was there when the bike was Ducati 999 F06 and the grid number was 15? ### Context: CREATE TABLE table_name_93 (time VARCHAR, bike VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT time FROM table_name_93 WHERE bike = "ducati 999 f06" AND grid = 15 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What network is the Korean title of mbc 베슀트극μž₯ - μž‘μ€ 도둑 on? ### Context: CREATE TABLE table_name_30 (network VARCHAR, korean_title VARCHAR) [/INST] ### Response: SELECT network FROM table_name_30 WHERE korean_title = "mbc 베슀트극μž₯ - μž‘μ€ 도둑" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what surface was the tournament with opponents kathleen horvath marcella mesker in the finals? ### Context: CREATE TABLE table_name_1 (surface VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_1 WHERE opponents_in_the_final = "kathleen horvath marcella mesker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the final that has a score of 3–6, 6–3, 6–4 and penny barg paula smith was the opponent? ### Context: CREATE TABLE table_name_98 (date VARCHAR, score_in_the_final VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT date FROM table_name_98 WHERE score_in_the_final = "3–6, 6–3, 6–4" AND opponents_in_the_final = "penny barg paula smith" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many people attended games at vfl park? ### Context: CREATE TABLE table_name_12 (crowd INTEGER, venue VARCHAR) [/INST] ### Response: SELECT SUM(crowd) FROM table_name_12 WHERE venue = "vfl park" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the home side when geelong is the away side? ### Context: CREATE TABLE table_name_80 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_80 WHERE away_team = "geelong" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Pick has the College named Far Eastern / PSBA? ### Context: CREATE TABLE table_name_68 (pick VARCHAR, college VARCHAR) [/INST] ### Response: SELECT pick FROM table_name_68 WHERE college = "far eastern / psba" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did Hawthorn play as the away team? ### Context: CREATE TABLE table_name_95 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_95 WHERE away_team = "hawthorn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which team played Footscray? ### Context: CREATE TABLE table_name_41 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_41 WHERE home_team = "footscray" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many were in the crowd when North Melbourne was the home team? ### Context: CREATE TABLE table_name_24 (crowd VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT crowd FROM table_name_24 WHERE home_team = "north melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the home team score for essendon ### Context: CREATE TABLE table_name_54 (home_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_54 WHERE home_team = "essendon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the Host interface for digital of dvb-t (cx22702) and model of nova-t pci (90002) ### Context: CREATE TABLE table_name_34 (host_interface VARCHAR, digital VARCHAR, model VARCHAR) [/INST] ### Response: SELECT host_interface FROM table_name_34 WHERE digital = "dvb-t (cx22702)" AND model = "nova-t pci (90002)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: I want the model for digital of dvb-t (cx22702) and tuner of thomson dtt75105 ### Context: CREATE TABLE table_name_7 (model VARCHAR, digital VARCHAR, tuner VARCHAR) [/INST] ### Response: SELECT model FROM table_name_7 WHERE digital = "dvb-t (cx22702)" AND tuner = "thomson dtt75105" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: I want the type for host interface of pci saa7146 tmx320av7111 ### Context: CREATE TABLE table_name_89 (type VARCHAR, host_interface VARCHAR) [/INST] ### Response: SELECT type FROM table_name_89 WHERE host_interface = "pci saa7146 tmx320av7111" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: I want the tuner for hybrid video recorder and Digital of dvb-t (zl10353), and a Model of hvr-900 ### Context: CREATE TABLE table_name_32 (tuner VARCHAR, model VARCHAR, type VARCHAR, digital VARCHAR) [/INST] ### Response: SELECT tuner FROM table_name_32 WHERE type = "hybrid video recorder" AND digital = "dvb-t (zl10353)" AND model = "hvr-900" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the digital for tuner of thomson dtt75105 ### Context: CREATE TABLE table_name_91 (digital VARCHAR, tuner VARCHAR) [/INST] ### Response: SELECT digital FROM table_name_91 WHERE tuner = "thomson dtt75105" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the Total number of Opening Weekend Net Gross that occured after the year 2012 with a Rank of 1? ### Context: CREATE TABLE table_name_82 (opening_weekend_net_gross VARCHAR, year VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(opening_weekend_net_gross) FROM table_name_82 WHERE year > 2012 AND rank = 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Studio has the Year of 2012 listed and the Movie, Dabangg? ### Context: CREATE TABLE table_name_22 (studio_s_ VARCHAR, year VARCHAR, movie VARCHAR) [/INST] ### Response: SELECT studio_s_ FROM table_name_22 WHERE year = 2012 AND movie = "dabangg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the sum of Opening Weekend Net Gross at the Studio of UTV Motion Pictures? ### Context: CREATE TABLE table_name_8 (opening_weekend_net_gross INTEGER, studio_s_ VARCHAR) [/INST] ### Response: SELECT SUM(opening_weekend_net_gross) FROM table_name_8 WHERE studio_s_ = "utv motion pictures" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number for evening gown in kansas with less than 9.357 interviews? ### Context: CREATE TABLE table_name_96 (evening_gown INTEGER, state VARCHAR, interview VARCHAR) [/INST] ### Response: SELECT SUM(evening_gown) FROM table_name_96 WHERE state = "kansas" AND interview < 9.357 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What state had less than 8.874 for swimsuit, less than 9.257 for evening gown, and less than 9.121 for interview? ### Context: CREATE TABLE table_name_26 (state VARCHAR, interview VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR) [/INST] ### Response: SELECT state FROM table_name_26 WHERE swimsuit < 8.874 AND evening_gown < 9.257 AND interview < 9.121 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number for swimsuit when the interview number is less than 8.808? ### Context: CREATE TABLE table_name_93 (swimsuit VARCHAR, interview INTEGER) [/INST] ### Response: SELECT swimsuit FROM table_name_93 WHERE interview < 8.808 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number for swimsuit when the evening gown number is larger than 9.257 and the interview number is 9.357? ### Context: CREATE TABLE table_name_25 (swimsuit INTEGER, evening_gown VARCHAR, interview VARCHAR) [/INST] ### Response: SELECT SUM(swimsuit) FROM table_name_25 WHERE evening_gown > 9.257 AND interview = 9.357 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest evening gown number in North Carolina with less than 9.214 interviews? ### Context: CREATE TABLE table_name_94 (evening_gown INTEGER, state VARCHAR, interview VARCHAR) [/INST] ### Response: SELECT MAX(evening_gown) FROM table_name_94 WHERE state = "north carolina" AND interview < 9.214 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: At what location was the time 1:54:21? ### Context: CREATE TABLE table_name_90 (location VARCHAR, time VARCHAR) [/INST] ### Response: SELECT location FROM table_name_90 WHERE time = "1:54:21" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Athlete is from the United Kingdom? ### Context: CREATE TABLE table_name_14 (athlete VARCHAR, country_state VARCHAR) [/INST] ### Response: SELECT athlete FROM table_name_14 WHERE country_state = "united kingdom" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which country had des moines as the location in 2011? ### Context: CREATE TABLE table_name_68 (country_state VARCHAR, location VARCHAR, year VARCHAR) [/INST] ### Response: SELECT country_state FROM table_name_68 WHERE location = "des moines" AND year = 2011 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the time for 2009? ### Context: CREATE TABLE table_name_14 (time VARCHAR, year VARCHAR) [/INST] ### Response: SELECT time FROM table_name_14 WHERE year = 2009 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the opponent on June 29? ### Context: CREATE TABLE table_name_86 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_86 WHERE date = "june 29" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the 2010 result for a 2008 result of LQ and 2011 result of 2R? ### Context: CREATE TABLE table_name_30 (Id VARCHAR) [/INST] ### Response: SELECT 2010 FROM table_name_30 WHERE 2008 = "lq" AND 2011 = "2r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the 2007 result for a 2008 result of 1R and 2009 result of 2R? ### Context: CREATE TABLE table_name_47 (Id VARCHAR) [/INST] ### Response: SELECT 2007 FROM table_name_47 WHERE 2009 = "2r" AND 2008 = "1r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which tournament had a 2010 result of A? ### Context: CREATE TABLE table_name_87 (tournament VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_87 WHERE 2010 = "a" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which pick was Bill Bray? ### Context: CREATE TABLE table_name_66 (pick INTEGER, player VARCHAR) [/INST] ### Response: SELECT SUM(pick) FROM table_name_66 WHERE player = "bill bray" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: From which school did the Minnesota Twins SS come from? ### Context: CREATE TABLE table_name_50 (school VARCHAR, team VARCHAR, position VARCHAR) [/INST] ### Response: SELECT school FROM table_name_50 WHERE team = "minnesota twins" AND position = "ss" </s>