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 city was in 1889? ### Context: CREATE TABLE table_name_97 (city VARCHAR, year VARCHAR) [/INST] ### Response: SELECT city FROM table_name_97 WHERE year = 1889 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score in Leicester? ### Context: CREATE TABLE table_name_42 (score VARCHAR, city VARCHAR) [/INST] ### Response: SELECT score FROM table_name_42 WHERE city = "leicester" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 years has 1 run? ### Context: CREATE TABLE table_name_53 (year VARCHAR, score VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_53 WHERE score = "1 run" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was in Aigburth? ### Context: CREATE TABLE table_name_26 (year INTEGER, venue VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_26 WHERE venue = "aigburth" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season has q145 as its format? ### Context: CREATE TABLE table_name_63 (season__number INTEGER, format__number VARCHAR) [/INST] ### Response: SELECT MIN(season__number) FROM table_name_63 WHERE format__number = "q145" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode number with q146 format? ### Context: CREATE TABLE table_name_26 (episode__number INTEGER, format__number VARCHAR) [/INST] ### Response: SELECT AVG(episode__number) FROM table_name_26 WHERE format__number = "q146" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the opponent of Game 1 with a 3-2-0 record? ### Context: CREATE TABLE table_name_21 (opponent VARCHAR, game VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_21 WHERE game > 1 AND record = "3-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 game 9's record? ### Context: CREATE TABLE table_name_36 (record VARCHAR, game VARCHAR) [/INST] ### Response: SELECT record FROM table_name_36 WHERE game = 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: Who is the opponent of the team with a 1-1-0 record? ### Context: CREATE TABLE table_name_53 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_53 WHERE record = "1-1-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 3rd Liga from 2010-11? ### Context: CREATE TABLE table_name_41 (date VARCHAR) [/INST] ### Response: SELECT 3 AS rd_liga_3rd FROM table_name_41 WHERE date = "2010-11" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 3rd Liga from Game 1 of 0-1 between the years 2008-09? ### Context: CREATE TABLE table_name_36 (game_1 VARCHAR, date VARCHAR) [/INST] ### Response: SELECT 3 AS rd_liga_3rd FROM table_name_36 WHERE game_1 = "0-1" AND date = "2008-09" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score in the final has an Outcome of winner, and a Surface of hard (i)? ### Context: CREATE TABLE table_name_12 (score_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR) [/INST] ### Response: SELECT score_in_the_final FROM table_name_12 WHERE outcome = "winner" AND surface = "hard (i)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Surface has a Partner of jim thomas, and a Date of 2007? ### Context: CREATE TABLE table_name_45 (surface VARCHAR, partner VARCHAR, date VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_45 WHERE partner = "jim thomas" AND date = 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: What was the Attendance in the game with a Result of won 5-2? ### Context: CREATE TABLE table_name_58 (attendance VARCHAR, result VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_58 WHERE result = "won 5-2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the home Competition with Attendance of 1,268? ### Context: CREATE TABLE table_name_39 (competition VARCHAR, venue VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_39 WHERE venue = "home" AND attendance = "1,268" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school or club team did the player chosen for the Sacramento Monarchs play for? ### Context: CREATE TABLE table_name_94 (school_club_team VARCHAR, wnba_team VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_94 WHERE wnba_team = "sacramento monarchs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player was chosen for the Chicago Sky? ### Context: CREATE TABLE table_name_57 (player VARCHAR, wnba_team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_57 WHERE wnba_team = "chicago sky" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was picked for the Chicago Sky? ### Context: CREATE TABLE table_name_47 (player VARCHAR, wnba_team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_47 WHERE wnba_team = "chicago sky" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position of the player with a height of 205 and shirt no 8? ### Context: CREATE TABLE table_name_14 (position VARCHAR, height VARCHAR, shirt_no VARCHAR) [/INST] ### Response: SELECT position FROM table_name_14 WHERE height = 205 AND shirt_no = 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the player who is a height of 182? ### Context: CREATE TABLE table_name_84 (player VARCHAR, height VARCHAR) [/INST] ### Response: SELECT player FROM table_name_84 WHERE height = 182 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Gold with Participants that are 4 and a Silver that is smaller than 0? ### Context: CREATE TABLE table_name_81 (gold INTEGER, participants VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT SUM(gold) FROM table_name_81 WHERE participants = 4 AND silver < 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: Who was the opponent with a score of 141–102? ### Context: CREATE TABLE table_name_97 (opponent VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_97 WHERE score = "141–102" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the opponent with a score of 109–108? ### Context: CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_7 WHERE score = "109–108" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the record was 62–12? ### Context: CREATE TABLE table_name_75 (result VARCHAR, record VARCHAR) [/INST] ### Response: SELECT result FROM table_name_75 WHERE record = "62–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 result with a record of 58–11? ### Context: CREATE TABLE table_name_49 (result VARCHAR, record VARCHAR) [/INST] ### Response: SELECT result FROM table_name_49 WHERE record = "58–11" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the number of the game played on January 2, 1936? ### Context: CREATE TABLE table_name_10 (number INTEGER, date VARCHAR) [/INST] ### Response: SELECT MIN(number) FROM table_name_10 WHERE date = "january 2, 1936" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the record of game number 23? ### Context: CREATE TABLE table_name_50 (record VARCHAR, number VARCHAR) [/INST] ### Response: SELECT record FROM table_name_50 WHERE number = 23 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Points a February smaller than 1 have? ### Context: CREATE TABLE table_name_5 (points INTEGER, february INTEGER) [/INST] ### Response: SELECT MIN(points) FROM table_name_5 WHERE february < 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: How many February days have Points of 63 and a Score of 1–2? ### Context: CREATE TABLE table_name_40 (february VARCHAR, points VARCHAR, score VARCHAR) [/INST] ### Response: SELECT COUNT(february) FROM table_name_40 WHERE points = 63 AND score = "1–2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the player with less than 2 wins? ### Context: CREATE TABLE table_name_24 (player VARCHAR, wins INTEGER) [/INST] ### Response: SELECT player FROM table_name_24 WHERE wins < 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of earning for more than 2 wins and less than 25 events? ### Context: CREATE TABLE table_name_97 (earnings___ INTEGER, wins VARCHAR, events VARCHAR) [/INST] ### Response: SELECT SUM(earnings___) AS $__ FROM table_name_97 WHERE wins > 2 AND events < 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: What is the largest events number for more than 2 wins and less than $446,893 in earnings? ### Context: CREATE TABLE table_name_65 (events INTEGER, wins VARCHAR, earnings___$__ VARCHAR) [/INST] ### Response: SELECT MAX(events) FROM table_name_65 WHERE wins > 2 AND earnings___$__ < 446 OFFSET 893 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the visitor at 5:00 pm? ### Context: CREATE TABLE table_name_42 (visitor VARCHAR, time VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_42 WHERE time = "5:00 pm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the visitor at the pittsburgh penguins at 7:00 pm that had a record of 0-2-2? ### Context: CREATE TABLE table_name_14 (visitor VARCHAR, record VARCHAR, home VARCHAR, time VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_14 WHERE home = "pittsburgh penguins" AND time = "7:00 pm" AND record = "0-2-2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the home in mellon arena at 7:30 pm with a record o 2-5-2? ### Context: CREATE TABLE table_name_25 (home VARCHAR, record VARCHAR, time VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT home FROM table_name_25 WHERE time = "7:30 pm" AND location_attendance = "mellon arena" AND record = "2-5-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: Which average Drawn has Games larger than 7? ### Context: CREATE TABLE table_name_29 (drawn INTEGER, games INTEGER) [/INST] ### Response: SELECT AVG(drawn) FROM table_name_29 WHERE games > 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: Which Make has a Pos of 3? ### Context: CREATE TABLE table_name_58 (make VARCHAR, pos VARCHAR) [/INST] ### Response: SELECT make FROM table_name_58 WHERE pos = 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 Car # has a Make of toyota, and a Driver of mike skinner, and a Pos larger than 3? ### Context: CREATE TABLE table_name_19 (car__number INTEGER, pos VARCHAR, make VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT MAX(car__number) FROM table_name_19 WHERE make = "toyota" AND driver = "mike skinner" AND pos > 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 Make has a Car # larger than 59? ### Context: CREATE TABLE table_name_48 (make VARCHAR, car__number INTEGER) [/INST] ### Response: SELECT make FROM table_name_48 WHERE car__number > 59 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Euro '64 qualifying game? ### Context: CREATE TABLE table_name_65 (results¹ VARCHAR, type_of_game VARCHAR) [/INST] ### Response: SELECT results¹ FROM table_name_65 WHERE type_of_game = "euro '64 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 is the date of the Euro '64 qualifying game? ### Context: CREATE TABLE table_name_64 (date VARCHAR, type_of_game VARCHAR) [/INST] ### Response: SELECT date FROM table_name_64 WHERE type_of_game = "euro '64 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 title in 1996? ### Context: CREATE TABLE table_name_26 (title VARCHAR, year VARCHAR) [/INST] ### Response: SELECT title FROM table_name_26 WHERE year = "1996" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 role in 2001? ### Context: CREATE TABLE table_name_91 (role VARCHAR, year VARCHAR) [/INST] ### Response: SELECT role FROM table_name_91 WHERE year = "2001" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 language was Taken in? ### Context: CREATE TABLE table_name_68 (language VARCHAR, title VARCHAR) [/INST] ### Response: SELECT language FROM table_name_68 WHERE title = "taken" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title had Notes of 8 episodes? ### Context: CREATE TABLE table_name_90 (title VARCHAR, notes VARCHAR) [/INST] ### Response: SELECT title FROM table_name_90 WHERE notes = "8 episodes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title is in Portuguese? ### Context: CREATE TABLE table_name_28 (title VARCHAR, language VARCHAR) [/INST] ### Response: SELECT title FROM table_name_28 WHERE language = "portuguese" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 role in 1996? ### Context: CREATE TABLE table_name_80 (role VARCHAR, year VARCHAR) [/INST] ### Response: SELECT role FROM table_name_80 WHERE year = "1996" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date did the irwin storm take place ### Context: CREATE TABLE table_name_78 (dates_active VARCHAR, storm_name VARCHAR) [/INST] ### Response: SELECT dates_active FROM table_name_78 WHERE storm_name = "irwin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 force of storm Adrian ### Context: CREATE TABLE table_name_15 (min_press___mbar__ VARCHAR, storm_name VARCHAR) [/INST] ### Response: SELECT min_press___mbar__ FROM table_name_15 WHERE storm_name = "adrian" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 households are in highlands county? ### Context: CREATE TABLE table_name_70 (number_of_households INTEGER, county VARCHAR) [/INST] ### Response: SELECT AVG(number_of_households) FROM table_name_70 WHERE county = "highlands" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Median household income associated with a median family income of $46,616? ### Context: CREATE TABLE table_name_56 (median_household_income VARCHAR, median_family_income VARCHAR) [/INST] ### Response: SELECT median_household_income FROM table_name_56 WHERE median_family_income = "$46,616" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What time did the game at memorial stadium take place? ### Context: CREATE TABLE table_name_49 (time___et__ VARCHAR, location VARCHAR) [/INST] ### Response: SELECT time___et__ FROM table_name_49 WHERE location = "memorial 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 number of Bronze medals of the Nation with 64 total and silver greater than 16? ### Context: CREATE TABLE table_name_88 (bronze VARCHAR, total VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT COUNT(bronze) FROM table_name_88 WHERE total = 64 AND silver > 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: What is the bronze for Kyrgyzstan nation with a silver record of greater than 0? ### Context: CREATE TABLE table_name_8 (bronze INTEGER, nation VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT AVG(bronze) FROM table_name_8 WHERE nation = "kyrgyzstan" AND silver > 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 gold for the nation with a record of bronze 1, Syria nation with a grand total less than 1? ### Context: CREATE TABLE table_name_25 (gold INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT AVG(gold) FROM table_name_25 WHERE bronze = 1 AND nation = "syria" AND total < 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: When was the game with a result of w 27-24 (ot)? ### Context: CREATE TABLE table_name_26 (date VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date FROM table_name_26 WHERE result = "w 27-24 (ot)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the game with a record of 9-3? ### Context: CREATE TABLE table_name_65 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_65 WHERE record = "9-3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What time was the game with a record of 7-3? ### Context: CREATE TABLE table_name_96 (game_time VARCHAR, record VARCHAR) [/INST] ### Response: SELECT game_time FROM table_name_96 WHERE record = "7-3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of weeks where the venue was memorial stadium and the attendance was less than 41,252? ### Context: CREATE TABLE table_name_36 (week VARCHAR, venue VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT COUNT(week) FROM table_name_36 WHERE venue = "memorial stadium" AND attendance < 41 OFFSET 252 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the weeks that games occured on october 21, 1974 and less than 50,623 fans attended? ### Context: CREATE TABLE table_name_20 (week INTEGER, date VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT SUM(week) FROM table_name_20 WHERE date = "october 21, 1974" AND attendance < 50 OFFSET 623 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 frequency of the station that was launched on 21 August 1994? ### Context: CREATE TABLE table_name_97 (frequency VARCHAR, launched VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_97 WHERE launched = "21 august 1994" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 launched date of the station in cora huichol tepehuano nahuatl language? ### Context: CREATE TABLE table_name_1 (launched VARCHAR, languages VARCHAR) [/INST] ### Response: SELECT launched FROM table_name_1 WHERE languages = "cora huichol tepehuano nahuatl" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the station with a coverage of yucatán quintana roo campeche transmitting from? ### Context: CREATE TABLE table_name_15 (transmitting_from VARCHAR, coverage VARCHAR) [/INST] ### Response: SELECT transmitting_from FROM table_name_15 WHERE coverage = "yucatán quintana roo campeche" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 frequency of the station with a coverage of oaxaca guerrero puebla? ### Context: CREATE TABLE table_name_24 (frequency VARCHAR, coverage VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_24 WHERE coverage = "oaxaca guerrero puebla" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the station that was launched on 17 July 1997 transmitting from? ### Context: CREATE TABLE table_name_18 (transmitting_from VARCHAR, launched VARCHAR) [/INST] ### Response: SELECT transmitting_from FROM table_name_18 WHERE launched = "17 july 1997" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 coverage of the station that was launched on 22 January 1996? ### Context: CREATE TABLE table_name_83 (coverage VARCHAR, launched VARCHAR) [/INST] ### Response: SELECT coverage FROM table_name_83 WHERE launched = "22 january 1996" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many bronzes for the nation ranked 14th, with over 14 golds and over 25 silvers? ### Context: CREATE TABLE table_name_79 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(bronze) FROM table_name_79 WHERE gold > "14" AND rank = "14" AND silver > 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 total medals for germany with under 56 bronzes? ### Context: CREATE TABLE table_name_46 (total INTEGER, nation VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT SUM(total) FROM table_name_46 WHERE nation = "germany" AND bronze < 56 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many total medals for the nation with 1 gold and 6 bronzes? ### Context: CREATE TABLE table_name_52 (total VARCHAR, gold VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_name_52 WHERE gold = 1 AND bronze = 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 loss of the game when the record was 32–34? ### Context: CREATE TABLE table_name_52 (loss VARCHAR, record VARCHAR) [/INST] ### Response: SELECT loss FROM table_name_52 WHERE record = "32–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: What was the date of the game with a score of 15–6? ### Context: CREATE TABLE table_name_15 (date VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_15 WHERE score = "15–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 frequency of visits to elmanana.com.mx ### Context: CREATE TABLE table_name_65 (frequency VARCHAR, website VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_65 WHERE website = "elmanana.com.mx" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game result against the minnesota vikings? ### Context: CREATE TABLE table_name_3 (result VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT result FROM table_name_3 WHERE opponent = "minnesota vikings" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week shows for december 31, 1993? ### Context: CREATE TABLE table_name_25 (week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(week) FROM table_name_25 WHERE date = "december 31, 1993" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 on October 4, 1993? ### Context: CREATE TABLE table_name_48 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_48 WHERE date = "october 4, 1993" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Week has a Result of l 17-14? ### Context: CREATE TABLE table_name_52 (week INTEGER, result VARCHAR) [/INST] ### Response: SELECT SUM(week) FROM table_name_52 WHERE result = "l 17-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: How many years have a position of 2nd? ### Context: CREATE TABLE table_name_86 (year VARCHAR, position VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_86 WHERE position = "2nd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 event has a year of 2000? ### Context: CREATE TABLE table_name_72 (event VARCHAR, year VARCHAR) [/INST] ### Response: SELECT event FROM table_name_72 WHERE year = 2000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has notes of 2:12:53? ### Context: CREATE TABLE table_name_7 (position VARCHAR, notes VARCHAR) [/INST] ### Response: SELECT position FROM table_name_7 WHERE notes = "2:12:53" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round for draft pick #49 from Notre Dame? ### Context: CREATE TABLE table_name_90 (round INTEGER, college VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT AVG(round) FROM table_name_90 WHERE college = "notre dame" AND pick__number = "49" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college is draft pick #327 from? ### Context: CREATE TABLE table_name_80 (college VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT college FROM table_name_80 WHERE pick__number = "327" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college is pick number 268 from? ### Context: CREATE TABLE table_name_44 (college VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT college FROM table_name_44 WHERE pick__number = "268" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round pick was pick number 101 who plays defensive back? ### Context: CREATE TABLE table_name_92 (round VARCHAR, position VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT round FROM table_name_92 WHERE position = "defensive back" AND pick__number = "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 pick number was from the college of maryland and was picked in a round larger than 7? ### Context: CREATE TABLE table_name_65 (pick__number VARCHAR, round VARCHAR, college VARCHAR) [/INST] ### Response: SELECT pick__number FROM table_name_65 WHERE round > 7 AND college = "maryland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 much Overall has a Pick # of 26? ### Context: CREATE TABLE table_name_25 (overall INTEGER, pick__number VARCHAR) [/INST] ### Response: SELECT SUM(overall) FROM table_name_25 WHERE pick__number = 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: Which Position has a Round smaller than 14, and a College of illinois? ### Context: CREATE TABLE table_name_88 (position VARCHAR, round VARCHAR, college VARCHAR) [/INST] ### Response: SELECT position FROM table_name_88 WHERE round < 14 AND college = "illinois" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How much Overall has a Round smaller than 6, and a Pick # of 26? ### Context: CREATE TABLE table_name_68 (overall INTEGER, round VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT SUM(overall) FROM table_name_68 WHERE round < 6 AND pick__number = 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: What is Roy Hall's highest round? ### Context: CREATE TABLE table_name_67 (round INTEGER, name VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_name_67 WHERE name = "roy hall" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 much Overall has a Pick # larger than 2, and a Name of claude humphrey? ### Context: CREATE TABLE table_name_93 (overall VARCHAR, pick__number VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(overall) FROM table_name_93 WHERE pick__number > 2 AND name = "claude humphrey" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 oppenent when the score was 5–0? ### Context: CREATE TABLE table_name_70 (opponent VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_70 WHERE score = "5–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 opponent before game 57 when the score was 4–5? ### Context: CREATE TABLE table_name_61 (opponent VARCHAR, game VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_61 WHERE game < 57 AND score = "4–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 score when the points are larger than 74 and the game is 57? ### Context: CREATE TABLE table_name_7 (score VARCHAR, points VARCHAR, game VARCHAR) [/INST] ### Response: SELECT score FROM table_name_7 WHERE points > 74 AND game = 57 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the latest year that an entrant has toro rosso str1 chassis and under 1 point? ### Context: CREATE TABLE table_name_4 (year INTEGER, chassis VARCHAR, points VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_4 WHERE chassis = "toro rosso str1" AND points < 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: How many entrants have a mercedes fo 108w 2.4l v8 engine and over 0 points? ### Context: CREATE TABLE table_name_4 (year VARCHAR, engine VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_4 WHERE engine = "mercedes fo 108w 2.4l v8" AND points > 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 engine for the car with 3 points? ### Context: CREATE TABLE table_name_6 (engine VARCHAR, points VARCHAR) [/INST] ### Response: SELECT engine FROM table_name_6 WHERE points = 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 International tourism expenditure (2012) has an International tourism expenditure (2011) of $33.3 billion? ### Context: CREATE TABLE table_name_65 (international_tourism_expenditure__2012_ VARCHAR, international_tourism_expenditure__2011_ VARCHAR) [/INST] ### Response: SELECT international_tourism_expenditure__2012_ FROM table_name_65 WHERE international_tourism_expenditure__2011_ = "$33.3 billion" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Italy's UNWTO region? ### Context: CREATE TABLE table_name_24 (unwto_region VARCHAR, country VARCHAR) [/INST] ### Response: SELECT unwto_region FROM table_name_24 WHERE country = "italy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 China's International tourism expenditure (2011)? ### Context: CREATE TABLE table_name_4 (international_tourism_expenditure__2011_ VARCHAR, country VARCHAR) [/INST] ### Response: SELECT international_tourism_expenditure__2011_ FROM table_name_4 WHERE country = "china" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 format for the 4 disc season that had less than 22 episodes and n/a for region 4? ### Context: CREATE TABLE table_name_86 (format VARCHAR, region_4 VARCHAR, _number_episodes VARCHAR, _number_disc_s_ VARCHAR) [/INST] ### Response: SELECT format FROM table_name_86 WHERE _number_episodes < 22 AND _number_disc_s_ = 4 AND region_4 = "n/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: What is the lowest Top-25 for the open championship, with a Top-10 larger than 3? ### Context: CREATE TABLE table_name_55 (top_25 INTEGER, tournament VARCHAR, top_10 VARCHAR) [/INST] ### Response: SELECT MIN(top_25) FROM table_name_55 WHERE tournament = "the open championship" AND top_10 > 3 </s>