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: Can you tell me the lowest Area km 2 that has the Population of 2,352? ### Context: CREATE TABLE table_name_16 (area_km_2 INTEGER, population VARCHAR) [/INST] ### Response: SELECT MIN(area_km_2) FROM table_name_16 WHERE population = 2 OFFSET 352 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 FCC info for the radio station in West Lafayette, Indiana? ### Context: CREATE TABLE table_name_35 (fcc_info VARCHAR, state VARCHAR, city_of_license VARCHAR) [/INST] ### Response: SELECT fcc_info FROM table_name_35 WHERE state = "indiana" AND city_of_license = "west lafayette" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 frequency of the radio station in Indiana that has a call sign of WGNR? ### Context: CREATE TABLE table_name_70 (frequency VARCHAR, state VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_70 WHERE state = "indiana" AND call_sign = "wgnr" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 frequency of the radio station with a call sign of WGNR-FM? ### Context: CREATE TABLE table_name_19 (frequency VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_19 WHERE call_sign = "wgnr-fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What state is the radio station in that has a frequency of 90.1 FM and a city license in New Castle? ### Context: CREATE TABLE table_name_71 (state VARCHAR, frequency VARCHAR, city_of_license VARCHAR) [/INST] ### Response: SELECT state FROM table_name_71 WHERE frequency = "90.1 fm" AND city_of_license = "new castle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What city is 103.3 FM licensed in? ### Context: CREATE TABLE table_name_61 (city_of_license VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT city_of_license FROM table_name_61 WHERE frequency = "103.3 fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 call sign for 90.9 FM which is in Florida? ### Context: CREATE TABLE table_name_87 (call_sign VARCHAR, state VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT call_sign FROM table_name_87 WHERE state = "florida" AND frequency = "90.9 fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the Call to Arms I event? ### Context: CREATE TABLE table_name_98 (res VARCHAR, event VARCHAR) [/INST] ### Response: SELECT res FROM table_name_98 WHERE event = "call to arms i" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Utah Jazz? ### Context: CREATE TABLE table_name_4 (record VARCHAR, team VARCHAR) [/INST] ### Response: SELECT record FROM table_name_4 WHERE team = "utah jazz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the method is tko (punches) and the time is 2:48? ### Context: CREATE TABLE table_name_65 (location VARCHAR, method VARCHAR, time VARCHAR) [/INST] ### Response: SELECT location FROM table_name_65 WHERE method = "tko (punches)" AND time = "2:48" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the record is 5-1-1? ### Context: CREATE TABLE table_name_90 (location VARCHAR, record VARCHAR) [/INST] ### Response: SELECT location FROM table_name_90 WHERE record = "5-1-1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total avg/g of McCrary, Greg? ### Context: CREATE TABLE table_name_40 (avg_g VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(avg_g) FROM table_name_40 WHERE name = "mccrary, greg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 effic with a 58.9 avg/g? ### Context: CREATE TABLE table_name_58 (effic INTEGER, avg_g VARCHAR) [/INST] ### Response: SELECT MIN(effic) FROM table_name_58 WHERE avg_g = 58.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 avg/g of Rhines, Chris, who has an effic greater than 73.95? ### Context: CREATE TABLE table_name_70 (avg_g VARCHAR, effic VARCHAR, name VARCHAR) [/INST] ### Response: SELECT avg_g FROM table_name_70 WHERE effic > 73.95 AND name = "rhines, chris" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a record of 5–2? ### Context: CREATE TABLE table_name_57 (week VARCHAR, record VARCHAR) [/INST] ### Response: SELECT week FROM table_name_57 WHERE record = "5–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: On what date was the result w 28–7? ### Context: CREATE TABLE table_name_85 (date VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date FROM table_name_85 WHERE result = "w 28–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: Who has a birth of 16 august 1401? ### Context: CREATE TABLE table_name_21 (name VARCHAR, birth VARCHAR) [/INST] ### Response: SELECT name FROM table_name_21 WHERE birth = "16 august 1401" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 death of the person with husband Charles, 1st dauphin? ### Context: CREATE TABLE table_name_1 (death VARCHAR, husband VARCHAR) [/INST] ### Response: SELECT death FROM table_name_1 WHERE husband = "charles, 1st dauphin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 death when the birth was 8 december 1542? ### Context: CREATE TABLE table_name_45 (death VARCHAR, birth VARCHAR) [/INST] ### Response: SELECT death FROM table_name_45 WHERE birth = "8 december 1542" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 became dauphine when birth is 1393? ### Context: CREATE TABLE table_name_72 (became_dauphine VARCHAR, birth VARCHAR) [/INST] ### Response: SELECT became_dauphine FROM table_name_72 WHERE birth = "1393" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 marriage when became dauphine is 31 august 1412? ### Context: CREATE TABLE table_name_79 (marriage VARCHAR, became_dauphine VARCHAR) [/INST] ### Response: SELECT marriage FROM table_name_79 WHERE became_dauphine = "31 august 1412" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 husband when ceased to be dauphine is 22 july 1461 became queen? ### Context: CREATE TABLE table_name_36 (husband VARCHAR, ceased_to_be_dauphine VARCHAR) [/INST] ### Response: SELECT husband FROM table_name_36 WHERE ceased_to_be_dauphine = "22 july 1461 became queen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the least money ($) when the country is united states and the player is kirk triplett? ### Context: CREATE TABLE table_name_45 (money___ INTEGER, country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT MIN(money___) AS $__ FROM table_name_45 WHERE country = "united states" AND player = "kirk triplett" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 money ($) when the score is 71-74-69-72=286? ### Context: CREATE TABLE table_name_21 (money___ INTEGER, score VARCHAR) [/INST] ### Response: SELECT MAX(money___) AS $__ FROM table_name_21 WHERE score = 71 - 74 - 69 - 72 = 286 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Money ($) when the Place is t6, and Player is chris dimarco? ### Context: CREATE TABLE table_name_40 (money___$__ VARCHAR, place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT money___$__ FROM table_name_40 WHERE place = "t6" AND player = "chris dimarco" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year was Jamboree made? ### Context: CREATE TABLE table_name_26 (year VARCHAR, movie_title VARCHAR) [/INST] ### Response: SELECT year FROM table_name_26 WHERE movie_title = "jamboree" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What movie was made in 1957? ### Context: CREATE TABLE table_name_75 (movie_title VARCHAR, year VARCHAR) [/INST] ### Response: SELECT movie_title FROM table_name_75 WHERE year = 1957 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year was Sam Kazman a producer? ### Context: CREATE TABLE table_name_35 (year VARCHAR, producer VARCHAR) [/INST] ### Response: SELECT year FROM table_name_35 WHERE producer = "sam kazman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who were the producers in 1961? ### Context: CREATE TABLE table_name_60 (producer VARCHAR, year VARCHAR) [/INST] ### Response: SELECT producer FROM table_name_60 WHERE year = 1961 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What were the roles in 1961? ### Context: CREATE TABLE table_name_70 (role VARCHAR, year VARCHAR) [/INST] ### Response: SELECT role FROM table_name_70 WHERE year = 1961 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the date during week 13? ### Context: CREATE TABLE table_name_70 (date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_name_70 WHERE week = 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 game when on november 27? ### Context: CREATE TABLE table_name_26 (game INTEGER, november VARCHAR) [/INST] ### Response: SELECT SUM(game) FROM table_name_26 WHERE november = 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: who is the opponent on november 24? ### Context: CREATE TABLE table_name_68 (opponent VARCHAR, november VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_68 WHERE november = 24 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opposing team had an Against score less than 42 and a Tour Match status in Rugby Park, Gisborne? ### Context: CREATE TABLE table_name_48 (opposing_team VARCHAR, venue VARCHAR, against VARCHAR, status VARCHAR) [/INST] ### Response: SELECT opposing_team FROM table_name_48 WHERE against < 42 AND status = "tour match" AND venue = "rugby park, gisborne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date was the opposing team Poverty Bay? ### Context: CREATE TABLE table_name_94 (date VARCHAR, opposing_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_94 WHERE opposing_team = "poverty bay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue had an against score smaller than 18 when the opposing team was North Auckland? ### Context: CREATE TABLE table_name_84 (venue VARCHAR, against VARCHAR, opposing_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_84 WHERE against < 18 AND opposing_team = "north auckland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score when the time was 14:00? ### Context: CREATE TABLE table_name_86 (score VARCHAR, time VARCHAR) [/INST] ### Response: SELECT score FROM table_name_86 WHERE time = "14:00" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 High Assists, when High Points is "Kobe Bryant (27)", and when High Rebounds is "Pau Gasol (11)"? ### Context: CREATE TABLE table_name_13 (high_assists VARCHAR, high_points VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_13 WHERE high_points = "kobe bryant (27)" AND high_rebounds = "pau gasol (11)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the record for the St. Louis team? ### Context: CREATE TABLE table_name_58 (record VARCHAR, team VARCHAR) [/INST] ### Response: SELECT record FROM table_name_58 WHERE team = "st. louis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What shows for 2002 when the 1991 is w? ### Context: CREATE TABLE table_name_46 (Id VARCHAR) [/INST] ### Response: SELECT 2002 FROM table_name_46 WHERE 1991 = "w" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What shows for 1995 when 1996 shows grand slams? ### Context: CREATE TABLE table_name_74 (Id VARCHAR) [/INST] ### Response: SELECT 1995 FROM table_name_74 WHERE 1996 = "grand slams" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What shows for 202 when the 1994 is A, the 1989 is NME, and the 199 is 2R? ### Context: CREATE TABLE table_name_3 (Id VARCHAR) [/INST] ### Response: SELECT 2002 FROM table_name_3 WHERE 1994 = "a" AND 1989 = "nme" AND 1999 = "2r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What shows for 1992 when 1988 is A, at the Australian Open? ### Context: CREATE TABLE table_name_43 (tournament VARCHAR) [/INST] ### Response: SELECT 1992 FROM table_name_43 WHERE 1988 = "a" AND tournament = "australian open" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What shows for 1992 when 2001 is 1r, 1994 is 1r, and the 2002 is qf? ### Context: CREATE TABLE table_name_3 (Id VARCHAR) [/INST] ### Response: SELECT 1992 FROM table_name_3 WHERE 2001 = "1r" AND 1994 = "1r" AND 2002 = "qf" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What shows for 1988 when 1994 shows 10–6? ### Context: CREATE TABLE table_name_32 (Id VARCHAR) [/INST] ### Response: SELECT 1988 FROM table_name_32 WHERE 1994 = "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 result is found for the round that has f? ### Context: CREATE TABLE table_name_37 (result VARCHAR, round VARCHAR) [/INST] ### Response: SELECT result FROM table_name_37 WHERE round = "f" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of resolution for the fight against dale hartt? ### Context: CREATE TABLE table_name_83 (method VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT method FROM table_name_83 WHERE opponent = "dale hartt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 phase is for the Matchday 4 Round? ### Context: CREATE TABLE table_name_72 (phase VARCHAR, round VARCHAR) [/INST] ### Response: SELECT phase FROM table_name_72 WHERE round = "matchday 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 mountain range when the state is colorado, rank is higher than 90 and mountain peak is whetstone mountain? ### Context: CREATE TABLE table_name_28 (mountain_range VARCHAR, mountain_peak VARCHAR, state VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT mountain_range FROM table_name_28 WHERE state = "colorado" AND rank > 90 AND mountain_peak = "whetstone mountain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mountain peak when the location is 37.5775°n 105.4856°w? ### Context: CREATE TABLE table_name_73 (mountain_peak VARCHAR, location VARCHAR) [/INST] ### Response: SELECT mountain_peak FROM table_name_73 WHERE location = "37.5775°n 105.4856°w" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mountain range when the mountain peak is mauna kea? ### Context: CREATE TABLE table_name_50 (mountain_range VARCHAR, mountain_peak VARCHAR) [/INST] ### Response: SELECT mountain_range FROM table_name_50 WHERE mountain_peak = "mauna kea" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the rank when the state is colorado and the location is 37.7859°n 107.7039°w? ### Context: CREATE TABLE table_name_21 (rank INTEGER, state VARCHAR, location VARCHAR) [/INST] ### Response: SELECT SUM(rank) FROM table_name_21 WHERE state = "colorado" AND location = "37.7859°n 107.7039°w" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 people in attendance when the time is 3:00? ### Context: CREATE TABLE table_name_82 (attendance VARCHAR, time VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_82 WHERE time = "3:00" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score at Tiger Stadium on October 12? ### Context: CREATE TABLE table_name_14 (score VARCHAR, location VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_14 WHERE location = "tiger stadium" AND date = "october 12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of people in attendance at Oakland-Alameda County Coliseum, and game is 2? ### Context: CREATE TABLE table_name_83 (attendance INTEGER, location VARCHAR, game VARCHAR) [/INST] ### Response: SELECT SUM(attendance) FROM table_name_83 WHERE location = "oakland-alameda county coliseum" AND game = 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who had the most assists in the game against Atlanta? ### Context: CREATE TABLE table_name_13 (high_assists VARCHAR, team VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_13 WHERE team = "atlanta" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 played with a lost bigger than 10? ### Context: CREATE TABLE table_name_85 (played INTEGER, lost INTEGER) [/INST] ### Response: SELECT MIN(played) FROM table_name_85 WHERE lost > 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 team with a goals conceded smaller than 25, and a place smaller than 3? ### Context: CREATE TABLE table_name_81 (team VARCHAR, goals_conceded VARCHAR, place VARCHAR) [/INST] ### Response: SELECT team FROM table_name_81 WHERE goals_conceded < 25 AND place < 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 sum of draw with a lost smaller than 6, and a place of 5, and a goals scored less than 29? ### Context: CREATE TABLE table_name_90 (draw INTEGER, goals_scored VARCHAR, lost VARCHAR, place VARCHAR) [/INST] ### Response: SELECT SUM(draw) FROM table_name_90 WHERE lost < 6 AND place = 5 AND goals_scored < 29 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a place with points smaller than 12? ### Context: CREATE TABLE table_name_70 (place VARCHAR, points INTEGER) [/INST] ### Response: SELECT COUNT(place) FROM table_name_70 WHERE points < 12 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Place, when Country is "United States", and when Player is "Lee Trevino"? ### Context: CREATE TABLE table_name_41 (place VARCHAR, country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_41 WHERE country = "united states" AND 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: What is the total number of Score, when Country is "United States", and when Player is "Lee Trevino"? ### Context: CREATE TABLE table_name_75 (score VARCHAR, country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(score) FROM table_name_75 WHERE country = "united states" AND 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: What is To Par, when Place is "T9", and when Player is "Lee Trevino"? ### Context: CREATE TABLE table_name_23 (to_par VARCHAR, place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_23 WHERE place = "t9" AND 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: What is the Country, when Place is T6, and when Player is "Raymond Floyd"? ### Context: CREATE TABLE table_name_3 (country VARCHAR, place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_3 WHERE place = "t6" AND player = "raymond floyd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What were the years for Seasons in CSL when they played in the Guiyang Olympic Sports Center and had Top Division Titles (Overall) of 0? ### Context: CREATE TABLE table_name_15 (seasons_in_csl VARCHAR, top_division_titles__overall_ VARCHAR, home_stadium VARCHAR) [/INST] ### Response: SELECT seasons_in_csl FROM table_name_15 WHERE top_division_titles__overall_ = 0 AND home_stadium = "guiyang olympic sports center" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 To Par, when Place is "T5", and when Country is "United States"? ### Context: CREATE TABLE table_name_18 (to_par VARCHAR, place VARCHAR, country VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_18 WHERE place = "t5" AND country = "united states" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Country is "United States", and when To Par is "+4"? ### Context: CREATE TABLE table_name_56 (score VARCHAR, country VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT score FROM table_name_56 WHERE country = "united states" AND to_par = "+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 Player, when Score is "66-74-76=216"? ### Context: CREATE TABLE table_name_48 (player VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_48 WHERE score = 66 - 74 - 76 = 216 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Country, when Place is "T9", and when Player is "Michael Campbell"? ### Context: CREATE TABLE table_name_1 (country VARCHAR, place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_1 WHERE place = "t9" AND player = "michael campbell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Player, when Country is "England", and when Place is "T7"? ### Context: CREATE TABLE table_name_50 (player VARCHAR, country VARCHAR, place VARCHAR) [/INST] ### Response: SELECT player FROM table_name_50 WHERE country = "england" AND place = "t7" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Player, when Place is "1"? ### Context: CREATE TABLE table_name_70 (player VARCHAR, place VARCHAR) [/INST] ### Response: SELECT player FROM table_name_70 WHERE place = "1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total of Mark O'meara? ### Context: CREATE TABLE table_name_88 (total INTEGER, player VARCHAR) [/INST] ### Response: SELECT MIN(total) FROM table_name_88 WHERE player = "mark o'meara" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for Bernhard Langer? ### Context: CREATE TABLE table_name_83 (total VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_name_83 WHERE player = "bernhard langer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has +2 to par? ### Context: CREATE TABLE table_name_45 (player VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT player FROM table_name_45 WHERE to_par = "+2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which country has a finish of t22? ### Context: CREATE TABLE table_name_87 (country VARCHAR, finish VARCHAR) [/INST] ### Response: SELECT country FROM table_name_87 WHERE finish = "t22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a total of more than 290 and +4 to par. ### Context: CREATE TABLE table_name_29 (player VARCHAR, total VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT player FROM table_name_29 WHERE total > 290 AND to_par = "+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 number of gold medals when the number of bronze medals is 8? ### Context: CREATE TABLE table_name_88 (gold VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT gold FROM table_name_88 WHERE bronze = "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 rank is the nation that has a bronze of source: Maltese Olympic Committee? ### Context: CREATE TABLE table_name_29 (rank VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_29 WHERE bronze = "source: maltese olympic committee" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What rank is the nation with 2 silver medals? ### Context: CREATE TABLE table_name_44 (rank VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_44 WHERE silver = "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 total medal count for the nation that has 5 gold? ### Context: CREATE TABLE table_name_91 (total VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT total FROM table_name_91 WHERE gold = "5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many bronze medals does the nation ranked number 1 have? ### Context: CREATE TABLE table_name_80 (bronze VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT bronze FROM table_name_80 WHERE rank = "1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What nation has 28 bronze medals? ### Context: CREATE TABLE table_name_63 (nation VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_63 WHERE bronze = "28" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 To Par, when Score is "72-67-71-72=282"? ### Context: CREATE TABLE table_name_40 (to_par INTEGER, score VARCHAR) [/INST] ### Response: SELECT AVG(to_par) FROM table_name_40 WHERE score = 72 - 67 - 71 - 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 highest To Par, when Place is "1"? ### Context: CREATE TABLE table_name_22 (to_par INTEGER, place VARCHAR) [/INST] ### Response: SELECT MAX(to_par) FROM table_name_22 WHERE place = "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's the nationality of Montreal Impact with Justin Mapp Category:articles with hcards as the player? ### Context: CREATE TABLE table_name_14 (nationality VARCHAR, team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_14 WHERE team = "montreal impact" AND player = "justin mapp 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: After 2009, who was the player that has a nationality of Canada? ### Context: CREATE TABLE table_name_23 (player VARCHAR, nationality VARCHAR, year VARCHAR) [/INST] ### Response: SELECT player FROM table_name_23 WHERE nationality = "canada" AND year > 2009 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: After 2009, what's the nationality of a player named Dwayne de Rosario Category:articles with hcards? ### Context: CREATE TABLE table_name_78 (nationality VARCHAR, year VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_78 WHERE year > 2009 AND player = "dwayne de rosario 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's the position when the player was Justin Mapp Category:articles with hcards with a United States nationality? ### Context: CREATE TABLE table_name_36 (position VARCHAR, nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_36 WHERE nationality = "united states" AND player = "justin mapp 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 the result of round R3? ### Context: CREATE TABLE table_name_34 (result VARCHAR, round VARCHAR) [/INST] ### Response: SELECT result FROM table_name_34 WHERE round = "r3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue was round F? ### Context: CREATE TABLE table_name_72 (venue VARCHAR, round VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_72 WHERE round = "f" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many top 10s belong to the team with a start of 7 and an average finish less than 16.7? ### Context: CREATE TABLE table_name_69 (top_10 VARCHAR, starts VARCHAR, avg_finish VARCHAR) [/INST] ### Response: SELECT COUNT(top_10) FROM table_name_69 WHERE starts = 7 AND avg_finish < 16.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 Competition has an Event of 50km, a Year earlier than 2010 and a Position of 3rd? ### Context: CREATE TABLE table_name_46 (competition VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_46 WHERE event = "50km" AND year < 2010 AND position = "3rd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Position for the European U23 Championships? ### Context: CREATE TABLE table_name_74 (position VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT position FROM table_name_74 WHERE competition = "european u23 championships" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 5th Position in the European Championships Competition? ### Context: CREATE TABLE table_name_49 (event VARCHAR, competition VARCHAR, position VARCHAR) [/INST] ### Response: SELECT event FROM table_name_49 WHERE competition = "european championships" AND position = "5th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Position is listed against a Venue of Debrecen, Hungary ### Context: CREATE TABLE table_name_64 (position VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT position FROM table_name_64 WHERE venue = "debrecen, hungary" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 blocks are there when the rebounds are fewer than 5.2? ### Context: CREATE TABLE table_name_19 (blocks VARCHAR, rebounds INTEGER) [/INST] ### Response: SELECT COUNT(blocks) FROM table_name_19 WHERE rebounds < 5.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 maximum rebounds when there are 0.9 steals and fewer than 1.4 turnovers? ### Context: CREATE TABLE table_name_69 (rebounds INTEGER, steals VARCHAR, turnovers VARCHAR) [/INST] ### Response: SELECT MAX(rebounds) FROM table_name_69 WHERE steals = 0.9 AND turnovers < 1.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 team was the opponent in a week earlier than 17 on June 17, 2006? ### Context: CREATE TABLE table_name_91 (opponent VARCHAR, week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_91 WHERE week < 17 AND date = "june 17, 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 result for the game on May 27, 2006? ### Context: CREATE TABLE table_name_19 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_19 WHERE date = "may 27, 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 Game site week 1? ### Context: CREATE TABLE table_name_20 (game_site VARCHAR, week VARCHAR) [/INST] ### Response: SELECT game_site FROM table_name_20 WHERE week = 1 </s>