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 number of Year, when Wins is less than 0?
### Context:
CREATE TABLE table_name_70 (year VARCHAR, wins INTEGER) [/INST]
### Response:
SELECT COUNT(year) FROM table_name_70 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 sum of Points, when Year is after 1959, and when Class is 250cc?
### Context:
CREATE TABLE table_name_42 (points INTEGER, year VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT SUM(points) FROM table_name_42 WHERE year > 1959 AND class = "250cc" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Wins, when Points is less than 1?
### Context:
CREATE TABLE table_name_17 (wins VARCHAR, points INTEGER) [/INST]
### Response:
SELECT COUNT(wins) FROM table_name_17 WHERE points < 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 sum of Wins, when Year is 1959?
### Context:
CREATE TABLE table_name_2 (wins INTEGER, year VARCHAR) [/INST]
### Response:
SELECT SUM(wins) FROM table_name_2 WHERE year = 1959 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fewest games played for teams with 73 goals for and more than 69 goals against?
### Context:
CREATE TABLE table_name_17 (played INTEGER, goals_for VARCHAR, goals_against VARCHAR) [/INST]
### Response:
SELECT MIN(played) FROM table_name_17 WHERE goals_for = 73 AND goals_against > 69 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest number of goals for for teams with 25 losses?
### Context:
CREATE TABLE table_name_26 (goals_for INTEGER, lost VARCHAR) [/INST]
### Response:
SELECT MAX(goals_for) FROM table_name_26 WHERE lost = 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 most losses for positions under 15 and 66 goals against?
### Context:
CREATE TABLE table_name_50 (lost INTEGER, goals_against VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT MAX(lost) FROM table_name_50 WHERE goals_against = 66 AND position < 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 average goals against for teams with more than 56 goals for and exactly 50 points?
### Context:
CREATE TABLE table_name_20 (goals_against INTEGER, points_1 VARCHAR, goals_for VARCHAR) [/INST]
### Response:
SELECT AVG(goals_against) FROM table_name_20 WHERE points_1 = "50" AND goals_for > 56 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Leader has Spoilt Votes as % of Seats?
### Context:
CREATE TABLE table_name_26 (leader VARCHAR, _percentage_of_seats VARCHAR) [/INST]
### Response:
SELECT leader FROM table_name_26 WHERE _percentage_of_seats = "spoilt votes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 %FPv for the Workers' Party?
### Context:
CREATE TABLE table_name_3 (_percentage_fpv VARCHAR, party VARCHAR) [/INST]
### Response:
SELECT _percentage_fpv FROM table_name_3 WHERE party = "workers' party" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 First Pref Votes for the % FPv of 0.06?
### Context:
CREATE TABLE table_name_23 (first_pref_votes VARCHAR, _percentage_fpv VARCHAR) [/INST]
### Response:
SELECT first_pref_votes FROM table_name_23 WHERE _percentage_fpv = "0.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 First Pref Votes where the Leader is n/a and the Party is Independent?
### Context:
CREATE TABLE table_name_91 (first_pref_votes VARCHAR, leader VARCHAR, party VARCHAR) [/INST]
### Response:
SELECT first_pref_votes FROM table_name_91 WHERE leader = "n/a" AND party = "independent" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Seats for Leader Enda kenny?
### Context:
CREATE TABLE table_name_49 (seats VARCHAR, leader VARCHAR) [/INST]
### Response:
SELECT seats FROM table_name_49 WHERE leader = "enda kenny" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Date to [H], when Position [F] is "Defender", when Goals is less than 3, when Appearances is greater than 113, and when Date From [G] is "1997"?
### Context:
CREATE TABLE table_name_38 (date_to_ VARCHAR, h_ VARCHAR, appearances VARCHAR, date_from_ VARCHAR, g_ VARCHAR, goals VARCHAR, position_ VARCHAR, f_ VARCHAR) [/INST]
### Response:
SELECT date_to_[h_] FROM table_name_38 WHERE position_[f_] = "defender" AND goals < 3 AND appearances > 113 AND date_from_[g_] = "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 Club Source [I ], when Name is "Andrew McCombie Category:Articles With hCards"?
### Context:
CREATE TABLE table_name_14 (club_source_ VARCHAR, i_ VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT club_source_[i_] FROM table_name_14 WHERE name = "andrew mccombie category:articles with hcards" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Name, when Goals is "80", and when Club Source [I ] is "71 [ dead link ]"?
### Context:
CREATE TABLE table_name_60 (name VARCHAR, goals VARCHAR, club_source_ VARCHAR, i_ VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_60 WHERE goals = 80 AND club_source_[i_] = "71 [ dead link ]" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Appearances, when Postion [F ] is "Defender", and when Date to [H ] is "1938"?
### Context:
CREATE TABLE table_name_18 (appearances VARCHAR, position_ VARCHAR, f_ VARCHAR, date_to_ VARCHAR, h_ VARCHAR) [/INST]
### Response:
SELECT appearances FROM table_name_18 WHERE position_[f_] = "defender" AND date_to_[h_] = "1938" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 AVERAGE SCORE WITH T3 PLACE, FOR DOUG SANDERS?
### Context:
CREATE TABLE table_name_75 (score INTEGER, place VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT AVG(score) FROM table_name_75 WHERE place = "t3" AND player = "doug sanders" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How much is the money ($) when the country is united states, to par is e and the score is 72-75-70-71=288?
### Context:
CREATE TABLE table_name_59 (money___ INTEGER, country VARCHAR, to_par VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT SUM(money___) AS $__ FROM table_name_59 WHERE country = "united states" AND to_par = "e" AND score = 72 - 75 - 70 - 71 = 288 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 to par when the player is roger maltbie?
### Context:
CREATE TABLE table_name_75 (to_par VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_75 WHERE player = "roger maltbie" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How much is the money ($) when the score is 67-71-72-72=282?
### Context:
CREATE TABLE table_name_97 (money___ VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(money___) AS $__ FROM table_name_97 WHERE score = 67 - 71 - 72 - 72 = 282 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 to par when the place is 8?
### Context:
CREATE TABLE table_name_82 (to_par VARCHAR, place VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_82 WHERE place = "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 SCORE OF THE GAME LARGER THAN 47, AT THE ROSE GARDEN 20,250 IN ATTENDANCE?
### Context:
CREATE TABLE table_name_17 (score VARCHAR, game VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_17 WHERE game > 47 AND location_attendance = "rose garden 20,250" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What tournament was on May 31, 1987?
### Context:
CREATE TABLE table_name_7 (tournament VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_7 WHERE date = "may 31, 1987" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What tournament was on May 31, 1987?
### Context:
CREATE TABLE table_name_93 (tournament VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_93 WHERE date = "may 31, 1987" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What tournament had a winning score of –9 (69-71-67=207)?
### Context:
CREATE TABLE table_name_72 (tournament VARCHAR, winning_score VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_72 WHERE winning_score = –9(69 - 71 - 67 = 207) </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 runner(s)-up when the winning score was –13 (75-68-68=211)?
### Context:
CREATE TABLE table_name_77 (runner_s__up VARCHAR, winning_score VARCHAR) [/INST]
### Response:
SELECT runner_s__up FROM table_name_77 WHERE winning_score = –13(75 - 68 - 68 = 211) </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What tournament had a 1 point margin of victory?
### Context:
CREATE TABLE table_name_12 (tournament VARCHAR, margin_of_victory VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_12 WHERE margin_of_victory = "1 point" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What tournament was Laura Davies the runner-up?
### Context:
CREATE TABLE table_name_50 (tournament VARCHAR, runner_s__up VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_50 WHERE runner_s__up = "laura davies" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Location of the match against Bob Stines?
### Context:
CREATE TABLE table_name_36 (location VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_36 WHERE opponent = "bob stines" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 venue of the game that was played on 23 October 1966?
### Context:
CREATE TABLE table_name_41 (venue VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_41 WHERE date = "23 october 1966" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 friendly competition on 17 December 1967 played at?
### Context:
CREATE TABLE table_name_72 (venue VARCHAR, competition VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_72 WHERE competition = "friendly" AND date = "17 december 1967" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What 2009 has statistics by surface in 2012?
### Context:
CREATE TABLE table_name_66 (Id VARCHAR) [/INST]
### Response:
SELECT 2009 FROM table_name_66 WHERE 2012 = "statistics by surface" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What 2001 has a ATP World Tour Masters 1000 2007?
### Context:
CREATE TABLE table_name_12 (Id VARCHAR) [/INST]
### Response:
SELECT 2011 FROM table_name_12 WHERE 2007 = "atp world tour masters 1000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What 2010 has an A 2006 & 2011?
### Context:
CREATE TABLE table_name_30 (Id VARCHAR) [/INST]
### Response:
SELECT 2010 FROM table_name_30 WHERE 2006 = "a" AND 2011 = "a" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What 2009 has a 0 in 2008 & 2010?
### Context:
CREATE TABLE table_name_3 (Id VARCHAR) [/INST]
### Response:
SELECT 2009 FROM table_name_3 WHERE 2010 = "0" AND 2008 = "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 finishing position of Hale Irwin, of the United states?
### Context:
CREATE TABLE table_name_96 (finish VARCHAR, country VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT finish FROM table_name_96 WHERE country = "united states" 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:
Where did the player who won in 1965 finish?
### Context:
CREATE TABLE table_name_92 (finish VARCHAR, year_s__won VARCHAR) [/INST]
### Response:
SELECT finish FROM table_name_92 WHERE year_s__won = "1965" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Jerry Pate finish?
### Context:
CREATE TABLE table_name_29 (finish VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT finish FROM table_name_29 WHERE player = "jerry pate" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average total for the player from the United States, who won in 1978?
### Context:
CREATE TABLE table_name_73 (total INTEGER, country VARCHAR, year_s__won VARCHAR) [/INST]
### Response:
SELECT AVG(total) FROM table_name_73 WHERE country = "united states" AND year_s__won = "1978" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opponent for the game played on September 19, 1999?
### Context:
CREATE TABLE table_name_92 (opponent VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_92 WHERE date = "september 19, 1999" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What week was the bye week?
### Context:
CREATE TABLE table_name_46 (week INTEGER, opponent VARCHAR) [/INST]
### Response:
SELECT AVG(week) FROM table_name_46 WHERE opponent = "bye" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opponent for the game played on December 19, 1999?
### Context:
CREATE TABLE table_name_87 (opponent VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_87 WHERE date = "december 19, 1999" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the result from the game played on week 7?
### Context:
CREATE TABLE table_name_45 (result VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_45 WHERE week = 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 lowest number of seats of the 1992 election?
### Context:
CREATE TABLE table_name_86 (seats INTEGER, election VARCHAR) [/INST]
### Response:
SELECT MIN(seats) FROM table_name_86 WHERE election = 1992 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 seats had a 41.2% share of votes?
### Context:
CREATE TABLE table_name_96 (seats VARCHAR, share_of_votes VARCHAR) [/INST]
### Response:
SELECT seats FROM table_name_96 WHERE share_of_votes = "41.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 share of votes with 3,567,021 NDC votes?
### Context:
CREATE TABLE table_name_40 (share_of_votes VARCHAR, number_of_ndc_votes VARCHAR) [/INST]
### Response:
SELECT share_of_votes FROM table_name_40 WHERE number_of_ndc_votes = "3,567,021" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the total when the set 3 score was 25–27?
### Context:
CREATE TABLE table_name_12 (total VARCHAR, set_3 VARCHAR) [/INST]
### Response:
SELECT total FROM table_name_12 WHERE set_3 = "25–27" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what date was the total 60–77?
### Context:
CREATE TABLE table_name_88 (date VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_88 WHERE total = "60–77" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for set 1 with a total of 117–109?
### Context:
CREATE TABLE table_name_58 (set_1 VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT set_1 FROM table_name_58 WHERE total = "117–109" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 operates car 11?
### Context:
CREATE TABLE table_name_28 (team VARCHAR, car_no VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_28 WHERE car_no = "11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the time/retired of Darren Manning?
### Context:
CREATE TABLE table_name_7 (time_retired VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT time_retired FROM table_name_7 WHERE driver = "darren manning" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many points did car 20 score?
### Context:
CREATE TABLE table_name_65 (points VARCHAR, car_no VARCHAR) [/INST]
### Response:
SELECT points FROM table_name_65 WHERE car_no = "20" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 car number for Jeff Simmons on the Rahal Letterman team?
### Context:
CREATE TABLE table_name_46 (car_no VARCHAR, team VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT car_no FROM table_name_46 WHERE team = "rahal letterman" AND driver = "jeff simmons" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Name, when Length Meters is greater than 66.4, and when Km From Kingston is 138.8?
### Context:
CREATE TABLE table_name_54 (name VARCHAR, length_meters VARCHAR, km_from_kingston VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_54 WHERE length_meters > 66.4 AND km_from_kingston = 138.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 total number of Length Feet, when Parish is Clarendon, when Km From Kingston is 71.2, and when Length Meters is less than 21.3?
### Context:
CREATE TABLE table_name_97 (length_feet VARCHAR, length_meters VARCHAR, parish VARCHAR, km_from_kingston VARCHAR) [/INST]
### Response:
SELECT COUNT(length_feet) FROM table_name_97 WHERE parish = "clarendon" AND km_from_kingston = 71.2 AND length_meters < 21.3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest Km From Kingston, when Mi From Kingston is less than 108, and when Length Meters is 260.6?
### Context:
CREATE TABLE table_name_61 (km_from_kingston INTEGER, mi_from_kingston VARCHAR, length_meters VARCHAR) [/INST]
### Response:
SELECT MAX(km_from_kingston) FROM table_name_61 WHERE mi_from_kingston < 108 AND length_meters = 260.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 Lenth Feet, when Mi From Kingston is greater than 84.5, when Length Meters is greater than 55.5, and when Name is Unnamed?
### Context:
CREATE TABLE table_name_28 (length_feet VARCHAR, name VARCHAR, mi_from_kingston VARCHAR, length_meters VARCHAR) [/INST]
### Response:
SELECT length_feet FROM table_name_28 WHERE mi_from_kingston > 84.5 AND length_meters > 55.5 AND name = "unnamed" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Place has a Player of lee trevino?
### Context:
CREATE TABLE table_name_95 (place VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT place FROM table_name_95 WHERE player = "lee trevino" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name Country which has a Place of t7, and a Score of 73-69-73=215?
### Context:
CREATE TABLE table_name_5 (country VARCHAR, place VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_5 WHERE place = "t7" AND score = 73 - 69 - 73 = 215 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week held a tournament in Rome?
### Context:
CREATE TABLE table_name_49 (week VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT week FROM table_name_49 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:
What is the result of the fight when record is 12-2?
### Context:
CREATE TABLE table_name_79 (res VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT res FROM table_name_79 WHERE record = "12-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 rounds was the fight at UFC 34?
### Context:
CREATE TABLE table_name_7 (round INTEGER, event VARCHAR) [/INST]
### Response:
SELECT SUM(round) FROM table_name_7 WHERE event = "ufc 34" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 location of the fight against Zaza Tkeshelashvili?
### Context:
CREATE TABLE table_name_26 (location VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_26 WHERE opponent = "zaza tkeshelashvili" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 year when the title is baka to test to shōkanjū?
### Context:
CREATE TABLE table_name_89 (year INTEGER, title VARCHAR) [/INST]
### Response:
SELECT AVG(year) FROM table_name_89 WHERE title = "baka to test to shōkanjū" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 title when the imprint is dengeki bunko and the artist is kiyotaka haimura?
### Context:
CREATE TABLE table_name_96 (title VARCHAR, imprint VARCHAR, artist VARCHAR) [/INST]
### Response:
SELECT title FROM table_name_96 WHERE imprint = "dengeki bunko" AND artist = "kiyotaka haimura" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 imprint when the title is owari no chronicle (ahead series)?
### Context:
CREATE TABLE table_name_22 (imprint VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT imprint FROM table_name_22 WHERE title = "owari no chronicle (ahead series)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 earliest year when the author is reki kawahara?
### Context:
CREATE TABLE table_name_42 (year INTEGER, author VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_name_42 WHERE author = "reki kawahara" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 character when the artist is take and the year is before 2006?
### Context:
CREATE TABLE table_name_75 (character VARCHAR, artist VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT character FROM table_name_75 WHERE artist = "take" AND year < 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 language has 3 draws?
### Context:
CREATE TABLE table_name_15 (language VARCHAR, draw VARCHAR) [/INST]
### Response:
SELECT language FROM table_name_15 WHERE draw = 3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the away team score for the match at 6:00 PM and an away team of Hawthorn?
### Context:
CREATE TABLE table_name_56 (away_team VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT away_team AS score FROM table_name_56 WHERE time = "6:00 pm" AND away_team = "hawthorn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tenure of the Officer with a Date of death of 2001-08-31?
### Context:
CREATE TABLE table_name_16 (tenure VARCHAR, date_of_death VARCHAR) [/INST]
### Response:
SELECT tenure FROM table_name_16 WHERE date_of_death = "2001-08-31" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Detective Donald William Schneider's Cause of death?
### Context:
CREATE TABLE table_name_37 (cause_of_death VARCHAR, rank VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT cause_of_death FROM table_name_37 WHERE rank = "detective" AND name = "donald william schneider" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Gary David Saunders' Tenure?
### Context:
CREATE TABLE table_name_23 (tenure VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT tenure FROM table_name_23 WHERE name = "gary david saunders" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 gunfire victim Maria Cecilia Rosa with 6 years of Tenure Date of Death?
### Context:
CREATE TABLE table_name_47 (date_of_death VARCHAR, name VARCHAR, cause_of_death VARCHAR, tenure VARCHAR) [/INST]
### Response:
SELECT date_of_death FROM table_name_47 WHERE cause_of_death = "gunfire" AND tenure = "6 years" AND name = "maria cecilia rosa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Lijsttrekker, when Year is after 1990, and when Chair is "Ingrid Van Engelshoven"?
### Context:
CREATE TABLE table_name_51 (lijsttrekker VARCHAR, year VARCHAR, chair VARCHAR) [/INST]
### Response:
SELECT lijsttrekker FROM table_name_51 WHERE year > 1990 AND chair = "ingrid van engelshoven" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Fractievoorzitter, when Lijsttrekker is "No Elections", and when Year is after 2005?
### Context:
CREATE TABLE table_name_80 (fractievoorzitter VARCHAR, lijsttrekker VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT fractievoorzitter FROM table_name_80 WHERE lijsttrekker = "no elections" AND year > 2005 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Cabinet, when Year is after 1981, when Fractievoorzitter is "Hans Van Mierlo", and when Chair is "W.I.J.M. Vrijhoef"?
### Context:
CREATE TABLE table_name_42 (cabinet VARCHAR, chair VARCHAR, year VARCHAR, fractievoorzitter VARCHAR) [/INST]
### Response:
SELECT cabinet FROM table_name_42 WHERE year > 1981 AND fractievoorzitter = "hans van mierlo" AND chair = "w.i.j.m. vrijhoef" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Lijsttrekker, when Cabinet is "Hans Van Mierlo", and when Fractievoorzitter is "Thom De Graaf"?
### Context:
CREATE TABLE table_name_81 (lijsttrekker VARCHAR, cabinet VARCHAR, fractievoorzitter VARCHAR) [/INST]
### Response:
SELECT lijsttrekker FROM table_name_81 WHERE cabinet = "hans van mierlo" AND fractievoorzitter = "thom de graaf" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Cabinet, when Year is before 2001, when Lijsttrekker is "No Elections", when Fractievoorzitter is "Hans Van Mierlo", and when Chair is "S. Van Der Loo"?
### Context:
CREATE TABLE table_name_79 (cabinet VARCHAR, chair VARCHAR, fractievoorzitter VARCHAR, year VARCHAR, lijsttrekker VARCHAR) [/INST]
### Response:
SELECT cabinet FROM table_name_79 WHERE year < 2001 AND lijsttrekker = "no elections" AND fractievoorzitter = "hans van mierlo" AND chair = "s. van der loo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 territory has a channel of 144 and a broadcaster of Astro?
### Context:
CREATE TABLE table_name_23 (territory VARCHAR, channel VARCHAR, broadcaster VARCHAR) [/INST]
### Response:
SELECT territory FROM table_name_23 WHERE channel = 144 AND broadcaster = "astro" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tennis status for youngstown state?
### Context:
CREATE TABLE table_name_52 (tennis VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT tennis FROM table_name_52 WHERE school = "youngstown 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:
Which school has yes for soccer, tennis and indoor track.
### Context:
CREATE TABLE table_name_73 (school VARCHAR, indoor_track VARCHAR, soccer VARCHAR, tennis VARCHAR) [/INST]
### Response:
SELECT school FROM table_name_73 WHERE soccer = "yes" AND tennis = "yes" AND indoor_track = "yes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 basketball status for Valparaiso who has an indoor track status of yes?
### Context:
CREATE TABLE table_name_69 (bask VARCHAR, indoor_track VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT bask FROM table_name_69 WHERE indoor_track = "yes" AND school = "valparaiso" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 indoor track status for the school that has yes for tennis and no for golf?
### Context:
CREATE TABLE table_name_91 (indoor_track VARCHAR, tennis VARCHAR, golf VARCHAR) [/INST]
### Response:
SELECT indoor_track FROM table_name_91 WHERE tennis = "yes" AND golf = "no" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 th eswimming status for the school that has yes on indoor track, soccer and tennis?
### Context:
CREATE TABLE table_name_80 (swimming VARCHAR, tennis VARCHAR, indoor_track VARCHAR, soccer VARCHAR) [/INST]
### Response:
SELECT swimming FROM table_name_80 WHERE indoor_track = "yes" AND soccer = "yes" AND tennis = "yes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 status for tennis at cleveland state who has yes for swimming, golf and soccer?
### Context:
CREATE TABLE table_name_78 (tennis VARCHAR, school VARCHAR, swimming VARCHAR, golf VARCHAR, soccer VARCHAR) [/INST]
### Response:
SELECT tennis FROM table_name_78 WHERE golf = "yes" AND soccer = "yes" AND swimming = "yes" AND school = "cleveland 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 event did Soares fight against josh spearman?
### Context:
CREATE TABLE table_name_69 (event VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT event FROM table_name_69 WHERE opponent = "josh spearman" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fight won or loss by a decision?
### Context:
CREATE TABLE table_name_4 (round INTEGER, method VARCHAR) [/INST]
### Response:
SELECT MIN(round) FROM table_name_4 WHERE method = "decision" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fight that lasted 3 rounds and was won or loss by a decision?
### Context:
CREATE TABLE table_name_65 (location VARCHAR, round VARCHAR, method VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_65 WHERE round = 3 AND method = "decision" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 top 5 when the year is after 1995, team(s) is #15 billy ballew motorsports, and starts is more than 4?
### Context:
CREATE TABLE table_name_45 (top_5 INTEGER, starts VARCHAR, year VARCHAR, team_s_ VARCHAR) [/INST]
### Response:
SELECT MIN(top_5) FROM table_name_45 WHERE year > 1995 AND team_s_ = "#15 billy ballew motorsports" AND starts > 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the method in the fight against Chris Myers?
### Context:
CREATE TABLE table_name_15 (method VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT method FROM table_name_15 WHERE opponent = "chris myers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in TKO 20: Champion Vs Champion?
### Context:
CREATE TABLE table_name_27 (record VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_27 WHERE event = "tko 20: champion vs champion" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rounds in the fight in Quebec, Canada against David Loiseau?
### Context:
CREATE TABLE table_name_2 (round VARCHAR, location VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(round) FROM table_name_2 WHERE location = "quebec, canada" AND opponent = "david loiseau" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 event has a method of TKO (punches)?
### Context:
CREATE TABLE table_name_52 (event VARCHAR, method VARCHAR) [/INST]
### Response:
SELECT event FROM table_name_52 WHERE method = "tko (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:
Who is the opponent when the method is technical submission (guillotine choke)?
### Context:
CREATE TABLE table_name_22 (opponent VARCHAR, method VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_22 WHERE method = "technical submission (guillotine choke)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the school/club after round 12, and picked smaller than 342?
### Context:
CREATE TABLE table_name_95 (school_club_team VARCHAR, round VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_name_95 WHERE round > 12 AND pick < 342 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick for Florida State?
### Context:
CREATE TABLE table_name_70 (pick INTEGER, school_club_team VARCHAR) [/INST]
### Response:
SELECT AVG(pick) FROM table_name_70 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 total number for the pick of the player Wayne Fowler and a round after 7?
### Context:
CREATE TABLE table_name_91 (pick VARCHAR, player VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT COUNT(pick) FROM table_name_91 WHERE player = "wayne fowler" AND round > 7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which college had an overall smaller than 315 in round 17?
### Context:
CREATE TABLE table_name_41 (college VARCHAR, overall VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT college FROM table_name_41 WHERE overall < 315 AND round = 17 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.