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 Team Name has Poles of 0, and a Final Placing of 29th? ### Context: CREATE TABLE table_name_25 (team_name VARCHAR, poles VARCHAR, final_placing VARCHAR) [/INST] ### Response: SELECT team_name FROM table_name_25 WHERE poles = "0" AND final_placing = "29th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Series has a Final Placing of 9th, and Podiums of 2? ### Context: CREATE TABLE table_name_31 (series VARCHAR, final_placing VARCHAR, podiums VARCHAR) [/INST] ### Response: SELECT series FROM table_name_31 WHERE final_placing = "9th" AND podiums = "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 Series has a Team Name of sunred engineering? ### Context: CREATE TABLE table_name_34 (series VARCHAR, team_name VARCHAR) [/INST] ### Response: SELECT series FROM table_name_34 WHERE team_name = "sunred engineering" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Points have Wins of 0, and a Final Placing of 21st? ### Context: CREATE TABLE table_name_38 (points VARCHAR, wins VARCHAR, final_placing VARCHAR) [/INST] ### Response: SELECT points FROM table_name_38 WHERE wins = "0" AND final_placing = "21st" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bronze for lahti ### Context: CREATE TABLE table_name_46 (bronze VARCHAR, place VARCHAR) [/INST] ### Response: SELECT bronze FROM table_name_46 WHERE place = "lahti" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Rank has Goals larger than 10, and a Scorer of choi sang-kuk? ### Context: CREATE TABLE table_name_35 (rank VARCHAR, goals VARCHAR, scorer VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_35 WHERE goals > 10 AND scorer = "choi sang-kuk" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Rank has a Scorer of lee sang-cheol? ### Context: CREATE TABLE table_name_69 (rank VARCHAR, scorer VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_69 WHERE scorer = "lee sang-cheol" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Club has a Rank of 5? ### Context: CREATE TABLE table_name_40 (club VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT club FROM table_name_40 WHERE rank = "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 original bills amendments cosponsored lower than 64,with the bill support withdrawn lower than 0? ### Context: CREATE TABLE table_name_50 (original_amendments_cosponsored INTEGER, all_bills_sponsored VARCHAR, bill_support_withdrawn VARCHAR) [/INST] ### Response: SELECT MIN(original_amendments_cosponsored) FROM table_name_50 WHERE all_bills_sponsored < 64 AND bill_support_withdrawn < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the democratic incumbent that was re-elected? ### Context: CREATE TABLE table_name_55 (incumbent VARCHAR, status VARCHAR, party VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_name_55 WHERE status = "re-elected" AND party = "democratic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year was republican, re-elected incumbent John all barham elected? ### Context: CREATE TABLE table_name_92 (elected VARCHAR, incumbent VARCHAR, party VARCHAR, status VARCHAR) [/INST] ### Response: SELECT elected FROM table_name_92 WHERE party = "republican" AND status = "re-elected" AND incumbent = "john all barham" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 october was game number 4 with under 3 points? ### Context: CREATE TABLE table_name_18 (october VARCHAR, game VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(october) FROM table_name_18 WHERE game = 4 AND points < 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which school was the drafted player from in a pick larger than 181? ### Context: CREATE TABLE table_name_27 (school VARCHAR, pick INTEGER) [/INST] ### Response: SELECT school FROM table_name_27 WHERE pick > 181 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points against has 17 as the lost? ### Context: CREATE TABLE table_name_61 (points_against VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT points_against FROM table_name_61 WHERE lost = "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 lost has 528 as the points? ### Context: CREATE TABLE table_name_78 (lost VARCHAR, points_for VARCHAR) [/INST] ### Response: SELECT lost FROM table_name_78 WHERE points_for = "528" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 drawn that has 16 as the trys bonus? ### Context: CREATE TABLE table_name_31 (drawn VARCHAR, try_bonus VARCHAR) [/INST] ### Response: SELECT drawn FROM table_name_31 WHERE try_bonus = "16" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What club has tries for in the category tries for? ### Context: CREATE TABLE table_name_64 (club VARCHAR, tries_for VARCHAR) [/INST] ### Response: SELECT club FROM table_name_64 WHERE tries_for = "tries for" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 drawn that has 22 for played, and 96 for points? ### Context: CREATE TABLE table_name_96 (drawn VARCHAR, played VARCHAR, points VARCHAR) [/INST] ### Response: SELECT drawn FROM table_name_96 WHERE played = "22" AND points = "96" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What points have 1 for drawn, and 16 as a try bonus? ### Context: CREATE TABLE table_name_22 (points_for VARCHAR, drawn VARCHAR, try_bonus VARCHAR) [/INST] ### Response: SELECT points_for FROM table_name_22 WHERE drawn = "1" AND try_bonus = "16" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is team 1 in group h? ### Context: CREATE TABLE table_name_45 (team__number1 VARCHAR, round VARCHAR) [/INST] ### Response: SELECT team__number1 FROM table_name_45 WHERE round = "group h" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 15 march 2006? ### Context: CREATE TABLE table_name_85 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_85 WHERE date = "15 march 2006" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which winning team has a winning pitcher of Chris Young and was played in Arlington? ### Context: CREATE TABLE table_name_46 (winning_team VARCHAR, winning_pitcher VARCHAR, location VARCHAR) [/INST] ### Response: SELECT winning_team FROM table_name_46 WHERE winning_pitcher = "chris young" AND location = "arlington" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What winning team has a losing pitcher of Juan Dominguez? ### Context: CREATE TABLE table_name_31 (winning_team VARCHAR, losing_pitcher VARCHAR) [/INST] ### Response: SELECT winning_team FROM table_name_31 WHERE losing_pitcher = "juan dominguez" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the opponent on August 14? ### Context: CREATE TABLE table_name_91 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_91 WHERE date = "august 14" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which loss had a record of 79-49? ### Context: CREATE TABLE table_name_7 (loss VARCHAR, record VARCHAR) [/INST] ### Response: SELECT loss FROM table_name_7 WHERE record = "79-49" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the semi-final dual television commentator status of the year with Pierre Tchernia as the grand final television commentator and an unknown spokesperson? ### Context: CREATE TABLE table_name_96 (semi_final_dual_television_commentator VARCHAR, grand_final_television_commentator VARCHAR, spokesperson VARCHAR) [/INST] ### Response: SELECT semi_final_dual_television_commentator FROM table_name_96 WHERE grand_final_television_commentator = "pierre tchernia" AND spokesperson = "unknown" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 semi-final television commentator status in 1962 with an unknown spokesperson? ### Context: CREATE TABLE table_name_54 (semi_final_television_commentator VARCHAR, spokesperson VARCHAR, year_s_ VARCHAR) [/INST] ### Response: SELECT semi_final_television_commentator FROM table_name_54 WHERE spokesperson = "unknown" AND year_s_ = 1962 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the grand final television commentator status after 1959 when Dave was the grand final dual television commentator and Marie Myriam was the spokesperson? ### Context: CREATE TABLE table_name_20 (grand_final_television_commentator VARCHAR, spokesperson VARCHAR, year_s_ VARCHAR, grand_final_dual_television_commentator VARCHAR) [/INST] ### Response: SELECT grand_final_television_commentator FROM table_name_20 WHERE year_s_ > 1959 AND grand_final_dual_television_commentator = "dave" AND spokesperson = "marie myriam" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 grand final dual television commentator status of the year when Amaury Vassili was the spokesperson? ### Context: CREATE TABLE table_name_52 (grand_final_dual_television_commentator VARCHAR, spokesperson VARCHAR) [/INST] ### Response: SELECT grand_final_dual_television_commentator FROM table_name_52 WHERE spokesperson = "amaury vassili" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What state has lincoln, de as the hometown? ### Context: CREATE TABLE table_name_73 (state VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT state FROM table_name_73 WHERE hometown = "lincoln, de" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ship with hull number of aor-6 ### Context: CREATE TABLE table_name_89 (ship VARCHAR, hull_no VARCHAR) [/INST] ### Response: SELECT ship FROM table_name_89 WHERE hull_no = "aor-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: Name the hull number of Commissioned– Decommissioned of 1973–1996 ### Context: CREATE TABLE table_name_29 (hull_no VARCHAR, commissioned__decommissioned VARCHAR) [/INST] ### Response: SELECT hull_no FROM table_name_29 WHERE commissioned__decommissioned = "1973–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: Name the commissioned-decommissioned for oakland and NVR page of aor-1 ### Context: CREATE TABLE table_name_62 (commissioned__decommissioned VARCHAR, home_port VARCHAR, nvr_page VARCHAR) [/INST] ### Response: SELECT commissioned__decommissioned FROM table_name_62 WHERE home_port = "oakland" AND nvr_page = "aor-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: Name the home port for kansas city ### Context: CREATE TABLE table_name_15 (home_port VARCHAR, ship VARCHAR) [/INST] ### Response: SELECT home_port FROM table_name_15 WHERE ship = "kansas 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: Name the commissioned-decommissioned for NVR page of aor-7 ### Context: CREATE TABLE table_name_17 (commissioned__decommissioned VARCHAR, nvr_page VARCHAR) [/INST] ### Response: SELECT commissioned__decommissioned FROM table_name_17 WHERE nvr_page = "aor-7" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the ship for oakland home port and NVR page of aor-3 ### Context: CREATE TABLE table_name_28 (ship VARCHAR, home_port VARCHAR, nvr_page VARCHAR) [/INST] ### Response: SELECT ship FROM table_name_28 WHERE home_port = "oakland" AND nvr_page = "aor-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 name of the location and ship type in the Gulf of Mexico that entered service in 1999? ### Context: CREATE TABLE table_name_43 (name VARCHAR, entered_service VARCHAR, location VARCHAR, type VARCHAR) [/INST] ### Response: SELECT name FROM table_name_43 WHERE location = "gulf of mexico" AND type = "ship" AND entered_service = "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 was the water depth that entered service in 2001 named Cajun Express? ### Context: CREATE TABLE table_name_11 (water_depth VARCHAR, entered_service VARCHAR, name VARCHAR) [/INST] ### Response: SELECT water_depth FROM table_name_11 WHERE entered_service = "2001" AND name = "cajun express" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the water depth in the Gulf of Mexico named Discoverer Clear Leader? ### Context: CREATE TABLE table_name_87 (water_depth VARCHAR, location VARCHAR, name VARCHAR) [/INST] ### Response: SELECT water_depth FROM table_name_87 WHERE location = "gulf of mexico" AND name = "discoverer clear leader" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a location in Nigeria? ### Context: CREATE TABLE table_name_28 (name VARCHAR, location VARCHAR) [/INST] ### Response: SELECT name FROM table_name_28 WHERE location = "nigeria" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What location entered service in 1999 and had a customer of Anadarko? ### Context: CREATE TABLE table_name_5 (location VARCHAR, entered_service VARCHAR, customer VARCHAR) [/INST] ### Response: SELECT location FROM table_name_5 WHERE entered_service = "1999" AND customer = "anadarko" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 January 30? ### Context: CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_93 WHERE date = "january 30" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who were the Visitor of the Toronto Maple Leafs Home game on December 22? ### Context: CREATE TABLE table_name_11 (visitor VARCHAR, home VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_11 WHERE home = "toronto maple leafs" AND date = "december 22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what Date was the Record 9–6–4? ### Context: CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_62 WHERE record = "9–6–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 Score on March 1? ### Context: CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_18 WHERE date = "march 1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the primary conference that was founded before 1866 and has an affiliation of private/catholic? ### Context: CREATE TABLE table_name_58 (primary_conference VARCHAR, founded VARCHAR, affiliation VARCHAR) [/INST] ### Response: SELECT primary_conference FROM table_name_58 WHERE founded < 1866 AND affiliation = "private/catholic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 enrollment for an affiliation of public, and was founded before 1866? ### Context: CREATE TABLE table_name_43 (enrollment VARCHAR, affiliation VARCHAR, founded VARCHAR) [/INST] ### Response: SELECT COUNT(enrollment) FROM table_name_43 WHERE affiliation = "public" AND founded < 1866 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 affiliation for towson, md? ### Context: CREATE TABLE table_name_37 (affiliation VARCHAR, location VARCHAR) [/INST] ### Response: SELECT affiliation FROM table_name_37 WHERE location = "towson, md" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 enrollment for a private/catholic affiliation and founded after 1842? ### Context: CREATE TABLE table_name_1 (enrollment VARCHAR, affiliation VARCHAR, founded VARCHAR) [/INST] ### Response: SELECT COUNT(enrollment) FROM table_name_1 WHERE affiliation = "private/catholic" AND founded > 1842 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 founded for the nickname mountain hawks? ### Context: CREATE TABLE table_name_68 (founded VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT COUNT(founded) FROM table_name_68 WHERE nickname = "mountain hawks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score of the season in the host city kėdainiai? ### Context: CREATE TABLE table_name_59 (score VARCHAR, host_city VARCHAR) [/INST] ### Response: SELECT score FROM table_name_59 WHERE host_city = "kėdainiai" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the winner of the season before 2010 with Lietuvos Rytas as a finalist? ### Context: CREATE TABLE table_name_39 (winner VARCHAR, finalist VARCHAR, season VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_39 WHERE finalist = "lietuvos rytas" AND season < 2010 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the finalist in the 2010 season in the host city tartu? ### Context: CREATE TABLE table_name_57 (finalist VARCHAR, host_city VARCHAR, season VARCHAR) [/INST] ### Response: SELECT finalist FROM table_name_57 WHERE host_city = "tartu" AND season = 2010 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the winner during the 2009 season? ### Context: CREATE TABLE table_name_42 (winner VARCHAR, season VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_42 WHERE season = 2009 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the host city during the 2012 season? ### Context: CREATE TABLE table_name_47 (host_city VARCHAR, season VARCHAR) [/INST] ### Response: SELECT host_city FROM table_name_47 WHERE season = 2012 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what game had a score of 4–6, 6–3, 7–6(10)? ### Context: CREATE TABLE table_name_54 (tournament VARCHAR, score VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_54 WHERE score = "4–6, 6–3, 7–6(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: When did eleonor magdalene of the palatinate-neuburg become duchess? ### Context: CREATE TABLE table_name_77 (became_duchess VARCHAR, name VARCHAR) [/INST] ### Response: SELECT became_duchess FROM table_name_77 WHERE name = "eleonor magdalene of the palatinate-neuburg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Marriage has a Became Duchess of 12 december 1666? ### Context: CREATE TABLE table_name_68 (marriage VARCHAR, became_duchess VARCHAR) [/INST] ### Response: SELECT marriage FROM table_name_68 WHERE became_duchess = "12 december 1666" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did the person die who was born on 18 november 1630? ### Context: CREATE TABLE table_name_3 (death VARCHAR, birth VARCHAR) [/INST] ### Response: SELECT death FROM table_name_3 WHERE birth = "18 november 1630" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Birth has a Became Duchess of 17 april 1711 husband's ascension? ### Context: CREATE TABLE table_name_65 (birth VARCHAR, became_duchess VARCHAR) [/INST] ### Response: SELECT birth FROM table_name_65 WHERE became_duchess = "17 april 1711 husband's ascension" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Spouse has a Birth of 30 may 1653? ### Context: CREATE TABLE table_name_38 (spouse VARCHAR, birth VARCHAR) [/INST] ### Response: SELECT spouse FROM table_name_38 WHERE birth = "30 may 1653" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did the person born on 6 january 1655 die? ### Context: CREATE TABLE table_name_34 (death VARCHAR, birth VARCHAR) [/INST] ### Response: SELECT death FROM table_name_34 WHERE birth = "6 january 1655" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Club or province has a caps larger than 15 and has Chris Cusiter playing for them? ### Context: CREATE TABLE table_name_88 (club_province VARCHAR, caps VARCHAR, player VARCHAR) [/INST] ### Response: SELECT club_province FROM table_name_88 WHERE caps > 15 AND player = "chris cusiter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 birth for the player from Ulster and plays at Centre position? ### Context: CREATE TABLE table_name_26 (date_of_birth__age_ VARCHAR, club_province VARCHAR, position VARCHAR) [/INST] ### Response: SELECT date_of_birth__age_ FROM table_name_26 WHERE club_province = "ulster" AND position = "centre" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What type of disaster is rms atlantic categorized in that was located in Nova Scotia? ### Context: CREATE TABLE table_name_62 (type VARCHAR, location VARCHAR, disaster VARCHAR) [/INST] ### Response: SELECT type FROM table_name_62 WHERE location = "nova scotia" AND disaster = "rms atlantic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 disaster that the Arrow Air Flight 1285 categorized in? ### Context: CREATE TABLE table_name_55 (type VARCHAR, disaster VARCHAR) [/INST] ### Response: SELECT type FROM table_name_55 WHERE disaster = "arrow air flight 1285" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 disaster that was located in Ontario with 223 deaths? ### Context: CREATE TABLE table_name_39 (disaster VARCHAR, location VARCHAR, deaths VARCHAR) [/INST] ### Response: SELECT disaster FROM table_name_39 WHERE location = "ontario" AND deaths = "223" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 deaths were there during the shipwreck in 1873? ### Context: CREATE TABLE table_name_56 (deaths VARCHAR, type VARCHAR, date VARCHAR) [/INST] ### Response: SELECT deaths FROM table_name_56 WHERE type = "shipwreck" AND date = "1873" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where was the disaster located that took place on 1916? ### Context: CREATE TABLE table_name_49 (location VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location FROM table_name_49 WHERE date = "1916" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Laps is the highest one that has a Time/Retired of +3.370 secs? ### Context: CREATE TABLE table_name_52 (laps INTEGER, time_retired VARCHAR) [/INST] ### Response: SELECT MAX(laps) FROM table_name_52 WHERE time_retired = "+3.370 secs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Grid has a Team of rusport, and Laps larger than 221? ### Context: CREATE TABLE table_name_62 (grid INTEGER, team VARCHAR, laps VARCHAR) [/INST] ### Response: SELECT SUM(grid) FROM table_name_62 WHERE team = "rusport" AND laps > 221 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What title has a producer of MAQ and Anna as a role? ### Context: CREATE TABLE table_name_18 (title VARCHAR, producer VARCHAR, role VARCHAR) [/INST] ### Response: SELECT title FROM table_name_18 WHERE producer = "maq" AND role = "anna" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many years was Kay Tagal Kang Hinintay directed by Rory Quintos and produced by Star Cinema? ### Context: CREATE TABLE table_name_94 (year VARCHAR, title VARCHAR, producer VARCHAR, director VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_94 WHERE producer = "star cinema" AND director = "rory quintos" AND title = "kay tagal kang hinintay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which title was directed by Joyce Bernal? ### Context: CREATE TABLE table_name_76 (title VARCHAR, director VARCHAR) [/INST] ### Response: SELECT title FROM table_name_76 WHERE director = "joyce bernal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What song is it that artist morena camilleri does and has more than 38 points ### Context: CREATE TABLE table_name_46 (song VARCHAR, points VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT song FROM table_name_46 WHERE points > 38 AND artist = "morena camilleri" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 points for ray agius ### Context: CREATE TABLE table_name_15 (points INTEGER, lyricist VARCHAR) [/INST] ### Response: SELECT SUM(points) FROM table_name_15 WHERE lyricist = "ray agius" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What play did henry s. uber / betty uber (eng) finish in? ### Context: CREATE TABLE table_name_99 (place VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(place) FROM table_name_99 WHERE name = "henry s. uber / betty uber (eng)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Baltimore County, Howard are represented, what's the first elected when the committee is environmental matters (vice-chair)? ### Context: CREATE TABLE table_name_37 (first_elected INTEGER, counties_represented VARCHAR, committee VARCHAR) [/INST] ### Response: SELECT MAX(first_elected) FROM table_name_37 WHERE counties_represented = "baltimore county, howard" AND committee = "environmental matters (vice-chair)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What party is the delegate of Turner, Frank S. Frank S. Turner of Howard County? ### Context: CREATE TABLE table_name_50 (party VARCHAR, counties_represented VARCHAR, delegate VARCHAR) [/INST] ### Response: SELECT party FROM table_name_50 WHERE counties_represented = "howard" AND delegate = "turner, frank s. frank s. turner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 damage of storm three? ### Context: CREATE TABLE table_name_58 (damage__millions_usd__ VARCHAR, storm_name VARCHAR) [/INST] ### Response: SELECT damage__millions_usd__ FROM table_name_58 WHERE storm_name = "three" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round is the lowest one that has a Circuit of donington? ### Context: CREATE TABLE table_name_18 (round INTEGER, circuit VARCHAR) [/INST] ### Response: SELECT MIN(round) FROM table_name_18 WHERE circuit = "donington" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 250cc winner has a Round larger than 6, and a Date of 26 july? ### Context: CREATE TABLE table_name_5 (round VARCHAR, date VARCHAR) [/INST] ### Response: SELECT 250 AS cc_winner FROM table_name_5 WHERE round > 6 AND date = "26 july" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Attendance of 48,510 had what highest week? ### Context: CREATE TABLE table_name_30 (week INTEGER, attendance VARCHAR) [/INST] ### Response: SELECT MAX(week) FROM table_name_30 WHERE attendance = 48 OFFSET 510 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Opponent of at san francisco 49ers had what lowest week? ### Context: CREATE TABLE table_name_43 (week INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT MIN(week) FROM table_name_43 WHERE opponent = "at san francisco 49ers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what Date is the Minnesota Vikings the Opponent? ### Context: CREATE TABLE table_name_71 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_71 WHERE opponent = "minnesota vikings" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Date of Week 5? ### Context: CREATE TABLE table_name_3 (date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_name_3 WHERE week = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Date of Week 2? ### Context: CREATE TABLE table_name_47 (date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_name_47 WHERE week = 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 score when the game has a loss of Lary (10-12)? ### Context: CREATE TABLE table_name_18 (score VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT score FROM table_name_18 WHERE loss = "lary (10-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 result of the friendly match? ### Context: CREATE TABLE table_name_37 (result VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT result FROM table_name_37 WHERE competition = "friendly" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score of the match on June 4, 2008? ### Context: CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_76 WHERE date = "june 4, 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Year is the lowest one that has a Length of 3:50? ### Context: CREATE TABLE table_name_17 (year INTEGER, length VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_17 WHERE length = "3:50" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Length has a Year of 2000? ### Context: CREATE TABLE table_name_13 (length VARCHAR, year VARCHAR) [/INST] ### Response: SELECT length FROM table_name_13 WHERE year = 2000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what place is the artist Midnight Band with a draw larger than 2 and less than 139 points. ### Context: CREATE TABLE table_name_7 (place VARCHAR, artist VARCHAR, draw VARCHAR, points VARCHAR) [/INST] ### Response: SELECT place FROM table_name_7 WHERE draw > 2 AND points < 139 AND artist = "midnight band" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what player matched up with 9 ### Context: CREATE TABLE table_name_78 (player VARCHAR, matches VARCHAR) [/INST] ### Response: SELECT player FROM table_name_78 WHERE matches = "9" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the 2nd leg of the Internacional Team 1? ### Context: CREATE TABLE table_name_48 (team_1 VARCHAR) [/INST] ### Response: SELECT 2 AS nd_leg FROM table_name_48 WHERE team_1 = "internacional" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Country of spain, and a Stadium of palacio de deportes de santander? ### Context: CREATE TABLE table_name_57 (city VARCHAR, country VARCHAR, stadium VARCHAR) [/INST] ### Response: SELECT city FROM table_name_57 WHERE country = "spain" AND stadium = "palacio de deportes de santander" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Capacity is the lowest one that has a Rank smaller than 15, and a City of belgrade? ### Context: CREATE TABLE table_name_76 (capacity INTEGER, rank VARCHAR, city VARCHAR) [/INST] ### Response: SELECT MIN(capacity) FROM table_name_76 WHERE rank < 15 AND city = "belgrade" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Capacity is the lowest one that has a City of brisbane, and a Rank smaller than 1? ### Context: CREATE TABLE table_name_96 (capacity INTEGER, city VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MIN(capacity) FROM table_name_96 WHERE city = "brisbane" AND rank < 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 total points that had 68 match points, 9 bonus points and 30 games? ### Context: CREATE TABLE table_name_29 (total_points VARCHAR, match_points VARCHAR, games VARCHAR, bonus_points VARCHAR) [/INST] ### Response: SELECT total_points FROM table_name_29 WHERE games = "30" AND bonus_points = "9" AND match_points = "68" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 shortest length from north klondike highway that has a length less than 326? ### Context: CREATE TABLE table_name_38 (length__km_ INTEGER, name VARCHAR, length__mi_ VARCHAR) [/INST] ### Response: SELECT MIN(length__km_) FROM table_name_38 WHERE name = "north klondike highway" AND length__mi_ < 326 </s>