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: Which method did pride bushido 10 have ? ### Context: CREATE TABLE table_name_56 (method VARCHAR, event VARCHAR) [/INST] ### Response: SELECT method FROM table_name_56 WHERE event = "pride bushido 10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which 2008–09 has an Event of autumn gold? ### Context: CREATE TABLE table_name_13 (event VARCHAR) [/INST] ### Response: SELECT 2008 AS _09 FROM table_name_13 WHERE event = "autumn gold" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Drawn has a Team of internacional-sp? ### Context: CREATE TABLE table_name_77 (drawn INTEGER, team VARCHAR) [/INST] ### Response: SELECT SUM(drawn) FROM table_name_77 WHERE team = "internacional-sp" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Lost has a Drawn larger than 5, and a Played larger than 18? ### Context: CREATE TABLE table_name_78 (lost INTEGER, drawn VARCHAR, played VARCHAR) [/INST] ### Response: SELECT SUM(lost) FROM table_name_78 WHERE drawn > 5 AND played > 18 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Drawn is the highest one that has a Played smaller than 18? ### Context: CREATE TABLE table_name_36 (drawn INTEGER, played INTEGER) [/INST] ### Response: SELECT MAX(drawn) FROM table_name_36 WHERE played < 18 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Drawn is the highest one that has an Against larger than 15, and Points smaller than 15, and a Lost smaller than 9? ### Context: CREATE TABLE table_name_39 (drawn INTEGER, lost VARCHAR, against VARCHAR, points VARCHAR) [/INST] ### Response: SELECT MAX(drawn) FROM table_name_39 WHERE against > 15 AND points < 15 AND lost < 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the least amount of floors at 921 sw sixth avenue? ### Context: CREATE TABLE table_name_41 (floors INTEGER, street_address VARCHAR) [/INST] ### Response: SELECT MIN(floors) FROM table_name_41 WHERE street_address = "921 sw sixth avenue" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 address of the union bank of California tower? ### Context: CREATE TABLE table_name_27 (street_address VARCHAR, name VARCHAR) [/INST] ### Response: SELECT street_address FROM table_name_27 WHERE name = "union bank of california tower" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 years that the building at 200 sw harrison was considered to be the tallest building? ### Context: CREATE TABLE table_name_3 (years_as_tallest VARCHAR, street_address VARCHAR) [/INST] ### Response: SELECT years_as_tallest FROM table_name_3 WHERE street_address = "200 sw harrison" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 smallest position with less than 7 points piloted by Didier Hauss? ### Context: CREATE TABLE table_name_29 (position INTEGER, points VARCHAR, pilot VARCHAR) [/INST] ### Response: SELECT MIN(position) FROM table_name_29 WHERE points < 7 AND pilot = "didier hauss" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: During what Season was the Final Venue at Sandy Lane with Kiveton Park as the Winner? ### Context: CREATE TABLE table_name_62 (season VARCHAR, winner VARCHAR, final_venue VARCHAR) [/INST] ### Response: SELECT season FROM table_name_62 WHERE winner = "kiveton park" AND final_venue = "sandy lane" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Runner-up during the 2005-06 Season with Kiveton Park as the Winner? ### Context: CREATE TABLE table_name_88 (runner_up VARCHAR, winner VARCHAR, season VARCHAR) [/INST] ### Response: SELECT runner_up FROM table_name_88 WHERE winner = "kiveton park" AND season = "2005-06" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in Green Lane with Kirkburton as the Runner-up? ### Context: CREATE TABLE table_name_94 (result VARCHAR, runner_up VARCHAR, final_venue VARCHAR) [/INST] ### Response: SELECT result FROM table_name_94 WHERE runner_up = "kirkburton" AND final_venue = "green lane" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in the 2005-06 Season? ### Context: CREATE TABLE table_name_9 (result VARCHAR, season VARCHAR) [/INST] ### Response: SELECT result FROM table_name_9 WHERE season = "2005-06" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Final Venue having Sheffield Reserves as the Winner? ### Context: CREATE TABLE table_name_17 (final_venue VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT final_venue FROM table_name_17 WHERE winner = "sheffield reserves" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Round that has a Time of 6:04? ### Context: CREATE TABLE table_name_85 (round INTEGER, time VARCHAR) [/INST] ### Response: SELECT SUM(round) FROM table_name_85 WHERE time = "6:04" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Round has the Method of Submission (Single Wing Choke)? ### Context: CREATE TABLE table_name_55 (round VARCHAR, method VARCHAR) [/INST] ### Response: SELECT round FROM table_name_55 WHERE method = "submission (single wing 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: Which Class has a Frequency MHz larger than 91.5, and a City of license of hyannis, nebraska? ### Context: CREATE TABLE table_name_12 (class VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) [/INST] ### Response: SELECT class FROM table_name_12 WHERE frequency_mhz > 91.5 AND city_of_license = "hyannis, nebraska" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Class has a ERP W larger than 205, and a Frequency MHz smaller than 93.9, and a Call sign of k210cb? ### Context: CREATE TABLE table_name_54 (class VARCHAR, call_sign VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR) [/INST] ### Response: SELECT class FROM table_name_54 WHERE erp_w > 205 AND frequency_mhz < 93.9 AND call_sign = "k210cb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Frequency MHz that has a ERP W larger than 205, and a Call sign of k230ap? ### Context: CREATE TABLE table_name_52 (frequency_mhz INTEGER, erp_w VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT MAX(frequency_mhz) FROM table_name_52 WHERE erp_w > 205 AND call_sign = "k230ap" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Frequency MHz has a ERP W of 250? ### Context: CREATE TABLE table_name_36 (frequency_mhz INTEGER, erp_w VARCHAR) [/INST] ### Response: SELECT MAX(frequency_mhz) FROM table_name_36 WHERE erp_w = 250 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game 81? ### Context: CREATE TABLE table_name_40 (date VARCHAR, game VARCHAR) [/INST] ### Response: SELECT date FROM table_name_40 WHERE game = 81 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Opponent of gustavo kuerten? ### Context: CREATE TABLE table_name_13 (surface VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_13 WHERE opponent = "gustavo kuerten" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tournament of st. petersburg , russia? ### Context: CREATE TABLE table_name_53 (surface VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_53 WHERE tournament = "st. petersburg , russia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Surface of hard (i), and a Tournament of brighton , united kingdom taken? ### Context: CREATE TABLE table_name_11 (date VARCHAR, surface VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT date FROM table_name_11 WHERE surface = "hard (i)" AND tournament = "brighton , united kingdom" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Opponent has a Score of 3–6, 5–7? ### Context: CREATE TABLE table_name_52 (opponent VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_52 WHERE score = "3–6, 5–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: When has a Tournament of palermo , italy? ### Context: CREATE TABLE table_name_17 (date VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT date FROM table_name_17 WHERE tournament = "palermo , 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: Which Opponent is on 29 september 1997? ### Context: CREATE TABLE table_name_70 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_70 WHERE date = "29 september 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: Which constellation has hd 75732 as a destignation HD? ### Context: CREATE TABLE table_name_38 (constellation VARCHAR, designation_hd VARCHAR) [/INST] ### Response: SELECT constellation FROM table_name_38 WHERE designation_hd = "hd 75732" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What message has hd 186408 as a designation HD? ### Context: CREATE TABLE table_name_75 (message VARCHAR, designation_hd VARCHAR) [/INST] ### Response: SELECT message FROM table_name_75 WHERE designation_hd = "hd 186408" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sent has cygnus as a constellation, and hd 190360 as a designation HD? ### Context: CREATE TABLE table_name_65 (date_sent VARCHAR, constellation VARCHAR, designation_hd VARCHAR) [/INST] ### Response: SELECT date_sent FROM table_name_65 WHERE constellation = "cygnus" AND designation_hd = "hd 190360" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sent has orion as the constellation? ### Context: CREATE TABLE table_name_63 (date_sent VARCHAR, constellation VARCHAR) [/INST] ### Response: SELECT date_sent FROM table_name_63 WHERE constellation = "orion" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 constellation has cosmic call 1 as the message, and an arrival date of october 2067? ### Context: CREATE TABLE table_name_27 (constellation VARCHAR, message VARCHAR, arrival_date VARCHAR) [/INST] ### Response: SELECT constellation FROM table_name_27 WHERE message = "cosmic call 1" AND arrival_date = "october 2067" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sent has cancer as the constellation? ### Context: CREATE TABLE table_name_29 (date_sent VARCHAR, constellation VARCHAR) [/INST] ### Response: SELECT date_sent FROM table_name_29 WHERE constellation = "cancer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Conceded is the highest one that has Points larger than 17, and a Team of guaraní, and Losses smaller than 6? ### Context: CREATE TABLE table_name_39 (conceded INTEGER, losses VARCHAR, points VARCHAR, team VARCHAR) [/INST] ### Response: SELECT MAX(conceded) FROM table_name_39 WHERE points > 17 AND team = "guaraní" AND losses < 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 Conceded has Draws smaller than 5, and a Position larger than 6? ### Context: CREATE TABLE table_name_39 (conceded INTEGER, draws VARCHAR, position VARCHAR) [/INST] ### Response: SELECT SUM(conceded) FROM table_name_39 WHERE draws < 5 AND position > 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: How many Points have a Played larger than 18? ### Context: CREATE TABLE table_name_65 (points VARCHAR, played INTEGER) [/INST] ### Response: SELECT COUNT(points) FROM table_name_65 WHERE played > 18 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Scored has a Team of recoleta? ### Context: CREATE TABLE table_name_81 (scored INTEGER, team VARCHAR) [/INST] ### Response: SELECT SUM(scored) FROM table_name_81 WHERE team = "recoleta" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Notes have a Date of 2008-01-27? ### Context: CREATE TABLE table_name_21 (notes VARCHAR, date VARCHAR) [/INST] ### Response: SELECT notes FROM table_name_21 WHERE date = "2008-01-27" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Date has a Distance of 3,000 m? ### Context: CREATE TABLE table_name_63 (date VARCHAR, distance VARCHAR) [/INST] ### Response: SELECT date FROM table_name_63 WHERE distance = "3,000 m" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Distance has a Time of men's speed skating? ### Context: CREATE TABLE table_name_46 (distance VARCHAR, time VARCHAR) [/INST] ### Response: SELECT distance FROM table_name_46 WHERE time = "men's speed skating" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Location has a Time of time? ### Context: CREATE TABLE table_name_89 (location VARCHAR) [/INST] ### Response: SELECT location FROM table_name_89 WHERE "time" = "time" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Location has a Distance of 10,000 m? ### Context: CREATE TABLE table_name_59 (location VARCHAR, distance VARCHAR) [/INST] ### Response: SELECT location FROM table_name_59 WHERE distance = "10,000 m" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Distance of 500 m? ### Context: CREATE TABLE table_name_3 (date VARCHAR, distance VARCHAR) [/INST] ### Response: SELECT date FROM table_name_3 WHERE distance = "500 m" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the June 22 game with attendance 0? ### Context: CREATE TABLE table_name_44 (score VARCHAR, date VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT score FROM table_name_44 WHERE date = "june 22" AND attendance = 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 type of surface was used for the carthage tournament on august 14, 1994? ### Context: CREATE TABLE table_name_97 (surface VARCHAR, tournament VARCHAR, date VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_97 WHERE tournament = "carthage" AND date = "august 14, 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: Which tournament has marielle bruens for the opponent in the final? ### Context: CREATE TABLE table_name_81 (tournament VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_81 WHERE opponent_in_the_final = "marielle bruens" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What surface was used on may 13, 2007? ### Context: CREATE TABLE table_name_19 (surface VARCHAR, date VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_19 WHERE date = "may 13, 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: Frequency MHz of 93.7 has what class? ### Context: CREATE TABLE table_name_4 (class VARCHAR, frequency_mhz VARCHAR) [/INST] ### Response: SELECT class FROM table_name_4 WHERE frequency_mhz = 93.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 average Entre Ríos Municipality with less than 9 Pojo Municipalities? ### Context: CREATE TABLE table_name_99 (entre_ríos_municipality INTEGER, pojo_municipality INTEGER) [/INST] ### Response: SELECT AVG(entre_ríos_municipality) FROM table_name_99 WHERE pojo_municipality < 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Pocona Municipalities with 72 Totora municipalities and more than 74 pojo municipalities? ### Context: CREATE TABLE table_name_98 (pocona_municipality VARCHAR, totora_municipality VARCHAR, pojo_municipality VARCHAR) [/INST] ### Response: SELECT COUNT(pocona_municipality) FROM table_name_98 WHERE totora_municipality = 72 AND pojo_municipality > 74 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 chimore municipalities with 9 pojo municipalities and less than 7 totora municipalities? ### Context: CREATE TABLE table_name_76 (chimoré_municipality INTEGER, pojo_municipality VARCHAR, totora_municipality VARCHAR) [/INST] ### Response: SELECT MAX(chimoré_municipality) FROM table_name_76 WHERE pojo_municipality = 9 AND totora_municipality < 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 Copa Libertadores 1996 has a Team of estudiantes? ### Context: CREATE TABLE table_name_10 (copa_libertadores_1996 VARCHAR, team VARCHAR) [/INST] ### Response: SELECT copa_libertadores_1996 FROM table_name_10 WHERE team = "estudiantes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 CONMEBOL 1995 has a Supercopa 1995 of sf? ### Context: CREATE TABLE table_name_86 (conmebol_1995 VARCHAR, supercopa_1995 VARCHAR) [/INST] ### Response: SELECT conmebol_1995 FROM table_name_86 WHERE supercopa_1995 = "sf" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Copa Libertadores 1996 has round 1 Supercopa 1995 and argentinos juniors team ? ### Context: CREATE TABLE table_name_10 (copa_libertadores_1996 VARCHAR, supercopa_1995 VARCHAR, team VARCHAR) [/INST] ### Response: SELECT copa_libertadores_1996 FROM table_name_10 WHERE supercopa_1995 = "round 1" AND team = "argentinos juniors" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 CONMEBOL 1995 has river plate team? ### Context: CREATE TABLE table_name_61 (conmebol_1995 VARCHAR, team VARCHAR) [/INST] ### Response: SELECT conmebol_1995 FROM table_name_61 WHERE team = "river plate" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a round 1 CONMEBOL 1995? ### Context: CREATE TABLE table_name_28 (team VARCHAR, conmebol_1995 VARCHAR) [/INST] ### Response: SELECT team FROM table_name_28 WHERE conmebol_1995 = "round 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 an Attendance of 57,013? ### Context: CREATE TABLE table_name_36 (date VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT date FROM table_name_36 WHERE attendance = "57,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: Which Date has a TV Time of cbs 1:00pm, and a Game Site of rca dome, and an Opponent of cincinnati bengals? ### Context: CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR, tv_time VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT date FROM table_name_7 WHERE tv_time = "cbs 1:00pm" AND game_site = "rca dome" AND opponent = "cincinnati bengals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 TV Time has a Date of december 26, 1999? ### Context: CREATE TABLE table_name_63 (tv_time VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tv_time FROM table_name_63 WHERE date = "december 26, 1999" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Game Site has a Date of october 17, 1999? ### Context: CREATE TABLE table_name_1 (game_site VARCHAR, date VARCHAR) [/INST] ### Response: SELECT game_site FROM table_name_1 WHERE date = "october 17, 1999" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the result with streak of won 6? ### Context: CREATE TABLE table_name_21 (result VARCHAR, streak VARCHAR) [/INST] ### Response: SELECT result FROM table_name_21 WHERE streak = "won 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 2nd leg score having an aggregate score of 4-2? ### Context: CREATE TABLE table_name_88 (aggregate VARCHAR) [/INST] ### Response: SELECT 2 AS nd_leg FROM table_name_88 WHERE aggregate = "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 was the home team for the 2nd leg of the match having an aggregate of 2-3? ### Context: CREATE TABLE table_name_59 (home__2nd_leg_ VARCHAR, aggregate VARCHAR) [/INST] ### Response: SELECT home__2nd_leg_ FROM table_name_59 WHERE aggregate = "2-3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest number of played games of the team with less than 12 drawns, 41 against, and less than 69 points? ### Context: CREATE TABLE table_name_58 (played INTEGER, points VARCHAR, drawn VARCHAR, against VARCHAR) [/INST] ### Response: SELECT MIN(played) FROM table_name_58 WHERE drawn < 12 AND against = 41 AND points < 69 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 played of the team with less than 11 losses and less than 12 drawns? ### Context: CREATE TABLE table_name_9 (played INTEGER, lost VARCHAR, drawn VARCHAR) [/INST] ### Response: SELECT MAX(played) FROM table_name_9 WHERE lost < 11 AND drawn < 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 sum of againsts the team with less than 38 played had? ### Context: CREATE TABLE table_name_86 (against INTEGER, played INTEGER) [/INST] ### Response: SELECT SUM(against) FROM table_name_86 WHERE played < 38 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 drawn of the team with a difference of 4 and more than 13 losses? ### Context: CREATE TABLE table_name_30 (drawn INTEGER, difference VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT AVG(drawn) FROM table_name_30 WHERE difference = "4" AND lost > 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 the position of the team with more than 16 losses and an against greater than 74? ### Context: CREATE TABLE table_name_43 (position INTEGER, lost VARCHAR, against VARCHAR) [/INST] ### Response: SELECT SUM(position) FROM table_name_43 WHERE lost > 16 AND against > 74 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 points team vitória, which had more than 38 played, had? ### Context: CREATE TABLE table_name_92 (points INTEGER, team VARCHAR, played VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_name_92 WHERE team = "vitória" AND played > 38 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When the A Score was larger than 5.933 with a total of 19.833, what nation was this? ### Context: CREATE TABLE table_name_40 (nation VARCHAR, a_score VARCHAR, total VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_40 WHERE a_score > 5.933 AND total = 19.833 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 large was the total when the E Score was greater than 9.35 and T Score was less than 4? ### Context: CREATE TABLE table_name_35 (total INTEGER, e_score VARCHAR, t_score VARCHAR) [/INST] ### Response: SELECT MAX(total) FROM table_name_35 WHERE e_score > 9.35 AND t_score < 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 was the quantity of the A Score when the E Score was larger than 9.566 in the Greece and the T score was more than 4? ### Context: CREATE TABLE table_name_54 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT SUM(a_score) FROM table_name_54 WHERE e_score > 9.566 AND nation = "greece" AND t_score > 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 was the total of A Score when the E Score was greater than 9.383, total was less than 19.716 and the T Score was larger than 4? ### Context: CREATE TABLE table_name_74 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR, total VARCHAR) [/INST] ### Response: SELECT SUM(a_score) FROM table_name_74 WHERE e_score > 9.383 AND total < 19.716 AND t_score > 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: Which city has a frequency of 104.5 fm? ### Context: CREATE TABLE table_name_1 (city_of_license VARCHAR, frequency_mhz VARCHAR) [/INST] ### Response: SELECT city_of_license FROM table_name_1 WHERE frequency_mhz = "104.5 fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Walterboro, SC? ### Context: CREATE TABLE table_name_74 (frequency_mhz VARCHAR, city_of_license VARCHAR) [/INST] ### Response: SELECT frequency_mhz FROM table_name_74 WHERE city_of_license = "walterboro, sc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 FCC information of 104.5 fm frequency? ### Context: CREATE TABLE table_name_68 (fcc_info VARCHAR, frequency_mhz VARCHAR) [/INST] ### Response: SELECT fcc_info FROM table_name_68 WHERE frequency_mhz = "104.5 fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Charleston, SC ERP W? ### Context: CREATE TABLE table_name_2 (erp_w VARCHAR, city_of_license VARCHAR) [/INST] ### Response: SELECT erp_w FROM table_name_2 WHERE city_of_license = "charleston, sc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What does the ERP W sum equal for 105.1 fm frequency? ### Context: CREATE TABLE table_name_66 (erp_w INTEGER, frequency_mhz VARCHAR) [/INST] ### Response: SELECT SUM(erp_w) FROM table_name_66 WHERE frequency_mhz = "105.1 fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 surfside beach, SC frequency? ### Context: CREATE TABLE table_name_79 (frequency_mhz VARCHAR, city_of_license VARCHAR) [/INST] ### Response: SELECT frequency_mhz FROM table_name_79 WHERE city_of_license = "surfside beach, sc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 player from Japan's To Par? ### Context: CREATE TABLE table_name_30 (to_par VARCHAR, country VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_30 WHERE country = "japan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 player from England's To Par? ### Context: CREATE TABLE table_name_68 (to_par VARCHAR, country VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_68 WHERE country = "england" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 player from England's score? ### Context: CREATE TABLE table_name_98 (score VARCHAR, country VARCHAR) [/INST] ### Response: SELECT score FROM table_name_98 WHERE country = "england" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which country does Adam Scott play for? ### Context: CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_39 WHERE player = "adam scott" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the ICAO for lilongwe international airport ### Context: CREATE TABLE table_name_43 (icao VARCHAR, airport VARCHAR) [/INST] ### Response: SELECT icao FROM table_name_43 WHERE airport = "lilongwe international airport" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the airport for ICAO of flls ### Context: CREATE TABLE table_name_6 (airport VARCHAR, icao VARCHAR) [/INST] ### Response: SELECT airport FROM table_name_6 WHERE icao = "flls" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the ICAO for lilongwe international airport ### Context: CREATE TABLE table_name_74 (icao VARCHAR, airport VARCHAR) [/INST] ### Response: SELECT icao FROM table_name_74 WHERE airport = "lilongwe international airport" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the ICAO for julius nyerere international airport ### Context: CREATE TABLE table_name_79 (icao VARCHAR, airport VARCHAR) [/INST] ### Response: SELECT icao FROM table_name_79 WHERE airport = "julius nyerere international airport" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the country for johannesburg ### Context: CREATE TABLE table_name_35 (country VARCHAR, city VARCHAR) [/INST] ### Response: SELECT country FROM table_name_35 WHERE city = "johannesburg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the city for IATA of llw ### Context: CREATE TABLE table_name_32 (city VARCHAR, iata VARCHAR) [/INST] ### Response: SELECT city FROM table_name_32 WHERE iata = "llw" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home time with a 10 tie no? ### Context: CREATE TABLE table_name_5 (home_team VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_5 WHERE tie_no = "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 was the date of the game that was played against the away team of York City? ### Context: CREATE TABLE table_name_7 (attendance VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_7 WHERE away_team = "york city" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What group of juventus had an attendance larger than 47,786? ### Context: CREATE TABLE table_name_2 (group_position VARCHAR, opponents VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT group_position FROM table_name_2 WHERE opponents = "juventus" AND attendance > 47 OFFSET 786 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the average week for result of l 28–17 ### Context: CREATE TABLE table_name_56 (week INTEGER, result VARCHAR) [/INST] ### Response: SELECT AVG(week) FROM table_name_56 WHERE result = "l 28–17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 on April 12? ### Context: CREATE TABLE table_name_48 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_48 WHERE date = "april 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: Which 2009 has a 2008 of A, and a 2010 of 4r? ### Context: CREATE TABLE table_name_84 (Id VARCHAR) [/INST] ### Response: SELECT 2009 FROM table_name_84 WHERE 2008 = "a" AND 2010 = "4r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2009 has a 2008 of wta premier mandatory tournaments? ### Context: CREATE TABLE table_name_64 (Id VARCHAR) [/INST] ### Response: SELECT 2009 FROM table_name_64 WHERE 2008 = "wta premier mandatory tournaments" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2010 has a Tournament of australian open? ### Context: CREATE TABLE table_name_80 (tournament VARCHAR) [/INST] ### Response: SELECT 2010 FROM table_name_80 WHERE tournament = "australian open" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2007 has a 2006 of A, and a Tournament of canada? ### Context: CREATE TABLE table_name_8 (tournament VARCHAR) [/INST] ### Response: SELECT 2007 FROM table_name_8 WHERE 2006 = "a" AND tournament = "canada" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2009 has a 2006 of A, and a 2011 of sf? ### Context: CREATE TABLE table_name_83 (Id VARCHAR) [/INST] ### Response: SELECT 2009 FROM table_name_83 WHERE 2006 = "a" AND 2011 = "sf" </s>