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: In 1975, what was the final round? ### Context: CREATE TABLE table_name_1 (final_round VARCHAR, year VARCHAR) [/INST] ### Response: SELECT final_round FROM table_name_1 WHERE year = "1975" </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: Where did someone run a 61:32 ### Context: CREATE TABLE table_name_61 (event_place VARCHAR, time VARCHAR) [/INST] ### Response: SELECT event_place FROM table_name_61 WHERE time = "61:32" </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 Derek Graham's time? ### Context: CREATE TABLE table_name_95 (time VARCHAR, name VARCHAR) [/INST] ### Response: SELECT time FROM table_name_95 WHERE name = "derek graham" </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: Where did someone run a 58:33? ### Context: CREATE TABLE table_name_25 (event_place VARCHAR, time VARCHAR) [/INST] ### Response: SELECT event_place FROM table_name_25 WHERE time = "58:33" </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 player for pick number less than 29 and mls team of chicago fire ### Context: CREATE TABLE table_name_97 (player VARCHAR, pick__number VARCHAR, mls_team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_97 WHERE pick__number < 29 AND mls_team = "chicago fire" </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 opponents for partner of yvonne meusburger ### Context: CREATE TABLE table_name_21 (opponents VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT opponents FROM table_name_21 WHERE partner = "yvonne meusburger" </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 date for opponents of raffaella bindi biljana pawlowa-dimitrova ### Context: CREATE TABLE table_name_46 (date VARCHAR, opponents VARCHAR) [/INST] ### Response: SELECT date FROM table_name_46 WHERE opponents = "raffaella bindi biljana pawlowa-dimitrova" </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 highest time for heat rank of 8 and lane more than 2 ### Context: CREATE TABLE table_name_48 (time INTEGER, heat_rank VARCHAR, lane VARCHAR) [/INST] ### Response: SELECT MAX(time) FROM table_name_48 WHERE heat_rank = 8 AND lane > 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: Tell me the least time for apostolos tsagkarakis for lane less than 6 ### Context: CREATE TABLE table_name_63 (time INTEGER, swimmer VARCHAR, lane VARCHAR) [/INST] ### Response: SELECT MIN(time) FROM table_name_63 WHERE swimmer = "apostolos tsagkarakis" AND lane < 6 </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 method for pride 33 ### Context: CREATE TABLE table_name_28 (method VARCHAR, event VARCHAR) [/INST] ### Response: SELECT method FROM table_name_28 WHERE event = "pride 33" </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 lowest round for total combat 15 ### Context: CREATE TABLE table_name_97 (round INTEGER, event VARCHAR) [/INST] ### Response: SELECT MIN(round) FROM table_name_97 WHERE event = "total combat 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: Tell me the week for pittsburgh steelers opponent ### Context: CREATE TABLE table_name_34 (week VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT week FROM table_name_34 WHERE opponent = "pittsburgh steelers" </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 week for record of 0-1 ### Context: CREATE TABLE table_name_19 (week VARCHAR, record VARCHAR) [/INST] ### Response: SELECT week FROM table_name_19 WHERE record = "0-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: Tell me the time for buffalo bills ### Context: CREATE TABLE table_name_9 (time VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT time FROM table_name_9 WHERE opponent = "buffalo bills" </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 thee record for week of hf ### Context: CREATE TABLE table_name_87 (record VARCHAR, week VARCHAR) [/INST] ### Response: SELECT record FROM table_name_87 WHERE week = "hf" </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 game site for week of 1 ### Context: CREATE TABLE table_name_98 (game_site VARCHAR, week VARCHAR) [/INST] ### Response: SELECT game_site FROM table_name_98 WHERE week = "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 result of the 1990 world cup qualifying competition? ### Context: CREATE TABLE table_name_55 (result VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT result FROM table_name_55 WHERE competition = "1990 world cup qualifying" </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 Score of the match in Torrance, California? ### Context: CREATE TABLE table_name_92 (score VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT score FROM table_name_92 WHERE venue = "torrance, california" </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 score for international friendly 17 august 2013 ### Context: CREATE TABLE table_name_70 (score VARCHAR, type VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_70 WHERE type = "international friendly" AND date = "17 august 2013" </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 did the MLS team metrostars pick? ### Context: CREATE TABLE table_name_84 (position VARCHAR, mls_team VARCHAR) [/INST] ### Response: SELECT position FROM table_name_84 WHERE mls_team = "metrostars" </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 MLS team is affiliated with yale university? ### Context: CREATE TABLE table_name_97 (mls_team VARCHAR, affiliation VARCHAR) [/INST] ### Response: SELECT mls_team FROM table_name_97 WHERE affiliation = "yale university" </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 affiliations have Pick #s under 32? ### Context: CREATE TABLE table_name_28 (affiliation VARCHAR, pick__number INTEGER) [/INST] ### Response: SELECT affiliation FROM table_name_28 WHERE pick__number < 32 </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 players have a position of F? ### Context: CREATE TABLE table_name_2 (player VARCHAR, position VARCHAR) [/INST] ### Response: SELECT player FROM table_name_2 WHERE position = "f" </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 goals were scored when there were 73 caps? ### Context: CREATE TABLE table_name_63 (goals VARCHAR, caps VARCHAR) [/INST] ### Response: SELECT goals FROM table_name_63 WHERE caps = "73" </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 build year for total production of 150 ### Context: CREATE TABLE table_name_44 (build_year VARCHAR, total_production VARCHAR) [/INST] ### Response: SELECT build_year FROM table_name_44 WHERE total_production = 150 </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 power output for total production of 100 ### Context: CREATE TABLE table_name_38 (power_output_(kw) VARCHAR, total_production VARCHAR) [/INST] ### Response: SELECT power_output_(kw) FROM table_name_38 WHERE total_production = 100 </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: Name the total production for model nd5 ### Context: CREATE TABLE table_name_72 (total_production VARCHAR, model VARCHAR) [/INST] ### Response: SELECT total_production FROM table_name_72 WHERE model = "nd5" </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 nationality of the player who played guard in 2006? ### Context: CREATE TABLE table_name_85 (nationality VARCHAR, position_s_ VARCHAR, season_s_ VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_85 WHERE position_s_ = "guard" AND season_s_ = "2006" </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 sum of bp 2nd comp with bp azeo of 57.5 ### Context: CREATE TABLE table_name_33 (bp_2nd_comp__ INTEGER, bp_azeo__˚c_ VARCHAR) [/INST] ### Response: SELECT SUM(bp_2nd_comp__) AS ˚c_ FROM table_name_33 WHERE bp_azeo__˚c_ = 57.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: Which rider went 18 laps ending +25.165 behind the leader? ### Context: CREATE TABLE table_name_24 (rider VARCHAR, laps VARCHAR, time VARCHAR) [/INST] ### Response: SELECT rider FROM table_name_24 WHERE laps = 18 AND time = "+25.165" </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 result for a year later than 2002? ### Context: CREATE TABLE table_name_1 (result VARCHAR, year INTEGER) [/INST] ### Response: SELECT result FROM table_name_1 WHERE year > 2002 </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 result for the year 1999? ### Context: CREATE TABLE table_name_56 (result VARCHAR, year VARCHAR) [/INST] ### Response: SELECT result FROM table_name_56 WHERE year = 1999 </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 engine for dhg tom's racing ### Context: CREATE TABLE table_name_88 (engine VARCHAR, team VARCHAR) [/INST] ### Response: SELECT engine FROM table_name_88 WHERE team = "dhg tom's racing" </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: Name the team for toshihiro kaneishi ### Context: CREATE TABLE table_name_21 (team VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT team FROM table_name_21 WHERE driver = "toshihiro kaneishi" </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 average year of 敗犬女王 ### Context: CREATE TABLE table_name_14 (year INTEGER, chinese_title VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_14 WHERE chinese_title = "敗犬女王" </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 role for 2005 ### Context: CREATE TABLE table_name_38 (role VARCHAR, year VARCHAR) [/INST] ### Response: SELECT role FROM table_name_38 WHERE year = 2005 </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 average year for my queen ### Context: CREATE TABLE table_name_65 (year INTEGER, english_title VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_65 WHERE english_title = "my queen" </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 singles W-L that has years larger than 1 and highest singles ranking of 1346 ### Context: CREATE TABLE table_name_7 (singles_w_l VARCHAR, years_played VARCHAR, highest_singles_ranking VARCHAR) [/INST] ### Response: SELECT singles_w_l FROM table_name_7 WHERE years_played > 1 AND highest_singles_ranking = "1346" </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 Top 10s is larger than 0 and the scoring average 73.04, what is the best finish? ### Context: CREATE TABLE table_name_10 (best_finish VARCHAR, top_10s VARCHAR, scoring_average VARCHAR) [/INST] ### Response: SELECT best_finish FROM table_name_10 WHERE top_10s > 0 AND scoring_average = 73.04 </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 score of praterstadion, vienna, and competition of euro 1980 qualifier ### Context: CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT result FROM table_name_54 WHERE venue = "praterstadion, vienna" AND competition = "euro 1980 qualifier" </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 score for 28 march 1979 ### Context: CREATE TABLE table_name_37 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_37 WHERE date = "28 march 1979" </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 score for 30 april 1977 ### Context: CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_72 WHERE date = "30 april 1977" </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 competition was the World Championships before 2011? ### Context: CREATE TABLE table_name_38 (event VARCHAR, competition VARCHAR, year VARCHAR) [/INST] ### Response: SELECT event FROM table_name_38 WHERE competition = "world championships" 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 event took place in Erfurt, Germany? ### Context: CREATE TABLE table_name_56 (event VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT event FROM table_name_56 WHERE venue = "erfurt, germany" </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: Name the team nickname for enrollment more than 42,326 ### Context: CREATE TABLE table_name_21 (team_nickname VARCHAR, enrollment INTEGER) [/INST] ### Response: SELECT team_nickname FROM table_name_21 WHERE enrollment > 42 OFFSET 326 </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: With the lost of 3, how many points? ### Context: CREATE TABLE table_name_9 (points_against VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT points_against FROM table_name_9 WHERE lost = "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 against points for 16 matches? ### Context: CREATE TABLE table_name_38 (points_against VARCHAR, matches VARCHAR) [/INST] ### Response: SELECT points_against FROM table_name_38 WHERE matches = "16" </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: The 51 points against, how many are for? ### Context: CREATE TABLE table_name_36 (points_for VARCHAR, points_against VARCHAR) [/INST] ### Response: SELECT points_for FROM table_name_36 WHERE points_against = "51" </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 played in, what are the total points? ### Context: CREATE TABLE table_name_36 (points_for VARCHAR, played_in VARCHAR) [/INST] ### Response: SELECT points_for FROM table_name_36 WHERE played_in = "total" </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 country is the Eurasia Astana team from? ### Context: CREATE TABLE table_name_69 (country VARCHAR, team VARCHAR) [/INST] ### Response: SELECT country FROM table_name_69 WHERE team = "eurasia astana" </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 2008 for 2012 of 4r and 2009 of a ### Context: CREATE TABLE table_name_38 (Id VARCHAR) [/INST] ### Response: SELECT 2008 FROM table_name_38 WHERE 2012 = "4r" AND 2009 = "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: Tell me the 2008 of 2001 olympic games ### Context: CREATE TABLE table_name_69 (Id VARCHAR) [/INST] ### Response: SELECT 2008 FROM table_name_69 WHERE 2011 = "olympic games" </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 tournament of 2009 of atp masters series ### Context: CREATE TABLE table_name_26 (tournament VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_26 WHERE 2009 = "atp masters series" </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 2011 tournament of monte carlo masters ### Context: CREATE TABLE table_name_73 (tournament VARCHAR) [/INST] ### Response: SELECT 2011 FROM table_name_73 WHERE tournament = "monte carlo masters" </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 2011 with 2012 of 2r ### Context: CREATE TABLE table_name_40 (Id VARCHAR) [/INST] ### Response: SELECT 2011 FROM table_name_40 WHERE 2012 = "2r" AND 2010 = "2r" AND 2009 = "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 latest round with a running back from a California college? ### Context: CREATE TABLE table_name_55 (round INTEGER, position VARCHAR, college VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_name_55 WHERE position = "running back" AND college = "california" </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 were the results for november 25, 1973? ### Context: CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_36 WHERE date = "november 25, 1973" </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 Opponent had a week of 14? ### Context: CREATE TABLE table_name_60 (opponent VARCHAR, week VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_60 WHERE week = 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: Tell me the date for new orleans saints ### Context: CREATE TABLE table_name_22 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_22 WHERE opponent = "new orleans saints" </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 result for week of 4 ### Context: CREATE TABLE table_name_46 (result VARCHAR, week VARCHAR) [/INST] ### Response: SELECT result FROM table_name_46 WHERE week = 4 </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 lowest week for w 10-3 ### Context: CREATE TABLE table_name_50 (week INTEGER, result VARCHAR) [/INST] ### Response: SELECT MIN(week) FROM table_name_50 WHERE result = "w 10-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: Tell me the average heat rank with a lane of 2 and time less than 27.66 ### Context: CREATE TABLE table_name_48 (heat_rank INTEGER, lane VARCHAR, time VARCHAR) [/INST] ### Response: SELECT AVG(heat_rank) FROM table_name_48 WHERE lane = 2 AND time < 27.66 </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 highest overall rank for lane less than 8 and time less than 27.16 ### Context: CREATE TABLE table_name_37 (overall_rank INTEGER, lane VARCHAR, time VARCHAR) [/INST] ### Response: SELECT MAX(overall_rank) FROM table_name_37 WHERE lane < 8 AND time < 27.16 </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 total number of time for luke hall overall rank being larger than 105 ### Context: CREATE TABLE table_name_68 (time VARCHAR, swimmer VARCHAR, overall_rank VARCHAR) [/INST] ### Response: SELECT COUNT(time) FROM table_name_68 WHERE swimmer = "luke hall" AND overall_rank > 105 </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 left team for josh vanlandingham ### Context: CREATE TABLE table_name_60 (left_team VARCHAR, name VARCHAR) [/INST] ### Response: SELECT left_team FROM table_name_60 WHERE name = "josh vanlandingham" </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 had less than 7 goals, was ranked under 7, and had more than 8 appearances? ### Context: CREATE TABLE table_name_86 (name VARCHAR, appearances VARCHAR, goals VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT name FROM table_name_86 WHERE goals < 7 AND rank < 7 AND appearances > 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 was the sum of ranks of those called Fernando Cavenaghi who appeared less than 7. ### Context: CREATE TABLE table_name_5 (rank INTEGER, name VARCHAR, appearances VARCHAR) [/INST] ### Response: SELECT SUM(rank) FROM table_name_5 WHERE name = "fernando cavenaghi" AND appearances < 7 </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 appearances were made by people that had 5 goals and less than 7 rank? ### Context: CREATE TABLE table_name_95 (appearances VARCHAR, goals VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(appearances) FROM table_name_95 WHERE goals = 5 AND rank < 7 </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 surface for the game that had a partner of vania king? ### Context: CREATE TABLE table_name_85 (surface VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_85 WHERE partner = "vania king" </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 partner for the game on October 20, 2013? ### Context: CREATE TABLE table_name_80 (partner VARCHAR, date VARCHAR) [/INST] ### Response: SELECT partner FROM table_name_80 WHERE date = "october 20, 2013" </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 name for round of e ### Context: CREATE TABLE table_name_29 (name VARCHAR, round VARCHAR) [/INST] ### Response: SELECT name FROM table_name_29 WHERE round = "e" </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: Name the team one for preliminary final ### Context: CREATE TABLE table_name_74 (team_1 VARCHAR, name VARCHAR) [/INST] ### Response: SELECT team_1 FROM table_name_74 WHERE name = "preliminary final" </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: Name the team 1 for round 3 ### Context: CREATE TABLE table_name_64 (team_1 VARCHAR, round VARCHAR) [/INST] ### Response: SELECT team_1 FROM table_name_64 WHERE round = "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: Name the round for 2nd elimination final ### Context: CREATE TABLE table_name_36 (round VARCHAR, match VARCHAR) [/INST] ### Response: SELECT round FROM table_name_36 WHERE match = "2nd elimination final" </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 less than 58 laps, what is the highest grid for Alexander Wurz? ### Context: CREATE TABLE table_name_32 (grid INTEGER, driver VARCHAR, laps VARCHAR) [/INST] ### Response: SELECT MAX(grid) FROM table_name_32 WHERE driver = "alexander wurz" AND laps < 58 </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 laps for grid 19? ### Context: CREATE TABLE table_name_24 (laps VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT COUNT(laps) FROM table_name_24 WHERE grid = 19 </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: Name the winning driver for mobilecast impul and twin ring motegi ### Context: CREATE TABLE table_name_98 (winning_driver VARCHAR, winning_team VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_name_98 WHERE winning_team = "mobilecast impul" AND circuit = "twin ring motegi" </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: Name the winning driver for round 7 ### Context: CREATE TABLE table_name_24 (winning_driver VARCHAR, round VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_name_24 WHERE round = 7 </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: Name the number of total for 3 gold and rank less than 3 ### Context: CREATE TABLE table_name_25 (total VARCHAR, gold VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_name_25 WHERE gold = 3 AND rank < 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: Tell me the naame of Investigation of thrombus imaging ### Context: CREATE TABLE table_name_19 (name VARCHAR, investigation VARCHAR) [/INST] ### Response: SELECT name FROM table_name_19 WHERE investigation = "thrombus imaging" </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 name for Investigation of thrombus imaging and Route of administration of iv ### Context: CREATE TABLE table_name_68 (name VARCHAR, route_of_administration VARCHAR, investigation VARCHAR) [/INST] ### Response: SELECT name FROM table_name_68 WHERE route_of_administration = "iv" AND investigation = "thrombus imaging" </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 in-vitro for Route of administration of iv and Investigation of somatostatin receptor imaging ### Context: CREATE TABLE table_name_96 (in_vitro___in_vivo VARCHAR, route_of_administration VARCHAR, investigation VARCHAR) [/INST] ### Response: SELECT in_vitro___in_vivo FROM table_name_96 WHERE route_of_administration = "iv" AND investigation = "somatostatin receptor imaging" </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: The player is Tim Regan and the pick # is position of d, what's the sum? ### Context: CREATE TABLE table_name_37 (pick__number INTEGER, position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT SUM(pick__number) FROM table_name_37 WHERE position = "d" AND player = "tim regan" </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: The position that has a pick # of 16 is what? ### Context: CREATE TABLE table_name_66 (position VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT position FROM table_name_66 WHERE pick__number = 16 </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: Damani Ralph is associated with which lowest pick #? ### Context: CREATE TABLE table_name_39 (pick__number INTEGER, player VARCHAR) [/INST] ### Response: SELECT MIN(pick__number) FROM table_name_39 WHERE player = "damani ralph" </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: Chicago fire has a total of a total of how many #s? ### Context: CREATE TABLE table_name_5 (pick__number VARCHAR, mls_team VARCHAR) [/INST] ### Response: SELECT COUNT(pick__number) FROM table_name_5 WHERE mls_team = "chicago fire" </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 score for score in legs and year less than 2012 ### Context: CREATE TABLE table_name_51 (score__l__ VARCHAR, _score_in_legs VARCHAR, __s__ VARCHAR, _score_in_sets VARCHAR, year INTEGER) [/INST] ### Response: SELECT score__l__ = _score_in_legs, __s__ = _score_in_sets FROM table_name_51 WHERE 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: Tell me the championship for runner-up outcome of 2010 ### Context: CREATE TABLE table_name_30 (championship VARCHAR, outcome VARCHAR, year VARCHAR) [/INST] ### Response: SELECT championship FROM table_name_30 WHERE outcome = "runner-up" AND year = 2010 </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 outcome for premier league darts ### Context: CREATE TABLE table_name_12 (outcome VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_12 WHERE championship = "premier league darts" </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 sum of Year for outcome of runner-up for world darts championship ### Context: CREATE TABLE table_name_41 (year INTEGER, outcome VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_41 WHERE outcome = "runner-up" AND championship = "world darts championship" </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 2007, how many points were won when more than 5 matches were played? ### Context: CREATE TABLE table_name_74 (points_won VARCHAR, year VARCHAR, total_matches VARCHAR) [/INST] ### Response: SELECT COUNT(points_won) FROM table_name_74 WHERE year = "2007" AND total_matches > 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: In 2007, what is the average total matches with points % larger than 33.3? ### Context: CREATE TABLE table_name_73 (total_matches INTEGER, points__percentage VARCHAR, year VARCHAR) [/INST] ### Response: SELECT AVG(total_matches) FROM table_name_73 WHERE points__percentage > 33.3 AND year = "2007" </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 player attended school at Georgia Tech? ### Context: CREATE TABLE table_name_74 (player VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_74 WHERE school_club_team = "georgia tech" </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 Ed Stokes hold? ### Context: CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_87 WHERE player = "ed stokes" </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 Michael Stewart's school or club team? ### Context: CREATE TABLE table_name_93 (school_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_93 WHERE player = "michael stewart" </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 tournament was played on May 29, 2010? ### Context: CREATE TABLE table_name_8 (tournament VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_8 WHERE date = "may 29, 2010" </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 surface made of in the contest where Paula Ormaechea was the partner? ### Context: CREATE TABLE table_name_50 (surface VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_50 WHERE partner = "paula ormaechea" </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 method with a record of 4-2 ### Context: CREATE TABLE table_name_1 (method VARCHAR, record VARCHAR) [/INST] ### Response: SELECT method FROM table_name_1 WHERE record = "4-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: Tell me the record for yukiya naito ### Context: CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_name_78 WHERE opponent = "yukiya naito" </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 record for kazuhiro nakamura ### Context: CREATE TABLE table_name_25 (record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_name_25 WHERE opponent = "kazuhiro nakamura" </s>