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 total series percent that has total attempted less than 49, and a percent made of 0.777 ### Context: CREATE TABLE table_name_63 (series_percent VARCHAR, total_attempted VARCHAR, percent_made VARCHAR) [/INST] ### Response: SELECT COUNT(series_percent) FROM table_name_63 WHERE total_attempted < 49 AND percent_made = 0.777 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attempted with a total made 16 ### Context: CREATE TABLE table_name_21 (total_attempted VARCHAR, total_made VARCHAR) [/INST] ### Response: SELECT COUNT(total_attempted) FROM table_name_21 WHERE total_made = 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of District, when Took Office is greater than 1981, and when Senator is Cyndi Taylor Krier? ### Context: CREATE TABLE table_name_67 (district INTEGER, took_office VARCHAR, senator VARCHAR) [/INST] ### Response: SELECT SUM(district) FROM table_name_67 WHERE took_office > 1981 AND senator = "cyndi taylor krier" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Party, when District is less than 10, when Took Office is less than 1991, and when Home Town is Mount Pleasant? ### Context: CREATE TABLE table_name_22 (party VARCHAR, home_town VARCHAR, district VARCHAR, took_office VARCHAR) [/INST] ### Response: SELECT party FROM table_name_22 WHERE district < 10 AND took_office < 1991 AND home_town = "mount pleasant" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Took Office, when Senator is Eddie Bernice Johnson, and when District is greater than 23? ### Context: CREATE TABLE table_name_50 (took_office INTEGER, senator VARCHAR, district VARCHAR) [/INST] ### Response: SELECT MIN(took_office) FROM table_name_50 WHERE senator = "eddie bernice johnson" AND district > 23 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In which period did Stanislav Chistov get a penalty? ### Context: CREATE TABLE table_name_9 (period VARCHAR, player VARCHAR) [/INST] ### Response: SELECT period FROM table_name_9 WHERE player = "stanislav chistov" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a penalty given for at time 29:17? ### Context: CREATE TABLE table_name_89 (penalty VARCHAR, time VARCHAR) [/INST] ### Response: SELECT penalty FROM table_name_89 WHERE time = "29:17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What team was the player that received a penalty at time 32:17 playing for? ### Context: CREATE TABLE table_name_13 (team VARCHAR, time VARCHAR) [/INST] ### Response: SELECT team FROM table_name_13 WHERE time = "32:17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What team was Ryan Callahan, who received a penalty for roughing, playing for? ### Context: CREATE TABLE table_name_87 (team VARCHAR, penalty VARCHAR, player VARCHAR) [/INST] ### Response: SELECT team FROM table_name_87 WHERE penalty = "roughing" AND player = "ryan callahan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 head coach when the opponent was Arsenal? ### Context: CREATE TABLE table_name_95 (head_coach VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT head_coach FROM table_name_95 WHERE opponent = "arsenal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 head coach was B. Sathianathan? ### Context: CREATE TABLE table_name_33 (opponent VARCHAR, head_coach VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_33 WHERE head_coach = "b. sathianathan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the opponent Arsenal? ### Context: CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_62 WHERE opponent = "arsenal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the opponent was Arsenal? ### Context: CREATE TABLE table_name_56 (result VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT result FROM table_name_56 WHERE opponent = "arsenal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home wins of the Boston College Eagles, which has more than 6 wins? ### Context: CREATE TABLE table_name_89 (Home INTEGER, institution VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT SUM(Home) AS wins FROM table_name_89 WHERE institution = "boston college eagles" AND wins > 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 is the Record when Evangelista Cyborg was the opponent? ### Context: CREATE TABLE table_name_40 (record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_name_40 WHERE opponent = "evangelista cyborg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Method for Brazil? ### Context: CREATE TABLE table_name_55 (method VARCHAR, location VARCHAR) [/INST] ### Response: SELECT method FROM table_name_55 WHERE location = "brazil" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What round was the method submission (punches)? ### Context: CREATE TABLE table_name_18 (round VARCHAR, method VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_18 WHERE method = "submission (punches)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 method when the record was 3-2? ### Context: CREATE TABLE table_name_63 (method VARCHAR, record VARCHAR) [/INST] ### Response: SELECT method FROM table_name_63 WHERE record = "3-2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the method when the round shows 3? ### Context: CREATE TABLE table_name_35 (method VARCHAR, round VARCHAR) [/INST] ### Response: SELECT method FROM table_name_35 WHERE round = 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 was the run 3 for the team in rank 12? ### Context: CREATE TABLE table_name_4 (run_3 VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT run_3 FROM table_name_4 WHERE rank = "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 was the run 3 for the team with a run 1 of 1:17.6? ### Context: CREATE TABLE table_name_40 (run_3 VARCHAR, run_1 VARCHAR) [/INST] ### Response: SELECT run_3 FROM table_name_40 WHERE run_1 = "1:17.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 rank of the team with a run 2 of 1:20.8 and a run 4 of 1:23.0? ### Context: CREATE TABLE table_name_71 (rank VARCHAR, run_2 VARCHAR, run_4 VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_71 WHERE run_2 = "1:20.8" AND run_4 = "1:23.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 was the run 1 for the team with a run 3 of 1:21.4 and a run 4 of 1:23.0? ### Context: CREATE TABLE table_name_9 (run_1 VARCHAR, run_3 VARCHAR, run_4 VARCHAR) [/INST] ### Response: SELECT run_1 FROM table_name_9 WHERE run_3 = "1:21.4" AND run_4 = "1:23.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 team had a run 4 of 1:24.4? ### Context: CREATE TABLE table_name_7 (team VARCHAR, run_4 VARCHAR) [/INST] ### Response: SELECT team FROM table_name_7 WHERE run_4 = "1:24.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 Attendance at the game against the Oakland Raiders? ### Context: CREATE TABLE table_name_40 (attendance VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_40 WHERE opponent = "oakland raiders" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Attendance in Week 10? ### Context: CREATE TABLE table_name_59 (attendance VARCHAR, week VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_59 WHERE week = 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Principal activities have an Incorporated in of france? ### Context: CREATE TABLE table_name_76 (principal_activities VARCHAR, incorporated_in VARCHAR) [/INST] ### Response: SELECT principal_activities FROM table_name_76 WHERE incorporated_in = "france" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Type has an Incorporated in of netherlands, a Principal activities of airline, and a Company of transavia.com? ### Context: CREATE TABLE table_name_54 (type VARCHAR, company VARCHAR, incorporated_in VARCHAR, principal_activities VARCHAR) [/INST] ### Response: SELECT type FROM table_name_54 WHERE incorporated_in = "netherlands" AND principal_activities = "airline" AND company = "transavia.com" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Type has a Company of epcor? ### Context: CREATE TABLE table_name_21 (type VARCHAR, company VARCHAR) [/INST] ### Response: SELECT type FROM table_name_21 WHERE company = "epcor" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Type has a Principal activities of health services? ### Context: CREATE TABLE table_name_28 (type VARCHAR, principal_activities VARCHAR) [/INST] ### Response: SELECT type FROM table_name_28 WHERE principal_activities = "health services" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 verb dhoa, what is the 2VF? ### Context: CREATE TABLE table_name_75 (verb VARCHAR) [/INST] ### Response: SELECT 2 AS __vf_ FROM table_name_75 WHERE verb = "dhoa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the subject who ran in the general election for Queen Anne's County State's Attorney? ### Context: CREATE TABLE table_name_63 (subject VARCHAR, election VARCHAR, office VARCHAR) [/INST] ### Response: SELECT subject FROM table_name_63 WHERE election = "general" AND office = "queen anne's county state's attorney" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 writer of The Year of the Cat from the BBV? ### Context: CREATE TABLE table_name_2 (writer VARCHAR, company VARCHAR, title VARCHAR) [/INST] ### Response: SELECT writer FROM table_name_2 WHERE company = "bbv" AND title = "the year of the cat" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Goals For have Drawn of 10? ### Context: CREATE TABLE table_name_83 (goals_for VARCHAR, drawn VARCHAR) [/INST] ### Response: SELECT COUNT(goals_for) FROM table_name_83 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: Which Lost has Drawn larger than 12, and Goals Against of 54? ### Context: CREATE TABLE table_name_94 (lost INTEGER, drawn VARCHAR, goals_against VARCHAR) [/INST] ### Response: SELECT MAX(lost) FROM table_name_94 WHERE drawn > 12 AND goals_against = 54 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 record for the Superbrawl 21? ### Context: CREATE TABLE table_name_68 (record VARCHAR, event VARCHAR) [/INST] ### Response: SELECT record FROM table_name_68 WHERE event = "superbrawl 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 location shows round was 1, and against Ricky Shivers? ### Context: CREATE TABLE table_name_43 (location VARCHAR, round VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT location FROM table_name_43 WHERE round = 1 AND opponent = "ricky shivers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 method for a match with a Round larger than 2, he took a loss, and 15–3 was the record? ### Context: CREATE TABLE table_name_67 (method VARCHAR, record VARCHAR, round VARCHAR, res VARCHAR) [/INST] ### Response: SELECT method FROM table_name_67 WHERE round > 2 AND res = "loss" AND record = "15–3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Position has a Pick of 11 (via calgary)? ### Context: CREATE TABLE table_name_8 (position VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT position FROM table_name_8 WHERE pick = "11 (via calgary)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Pick of 25 (via hamilton)? ### Context: CREATE TABLE table_name_88 (round INTEGER, pick VARCHAR) [/INST] ### Response: SELECT SUM(round) FROM table_name_88 WHERE pick = "25 (via hamilton)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which School/Club Team has a Round larger than 3, and a Player of sammy okpro? ### Context: CREATE TABLE table_name_15 (school_club_team VARCHAR, round VARCHAR, player VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_15 WHERE round > 3 AND player = "sammy okpro" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Player of sammy okpro? ### Context: CREATE TABLE table_name_32 (round INTEGER, player VARCHAR) [/INST] ### Response: SELECT AVG(round) FROM table_name_32 WHERE player = "sammy okpro" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Round of 4, and a School/Club Team of concordia? ### Context: CREATE TABLE table_name_34 (position VARCHAR, round VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT position FROM table_name_34 WHERE round = 4 AND school_club_team = "concordia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Score of the game with a Record of 29–23–13? ### Context: CREATE TABLE table_name_21 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_21 WHERE record = "29–23–13" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Visitor of the game with a Record of 21–17–13? ### Context: CREATE TABLE table_name_70 (visitor VARCHAR, record VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_70 WHERE record = "21–17–13" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Visitor of the game on December 25? ### Context: CREATE TABLE table_name_26 (visitor VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_26 WHERE date = "december 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 Date of the game with a Record of 8–10–6? ### Context: CREATE TABLE table_name_99 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_99 WHERE record = "8–10–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 is the Date of the game with a Record of 1–2–4? ### Context: CREATE TABLE table_name_27 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_27 WHERE record = "1–2–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 Date of the game with a Record of 27–21–13? ### Context: CREATE TABLE table_name_11 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_11 WHERE record = "27–21–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 Year(s) won has a Total smaller than 292, and a Player of hale irwin? ### Context: CREATE TABLE table_name_42 (year_s__won VARCHAR, total VARCHAR, player VARCHAR) [/INST] ### Response: SELECT year_s__won FROM table_name_42 WHERE total < 292 AND player = "hale irwin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is fuzzy zoeller's to par? ### Context: CREATE TABLE table_name_12 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_12 WHERE player = "fuzzy zoeller" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What To par was won in 1982? ### Context: CREATE TABLE table_name_15 (to_par VARCHAR, year_s__won VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_15 WHERE year_s__won = "1982" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 curtis strange's to par? ### Context: CREATE TABLE table_name_26 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_26 WHERE player = "curtis strange" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 WITH A DATE OF NOVEMBER 18? ### Context: CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_80 WHERE date = "november 18" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHAT IS THE VISITOR FOR FEBRUARY 9? ### Context: CREATE TABLE table_name_27 (visitor VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_27 WHERE date = "february 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 place of the player who scored less than 70? ### Context: CREATE TABLE table_name_96 (place VARCHAR, score INTEGER) [/INST] ### Response: SELECT place FROM table_name_96 WHERE score < 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 player was chosen by Saskatchewan in a pick larger than 38? ### Context: CREATE TABLE table_name_21 (player VARCHAR, pick__number VARCHAR, cfl_team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_21 WHERE pick__number > 38 AND cfl_team = "saskatchewan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the goals scored were below 6, 11 games were played, and there were 7 assists, what's the sum of points with games meeting these criteria? ### Context: CREATE TABLE table_name_78 (points INTEGER, goals VARCHAR, assists VARCHAR, games VARCHAR) [/INST] ### Response: SELECT SUM(points) FROM table_name_78 WHERE assists = 7 AND games = 11 AND goals < 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's the highest amount of Games recorded that have more than 10 assists? ### Context: CREATE TABLE table_name_64 (games INTEGER, assists INTEGER) [/INST] ### Response: SELECT MAX(games) FROM table_name_64 WHERE assists > 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 Updated In Past 30 Days, when Registration is "Open to people 13 and over"? ### Context: CREATE TABLE table_name_93 (updated_in_past_30_days VARCHAR, registration VARCHAR) [/INST] ### Response: SELECT updated_in_past_30_days FROM table_name_93 WHERE registration = "open to people 13 and over" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Permanent Account, when Updated In Past 30 Days is 10324? ### Context: CREATE TABLE table_name_96 (permanent_account VARCHAR, updated_in_past_30_days VARCHAR) [/INST] ### Response: SELECT permanent_account FROM table_name_96 WHERE updated_in_past_30_days = "10324" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Userpics Free, when Registration is Open, when Yearly Cost For Paid Account is "unknown", and when Name is Kraslan? ### Context: CREATE TABLE table_name_18 (userpics_free VARCHAR, name VARCHAR, registration VARCHAR, yearly_cost_for_paid_account VARCHAR) [/INST] ### Response: SELECT userpics_free FROM table_name_18 WHERE registration = "open" AND yearly_cost_for_paid_account = "unknown" AND name = "kraslan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Userpics Free, when Monthly Cost For Paid Account is "unknown", and when S Registered User is 2340? ### Context: CREATE TABLE table_name_89 (userpics_free VARCHAR, monthly_cost_for_paid_account VARCHAR, s_registered_user VARCHAR) [/INST] ### Response: SELECT userpics_free FROM table_name_89 WHERE monthly_cost_for_paid_account = "unknown" AND s_registered_user = "2340" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Yearly Cost For Paid Account, when Montly Cost For Paid Account is 5 USD, and when Userpics Paid is 50? ### Context: CREATE TABLE table_name_94 (yearly_cost_for_paid_account VARCHAR, monthly_cost_for_paid_account VARCHAR, userpics_paid VARCHAR) [/INST] ### Response: SELECT yearly_cost_for_paid_account FROM table_name_94 WHERE monthly_cost_for_paid_account = "5 usd" AND userpics_paid = "50" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the S Registered User, when Userpics Free is 6 [free] or 15 [plus]? ### Context: CREATE TABLE table_name_98 (s_registered_user VARCHAR, userpics_free VARCHAR) [/INST] ### Response: SELECT s_registered_user FROM table_name_98 WHERE userpics_free = "6 [free] or 15 [plus]" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Venue, when Date is "2003-08-13"? ### Context: CREATE TABLE table_name_72 (venue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_72 WHERE date = "2003-08-13" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Score, when Date is "2000-05-23"? ### Context: CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_93 WHERE date = "2000-05-23" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Result, when Date is "2000-05-23"? ### Context: CREATE TABLE table_name_57 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_57 WHERE date = "2000-05-23" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Competition, when Date is "1999-08-07"? ### Context: CREATE TABLE table_name_13 (competition VARCHAR, date VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_13 WHERE date = "1999-08-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: In what Week was Serena Williams 6–1, 6–7(7), 6–3 the Winner? ### Context: CREATE TABLE table_name_65 (week VARCHAR, winners VARCHAR) [/INST] ### Response: SELECT week FROM table_name_65 WHERE winners = "serena williams 6–1, 6–7(7), 6–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 was the Finalist on a Hard Surface with Winner Serena Williams 6–1, 6–7(7), 6–3? ### Context: CREATE TABLE table_name_34 (finalists VARCHAR, surface VARCHAR, winners VARCHAR) [/INST] ### Response: SELECT finalists FROM table_name_34 WHERE surface = "hard" AND winners = "serena williams 6–1, 6–7(7), 6–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: In what Week is the Rome Tournament? ### Context: CREATE TABLE table_name_70 (week VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT week FROM table_name_70 WHERE tournament = "rome" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 regio has a label of zzt and a date of 27 september 2004? ### Context: CREATE TABLE table_name_5 (region VARCHAR, label VARCHAR, date VARCHAR) [/INST] ### Response: SELECT region FROM table_name_5 WHERE label = "zzt" AND date = "27 september 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 catalog has a date of 24 march 2006? ### Context: CREATE TABLE table_name_44 (catalog VARCHAR, date VARCHAR) [/INST] ### Response: SELECT catalog FROM table_name_44 WHERE date = "24 march 2006" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which format has a region of united kingdom? ### Context: CREATE TABLE table_name_19 (format VARCHAR, region VARCHAR) [/INST] ### Response: SELECT format FROM table_name_19 WHERE region = "united kingdom" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which date has a region of united kingdom? ### Context: CREATE TABLE table_name_54 (date VARCHAR, region VARCHAR) [/INST] ### Response: SELECT date FROM table_name_54 WHERE region = "united kingdom" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which regio has a date of 24 march 2006? ### Context: CREATE TABLE table_name_15 (region VARCHAR, date VARCHAR) [/INST] ### Response: SELECT region FROM table_name_15 WHERE date = "24 march 2006" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the A330 for A310 B10? ### Context: CREATE TABLE table_name_62 (a330 VARCHAR, a310 VARCHAR) [/INST] ### Response: SELECT a330 FROM table_name_62 WHERE a310 = "b10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 A330 and the A310 wide? ### Context: CREATE TABLE table_name_62 (a330 VARCHAR, a310 VARCHAR) [/INST] ### Response: SELECT a330 FROM table_name_62 WHERE a310 = "wide" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What model is the A310 of 1983? ### Context: CREATE TABLE table_name_48 (model VARCHAR, a310 VARCHAR) [/INST] ### Response: SELECT model FROM table_name_48 WHERE a310 = "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 name is in the number 2 spot when Ethan is in the number 6 spot and Mason is in the number 3 spot? ### Context: CREATE TABLE table_name_7 (no_2 VARCHAR, no_6 VARCHAR, no_3 VARCHAR) [/INST] ### Response: SELECT no_2 FROM table_name_7 WHERE no_6 = "ethan" AND no_3 = "mason" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 region and year was Jacob the number 2 name and Ryan the number 10 name? ### Context: CREATE TABLE table_name_98 (region__year_ VARCHAR, no_2 VARCHAR, no_10 VARCHAR) [/INST] ### Response: SELECT region__year_ FROM table_name_98 WHERE no_2 = "jacob" AND no_10 = "ryan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What name was number 7 when Mason was number 1, Owen was number 6, Jackson was number 9, and Logan was number 10? ### Context: CREATE TABLE table_name_68 (no_7 VARCHAR, no_6 VARCHAR, no_10 VARCHAR, no_1 VARCHAR, no_9 VARCHAR) [/INST] ### Response: SELECT no_7 FROM table_name_68 WHERE no_1 = "mason" AND no_9 = "jackson" AND no_10 = "logan" AND no_6 = "owen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What name was in the number 4 spot when Aiden was number 7 and James was number 3? ### Context: CREATE TABLE table_name_29 (no_4 VARCHAR, no_7 VARCHAR, no_3 VARCHAR) [/INST] ### Response: SELECT no_4 FROM table_name_29 WHERE no_7 = "aiden" AND no_3 = "james" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 positions of Damon Jones? ### Context: CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_87 WHERE player = "damon jones" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player who graduated from stanford play for Grizzlies? ### Context: CREATE TABLE table_name_11 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT years_for_grizzlies FROM table_name_11 WHERE school_club_team = "stanford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which school did Dahntay Jones graduate from? ### Context: CREATE TABLE table_name_24 (school_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_24 WHERE player = "dahntay jones" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which player gradyated from Florida State? ### Context: CREATE TABLE table_name_76 (player VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_76 WHERE school_club_team = "florida state" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Playoffs MVP of the game with a Result of 4–1 with Champions Daejeon Hyundai Dynat? ### Context: CREATE TABLE table_name_65 (playoffs_mvp VARCHAR, result VARCHAR, champions VARCHAR) [/INST] ### Response: SELECT playoffs_mvp FROM table_name_65 WHERE result = "4–1" AND champions = "daejeon hyundai dynat" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Year of the game with Result of 4–3 and Champions of Daegu Tongyang Orions? ### Context: CREATE TABLE table_name_86 (year VARCHAR, result VARCHAR, champions VARCHAR) [/INST] ### Response: SELECT year FROM table_name_86 WHERE result = "4–3" AND champions = "daegu tongyang orions" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Runners-up of the game with a Result of 4–1 and Champions of Wonju Dongbu Promy? ### Context: CREATE TABLE table_name_1 (runners_up VARCHAR, result VARCHAR, champions VARCHAR) [/INST] ### Response: SELECT runners_up FROM table_name_1 WHERE result = "4–1" AND champions = "wonju dongbu promy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where was the venue that Linfield was the opponent? ### Context: CREATE TABLE table_name_58 (venue VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_58 WHERE opponent = "linfield" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scorer plays for Aldershot and has scored a total of 19 League goals? ### Context: CREATE TABLE table_name_17 (scorer VARCHAR, club VARCHAR, league_goals VARCHAR) [/INST] ### Response: SELECT scorer FROM table_name_17 WHERE club = "aldershot" AND league_goals = "19" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest number of League Cup goals that were scored by Hartlepool? ### Context: CREATE TABLE table_name_6 (league_cup_goals INTEGER, club VARCHAR) [/INST] ### Response: SELECT MAX(league_cup_goals) FROM table_name_6 WHERE club = "hartlepool" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the game at the North Shore Events Centre? ### Context: CREATE TABLE table_name_99 (date VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_99 WHERE venue = "north shore events centre" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the report corresponding to the game that had the Townsville Crocodiles as home team? ### Context: CREATE TABLE table_name_59 (report VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT report FROM table_name_59 WHERE home_team = "townsville crocodiles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the game that had Sydney Spirit as the away team? ### Context: CREATE TABLE table_name_64 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_64 WHERE away_team = "sydney spirit" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 box score for the game that had the Townsville Crocodiles as home team? ### Context: CREATE TABLE table_name_95 (Box VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT Box AS score FROM table_name_95 WHERE home_team = "townsville crocodiles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the box score for the game that had the Cairns Taipans as home team? ### Context: CREATE TABLE table_name_23 (Box VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT Box AS score FROM table_name_23 WHERE home_team = "cairns taipans" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lap number for time/retired of +33.912? ### Context: CREATE TABLE table_name_71 (laps VARCHAR, time_retired VARCHAR) [/INST] ### Response: SELECT COUNT(laps) FROM table_name_71 WHERE time_retired = "+33.912" </s>