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 was the Attendance on Week 10? ### Context: CREATE TABLE table_name_34 (attendance VARCHAR, week VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_34 WHERE week = 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: How many Points have a Home of pittsburgh, and a Score of 1–7? ### Context: CREATE TABLE table_name_11 (points INTEGER, home VARCHAR, score VARCHAR) [/INST] ### Response: SELECT SUM(points) FROM table_name_11 WHERE home = "pittsburgh" AND score = "1–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 Date has a Record of 7–7–1? ### Context: CREATE TABLE table_name_49 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_49 WHERE record = "7–7–1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Date has a Record of 11–10–2? ### Context: CREATE TABLE table_name_92 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_92 WHERE record = "11–10–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 position had 3 podiums and F/laps of 4? ### Context: CREATE TABLE table_name_14 (position VARCHAR, podiums VARCHAR, f_laps VARCHAR) [/INST] ### Response: SELECT position FROM table_name_14 WHERE podiums = "3" AND f_laps = "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 number of races associated with Team ASM and 0 poles? ### Context: CREATE TABLE table_name_19 (races VARCHAR, poles VARCHAR, team VARCHAR) [/INST] ### Response: SELECT races FROM table_name_19 WHERE poles = "0" AND team = "asm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which team had 1 race, 1 F/lap and in the series 24 hours of Nurburgring? ### Context: CREATE TABLE table_name_44 (team VARCHAR, series VARCHAR, races VARCHAR, f_laps VARCHAR) [/INST] ### Response: SELECT team FROM table_name_44 WHERE races = "1" AND f_laps = "1" AND series = "24 hours of nurburgring" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 podiums associated with 4 wins? ### Context: CREATE TABLE table_name_89 (podiums VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT podiums FROM table_name_89 WHERE wins = "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 number of races associated with 7 podiums and a position of 4th? ### Context: CREATE TABLE table_name_93 (races VARCHAR, position VARCHAR, podiums VARCHAR) [/INST] ### Response: SELECT races FROM table_name_93 WHERE position = "4th" AND podiums = "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 F/Laps value associated with a position of 3rd? ### Context: CREATE TABLE table_name_97 (f_laps VARCHAR, position VARCHAR) [/INST] ### Response: SELECT f_laps FROM table_name_97 WHERE position = "3rd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Opponent that has the Time of 0:20? ### Context: CREATE TABLE table_name_72 (opponent VARCHAR, time VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_72 WHERE time = "0:20" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Time that has the Opponent of phil baroni? ### Context: CREATE TABLE table_name_75 (time VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT time FROM table_name_75 WHERE opponent = "phil baroni" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round that has the Location of indiana, united states, and the Method of submission (guillotine choke)? ### Context: CREATE TABLE table_name_6 (round INTEGER, location VARCHAR, method VARCHAR) [/INST] ### Response: SELECT MIN(round) FROM table_name_6 WHERE location = "indiana, united states" AND method = "submission (guillotine choke)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 la vista built? ### Context: CREATE TABLE table_name_9 (built VARCHAR, location VARCHAR) [/INST] ### Response: SELECT built FROM table_name_9 WHERE location = "la vista" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sargent bridge built? ### Context: CREATE TABLE table_name_61 (built VARCHAR, name VARCHAR) [/INST] ### Response: SELECT built FROM table_name_61 WHERE name = "sargent bridge" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location for the country of platte? ### Context: CREATE TABLE table_name_64 (location VARCHAR, county VARCHAR) [/INST] ### Response: SELECT location FROM table_name_64 WHERE county = "platte" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 listing date for nuckolls county? ### Context: CREATE TABLE table_name_79 (listed VARCHAR, county VARCHAR) [/INST] ### Response: SELECT listed FROM table_name_79 WHERE county = "nuckolls" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 listing date for the verdigris creek bridge in royal of antelope county? ### Context: CREATE TABLE table_name_83 (listed VARCHAR, name VARCHAR, county VARCHAR, location VARCHAR) [/INST] ### Response: SELECT listed FROM table_name_83 WHERE county = "antelope" AND location = "royal" AND name = "verdigris creek bridge" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 county name for the republican river bridge listed on 1992-06-29? ### Context: CREATE TABLE table_name_36 (county VARCHAR, listed VARCHAR, name VARCHAR) [/INST] ### Response: SELECT county FROM table_name_36 WHERE listed = "1992-06-29" AND name = "republican river bridge" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 to par when the place is t10 and the score is 72-74-71-69=286? ### Context: CREATE TABLE table_name_26 (to_par VARCHAR, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_26 WHERE place = "t10" AND score = 72 - 74 - 71 - 69 = 286 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 to par when the player is hale irwin? ### Context: CREATE TABLE table_name_80 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_80 WHERE player = "hale 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 to par for Dave hill? ### Context: CREATE TABLE table_name_52 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_52 WHERE player = "dave hill" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 place when the score is 68-67-73-68=276? ### Context: CREATE TABLE table_name_20 (place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT place FROM table_name_20 WHERE score = 68 - 67 - 73 - 68 = 276 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Date that has the Week smaller than 13, and the Opponent of green bay packers? ### Context: CREATE TABLE table_name_16 (date VARCHAR, week VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_16 WHERE week < 13 AND opponent = "green bay packers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average Attendance that has the Opponent of new orleans saints, and the Week larger than 12? ### Context: CREATE TABLE table_name_45 (attendance INTEGER, opponent VARCHAR, week VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_45 WHERE opponent = "new orleans saints" AND week > 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: Can you tell me the Attendance that has the Opponent of new york giants? ### Context: CREATE TABLE table_name_70 (attendance VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_70 WHERE opponent = "new york giants" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 density (hab/km²) with a population censo 2007(hab) of 336.293*? ### Context: CREATE TABLE table_name_4 (density__hab__km²__ VARCHAR, population_censo_2007_hab_ VARCHAR) [/INST] ### Response: SELECT density__hab__km²__ FROM table_name_4 WHERE population_censo_2007_hab_ = "336.293*" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 under 1 year-old Censo 2007(hab) population with a population censo 2007(hab) of 112.054*? ### Context: CREATE TABLE table_name_91 (population_under_1_year_old_censo_2007_hab_ VARCHAR, population_censo_2007_hab_ VARCHAR) [/INST] ### Response: SELECT population_under_1_year_old_censo_2007_hab_ FROM table_name_91 WHERE population_censo_2007_hab_ = "112.054*" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 density (hab/km²) with a population under 1 year-old censo 2007(hab) of * data from the census taken by the Inei? ### Context: CREATE TABLE table_name_21 (density__hab__km²__ VARCHAR, population_under_1_year_old_censo_2007_hab_ VARCHAR) [/INST] ### Response: SELECT density__hab__km²__ FROM table_name_21 WHERE population_under_1_year_old_censo_2007_hab_ = "* data from the census taken by the inei" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 elevation msnm for a population censo 2007(hab) of 77.392*? ### Context: CREATE TABLE table_name_59 (elevation_msnm VARCHAR, population_censo_2007_hab_ VARCHAR) [/INST] ### Response: SELECT elevation_msnm FROM table_name_59 WHERE population_censo_2007_hab_ = "77.392*" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 report about townsville crocodiles as an away team? ### Context: CREATE TABLE table_name_35 (report VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT report FROM table_name_35 WHERE away_team = "townsville crocodiles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 67? ### Context: CREATE TABLE table_name_42 (record VARCHAR, game VARCHAR) [/INST] ### Response: SELECT record FROM table_name_42 WHERE game = 67 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score of the game against the Boston Bruins and after game 68? ### Context: CREATE TABLE table_name_62 (score VARCHAR, game VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT score FROM table_name_62 WHERE game > 68 AND opponent = "boston bruins" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 natural change (per 1000) when the crude death rate (per 1000) is 10? ### Context: CREATE TABLE table_name_61 (natural_change__per_1000_ VARCHAR, crude_death_rate__per_1000_ VARCHAR) [/INST] ### Response: SELECT natural_change__per_1000_ FROM table_name_61 WHERE crude_death_rate__per_1000_ = 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: what is the crude birth rate (per 1000) when the live births 1 is 356 013? ### Context: CREATE TABLE table_name_72 (crude_birth_rate__per_1000_ INTEGER, live_births_1 VARCHAR) [/INST] ### Response: SELECT SUM(crude_birth_rate__per_1000_) FROM table_name_72 WHERE live_births_1 = "356 013" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 natural change (per 1000) when the live births 1 is 278 977? ### Context: CREATE TABLE table_name_73 (natural_change__per_1000_ VARCHAR, live_births_1 VARCHAR) [/INST] ### Response: SELECT natural_change__per_1000_ FROM table_name_73 WHERE live_births_1 = "278 977" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a To par of e, and a Country of united states? ### Context: CREATE TABLE table_name_68 (player VARCHAR, to_par VARCHAR, country VARCHAR) [/INST] ### Response: SELECT player FROM table_name_68 WHERE to_par = "e" AND country = "united states" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Place has a Score smaller than 72, and a To par of −1, and a Country of spain? ### Context: CREATE TABLE table_name_51 (place VARCHAR, country VARCHAR, score VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT place FROM table_name_51 WHERE score < 72 AND to_par = "−1" AND country = "spain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 john huston's score? ### Context: CREATE TABLE table_name_56 (score VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_56 WHERE player = "john huston" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 willie wood's to par? ### Context: CREATE TABLE table_name_15 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_15 WHERE player = "willie wood" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Prize amount of Winner Dominik Nitsche? ### Context: CREATE TABLE table_name_15 (prize VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT prize FROM table_name_15 WHERE winner = "dominik nitsche" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Winner of the Event in Nuevo Vallarta? ### Context: CREATE TABLE table_name_63 (winner VARCHAR, city VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_63 WHERE city = "nuevo vallarta" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Event in Punta del Este? ### Context: CREATE TABLE table_name_68 (date VARCHAR, city VARCHAR) [/INST] ### Response: SELECT date FROM table_name_68 WHERE city = "punta del este" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Event with a Prize of $141,426? ### Context: CREATE TABLE table_name_92 (date VARCHAR, prize VARCHAR) [/INST] ### Response: SELECT date FROM table_name_92 WHERE prize = "$141,426" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title of ahaziah? ### Context: CREATE TABLE table_name_16 (title VARCHAR, name VARCHAR) [/INST] ### Response: SELECT title FROM table_name_16 WHERE name = "ahaziah" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 type of the king title? ### Context: CREATE TABLE table_name_2 (type VARCHAR, title VARCHAR) [/INST] ### Response: SELECT type FROM table_name_2 WHERE title = "king" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the queen regnant? ### Context: CREATE TABLE table_name_48 (name VARCHAR, title VARCHAR) [/INST] ### Response: SELECT name FROM table_name_48 WHERE title = "queen regnant" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Grid, when Rider is Aleix Espargaro? ### Context: CREATE TABLE table_name_2 (grid VARCHAR, rider VARCHAR) [/INST] ### Response: SELECT COUNT(grid) FROM table_name_2 WHERE rider = "aleix espargaro" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Rider, when Grid is less than 16, when Manufacturer is Aprilia, and when Time is +28.288? ### Context: CREATE TABLE table_name_23 (rider VARCHAR, time VARCHAR, grid VARCHAR, manufacturer VARCHAR) [/INST] ### Response: SELECT rider FROM table_name_23 WHERE grid < 16 AND manufacturer = "aprilia" AND time = "+28.288" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Laps, when Grid is 15? ### Context: CREATE TABLE table_name_74 (laps INTEGER, grid VARCHAR) [/INST] ### Response: SELECT AVG(laps) FROM table_name_74 WHERE grid = 15 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Manufacturer, when Laps is 26, and when Rider is Aleix Espargaro? ### Context: CREATE TABLE table_name_47 (manufacturer VARCHAR, laps VARCHAR, rider VARCHAR) [/INST] ### Response: SELECT manufacturer FROM table_name_47 WHERE laps = 26 AND rider = "aleix espargaro" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Date, when Away Team is "Ipswich Town"? ### Context: CREATE TABLE table_name_20 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_20 WHERE away_team = "ipswich town" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tie No, when Away Team is "Millwall"? ### Context: CREATE TABLE table_name_71 (tie_no VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_71 WHERE away_team = "millwall" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score, when Date is "13 March 1985", and when Away Team is "Millwall"? ### Context: CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_67 WHERE date = "13 march 1985" AND away_team = "millwall" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Date, when Away Team is "Liverpool"? ### Context: CREATE TABLE table_name_91 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_91 WHERE away_team = "liverpool" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score, when Home Team is "Manchester United"? ### Context: CREATE TABLE table_name_50 (score VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_50 WHERE home_team = "manchester united" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 High Rebounds is "Carl Landry (11)"? ### Context: CREATE TABLE table_name_78 (team VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT team FROM table_name_78 WHERE high_rebounds = "carl landry (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 Location Attendance, when High Assists is "Rafer Alston (7)", and when High Rebounds is "Yao Ming (13)"? ### Context: CREATE TABLE table_name_64 (location_attendance VARCHAR, high_assists VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_name_64 WHERE high_assists = "rafer alston (7)" AND high_rebounds = "yao ming (13)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Score, when Team is "@ Memphis"? ### Context: CREATE TABLE table_name_15 (score VARCHAR, team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_15 WHERE team = "@ memphis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the result of the ajc craven plate (wfa) race? ### Context: CREATE TABLE table_name_88 (result VARCHAR, race VARCHAR) [/INST] ### Response: SELECT result FROM table_name_88 WHERE race = "ajc craven plate (wfa)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the result of the sajc king's cup race, which has a weight heavier than 8.1? ### Context: CREATE TABLE table_name_23 (result VARCHAR, weight VARCHAR, race VARCHAR) [/INST] ### Response: SELECT result FROM table_name_23 WHERE weight > 8.1 AND race = "sajc king's 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 race with a 10f distance and mollison as the winner or 2nd? ### Context: CREATE TABLE table_name_12 (race VARCHAR, distance VARCHAR, winner_or_2nd VARCHAR) [/INST] ### Response: SELECT race FROM table_name_12 WHERE distance = "10f" AND winner_or_2nd = "mollison" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of Bush with a 32.40% Bush % and a total less than 5,126? ### Context: CREATE TABLE table_name_87 (bush_number INTEGER, bush_percentage VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MAX(bush_number) FROM table_name_87 WHERE bush_percentage = "32.40%" AND total < 5 OFFSET 126 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the score as w 117–109 (ot)? ### Context: CREATE TABLE table_name_83 (location_attendance VARCHAR, score VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_name_83 WHERE score = "w 117–109 (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: What were the last 5 meetings when Columbia was mu, 4-2? ### Context: CREATE TABLE table_name_6 (last_5_meetings VARCHAR, at_columbia VARCHAR) [/INST] ### Response: SELECT last_5_meetings FROM table_name_6 WHERE at_columbia = "mu, 4-2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of rounds at 5:36? ### Context: CREATE TABLE table_name_29 (round VARCHAR, time VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_29 WHERE time = "5:36" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rounds with a 4-0 record? ### Context: CREATE TABLE table_name_57 (round VARCHAR, record VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_57 WHERE record = "4-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: Which district is in the province of Piura? ### Context: CREATE TABLE table_name_36 (districts VARCHAR, province VARCHAR) [/INST] ### Response: SELECT districts FROM table_name_36 WHERE province = "piura" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 population of Chimbote? ### Context: CREATE TABLE table_name_38 (population INTEGER, name_of_city VARCHAR) [/INST] ### Response: SELECT SUM(population) FROM table_name_38 WHERE name_of_city = "chimbote" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the result of the game that was played at Detroit Lions? ### Context: CREATE TABLE table_name_32 (result VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT result FROM table_name_32 WHERE opponent = "at detroit lions" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series number was directed by milan cheylov and written by will dixon? ### Context: CREATE TABLE table_name_81 (series__number INTEGER, directed_by VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT AVG(series__number) FROM table_name_81 WHERE directed_by = "milan cheylov" AND written_by = "will dixon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series # had an original air date of november 30, 1996? ### Context: CREATE TABLE table_name_52 (series__number INTEGER, original_air_date VARCHAR) [/INST] ### Response: SELECT MIN(series__number) FROM table_name_52 WHERE original_air_date = "november 30, 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 part 4 when part 3 was *hleupun? ### Context: CREATE TABLE table_name_65 (part_4 VARCHAR, part_3 VARCHAR) [/INST] ### Response: SELECT part_4 FROM table_name_65 WHERE part_3 = "*hleupun" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class when part 2 was *hēt? ### Context: CREATE TABLE table_name_61 (class VARCHAR, part_2 VARCHAR) [/INST] ### Response: SELECT class FROM table_name_61 WHERE part_2 = "*hēt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class when part 4 was *rādanaz? ### Context: CREATE TABLE table_name_39 (class VARCHAR, part_4 VARCHAR) [/INST] ### Response: SELECT class FROM table_name_39 WHERE part_4 = "*rādanaz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 part 2 when part 4 was *blōtanaz? ### Context: CREATE TABLE table_name_67 (part_2 VARCHAR, part_4 VARCHAR) [/INST] ### Response: SELECT part_2 FROM table_name_67 WHERE part_4 = "*blōtanaz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 part 2 when part 4 was *haldanaz? ### Context: CREATE TABLE table_name_69 (part_2 VARCHAR, part_4 VARCHAR) [/INST] ### Response: SELECT part_2 FROM table_name_69 WHERE part_4 = "*haldanaz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class when part 3 was *heldun? ### Context: CREATE TABLE table_name_79 (class VARCHAR, part_3 VARCHAR) [/INST] ### Response: SELECT class FROM table_name_79 WHERE part_3 = "*heldun" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round din Ullevaal? ### Context: CREATE TABLE table_name_23 (round VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT round FROM table_name_23 WHERE venue = "ullevaal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is in Ullevaal? ### Context: CREATE TABLE table_name_99 (round VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT round FROM table_name_99 WHERE venue = "ullevaal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what Venue was the Score 1-1? ### Context: CREATE TABLE table_name_76 (venue VARCHAR, score VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_76 WHERE score = "1-1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Score of the Semifinal 1? ### Context: CREATE TABLE table_name_31 (score VARCHAR, round VARCHAR) [/INST] ### Response: SELECT score FROM table_name_31 WHERE round = "semifinal 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 are the ends for the player with a transfer fee of loan? ### Context: CREATE TABLE table_name_33 (ends VARCHAR, transfer_fee VARCHAR) [/INST] ### Response: SELECT ends FROM table_name_33 WHERE transfer_fee = "loan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 transfer fee for the MLI player with fewer than 63 goals in a year more recent than 2006? ### Context: CREATE TABLE table_name_60 (transfer_fee VARCHAR, nat VARCHAR, since VARCHAR, goals VARCHAR) [/INST] ### Response: SELECT transfer_fee FROM table_name_60 WHERE since = "2006" AND goals < 63 AND nat = "mli" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 royal house for Wu at the state of cai? ### Context: CREATE TABLE table_name_45 (royal_house VARCHAR, name VARCHAR, state VARCHAR) [/INST] ### Response: SELECT royal_house FROM table_name_45 WHERE name = "wu" AND state = "cai" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 state where the title is listed as count? ### Context: CREATE TABLE table_name_63 (state VARCHAR, title VARCHAR) [/INST] ### Response: SELECT state FROM table_name_63 WHERE title = "count" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 state for the royal house of ying? ### Context: CREATE TABLE table_name_58 (state VARCHAR, royal_house VARCHAR) [/INST] ### Response: SELECT state FROM table_name_58 WHERE royal_house = "ying" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Opponent in the final has a Score in the final of 6–2, 6–3, 2–6, 7–5? ### Context: CREATE TABLE table_name_62 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR) [/INST] ### Response: SELECT opponent_in_the_final FROM table_name_62 WHERE score_in_the_final = "6–2, 6–3, 2–6, 7–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: How many Dates have a Score in the final of 6–4, 6–2? ### Context: CREATE TABLE table_name_92 (date INTEGER, score_in_the_final VARCHAR) [/INST] ### Response: SELECT SUM(date) FROM table_name_92 WHERE score_in_the_final = "6–4, 6–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 Surface has an Outcome of runner-up, and a Score in the final of 4–6, 6–7, 6–2, 2–6? ### Context: CREATE TABLE table_name_87 (surface VARCHAR, outcome VARCHAR, score_in_the_final VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_87 WHERE outcome = "runner-up" AND score_in_the_final = "4–6, 6–7, 6–2, 2–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: Which Opponent in the final has an Outcome of winner, and a Date larger than 1992, and a Surface of clay, and a Score in the final of 3–6, 6–2, 6–1? ### Context: CREATE TABLE table_name_65 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR, surface VARCHAR, outcome VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent_in_the_final FROM table_name_65 WHERE outcome = "winner" AND date > 1992 AND surface = "clay" AND score_in_the_final = "3–6, 6–2, 6–1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Surface has a Score in the final of 2–6, 6–7? ### Context: CREATE TABLE table_name_42 (surface VARCHAR, score_in_the_final VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_42 WHERE score_in_the_final = "2–6, 6–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 day in November has a record of 15-6-1? ### Context: CREATE TABLE table_name_91 (november INTEGER, record VARCHAR) [/INST] ### Response: SELECT AVG(november) FROM table_name_91 WHERE record = "15-6-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 day in November has the game less than 12? ### Context: CREATE TABLE table_name_55 (november VARCHAR, game INTEGER) [/INST] ### Response: SELECT november FROM table_name_55 WHERE game < 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 earliest day in November with a record of 15-7-1? ### Context: CREATE TABLE table_name_67 (november INTEGER, record VARCHAR) [/INST] ### Response: SELECT MIN(november) FROM table_name_67 WHERE record = "15-7-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 Finish, when Country is "South Africa"? ### Context: CREATE TABLE table_name_54 (finish VARCHAR, country VARCHAR) [/INST] ### Response: SELECT finish FROM table_name_54 WHERE country = "south africa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Player, when Country is "United States", and when Year(s) Won is "1976"? ### Context: CREATE TABLE table_name_40 (player VARCHAR, country VARCHAR, year_s__won VARCHAR) [/INST] ### Response: SELECT player FROM table_name_40 WHERE country = "united states" AND year_s__won = "1976" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first round has a first team of angers sco (d1)? ### Context: CREATE TABLE table_name_90 (team_1 VARCHAR) [/INST] ### Response: SELECT 1 AS st_round FROM table_name_90 WHERE team_1 = "angers sco (d1)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stadium does Club Pro Patria play? ### Context: CREATE TABLE table_name_43 (stadium VARCHAR, club VARCHAR) [/INST] ### Response: SELECT stadium FROM table_name_43 WHERE club = "pro patria" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2007-08 season for the city of Ferrara? ### Context: CREATE TABLE table_name_33 (city VARCHAR) [/INST] ### Response: SELECT 2007 AS _08_season FROM table_name_33 WHERE city = "ferrara" </s>