text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average Laps for the Mexico team with a grid number of more than 1? ### Context: CREATE TABLE table_name_76 (laps INTEGER, grid VARCHAR, team VARCHAR) [/INST] ### Response: SELECT AVG(laps) FROM table_name_76 WHERE grid > 1 AND team = "mexico" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is name of the drive with a Time of +13.315? ### Context: CREATE TABLE table_name_85 (driver VARCHAR, time VARCHAR) [/INST] ### Response: SELECT driver FROM table_name_85 WHERE time = "+13.315" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 grid number that has 14 laps and a time of +29.483? ### Context: CREATE TABLE table_name_6 (grid VARCHAR, laps VARCHAR, time VARCHAR) [/INST] ### Response: SELECT COUNT(grid) FROM table_name_6 WHERE laps = 14 AND time = "+29.483" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Laps when collision shows for time for Switzerland and less than 11 for grid? ### Context: CREATE TABLE table_name_39 (laps VARCHAR, grid VARCHAR, time VARCHAR, team VARCHAR) [/INST] ### Response: SELECT COUNT(laps) FROM table_name_39 WHERE time = "collision" AND team = "switzerland" AND grid < 11 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the time of the game after week 4 against the Baltimore Ravens? ### Context: CREATE TABLE table_name_67 (time___et__ VARCHAR, week VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT time___et__ FROM table_name_67 WHERE week > 4 AND opponent = "baltimore ravens" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What nominated work has seattle international film festival as the award? ### Context: CREATE TABLE table_name_24 (nominated_work VARCHAR, award VARCHAR) [/INST] ### Response: SELECT nominated_work FROM table_name_24 WHERE award = "seattle international film festival" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What award has breakthrough performance as the category? ### Context: CREATE TABLE table_name_52 (award VARCHAR, category VARCHAR) [/INST] ### Response: SELECT award FROM table_name_52 WHERE category = "breakthrough performance" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What category has showest award for the category awards? ### Context: CREATE TABLE table_name_9 (category VARCHAR, award VARCHAR) [/INST] ### Response: SELECT category FROM table_name_9 WHERE award = "showest award" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What category has a year after 2004? ### Context: CREATE TABLE table_name_33 (category VARCHAR, year INTEGER) [/INST] ### Response: SELECT category FROM table_name_33 WHERE year > 2004 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had a Score of 6-3, 6-2? ### Context: CREATE TABLE table_name_67 (opponent VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_67 WHERE score = "6-3, 6-2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Score had an Opponent of chris evert-lloyd? ### Context: CREATE TABLE table_name_53 (score VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT score FROM table_name_53 WHERE opponent = "chris evert-lloyd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had an Opponent of chris evert-lloyd? ### Context: CREATE TABLE table_name_45 (surface VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_45 WHERE opponent = "chris evert-lloyd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had a Date of june 13, 1983? ### Context: CREATE TABLE table_name_14 (surface VARCHAR, date VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_14 WHERE date = "june 13, 1983" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest attendance for a game where Geelong was the home team? ### Context: CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR) [/INST] ### Response: SELECT MAX(crowd) FROM table_name_25 WHERE home_team = "geelong" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 away team score when the home team was the Brisbane Lions? ### Context: CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_83 WHERE home_team = "brisbane lions" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the largest attendance at the Telstra Dome, when the home team was the Western Bulldogs? ### Context: CREATE TABLE table_name_30 (crowd INTEGER, ground VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT MAX(crowd) FROM table_name_30 WHERE ground = "telstra dome" AND home_team = "western bulldogs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 full amount of Total Cargo (in Metric Tonnes) where the Code (IATA/ICAO) is pvg/zspd, and the rank is less than 3? ### Context: CREATE TABLE table_name_13 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT SUM(total_cargo__metric_tonnes_) FROM table_name_13 WHERE code__iata_icao_ = "pvg/zspd" AND rank < 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 Date at memorial stadium β€’ minneapolis, mn with an Attendance of 20,000, and a Result of w52-0? ### Context: CREATE TABLE table_name_7 (date VARCHAR, result VARCHAR, site VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT date FROM table_name_7 WHERE site = "memorial stadium β€’ minneapolis, mn" AND attendance = "20,000" AND result = "w52-0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Opponent name at memorial stadium β€’ minneapolis, mn on 10/20/1928? ### Context: CREATE TABLE table_name_25 (opponent_number VARCHAR, site VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent_number FROM table_name_25 WHERE site = "memorial stadium β€’ minneapolis, mn" AND date = "10/20/1928" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Attendance number when the Opponent was purdue? ### Context: CREATE TABLE table_name_15 (attendance VARCHAR, opponent_number VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_15 WHERE opponent_number = "purdue" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Site when the Result was w52-0? ### Context: CREATE TABLE table_name_92 (site VARCHAR, result VARCHAR) [/INST] ### Response: SELECT site FROM table_name_92 WHERE result = "w52-0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Attendance on 11/10/1928? ### Context: CREATE TABLE table_name_42 (attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_42 WHERE date = "11/10/1928" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 at Campbelltown Sports Stadium? ### Context: CREATE TABLE table_name_74 (winner VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_74 WHERE venue = "campbelltown sports stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When Sydney Roosters won with a Crown of more than 7,426, what was the Venue? ### Context: CREATE TABLE table_name_74 (venue VARCHAR, winner VARCHAR, crowd VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_74 WHERE winner = "sydney roosters" AND crowd > 7 OFFSET 426 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the second leg score from the group stage on matchday 5? ### Context: CREATE TABLE table_name_35 (second_leg VARCHAR, phase VARCHAR, round VARCHAR) [/INST] ### Response: SELECT second_leg FROM table_name_35 WHERE phase = "group stage" AND round = "matchday 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 year did enrique alciati make a statue ### Context: CREATE TABLE table_name_51 (year_erected VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT year_erected FROM table_name_51 WHERE artist = "enrique alciati" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what artist cam from uruguay ### Context: CREATE TABLE table_name_81 (artist VARCHAR, country VARCHAR) [/INST] ### Response: SELECT artist FROM table_name_81 WHERE country = "uruguay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mika heinonen susanna dahlberg win mixed doubles? ### Context: CREATE TABLE table_name_55 (year INTEGER, mixed_doubles VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_55 WHERE mixed_doubles = "mika heinonen susanna dahlberg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Score of 0–3 (11–21, 14–21) had what outcome? ### Context: CREATE TABLE table_name_32 (outcome VARCHAR, score VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_32 WHERE score = "0–3 (11–21, 14–21)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Venue of thessaloniki (without participation) had what score? ### Context: CREATE TABLE table_name_99 (score VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT score FROM table_name_99 WHERE venue = "thessaloniki (without participation)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Outcome of 13, and a Year of 2007 happened in what venue? ### Context: CREATE TABLE table_name_51 (venue VARCHAR, outcome VARCHAR, year VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_51 WHERE outcome = "13" AND year = "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: Which Eruptions have a Location of pacific ring of fire, and a Volcanic Explosivity Index of 6, and a Country of peru? ### Context: CREATE TABLE table_name_51 (eruptions VARCHAR, country VARCHAR, location VARCHAR, volcanic_explosivity_index VARCHAR) [/INST] ### Response: SELECT eruptions FROM table_name_51 WHERE location = "pacific ring of fire" AND volcanic_explosivity_index = "6" AND country = "peru" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fatalities does Italy have? ### Context: CREATE TABLE table_name_50 (fatalities VARCHAR, country VARCHAR) [/INST] ### Response: SELECT fatalities FROM table_name_50 WHERE country = "italy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many years have a Location of pacific ring of fire, and Eruptions of pinatubo? ### Context: CREATE TABLE table_name_22 (year INTEGER, location VARCHAR, eruptions VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_22 WHERE location = "pacific ring of fire" AND eruptions = "pinatubo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Standings of Eintracht Braunschweig? ### Context: CREATE TABLE table_name_28 (standings VARCHAR, champions VARCHAR) [/INST] ### Response: SELECT standings FROM table_name_28 WHERE champions = "eintracht braunschweig" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Year larger than 2001 has what average points? ### Context: CREATE TABLE table_name_92 (points INTEGER, year INTEGER) [/INST] ### Response: SELECT AVG(points) FROM table_name_92 WHERE year > 2001 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Team of Honda and a point total of 238 is what highest year? ### Context: CREATE TABLE table_name_69 (year INTEGER, team VARCHAR, points VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_69 WHERE team = "honda" AND points = 238 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Wins of 0 involves what team? ### Context: CREATE TABLE table_name_96 (team VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT team FROM table_name_96 WHERE wins = 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 player has a pick of 5 ### Context: CREATE TABLE table_name_75 (player VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT player FROM table_name_75 WHERE pick = 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: Which District has a First elected of 1858, and a Result of retired republican gain, and an Incumbent of william millward? ### Context: CREATE TABLE table_name_2 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR) [/INST] ### Response: SELECT district FROM table_name_2 WHERE first_elected = 1858 AND result = "retired republican gain" AND incumbent = "william millward" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Result has a District of pennsylvania 13? ### Context: CREATE TABLE table_name_5 (result VARCHAR, district VARCHAR) [/INST] ### Response: SELECT result FROM table_name_5 WHERE district = "pennsylvania 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: Which First elected is the lowest one that has an Incumbent of william stewart? ### Context: CREATE TABLE table_name_9 (first_elected INTEGER, incumbent VARCHAR) [/INST] ### Response: SELECT MIN(first_elected) FROM table_name_9 WHERE incumbent = "william stewart" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Player when College/Junior/Club Team (League) was regina pats (whl)? ### Context: CREATE TABLE table_name_24 (player VARCHAR, college_junior_club_team__league_ VARCHAR) [/INST] ### Response: SELECT player FROM table_name_24 WHERE college_junior_club_team__league_ = "regina pats (whl)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the game with an attendance larger than 62,491? ### Context: CREATE TABLE table_name_55 (date VARCHAR, attendance INTEGER) [/INST] ### Response: SELECT date FROM table_name_55 WHERE attendance > 62 OFFSET 491 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attendance of the game on week 4? ### Context: CREATE TABLE table_name_10 (attendance VARCHAR, week VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_10 WHERE week = 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: How many extra points are there that Herrnstein had with less than 2 touchdowns and less than 0 field goals? ### Context: CREATE TABLE table_name_35 (extra_points INTEGER, field_goals VARCHAR, touchdowns VARCHAR, player VARCHAR) [/INST] ### Response: SELECT AVG(extra_points) FROM table_name_35 WHERE touchdowns < 2 AND player = "herrnstein" AND field_goals < 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: How many touchdowns are there that has field goals less than 0 and 0 extra points? ### Context: CREATE TABLE table_name_53 (touchdowns INTEGER, extra_points VARCHAR, field_goals VARCHAR) [/INST] ### Response: SELECT SUM(touchdowns) FROM table_name_53 WHERE extra_points = 0 AND field_goals < 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: How many field goals are there that have 8 touchdowns and more than 49 points? ### Context: CREATE TABLE table_name_91 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(field_goals) FROM table_name_91 WHERE touchdowns = 8 AND points > 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's the number of touchdowns that Snow made that had 0 field goals, more than 5 points, and more than 0 extra points? ### Context: CREATE TABLE table_name_66 (touchdowns INTEGER, extra_points VARCHAR, player VARCHAR, points VARCHAR, field_goals VARCHAR) [/INST] ### Response: SELECT MIN(touchdowns) FROM table_name_66 WHERE points > 5 AND field_goals = 0 AND player = "snow" AND extra_points > 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For an IATA of MLE, what is the ICAO? ### Context: CREATE TABLE table_name_21 (icao VARCHAR, iata VARCHAR) [/INST] ### Response: SELECT icao FROM table_name_21 WHERE iata = "mle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For an ICAO of VCCT, what is the IATA? ### Context: CREATE TABLE table_name_66 (iata VARCHAR, icao VARCHAR) [/INST] ### Response: SELECT iata FROM table_name_66 WHERE icao = "vcct" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 an ICAO of VCCJ? ### Context: CREATE TABLE table_name_96 (city VARCHAR, icao VARCHAR) [/INST] ### Response: SELECT city FROM table_name_96 WHERE icao = "vccj" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ICAO is found in Vavuniya? ### Context: CREATE TABLE table_name_97 (icao VARCHAR, city VARCHAR) [/INST] ### Response: SELECT icao FROM table_name_97 WHERE city = "vavuniya" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has Weerawila Airport? ### Context: CREATE TABLE table_name_76 (country VARCHAR, airport VARCHAR) [/INST] ### Response: SELECT country FROM table_name_76 WHERE airport = "weerawila 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: Which opponent has april 1 as the date? ### Context: CREATE TABLE table_name_39 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_39 WHERE date = "april 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 opponent has tomko (1-1) as a loss? ### Context: CREATE TABLE table_name_24 (opponent VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_24 WHERE loss = "tomko (1-1)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What opponent has 8-10 as the record? ### Context: CREATE TABLE table_name_76 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_76 WHERE record = "8-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: Whcih was the Class AAA in school year 2006-07? ### Context: CREATE TABLE table_name_85 (class_aAA VARCHAR, school_year VARCHAR) [/INST] ### Response: SELECT class_aAA FROM table_name_85 WHERE school_year = "2006-07" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What team was class AA in years 1994-95? ### Context: CREATE TABLE table_name_52 (class_aA VARCHAR, school_year VARCHAR) [/INST] ### Response: SELECT class_aA FROM table_name_52 WHERE school_year = "1994-95" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Class AA in School Year 1994-95? ### Context: CREATE TABLE table_name_26 (class_aA VARCHAR, school_year VARCHAR) [/INST] ### Response: SELECT class_aA FROM table_name_26 WHERE school_year = "1994-95" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 date of the game that has the Bulls as a visiting team? ### Context: CREATE TABLE table_name_48 (date VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT date FROM table_name_48 WHERE visitor = "bulls" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average game number that took place after February 13 against the Toronto Maple Leafs and more than 47 points were scored? ### Context: CREATE TABLE table_name_3 (game INTEGER, points VARCHAR, february VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT AVG(game) FROM table_name_3 WHERE february > 13 AND opponent = "toronto maple leafs" AND points > 47 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 at the game at Sullivan Stadium before week 11? ### Context: CREATE TABLE table_name_30 (opponent VARCHAR, week VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_30 WHERE week < 11 AND game_site = "sullivan stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the years coached by the person with a win percentage of 0.667 and 380 losses? ### Context: CREATE TABLE table_name_25 (years VARCHAR, pct VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT years FROM table_name_25 WHERE pct = 0.667 AND lost = 380 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 percent for the coach from 1905 and more than 7 losses? ### Context: CREATE TABLE table_name_97 (pct INTEGER, years VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT AVG(pct) FROM table_name_97 WHERE years = "1905" AND lost > 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: How many percentages have 20 losses and more than 1 season? ### Context: CREATE TABLE table_name_17 (pct VARCHAR, lost VARCHAR, seasons VARCHAR) [/INST] ### Response: SELECT COUNT(pct) FROM table_name_17 WHERE lost = 20 AND seasons > 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 home has February 10 as the date? ### Context: CREATE TABLE table_name_67 (home VARCHAR, date VARCHAR) [/INST] ### Response: SELECT home FROM table_name_67 WHERE date = "february 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 date has ny islanders as the visitor? ### Context: CREATE TABLE table_name_66 (date VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT date FROM table_name_66 WHERE visitor = "ny islanders" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What score has February 10 as the date? ### Context: CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_57 WHERE date = "february 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: Name the course for 24 july ### Context: CREATE TABLE table_name_29 (course VARCHAR, date VARCHAR) [/INST] ### Response: SELECT course FROM table_name_29 WHERE date = "24 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: Name the course for team time trial ### Context: CREATE TABLE table_name_58 (course VARCHAR, type VARCHAR) [/INST] ### Response: SELECT course FROM table_name_58 WHERE type = "team time trial" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winner for rest day for 13 july ### Context: CREATE TABLE table_name_98 (winner VARCHAR, course VARCHAR, date VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_98 WHERE course = "rest day" AND date = "13 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: Shawn Michaels entered the elimination chamber in what position? ### Context: CREATE TABLE table_name_86 (entered INTEGER, wrestler VARCHAR) [/INST] ### Response: SELECT SUM(entered) FROM table_name_86 WHERE wrestler = "shawn michaels" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Eliminated Kurt Angle? ### Context: CREATE TABLE table_name_49 (eliminated_by VARCHAR, wrestler VARCHAR) [/INST] ### Response: SELECT eliminated_by FROM table_name_49 WHERE wrestler = "kurt angle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Eliminated Kane? ### Context: CREATE TABLE table_name_63 (eliminated_by VARCHAR, wrestler VARCHAR) [/INST] ### Response: SELECT eliminated_by FROM table_name_63 WHERE wrestler = "kane" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 all gold medals for Algeria when total medals is less than 3? ### Context: CREATE TABLE table_name_98 (gold INTEGER, nation VARCHAR, total VARCHAR) [/INST] ### Response: SELECT SUM(gold) FROM table_name_98 WHERE nation = "algeria" AND total < 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 population of Valencia, Spain? ### Context: CREATE TABLE table_name_56 (population INTEGER, country VARCHAR, urban_area VARCHAR) [/INST] ### Response: SELECT AVG(population) FROM table_name_56 WHERE country = "spain" AND urban_area = "valencia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 holds rank 2? ### Context: CREATE TABLE table_name_89 (year INTEGER, rank VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_89 WHERE rank = "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: with name meridian condominiums what is number of floors? ### Context: CREATE TABLE table_name_19 (floors INTEGER, name VARCHAR) [/INST] ### Response: SELECT AVG(floors) FROM table_name_19 WHERE name = "meridian condominiums" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: with rank of 31 what is the year? ### Context: CREATE TABLE table_name_48 (year VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_48 WHERE rank = "31" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 match against the visiting team, Toronto? ### Context: CREATE TABLE table_name_78 (date VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT date FROM table_name_78 WHERE visitor = "toronto" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who played the home team during the game on January 6? ### Context: CREATE TABLE table_name_56 (home VARCHAR, date VARCHAR) [/INST] ### Response: SELECT home FROM table_name_56 WHERE date = "january 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 cougars record during the game where Boston were the visitors? ### Context: CREATE TABLE table_name_88 (record VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT record FROM table_name_88 WHERE visitor = "boston" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest Drawn that has a Lost that's less than 0? ### Context: CREATE TABLE table_name_1 (drawn INTEGER, lost INTEGER) [/INST] ### Response: SELECT MIN(drawn) FROM table_name_1 WHERE lost < 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's the total Lost with Games that's less than 4? ### Context: CREATE TABLE table_name_23 (lost INTEGER, games INTEGER) [/INST] ### Response: SELECT SUM(lost) FROM table_name_23 WHERE games < 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's the total of Games with a Lost that's larger than 2, and has Points that's smaller than 0? ### Context: CREATE TABLE table_name_75 (games INTEGER, lost VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(games) FROM table_name_75 WHERE lost > 2 AND points < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the Lost average that has a Drawn less than 0? ### Context: CREATE TABLE table_name_19 (lost INTEGER, drawn INTEGER) [/INST] ### Response: SELECT AVG(lost) FROM table_name_19 WHERE drawn < 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 record has @ ottawa senators as the opponent? ### Context: CREATE TABLE table_name_93 (record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_name_93 WHERE opponent = "@ ottawa senators" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has 28 points, and tampa bay lightning as the opponent? ### Context: CREATE TABLE table_name_50 (game VARCHAR, points VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT game FROM table_name_50 WHERE points = 28 AND opponent = "tampa bay lightning" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 points that have a December less than 6, with a game greater than 26? ### Context: CREATE TABLE table_name_17 (points INTEGER, december VARCHAR, game VARCHAR) [/INST] ### Response: SELECT AVG(points) FROM table_name_17 WHERE december < 6 AND game > 26 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the opponent at the game with a loss of Sele (0-1)? ### Context: CREATE TABLE table_name_36 (opponent VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_36 WHERE loss = "sele (0-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: Record of 42–16–8, and a March larger than 5 has what average points? ### Context: CREATE TABLE table_name_95 (points INTEGER, record VARCHAR, march VARCHAR) [/INST] ### Response: SELECT AVG(points) FROM table_name_95 WHERE record = "42–16–8" AND march > 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: Points smaller than 96, and a Record of 43–16–8 belongs to what game? ### Context: CREATE TABLE table_name_30 (game VARCHAR, points VARCHAR, record VARCHAR) [/INST] ### Response: SELECT game FROM table_name_30 WHERE points < 96 AND record = "43–16–8" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Game smaller than 70, and a Record of 43–16–8 is what opponent? ### Context: CREATE TABLE table_name_39 (opponent VARCHAR, game VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_39 WHERE game < 70 AND record = "43–16–8" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Record of 44–18–8 involves which score? ### Context: CREATE TABLE table_name_95 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_95 WHERE record = "44–18–8" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which college is Kellen Davis from? ### Context: CREATE TABLE table_name_44 (college VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college FROM table_name_44 WHERE player = "kellen davis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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's position is according to official website? ### Context: CREATE TABLE table_name_30 (round VARCHAR, position VARCHAR) [/INST] ### Response: SELECT round FROM table_name_30 WHERE position = "according to official website" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which position's round was 3 when pick was 70? ### Context: CREATE TABLE table_name_29 (position VARCHAR, round VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT position FROM table_name_29 WHERE round = "3" AND pick = "70" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick's round was 5 when Kellen Davis was a player? ### Context: CREATE TABLE table_name_40 (pick VARCHAR, round VARCHAR, player VARCHAR) [/INST] ### Response: SELECT pick FROM table_name_40 WHERE round = "5" AND player = "kellen davis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college's pick was 14? ### Context: CREATE TABLE table_name_86 (college VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT college FROM table_name_86 WHERE pick = "14" </s>