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 High rebounds with a Game that is 62? ### Context: CREATE TABLE table_name_71 (high_rebounds VARCHAR, game VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_name_71 WHERE game = 62 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Team with a Score that is l 79–92 (ot)? ### Context: CREATE TABLE table_name_35 (team VARCHAR, score VARCHAR) [/INST] ### Response: SELECT team FROM table_name_35 WHERE score = "l 79–92 (ot)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the coach of the 2012 Gold Coast Titans season? ### Context: CREATE TABLE table_name_4 (coach VARCHAR, details VARCHAR) [/INST] ### Response: SELECT coach FROM table_name_4 WHERE details = "2012 gold coast titans season" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 coach of the 2010 Gold Coast Titans season? ### Context: CREATE TABLE table_name_8 (coach VARCHAR, details VARCHAR) [/INST] ### Response: SELECT coach FROM table_name_8 WHERE details = "2010 gold coast titans season" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 captain of the 2012 NRL season competition? ### Context: CREATE TABLE table_name_75 (captain_s_ VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT captain_s_ FROM table_name_75 WHERE competition = "2012 nrl season" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wins were in the PGA Championship when there were more than 10 events? ### Context: CREATE TABLE table_name_55 (wins VARCHAR, tournament VARCHAR, events VARCHAR) [/INST] ### Response: SELECT COUNT(wins) FROM table_name_55 WHERE tournament = "pga championship" AND events > 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest number of cuts when there were more than 0 wins? ### Context: CREATE TABLE table_name_59 (cuts_made INTEGER, wins INTEGER) [/INST] ### Response: SELECT MIN(cuts_made) FROM table_name_59 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 is the total number of Rank for 1996–2007, when there are more than 108 goals? ### Context: CREATE TABLE table_name_51 (rank VARCHAR, years VARCHAR, goals VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_name_51 WHERE years = "1996–2007" AND goals > 108 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest Rank when the goals are less than 124 for Jeff Cunningham? ### Context: CREATE TABLE table_name_50 (rank INTEGER, goals VARCHAR, name VARCHAR) [/INST] ### Response: SELECT MIN(rank) FROM table_name_50 WHERE goals > 124 AND name = "jeff cunningham" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Rank with 100 goals, and less than 300 matches? ### Context: CREATE TABLE table_name_3 (rank VARCHAR, goals VARCHAR, matches VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_name_3 WHERE goals = 100 AND matches < 300 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest Rank for Jason Kreis, with less than 305 matches? ### Context: CREATE TABLE table_name_67 (rank INTEGER, name VARCHAR, matches VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_67 WHERE name = "jason kreis" AND matches < 305 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 least number of wins when the top 10 is more than 8? ### Context: CREATE TABLE table_name_41 (wins INTEGER, top_10 INTEGER) [/INST] ### Response: SELECT MIN(wins) FROM table_name_41 WHERE top_10 > 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of cuts made when the top-5 is 2, and there are 12 events? ### Context: CREATE TABLE table_name_45 (cuts_made VARCHAR, top_5 VARCHAR, events VARCHAR) [/INST] ### Response: SELECT COUNT(cuts_made) FROM table_name_45 WHERE top_5 = 2 AND events = 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 mean number in the top 5 when the top 25 is 1 and there's fewer than 0 wins? ### Context: CREATE TABLE table_name_61 (top_5 INTEGER, top_25 VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT AVG(top_5) FROM table_name_61 WHERE top_25 = 1 AND 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 is the mean number of events when top-5 is 1? ### Context: CREATE TABLE table_name_51 (events INTEGER, top_5 VARCHAR) [/INST] ### Response: SELECT AVG(events) FROM table_name_51 WHERE top_5 = 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many top-25s are associated with more than 91 events? ### Context: CREATE TABLE table_name_24 (top_25 INTEGER, events INTEGER) [/INST] ### Response: SELECT SUM(top_25) FROM table_name_24 WHERE events > 91 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest Wins with a Top-10 that is larger than 9? ### Context: CREATE TABLE table_name_40 (wins INTEGER, top_10 INTEGER) [/INST] ### Response: SELECT MIN(wins) FROM table_name_40 WHERE top_10 > 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 average Cuts that were made with a Top-10 that is larger than 9? ### Context: CREATE TABLE table_name_15 (cuts_made INTEGER, top_10 INTEGER) [/INST] ### Response: SELECT AVG(cuts_made) FROM table_name_15 WHERE top_10 > 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: Which record has 64,053 as the attendance? ### Context: CREATE TABLE table_name_51 (record VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT record FROM table_name_51 WHERE attendance = "64,053" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which date has rich stadium as the game site for week 1? ### Context: CREATE TABLE table_name_13 (date VARCHAR, game_site VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_name_13 WHERE game_site = "rich stadium" AND week = 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which date has 1 as the week? ### Context: CREATE TABLE table_name_22 (date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_name_22 WHERE week = 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Title was awarded the gold RIAA Sales Certification? ### Context: CREATE TABLE table_name_5 (title VARCHAR, riaa_sales_certification VARCHAR) [/INST] ### Response: SELECT title FROM table_name_5 WHERE riaa_sales_certification = "gold" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For how many years did the song "Lost Without Your Love" win the gold RIAA Sales Certification, and have a Billboard 200 Peak greater than 26? ### Context: CREATE TABLE table_name_80 (year INTEGER, billboard_200_peak VARCHAR, riaa_sales_certification VARCHAR, title VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_80 WHERE riaa_sales_certification = "gold" AND title = "lost without your love" AND billboard_200_peak > 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: Before the Year 1972, what RIAA Sales Certification was awarded to the song that had a Billboard 200 Peak less than 18? ### Context: CREATE TABLE table_name_50 (riaa_sales_certification VARCHAR, billboard_200_peak VARCHAR, year VARCHAR) [/INST] ### Response: SELECT riaa_sales_certification FROM table_name_50 WHERE billboard_200_peak < 18 AND year < 1972 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What RIAA Sales Certification was awarded to the song that had a Billboard 200 Peak of 21? ### Context: CREATE TABLE table_name_1 (riaa_sales_certification VARCHAR, billboard_200_peak VARCHAR) [/INST] ### Response: SELECT riaa_sales_certification FROM table_name_1 WHERE billboard_200_peak = 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: What is the sum of the Billboard 200 Peak scores after the Year 1971? ### Context: CREATE TABLE table_name_38 (billboard_200_peak INTEGER, year INTEGER) [/INST] ### Response: SELECT SUM(billboard_200_peak) FROM table_name_38 WHERE year > 1971 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of the Billboard 200 Peak scores given to the song with the Title Bread? ### Context: CREATE TABLE table_name_70 (billboard_200_peak INTEGER, title VARCHAR) [/INST] ### Response: SELECT SUM(billboard_200_peak) FROM table_name_70 WHERE title = "bread" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of gold when the silver is 1, bronze is 1, and the nation is Austria? ### Context: CREATE TABLE table_name_4 (gold VARCHAR, nation VARCHAR, silver VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT COUNT(gold) FROM table_name_4 WHERE silver = 1 AND bronze = 1 AND nation = "austria" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What nation has 2 bronze and a rank of 9? ### Context: CREATE TABLE table_name_54 (nation VARCHAR, bronze VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_54 WHERE bronze = 2 AND rank = 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 highest gold when bronze is 1, and rank is 5? ### Context: CREATE TABLE table_name_93 (gold INTEGER, bronze VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MAX(gold) FROM table_name_93 WHERE bronze = 1 AND 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: What is the lowest gold when there are 0 bronze and the total is less than 2, and silver is less than 0? ### Context: CREATE TABLE table_name_24 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MIN(gold) FROM table_name_24 WHERE bronze = 0 AND total < 2 AND silver < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of rank when total is 3 and the nation is Australia? ### Context: CREATE TABLE table_name_12 (rank INTEGER, total VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT SUM(rank) FROM table_name_12 WHERE total = 3 AND nation = "australia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Rank with a Goal number smaller than 66? ### Context: CREATE TABLE table_name_29 (rank VARCHAR, goals INTEGER) [/INST] ### Response: SELECT rank FROM table_name_29 WHERE goals < 66 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 spoofed title for Parks and Recreation with an issue larger than 509? ### Context: CREATE TABLE table_name_43 (spoofed_title VARCHAR, issue VARCHAR, actual_title VARCHAR) [/INST] ### Response: SELECT spoofed_title FROM table_name_43 WHERE issue > 509 AND actual_title = "parks and recreation" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 actual title of the show that had an issue number less than 508, was written by Desmond Devlin, and for which Tom Richmond was the artist? ### Context: CREATE TABLE table_name_15 (actual_title VARCHAR, writer VARCHAR, artist VARCHAR, issue VARCHAR) [/INST] ### Response: SELECT actual_title FROM table_name_15 WHERE artist = "tom richmond" AND issue < 508 AND writer = "desmond devlin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What issue was the spoofed title Ho-Hum land? ### Context: CREATE TABLE table_name_75 (issue INTEGER, spoofed_title VARCHAR) [/INST] ### Response: SELECT SUM(issue) FROM table_name_75 WHERE spoofed_title = "ho-hum land" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of Thrones was done by which artist? ### Context: CREATE TABLE table_name_82 (artist VARCHAR, actual_title VARCHAR) [/INST] ### Response: SELECT artist FROM table_name_82 WHERE actual_title = "game of thrones" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Surface when Todd Woodbridge was the runner-up, and a Date of 24 february 1997? ### Context: CREATE TABLE table_name_77 (surface VARCHAR, outcome VARCHAR, date VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_77 WHERE outcome = "runner-up" AND date = "24 february 1997" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Opponent when Todd Woodbridge was the runner-up, and a Date of 26 august 1996? ### Context: CREATE TABLE table_name_52 (opponent VARCHAR, outcome VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_52 WHERE outcome = "runner-up" AND date = "26 august 1996" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Surface when the score was 4–6, 6–3, 6–7 (5–7)? ### Context: CREATE TABLE table_name_75 (surface VARCHAR, score VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_75 WHERE score = "4–6, 6–3, 6–7 (5–7)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Score when there was a hard surface and the Championship is new haven , usa? ### Context: CREATE TABLE table_name_93 (score VARCHAR, surface VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT score FROM table_name_93 WHERE surface = "hard" AND championship = "new haven , usa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player was born June 30, 1981? ### Context: CREATE TABLE table_name_90 (position VARCHAR, birthdate VARCHAR) [/INST] ### Response: SELECT position FROM table_name_90 WHERE birthdate = "june 30, 1981" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2005-2006 team for player Phil Kessel? ### Context: CREATE TABLE table_name_89 (name VARCHAR) [/INST] ### Response: SELECT 2005 AS _2006_team FROM table_name_89 WHERE name = "phil kessel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sum of the goals at competitions with more than 10 draws? ### Context: CREATE TABLE table_name_84 (goals_for INTEGER, drawn INTEGER) [/INST] ### Response: SELECT SUM(goals_for) FROM table_name_84 WHERE drawn > 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: For the teams that had more than 2 Byes, what was the highest number of Wins? ### Context: CREATE TABLE table_name_14 (wins INTEGER, byes INTEGER) [/INST] ### Response: SELECT MAX(wins) FROM table_name_14 WHERE byes > 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: For the teams that had fewer than 4 Losses, and less than 16 Wins, what was the total number of Draws? ### Context: CREATE TABLE table_name_21 (draws VARCHAR, losses VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT COUNT(draws) FROM table_name_21 WHERE losses < 4 AND wins < 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: For the teams that had less than 1 loss, what was the average number of Wins? ### Context: CREATE TABLE table_name_51 (wins INTEGER, losses INTEGER) [/INST] ### Response: SELECT AVG(wins) FROM table_name_51 WHERE losses < 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: For the teams that had fewer than 1 Byes, what was the lowest number of Draws? ### Context: CREATE TABLE table_name_38 (draws INTEGER, byes INTEGER) [/INST] ### Response: SELECT MIN(draws) FROM table_name_38 WHERE byes < 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the highest number of Draws scored by Sebastapol when the value for Against was less than 1802? ### Context: CREATE TABLE table_name_24 (draws INTEGER, ballarat_fl VARCHAR, against VARCHAR) [/INST] ### Response: SELECT MAX(draws) FROM table_name_24 WHERE ballarat_fl = "sebastapol" AND against < 1802 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Season when the Opponent was zenit st. petersburg? ### Context: CREATE TABLE table_name_68 (season VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT season FROM table_name_68 WHERE opponent = "zenit st. petersburg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 with a Round of q2, in the 2005–06 season? ### Context: CREATE TABLE table_name_75 (opponent VARCHAR, round VARCHAR, season VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_75 WHERE round = "q2" AND season = "2005–06" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Competition for Season 2002–03, and the Opponent was zenit st. petersburg? ### Context: CREATE TABLE table_name_86 (competition VARCHAR, season VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_86 WHERE season = "2002–03" AND opponent = "zenit st. petersburg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Round when the series shows 5th place, and a Season of 2006–07? ### Context: CREATE TABLE table_name_86 (round VARCHAR, series VARCHAR, season VARCHAR) [/INST] ### Response: SELECT round FROM table_name_86 WHERE series = "5th place" AND season = "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 is the Series for the uefa cup, in the 2006–07 season, and a Round of group, and an opponent of az? ### Context: CREATE TABLE table_name_35 (series VARCHAR, opponent VARCHAR, round VARCHAR, competition VARCHAR, season VARCHAR) [/INST] ### Response: SELECT series FROM table_name_35 WHERE competition = "uefa cup" AND season = "2006–07" AND round = "group" AND opponent = "az" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Flag did the Ship Aidavita have? ### Context: CREATE TABLE table_name_66 (flag VARCHAR, ship VARCHAR) [/INST] ### Response: SELECT flag FROM table_name_66 WHERE ship = "aidavita" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What shows for Set 5 when the Total was 77 - 65? ### Context: CREATE TABLE table_name_85 (set_5 VARCHAR, total VARCHAR) [/INST] ### Response: SELECT set_5 FROM table_name_85 WHERE total = "77 - 65" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Set 3 when the Total was 98 - 92? ### Context: CREATE TABLE table_name_27 (set_3 VARCHAR, total VARCHAR) [/INST] ### Response: SELECT set_3 FROM table_name_27 WHERE total = "98 - 92" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the Set 3 was 25-15? ### Context: CREATE TABLE table_name_68 (total VARCHAR, set_3 VARCHAR) [/INST] ### Response: SELECT total FROM table_name_68 WHERE set_3 = "25-15" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Set 3 when the Total was 62 - 75? ### Context: CREATE TABLE table_name_72 (set_3 VARCHAR, total VARCHAR) [/INST] ### Response: SELECT set_3 FROM table_name_72 WHERE total = "62 - 75" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Score when Set 2 shows 25-20, and a Total of 75 - 49? ### Context: CREATE TABLE table_name_27 (score VARCHAR, set_2 VARCHAR, total VARCHAR) [/INST] ### Response: SELECT score FROM table_name_27 WHERE set_2 = "25-20" AND total = "75 - 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 ethernet ports of the m1500 appliance? ### Context: CREATE TABLE table_name_5 (ethernet_ports VARCHAR, name VARCHAR) [/INST] ### Response: SELECT ethernet_ports FROM table_name_5 WHERE name = "m1500" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ethernet ports of the u150 appliance? ### Context: CREATE TABLE table_name_86 (ethernet_ports VARCHAR, name VARCHAR) [/INST] ### Response: SELECT ethernet_ports FROM table_name_86 WHERE name = "u150" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 dimensions of the u50 appliance? ### Context: CREATE TABLE table_name_27 (dimensions VARCHAR, name VARCHAR) [/INST] ### Response: SELECT dimensions FROM table_name_27 WHERE name = "u50" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ethernet ports of the u10 appliance? ### Context: CREATE TABLE table_name_51 (ethernet_ports VARCHAR, name VARCHAR) [/INST] ### Response: SELECT ethernet_ports FROM table_name_51 WHERE name = "u10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Silver medals for the Nation with less than 1 Bronze? ### Context: CREATE TABLE table_name_84 (silver VARCHAR, bronze INTEGER) [/INST] ### Response: SELECT COUNT(silver) FROM table_name_84 WHERE bronze < 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 total number of Gold medals for the Nation with more than 1 Bronze and more the 4 Total medals? ### Context: CREATE TABLE table_name_70 (gold VARCHAR, bronze VARCHAR, total VARCHAR) [/INST] ### Response: SELECT COUNT(gold) FROM table_name_70 WHERE bronze > 1 AND total > 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of Gold medals for the Nation with more than 3 Bronze? ### Context: CREATE TABLE table_name_15 (gold VARCHAR, bronze INTEGER) [/INST] ### Response: SELECT COUNT(gold) FROM table_name_15 WHERE bronze > 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: How many Gold medals did Great Britain with a Total of more than 2 medals receive? ### Context: CREATE TABLE table_name_83 (gold INTEGER, nation VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MIN(gold) FROM table_name_83 WHERE nation = "great britain" AND total > 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: How many Silver medals did the Nation with a Rank of less than 1 receive? ### Context: CREATE TABLE table_name_37 (silver INTEGER, rank INTEGER) [/INST] ### Response: SELECT AVG(silver) FROM table_name_37 WHERE 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 is the average total with 1 FA cup and more than 0 FA trophies? ### Context: CREATE TABLE table_name_61 (total INTEGER, fa_cup VARCHAR, fa_trophy VARCHAR) [/INST] ### Response: SELECT AVG(total) FROM table_name_61 WHERE fa_cup = 1 AND fa_trophy > 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which club had more than 2 FA trophies and more than 2 FA cups? ### Context: CREATE TABLE table_name_34 (club VARCHAR, fa_trophy VARCHAR, fa_cup VARCHAR) [/INST] ### Response: SELECT club FROM table_name_34 WHERE fa_trophy > 2 AND fa_cup > 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: Who was the opponent when the Maroons record was 11–4–1? ### Context: CREATE TABLE table_name_37 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_37 WHERE record = "11–4–1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result of the game on January 5, 1926? ### Context: CREATE TABLE table_name_79 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_79 WHERE date = "january 5, 1926" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 had a margin victory of 2 strokes? ### Context: CREATE TABLE table_name_91 (date VARCHAR, margin_of_victory VARCHAR) [/INST] ### Response: SELECT date FROM table_name_91 WHERE margin_of_victory = "2 strokes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 margin of victory in a semgroup championship? ### Context: CREATE TABLE table_name_39 (margin_of_victory VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT margin_of_victory FROM table_name_39 WHERE tournament = "semgroup championship" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning score with a margin victory of 2 strokes? ### Context: CREATE TABLE table_name_81 (winning_score VARCHAR, margin_of_victory VARCHAR) [/INST] ### Response: SELECT winning_score FROM table_name_81 WHERE margin_of_victory = "2 strokes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest Pct %, when Goals Against is less than 229? ### Context: CREATE TABLE table_name_60 (pct__percentage INTEGER, goals_against INTEGER) [/INST] ### Response: SELECT MAX(pct__percentage) FROM table_name_60 WHERE goals_against < 229 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Goals, when Playoffs is Lost in Round 2, and when Games is less than 81? ### Context: CREATE TABLE table_name_37 (goals_for INTEGER, playoffs VARCHAR, games VARCHAR) [/INST] ### Response: SELECT AVG(goals_for) FROM table_name_37 WHERE playoffs = "lost in round 2" AND games < 81 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of Goals Against, when Lost is 45, and when Points is greater than 68? ### Context: CREATE TABLE table_name_33 (goals_against INTEGER, lost VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(goals_against) FROM table_name_33 WHERE lost = 45 AND 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 is the average Lost, when Games is less than 82, when Points is less than 95, and when Pct % is less than 0.506? ### Context: CREATE TABLE table_name_14 (lost INTEGER, pct__percentage VARCHAR, games VARCHAR, points VARCHAR) [/INST] ### Response: SELECT AVG(lost) FROM table_name_14 WHERE games < 82 AND points < 95 AND pct__percentage < 0.506 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Class when Wessex Trains Pink is the Livery? ### Context: CREATE TABLE table_name_90 (class VARCHAR, livery VARCHAR) [/INST] ### Response: SELECT class FROM table_name_90 WHERE livery = "wessex trains pink" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Livery when the Number is 31468? ### Context: CREATE TABLE table_name_57 (livery VARCHAR, number VARCHAR) [/INST] ### Response: SELECT livery FROM table_name_57 WHERE number = 31468 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Skip for Germany? ### Context: CREATE TABLE table_name_6 (skip VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT skip FROM table_name_6 WHERE nation = "germany" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 club for Great Britain? ### Context: CREATE TABLE table_name_58 (club VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT club FROM table_name_58 WHERE nation = "great britain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 alternate for Magnus Swartling as Second? ### Context: CREATE TABLE table_name_38 (alternate VARCHAR, second VARCHAR) [/INST] ### Response: SELECT alternate FROM table_name_38 WHERE second = "magnus swartling" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Jamie Korab as Lead? ### Context: CREATE TABLE table_name_69 (club VARCHAR, lead VARCHAR) [/INST] ### Response: SELECT club FROM table_name_69 WHERE lead = "jamie korab" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Lead has Hans Frauenlob as a Third? ### Context: CREATE TABLE table_name_62 (lead VARCHAR, third VARCHAR) [/INST] ### Response: SELECT lead FROM table_name_62 WHERE third = "hans frauenlob" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Home captain when the Result was Aus by 218 runs? ### Context: CREATE TABLE table_name_22 (home_captain VARCHAR, result VARCHAR) [/INST] ### Response: SELECT home_captain FROM table_name_22 WHERE result = "aus by 218 runs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Film title used in nomination of the Film with a Serbian title of Π±Π΅Π»ΠΎ ΠΎΠ΄Π΅Π»ΠΎ? ### Context: CREATE TABLE table_name_49 (film_title_used_in_nomination VARCHAR, serbian_title VARCHAR) [/INST] ### Response: SELECT film_title_used_in_nomination FROM table_name_49 WHERE serbian_title = "Π±Π΅Π»ΠΎ ΠΎΠ΄Π΅Π»ΠΎ" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Year was Labyrinth nominated? ### Context: CREATE TABLE table_name_46 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR) [/INST] ### Response: SELECT year__ceremony_ FROM table_name_46 WHERE film_title_used_in_nomination = "labyrinth" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 High assists for march 25? ### Context: CREATE TABLE table_name_69 (high_assists VARCHAR, date VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_69 WHERE date = "march 25" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Score when Donyell Marshall (26) had the high points? ### Context: CREATE TABLE table_name_20 (score VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT score FROM table_name_20 WHERE high_points = "donyell marshall (26)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest Game when Morris Peterson (8) had the high assists? ### Context: CREATE TABLE table_name_81 (game INTEGER, high_assists VARCHAR) [/INST] ### Response: SELECT MAX(game) FROM table_name_81 WHERE high_assists = "morris peterson (8)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the High assists when jalen rose (22) had the high points? ### Context: CREATE TABLE table_name_35 (high_assists VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_35 WHERE high_points = "jalen rose (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: What is the High assists when the record was 28–40? ### Context: CREATE TABLE table_name_64 (high_assists VARCHAR, record VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_64 WHERE record = "28–40" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Brazil scorers who scored 3-3? ### Context: CREATE TABLE table_name_11 (brazil_scorers VARCHAR, score VARCHAR) [/INST] ### Response: SELECT brazil_scorers FROM table_name_11 WHERE score = "3-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: Who is the Brazil scorer who scored 6-0? ### Context: CREATE TABLE table_name_41 (brazil_scorers VARCHAR, score VARCHAR) [/INST] ### Response: SELECT brazil_scorers FROM table_name_41 WHERE score = "6-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: With a score of 2-2, what was the Result? ### Context: CREATE TABLE table_name_30 (result VARCHAR, score VARCHAR) [/INST] ### Response: SELECT result FROM table_name_30 WHERE score = "2-2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Original Team has a Hometown of Brooklyn, New York and a Background of Comedienne? ### Context: CREATE TABLE table_name_22 (original_team VARCHAR, hometown VARCHAR, background VARCHAR) [/INST] ### Response: SELECT original_team FROM table_name_22 WHERE hometown = "brooklyn, new york" AND background = "comedienne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Background of the contestant with a Hometown listed as Los Angeles, California? ### Context: CREATE TABLE table_name_71 (background VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT background FROM table_name_71 WHERE hometown = "los angeles, california" </s>