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: What is the minimum hydroelectricity with a less than 116.4 total, and a greater than 18.637 solar? ### Context: CREATE TABLE table_name_51 (hydroelectricity INTEGER, total VARCHAR, solar VARCHAR) [/INST] ### Response: SELECT MIN(hydroelectricity) FROM table_name_51 WHERE total < 116.4 AND solar > 18.637 </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 2011 with a less than 13.333 wind power what is the mean hydroelectricity? ### Context: CREATE TABLE table_name_73 (hydroelectricity INTEGER, year VARCHAR, wind_power VARCHAR) [/INST] ### Response: SELECT AVG(hydroelectricity) FROM table_name_73 WHERE year > 2011 AND wind_power < 13.333 </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 has a less than 136.1 total and a 0.02 solar? ### Context: CREATE TABLE table_name_38 (country VARCHAR, total VARCHAR, solar VARCHAR) [/INST] ### Response: SELECT country FROM table_name_38 WHERE total < 136.1 AND solar = 0.02 </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: Home for away of hispano? ### Context: CREATE TABLE table_name_4 (home VARCHAR, away VARCHAR) [/INST] ### Response: SELECT home FROM table_name_4 WHERE away = "hispano" </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 Position has a Pick # smaller than 23, and a Player of garrett sutherland? ### Context: CREATE TABLE table_name_12 (position VARCHAR, pick__number VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_12 WHERE pick__number < 23 AND player = "garrett sutherland" </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 CFL Team which has a Player of chris evraire? ### Context: CREATE TABLE table_name_53 (cfl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT cfl_team FROM table_name_53 WHERE player = "chris evraire" </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 Player who has a Pick # of 27? ### Context: CREATE TABLE table_name_13 (player VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT player FROM table_name_13 WHERE pick__number = 27 </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 Player who has a CFL Team of toronto? ### Context: CREATE TABLE table_name_24 (player VARCHAR, cfl_team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_24 WHERE cfl_team = "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: Name the Pick # which has a Position of lb, and a CFL Team of winnipeg? ### Context: CREATE TABLE table_name_74 (pick__number INTEGER, position VARCHAR, cfl_team VARCHAR) [/INST] ### Response: SELECT SUM(pick__number) FROM table_name_74 WHERE position = "lb" AND cfl_team = "winnipeg" </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 SUM OF ATTENDANCE FOR DETROIT, WHEN POINTS ARE LARGER THAN 33? ### Context: CREATE TABLE table_name_26 (attendance INTEGER, home VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(attendance) FROM table_name_26 WHERE home = "detroit" AND points > 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: What was the location and attendance for the game on December 12? ### Context: CREATE TABLE table_name_68 (location_attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_name_68 WHERE date = "december 12" </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 Touchdowns, when Player is Andrew Glover, and when Yards is greater than 281? ### Context: CREATE TABLE table_name_14 (touchdowns INTEGER, player VARCHAR, yards VARCHAR) [/INST] ### Response: SELECT MIN(touchdowns) FROM table_name_14 WHERE player = "andrew glover" AND yards > 281 </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 Touchdowns, when Yards is less than 293, and when Long is greater than 39? ### Context: CREATE TABLE table_name_7 (touchdowns INTEGER, yards VARCHAR, long VARCHAR) [/INST] ### Response: SELECT AVG(touchdowns) FROM table_name_7 WHERE yards < 293 AND long > 39 </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 number of Attempts, when Touchdowns is 6? ### Context: CREATE TABLE table_name_61 (attempts VARCHAR, touchdowns VARCHAR) [/INST] ### Response: SELECT COUNT(attempts) FROM table_name_61 WHERE touchdowns = 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: What is Venue, when Extra is Pentathlon? ### Context: CREATE TABLE table_name_39 (venue VARCHAR, extra VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_39 WHERE extra = "pentathlon" </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 Year, when Extra is Pentathlon? ### Context: CREATE TABLE table_name_33 (year INTEGER, extra VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_33 WHERE extra = "pentathlon" </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 sum of Year, when Result is 9th? ### Context: CREATE TABLE table_name_10 (year INTEGER, result VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_10 WHERE result = "9th" </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 Tournament, when Result is 2nd, and when Year is 2009? ### Context: CREATE TABLE table_name_74 (tournament VARCHAR, result VARCHAR, year VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_74 WHERE result = "2nd" AND 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: What is Result, when Venue is Götzis , Austria? ### Context: CREATE TABLE table_name_77 (result VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT result FROM table_name_77 WHERE venue = "götzis , austria" </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 label does Germany have? ### Context: CREATE TABLE table_name_24 (label VARCHAR, region VARCHAR) [/INST] ### Response: SELECT label FROM table_name_24 WHERE region = "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: What region has the Chrysalis label, and a Catalog of chr 1047? ### Context: CREATE TABLE table_name_13 (region VARCHAR, label VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT region FROM table_name_13 WHERE label = "chrysalis" AND catalog = "chr 1047" </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 the United Kingdom format a stereo LP? ### Context: CREATE TABLE table_name_29 (date VARCHAR, region VARCHAR, format VARCHAR) [/INST] ### Response: SELECT date FROM table_name_29 WHERE region = "united kingdom" AND format = "stereo lp" </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 region goes along with January 1974? ### Context: CREATE TABLE table_name_93 (region VARCHAR, date VARCHAR) [/INST] ### Response: SELECT region FROM table_name_93 WHERE date = "january 1974" </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 label from 1973 that has a catalog number of l 35023? ### Context: CREATE TABLE table_name_98 (label VARCHAR, date VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT label FROM table_name_98 WHERE date = "1973" AND catalog = "l 35023" </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 wins did the driver with 1 second and more than 12 races have? ### Context: CREATE TABLE table_name_98 (wins VARCHAR, second VARCHAR, races VARCHAR) [/INST] ### Response: SELECT wins FROM table_name_98 WHERE second = "1" AND races > 12 </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 Loss number when the Gain is less than 61 and the Avg/G is 6? ### Context: CREATE TABLE table_name_94 (loss INTEGER, gain VARCHAR, avg_g VARCHAR) [/INST] ### Response: SELECT MIN(loss) FROM table_name_94 WHERE gain < 61 AND avg_g = 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: What is the sum of Avg/G for Dan Dierking when the Loss is 0 and the Gain is more than 34? ### Context: CREATE TABLE table_name_95 (avg_g INTEGER, gain VARCHAR, loss VARCHAR, name VARCHAR) [/INST] ### Response: SELECT SUM(avg_g) FROM table_name_95 WHERE loss = 0 AND name = "dan dierking" AND gain > 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: Who was the visiting team on April 6? ### Context: CREATE TABLE table_name_27 (visitor VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_27 WHERE date = "april 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: What was the date of the game that led to a 4-3 record? ### Context: CREATE TABLE table_name_64 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_64 WHERE record = "4-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: Who was the home team in the game that led to a 2-3 series record? ### Context: CREATE TABLE table_name_10 (home VARCHAR, record VARCHAR) [/INST] ### Response: SELECT home FROM table_name_10 WHERE record = "2-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: Which home team had a score of 100-86? ### Context: CREATE TABLE table_name_29 (home_team VARCHAR, score VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_29 WHERE score = "100-86" </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 report corresponds to the State Sports Centre? ### Context: CREATE TABLE table_name_89 (report VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT report FROM table_name_89 WHERE venue = "state sports centre" </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 away team at the Win Entertainment Centre? ### Context: CREATE TABLE table_name_31 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_31 WHERE venue = "win entertainment centre" </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: Can you tell me the total number of Gain that has the Name of williams, jonathan, and the Loss larger than 3? ### Context: CREATE TABLE table_name_55 (gain VARCHAR, name VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT COUNT(gain) FROM table_name_55 WHERE name = "williams, jonathan" AND loss > 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: Can you tell me the sum of Loss that has the Gain of 2646? ### Context: CREATE TABLE table_name_82 (loss INTEGER, gain VARCHAR) [/INST] ### Response: SELECT SUM(loss) FROM table_name_82 WHERE gain = 2646 </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: Can you tell me the sum of Gain that has the Name of kass, rob, and the Avg/g smaller than 1.9? ### Context: CREATE TABLE table_name_75 (gain INTEGER, name VARCHAR, avg_g VARCHAR) [/INST] ### Response: SELECT SUM(gain) FROM table_name_75 WHERE name = "kass, rob" AND avg_g < 1.9 </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: Can you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0? ### Context: CREATE TABLE table_name_19 (long INTEGER, gain VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT MIN(long) FROM table_name_19 WHERE gain = 20 AND loss < 0 </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 ERP W with a w216bo call sign? ### Context: CREATE TABLE table_name_10 (erp_w INTEGER, call_sign VARCHAR) [/INST] ### Response: SELECT MAX(erp_w) FROM table_name_10 WHERE call_sign = "w216bo" </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 kind of Crowd has a Ground of subiaco oval? ### Context: CREATE TABLE table_name_41 (crowd INTEGER, ground VARCHAR) [/INST] ### Response: SELECT SUM(crowd) FROM table_name_41 WHERE ground = "subiaco 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: How many Crowd that has a Date on saturday, 29 january and an Away team of collingwood? ### Context: CREATE TABLE table_name_67 (crowd INTEGER, date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT AVG(crowd) FROM table_name_67 WHERE date = "saturday, 29 january" AND away_team = "collingwood" </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 which date after week 11 was the opponent the arizona cardinals? ### Context: CREATE TABLE table_name_88 (date VARCHAR, week VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_88 WHERE week > 11 AND opponent = "arizona cardinals" </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 lead with an alternate of li dongyan? ### Context: CREATE TABLE table_name_78 (lead VARCHAR, alternate VARCHAR) [/INST] ### Response: SELECT lead FROM table_name_78 WHERE alternate = "li dongyan" </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 lead had a season of 2007-08? ### Context: CREATE TABLE table_name_18 (lead VARCHAR, season VARCHAR) [/INST] ### Response: SELECT lead FROM table_name_18 WHERE season = "2007-08" </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 lead had a season of 2009-10? ### Context: CREATE TABLE table_name_40 (lead VARCHAR, season VARCHAR) [/INST] ### Response: SELECT lead FROM table_name_40 WHERE season = "2009-10" </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 Name has a Yes Saturday and a Yes Evening? ### Context: CREATE TABLE table_name_49 (name VARCHAR, saturday VARCHAR, evening VARCHAR) [/INST] ### Response: SELECT name FROM table_name_49 WHERE saturday = "yes" AND evening = "yes" </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 Daytime which has Saturday of yes and a Name of exmouth? ### Context: CREATE TABLE table_name_5 (daytime VARCHAR, saturday VARCHAR, name VARCHAR) [/INST] ### Response: SELECT daytime FROM table_name_5 WHERE saturday = "yes" AND name = "exmouth" </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 Evening that has a Sunday of no, and a Name of s. vidal/plant express? ### Context: CREATE TABLE table_name_18 (evening VARCHAR, sunday VARCHAR, name VARCHAR) [/INST] ### Response: SELECT evening FROM table_name_18 WHERE sunday = "no" AND name = "s. vidal/plant express" </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 Daytime which has a Name of exmouth? ### Context: CREATE TABLE table_name_22 (daytime VARCHAR, name VARCHAR) [/INST] ### Response: SELECT daytime FROM table_name_22 WHERE name = "exmouth" </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 Saturday has a Sunday of yes and a Evening of yes? ### Context: CREATE TABLE table_name_80 (saturday VARCHAR, sunday VARCHAR, evening VARCHAR) [/INST] ### Response: SELECT saturday FROM table_name_80 WHERE sunday = "yes" AND evening = "yes" </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 Saturday has a Name of confederation? ### Context: CREATE TABLE table_name_68 (saturday VARCHAR, name VARCHAR) [/INST] ### Response: SELECT saturday FROM table_name_68 WHERE name = "confederation" </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 GP-GS for the 2009 season? ### Context: CREATE TABLE table_name_52 (gp_gs VARCHAR, season VARCHAR) [/INST] ### Response: SELECT gp_gs FROM table_name_52 WHERE season = "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: Which GP-GS had a long of 17 and a season of total? ### Context: CREATE TABLE table_name_13 (gp_gs VARCHAR, long VARCHAR, season VARCHAR) [/INST] ### Response: SELECT gp_gs FROM table_name_13 WHERE long = "17" AND season = "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: Which Long has redshirt for its Avg/G? ### Context: CREATE TABLE table_name_97 (long VARCHAR, avg_g VARCHAR) [/INST] ### Response: SELECT long FROM table_name_97 WHERE avg_g = "redshirt" </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 Av/G of the 2009 season? ### Context: CREATE TABLE table_name_74 (avg_g VARCHAR, season VARCHAR) [/INST] ### Response: SELECT avg_g FROM table_name_74 WHERE season = "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: For the Avg/G of 5.9, what was the long? ### Context: CREATE TABLE table_name_56 (long VARCHAR, avg_g VARCHAR) [/INST] ### Response: SELECT long FROM table_name_56 WHERE avg_g = "5.9" </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 Location Attendance, when High Points is "D. McKey (24)", and when Score is "L 96-105"? ### Context: CREATE TABLE table_name_55 (location_attendance VARCHAR, high_points VARCHAR, score VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_name_55 WHERE high_points = "d. mckey (24)" AND score = "l 96-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: What is High Rebounds, when Game is greater than 33, and when Score is "W 132-101"? ### Context: CREATE TABLE table_name_44 (high_rebounds VARCHAR, game VARCHAR, score VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_name_44 WHERE game > 33 AND score = "w 132-101" </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 Team, when Game is "32"? ### Context: CREATE TABLE table_name_96 (team VARCHAR, game VARCHAR) [/INST] ### Response: SELECT team FROM table_name_96 WHERE game = 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 is the sum of Game, when High Points is "D. McKey (24)", and when Team is "@ Dallas Mavericks"? ### Context: CREATE TABLE table_name_35 (game INTEGER, high_points VARCHAR, team VARCHAR) [/INST] ### Response: SELECT SUM(game) FROM table_name_35 WHERE high_points = "d. mckey (24)" AND team = "@ dallas mavericks" </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 has Opponents of marc lópez santiago ventura? ### Context: CREATE TABLE table_name_16 (tournament VARCHAR, opponents VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_16 WHERE opponents = "marc lópez santiago ventura" </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 Opponents have a Partnering of alessandro motti, and a Date of 12 september 2005? ### Context: CREATE TABLE table_name_60 (opponents VARCHAR, partnering VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponents FROM table_name_60 WHERE partnering = "alessandro motti" AND date = "12 september 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: Which Opponents have a Score of 6–4, 6–3? ### Context: CREATE TABLE table_name_59 (opponents VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponents FROM table_name_59 WHERE score = "6–4, 6–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: Which Tournament has a Surface of hard, and a Date of 24 september 2011? ### Context: CREATE TABLE table_name_40 (tournament VARCHAR, surface VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_40 WHERE surface = "hard" AND date = "24 september 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: How many rounds did the match at GCF: Strength and Honor last? ### Context: CREATE TABLE table_name_49 (round INTEGER, event VARCHAR) [/INST] ### Response: SELECT AVG(round) FROM table_name_49 WHERE event = "gcf: strength and honor" </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 population for Saint-Antoine with an area squared of 6.43? ### Context: CREATE TABLE table_name_60 (population INTEGER, official_name VARCHAR, area_km_2 VARCHAR) [/INST] ### Response: SELECT SUM(population) FROM table_name_60 WHERE official_name = "saint-antoine" AND area_km_2 > 6.43 </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 current status of a location with a census ranking of 1,769 of 5,008 and population greater than 930? ### Context: CREATE TABLE table_name_21 (status VARCHAR, population VARCHAR, census_ranking VARCHAR) [/INST] ### Response: SELECT status FROM table_name_21 WHERE population > 930 AND census_ranking = "1,769 of 5,008" </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 games in February have a record of 40-15-5? ### Context: CREATE TABLE table_name_8 (february INTEGER, record VARCHAR) [/INST] ### Response: SELECT SUM(february) FROM table_name_8 WHERE record = "40-15-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: What is the lowest numbered game with an opponent of Minnesota North Stars earlier than February 25? ### Context: CREATE TABLE table_name_95 (game INTEGER, opponent VARCHAR, february VARCHAR) [/INST] ### Response: SELECT MIN(game) FROM table_name_95 WHERE opponent = "minnesota north stars" AND february < 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: How many games have the New York Islanders as an opponent before February 7? ### Context: CREATE TABLE table_name_63 (game INTEGER, opponent VARCHAR, february VARCHAR) [/INST] ### Response: SELECT SUM(game) FROM table_name_63 WHERE opponent = "new york islanders" AND february < 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 is the earliest February date with a record of 37-13-4 in a game earlier than 54? ### Context: CREATE TABLE table_name_52 (february INTEGER, record VARCHAR, game VARCHAR) [/INST] ### Response: SELECT MIN(february) FROM table_name_52 WHERE record = "37-13-4" AND game < 54 </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 game when the record is 2-0? ### Context: CREATE TABLE table_name_53 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_53 WHERE record = "2-0" </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 game number when the record is 4-1? ### Context: CREATE TABLE table_name_18 (game INTEGER, record VARCHAR) [/INST] ### Response: SELECT AVG(game) FROM table_name_18 WHERE record = "4-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 is the location and attendance of game 1? ### Context: CREATE TABLE table_name_95 (location_attendance VARCHAR, game VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_name_95 WHERE game = 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 is the date of the game located in Madison Square Garden, when the team is Seattle and the game number is less than 6? ### Context: CREATE TABLE table_name_36 (date VARCHAR, team VARCHAR, location_attendance VARCHAR, game VARCHAR) [/INST] ### Response: SELECT date FROM table_name_36 WHERE location_attendance = "madison square garden" AND game < 6 AND team = "seattle" </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 location and attendance of the game when the score is 125-100? ### Context: CREATE TABLE table_name_89 (location_attendance VARCHAR, score VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_name_89 WHERE score = "125-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: Who was the winning driver in 1956? ### Context: CREATE TABLE table_name_93 (winning_driver VARCHAR, year VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_name_93 WHERE year = "1956" </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 circuit did Peter Whitehead win? ### Context: CREATE TABLE table_name_43 (circuit VARCHAR, winning_driver VARCHAR) [/INST] ### Response: SELECT circuit FROM table_name_43 WHERE winning_driver = "peter whitehead" </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 report did Jack Brabham win? ### Context: CREATE TABLE table_name_21 (report VARCHAR, winning_driver VARCHAR) [/INST] ### Response: SELECT report FROM table_name_21 WHERE winning_driver = "jack brabham" </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 year did Ferrari win the Kyalami circuit? ### Context: CREATE TABLE table_name_16 (year VARCHAR, circuit VARCHAR, winning_constructor VARCHAR) [/INST] ### Response: SELECT year FROM table_name_16 WHERE circuit = "kyalami" AND winning_constructor = "ferrari" </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 circuit did Jim Clark win in 1962? ### Context: CREATE TABLE table_name_38 (circuit VARCHAR, winning_driver VARCHAR, year VARCHAR) [/INST] ### Response: SELECT circuit FROM table_name_38 WHERE winning_driver = "jim clark" AND year = "1962" </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 Date was the 2011 LG Cup Competittion? ### Context: CREATE TABLE table_name_46 (date VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT date FROM table_name_46 WHERE competition = "2011 lg cup" </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 pick for the player with 2 years in the NBA and who plays for the Utah Jazz? ### Context: CREATE TABLE table_name_68 (pick VARCHAR, previous_team VARCHAR, nba_years_ VARCHAR, a_ VARCHAR) [/INST] ### Response: SELECT pick FROM table_name_68 WHERE nba_years_[a_] = "2" AND previous_team = "utah jazz" </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 final score for the game in which Carmelo Anthony (26) was the high points scorer? ### Context: CREATE TABLE table_name_78 (score VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT score FROM table_name_78 WHERE high_points = "carmelo anthony (26)" </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 which game number was Chris Andersen (12) the high rebounds scorer? ### Context: CREATE TABLE table_name_48 (game VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT game FROM table_name_48 WHERE high_rebounds = "chris andersen (12)" </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 final score for the game played against @ Milwaukee? ### Context: CREATE TABLE table_name_39 (score VARCHAR, team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_39 WHERE team = "@ milwaukee" </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 game played against the L.A. Lakers, where was the match played and what was the attendance level? ### Context: CREATE TABLE table_name_80 (location_attendance VARCHAR, team VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_name_80 WHERE team = "l.a. lakers" </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 Name, when Laps is "50", when Grid is greater than 9, when Team is "Jim Beam Racing", and when Time/Retired is "+ 18.0s"? ### Context: CREATE TABLE table_name_35 (name VARCHAR, time_retired VARCHAR, team VARCHAR, laps VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT name FROM table_name_35 WHERE laps = 50 AND grid > 9 AND team = "jim beam racing" AND time_retired = "+ 18.0s" </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 Laps, when Grid is greater than 7, and when Name is "Fabian Coulthard"? ### Context: CREATE TABLE table_name_83 (laps INTEGER, grid VARCHAR, name VARCHAR) [/INST] ### Response: SELECT MIN(laps) FROM table_name_83 WHERE grid > 7 AND name = "fabian coulthard" </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 Time/Retired, when Laps is less than 49, and when Name is "Michael Caruso"? ### Context: CREATE TABLE table_name_65 (time_retired VARCHAR, laps VARCHAR, name VARCHAR) [/INST] ### Response: SELECT time_retired FROM table_name_65 WHERE laps < 49 AND name = "michael caruso" </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 Time/Retired, when Team is "Team Vodafone", and when Grid is greater than 4? ### Context: CREATE TABLE table_name_16 (time_retired VARCHAR, team VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT time_retired FROM table_name_16 WHERE team = "team vodafone" AND grid > 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: What is the draw number of the Artist Dav Mcnamara and a place bigger than 4? ### Context: CREATE TABLE table_name_75 (draw VARCHAR, artist VARCHAR, place VARCHAR) [/INST] ### Response: SELECT COUNT(draw) FROM table_name_75 WHERE artist = "dav mcnamara" AND place > 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: What is the stadium name that has 144 as the runs? ### Context: CREATE TABLE table_name_86 (stadium VARCHAR, runs VARCHAR) [/INST] ### Response: SELECT stadium FROM table_name_86 WHERE runs = "144" </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 what year was 100* runs happen? ### Context: CREATE TABLE table_name_45 (year VARCHAR, runs VARCHAR) [/INST] ### Response: SELECT year FROM table_name_45 WHERE runs = "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: How many runs happened in 2013? ### Context: CREATE TABLE table_name_18 (runs VARCHAR, year VARCHAR) [/INST] ### Response: SELECT runs FROM table_name_18 WHERE year = "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: With 42 as the match what are the runs? ### Context: CREATE TABLE table_name_42 (runs VARCHAR, match VARCHAR) [/INST] ### Response: SELECT runs FROM table_name_42 WHERE match = "42" </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 2009 with 100* runs, what is the match? ### Context: CREATE TABLE table_name_8 (match VARCHAR, year VARCHAR, runs VARCHAR) [/INST] ### Response: SELECT match FROM table_name_8 WHERE year = "2009" AND runs = "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: When the game was played in the stadium called stadium what was the match? ### Context: CREATE TABLE table_name_90 (match VARCHAR) [/INST] ### Response: SELECT match FROM table_name_90 WHERE "stadium" = "stadium" </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 2nd round with a score of 3 - 3, and a team 1 fc gueugnon (d2)? ### Context: CREATE TABLE table_name_86 (score VARCHAR, team_1 VARCHAR) [/INST] ### Response: SELECT 2 AS nd_round FROM table_name_86 WHERE score = "3 - 3" AND team_1 = "fc gueugnon (d2)" </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 2nd round with a score of 3 - 3, and a team 2 fc lorient (d2)? ### Context: CREATE TABLE table_name_60 (score VARCHAR, team_2 VARCHAR) [/INST] ### Response: SELECT 2 AS nd_round FROM table_name_60 WHERE score = "3 - 3" AND team_2 = "fc lorient (d2)" </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 1st round with a team 2 paris sg (d1)? ### Context: CREATE TABLE table_name_91 (team_2 VARCHAR) [/INST] ### Response: SELECT 1 AS st_round FROM table_name_91 WHERE team_2 = "paris sg (d1)" </s>