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 was the Play-by-play when the color commentator was Eric Wynalda, earlier than 2005? ### Context: CREATE TABLE table_name_11 (play_by_play VARCHAR, color_commentator_s_ VARCHAR, year VARCHAR) [/INST] ### Response: SELECT play_by_play FROM table_name_11 WHERE color_commentator_s_ = "eric wynalda" 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 the name of the pregame host when the Play-by-play was by JP Dellacamera, earlier than 2009, and Color commentator(s) was Ty Keough? ### Context: CREATE TABLE table_name_67 (pregame_host VARCHAR, color_commentator_s_ VARCHAR, play_by_play VARCHAR, year VARCHAR) [/INST] ### Response: SELECT pregame_host FROM table_name_67 WHERE play_by_play = "jp dellacamera" AND year < 2009 AND color_commentator_s_ = "ty keough" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score 3–0, and set 1 was 25–22? ### Context: CREATE TABLE table_name_88 (date VARCHAR, score VARCHAR, set_1 VARCHAR) [/INST] ### Response: SELECT date FROM table_name_88 WHERE score = "3–0" AND set_1 = "25–22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date was the total 56–75? ### Context: CREATE TABLE table_name_31 (date VARCHAR, total VARCHAR) [/INST] ### Response: SELECT date FROM table_name_31 WHERE total = "56–75" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Set 1 when Set 3 was 25–15? ### Context: CREATE TABLE table_name_34 (set_1 VARCHAR, set_3 VARCHAR) [/INST] ### Response: SELECT set_1 FROM table_name_34 WHERE set_3 = "25–15" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date was the total 75–45? ### Context: CREATE TABLE table_name_42 (date VARCHAR, total VARCHAR) [/INST] ### Response: SELECT date FROM table_name_42 WHERE total = "75–45" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of the dates in december that were against the atlanta flames before game 40? ### Context: CREATE TABLE table_name_88 (december INTEGER, opponent VARCHAR, game VARCHAR) [/INST] ### Response: SELECT SUM(december) FROM table_name_88 WHERE opponent = "atlanta flames" AND game < 40 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score of the game against montreal canadiens after game 26? ### Context: CREATE TABLE table_name_59 (score VARCHAR, game VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT score FROM table_name_59 WHERE game > 26 AND opponent = "montreal canadiens" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what Round was Grant Long Drafted? ### Context: CREATE TABLE table_name_6 (round INTEGER, player VARCHAR) [/INST] ### Response: SELECT MIN(round) FROM table_name_6 WHERE player = "grant long" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Player from Memphis? ### Context: CREATE TABLE table_name_70 (player VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_70 WHERE school_club_team = "memphis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Player was picked after Round 2 with a Pick number larger than 33? ### Context: CREATE TABLE table_name_58 (player VARCHAR, pick VARCHAR, round VARCHAR) [/INST] ### Response: SELECT player FROM table_name_58 WHERE pick > 33 AND round > 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: In what Round was the Memphis Player drafted? ### Context: CREATE TABLE table_name_75 (round INTEGER, school_club_team VARCHAR) [/INST] ### Response: SELECT AVG(round) FROM table_name_75 WHERE school_club_team = "memphis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which School/Club Team holds the 2006-2009 Years of Grizzlies ? ### Context: CREATE TABLE table_name_22 (school_club_team VARCHAR, years_for_grizzlies VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_22 WHERE years_for_grizzlies = "2006-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: Who was the Player in the 1998-2000 Year of Grizzlies? ### Context: CREATE TABLE table_name_14 (player VARCHAR, years_for_grizzlies VARCHAR) [/INST] ### Response: SELECT player FROM table_name_14 WHERE years_for_grizzlies = "1998-2000" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Nationality of the 1998-2000 Years for Grizzlies? ### Context: CREATE TABLE table_name_54 (nationality VARCHAR, years_for_grizzlies VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_54 WHERE years_for_grizzlies = "1998-2000" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1999-2002 Years for Grizzlies small forward Player who was from the United States? ### Context: CREATE TABLE table_name_71 (player VARCHAR, years_for_grizzlies VARCHAR, nationality VARCHAR, position VARCHAR) [/INST] ### Response: SELECT player FROM table_name_71 WHERE nationality = "united states" AND position = "small forward" AND years_for_grizzlies = "1999-2002" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the shooting guard? ### Context: CREATE TABLE table_name_69 (player VARCHAR, position VARCHAR) [/INST] ### Response: SELECT player FROM table_name_69 WHERE position = "shooting guard" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 and attendance of game 44? ### Context: CREATE TABLE table_name_65 (location_attendance VARCHAR, game VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_name_65 WHERE game = 44 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of game 42, which had a clemmensen decision? ### Context: CREATE TABLE table_name_76 (record VARCHAR, decision VARCHAR, game VARCHAR) [/INST] ### Response: SELECT record FROM table_name_76 WHERE decision = "clemmensen" AND game = 42 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What country parred E and scored 71-73-70-74=288? ### Context: CREATE TABLE table_name_19 (country VARCHAR, to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_19 WHERE to_par = "e" AND score = 71 - 73 - 70 - 74 = 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: How much money was scored for 73-71-70-73=287? ### Context: CREATE TABLE table_name_13 (money___$__ VARCHAR, score VARCHAR) [/INST] ### Response: SELECT money___$__ FROM table_name_13 WHERE score = 73 - 71 - 70 - 73 = 287 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What country has to par E with Mark O'Meara? ### Context: CREATE TABLE table_name_44 (country VARCHAR, to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_44 WHERE to_par = "e" AND 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 country placed t6 with player Vijay Singh? ### Context: CREATE TABLE table_name_91 (country VARCHAR, place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_91 WHERE place = "t6" AND player = "vijay singh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 money did David Toms get? ### Context: CREATE TABLE table_name_16 (money___$__ VARCHAR, player VARCHAR) [/INST] ### Response: SELECT money___$__ FROM table_name_16 WHERE player = "david toms" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the playoffs Game number on April 26? ### Context: CREATE TABLE table_name_94 (game VARCHAR, date VARCHAR) [/INST] ### Response: SELECT game FROM table_name_94 WHERE date = "april 26" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Score of Game 4? ### Context: CREATE TABLE table_name_98 (score VARCHAR, game VARCHAR) [/INST] ### Response: SELECT score FROM table_name_98 WHERE game = "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 playoff Game on April 30? ### Context: CREATE TABLE table_name_59 (game VARCHAR, date VARCHAR) [/INST] ### Response: SELECT game FROM table_name_59 WHERE date = "april 30" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Date of the game with a Score of L 115–118 (OT)? ### Context: CREATE TABLE table_name_75 (date VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_75 WHERE score = "l 115–118 (ot)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result when there were 27,321 in attendance? ### Context: CREATE TABLE table_name_20 (result VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result FROM table_name_20 WHERE attendance = "27,321" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in attendance at Dowdy-Ficklen stadium • Greenville, NC, and the opponent was Ohio? ### Context: CREATE TABLE table_name_63 (attendance VARCHAR, site VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_63 WHERE site = "dowdy-ficklen stadium • greenville, nc" AND opponent = "ohio" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game at Dowdy-Ficklen stadium • Greenville, NC, with 27,321 in attendance? ### Context: CREATE TABLE table_name_96 (date VARCHAR, site VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT date FROM table_name_96 WHERE site = "dowdy-ficklen stadium • greenville, nc" AND attendance = "27,321" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when there were 27,321 in attendance? ### Context: CREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_86 WHERE attendance = "27,321" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game at Williams-Brice stadium • Columbia, SC? ### Context: CREATE TABLE table_name_75 (date VARCHAR, site VARCHAR) [/INST] ### Response: SELECT date FROM table_name_75 WHERE site = "williams-brice stadium • columbia, sc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Margin of victory that has the Winning score of 67-69-67-69=272? ### Context: CREATE TABLE table_name_20 (margin_of_victory VARCHAR, winning_score VARCHAR) [/INST] ### Response: SELECT margin_of_victory FROM table_name_20 WHERE winning_score = 67 - 69 - 67 - 69 = 272 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 DATE FOR CBS LABEL, IN AUSTRALIA, AND SBP 241031 FOR CATALOG? ### Context: CREATE TABLE table_name_80 (date INTEGER, catalog VARCHAR, label VARCHAR, region VARCHAR) [/INST] ### Response: SELECT AVG(date) FROM table_name_80 WHERE label = "cbs" AND region = "australia" AND catalog = "sbp 241031" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHAT DATE HAS A CATALOG OF 486553.4? ### Context: CREATE TABLE table_name_70 (date INTEGER, catalog VARCHAR) [/INST] ### Response: SELECT MAX(date) FROM table_name_70 WHERE catalog = "486553.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 LOWEST DATE FOR KOREA, IN CD FORMAT? ### Context: CREATE TABLE table_name_23 (date INTEGER, region VARCHAR, format VARCHAR) [/INST] ### Response: SELECT MIN(date) FROM table_name_23 WHERE region = "korea" AND format = "cd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2008, when 2006 is "1R"? ### Context: CREATE TABLE table_name_70 (Id VARCHAR) [/INST] ### Response: SELECT 2008 FROM table_name_70 WHERE 2006 = "1r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tournament, when 2006 is "A", and when 2009 is "A"? ### Context: CREATE TABLE table_name_93 (tournament VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_93 WHERE 2006 = "a" AND 2009 = "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 is 2005, when 2006 is "1R"? ### Context: CREATE TABLE table_name_73 (Id VARCHAR) [/INST] ### Response: SELECT 2005 FROM table_name_73 WHERE 2006 = "1r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2011, when 2008 is "2R"? ### Context: CREATE TABLE table_name_40 (Id VARCHAR) [/INST] ### Response: SELECT 2011 FROM table_name_40 WHERE 2008 = "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 is 2004, when 2005 is "2R", and when 2006 is "1R" ### Context: CREATE TABLE table_name_74 (Id VARCHAR) [/INST] ### Response: SELECT 2004 FROM table_name_74 WHERE 2005 = "2r" AND 2006 = "1r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2004, when 2009 is "A"? ### Context: CREATE TABLE table_name_28 (Id VARCHAR) [/INST] ### Response: SELECT 2004 FROM table_name_28 WHERE 2009 = "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 was the name of the opponent when the method was ko (slam), and record was 13–1? ### Context: CREATE TABLE table_name_21 (opponent VARCHAR, method VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_21 WHERE method = "ko (slam)" AND record = "13–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 highest pick of scott turner, who has a round greater than 2? ### Context: CREATE TABLE table_name_37 (pick INTEGER, round VARCHAR, name VARCHAR) [/INST] ### Response: SELECT MAX(pick) FROM table_name_37 WHERE round > 2 AND name = "scott turner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the ot position player with a round greater than 4? ### Context: CREATE TABLE table_name_69 (name VARCHAR, round VARCHAR, position VARCHAR) [/INST] ### Response: SELECT name FROM table_name_69 WHERE round > 4 AND position = "ot" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of the pick of darryl pounds, who has an overall greater than 68? ### Context: CREATE TABLE table_name_94 (pick INTEGER, name VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT SUM(pick) FROM table_name_94 WHERE name = "darryl pounds" AND overall > 68 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of rounds of the player from lehigh college with an overall less than 152? ### Context: CREATE TABLE table_name_39 (round VARCHAR, college VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_39 WHERE college = "lehigh" AND overall < 152 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round of pick 3? ### Context: CREATE TABLE table_name_42 (round INTEGER, pick VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_name_42 WHERE pick = 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 total overall number of the ot position player with a pick greater than 5? ### Context: CREATE TABLE table_name_59 (overall VARCHAR, position VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT COUNT(overall) FROM table_name_59 WHERE position = "ot" AND pick > 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What rank does the Singapore Cup of 0 (1) have? ### Context: CREATE TABLE table_name_87 (rank INTEGER, singapore_cup VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_87 WHERE singapore_cup = "0 (1)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Singapore League Cup does Masahiro Fukasawa have? ### Context: CREATE TABLE table_name_99 (singapore_league_cup VARCHAR, name VARCHAR) [/INST] ### Response: SELECT singapore_league_cup FROM table_name_99 WHERE name = "masahiro fukasawa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Norikazu Murakami's total? ### Context: CREATE TABLE table_name_41 (total VARCHAR, name VARCHAR) [/INST] ### Response: SELECT total FROM table_name_41 WHERE name = "norikazu murakami" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the total that has 3 (20)? ### Context: CREATE TABLE table_name_11 (rank VARCHAR, total VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_11 WHERE total = "3 (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: Which AFC cup does Masahiro Fukasawa have? ### Context: CREATE TABLE table_name_17 (afc_cup VARCHAR, name VARCHAR) [/INST] ### Response: SELECT afc_cup FROM table_name_17 WHERE name = "masahiro fukasawa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 AFC cup does Kenji Arai have? ### Context: CREATE TABLE table_name_43 (afc_cup VARCHAR, name VARCHAR) [/INST] ### Response: SELECT afc_cup FROM table_name_43 WHERE name = "kenji arai" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the game where Joe Johnson (31) was the high points scorer, what was the final score? ### Context: CREATE TABLE table_name_79 (score VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT score FROM table_name_79 WHERE high_points = "joe johnson (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 the lowest to par of the player with a t3 place and less than $1,500? ### Context: CREATE TABLE table_name_28 (to_par INTEGER, place VARCHAR, money___$__ VARCHAR) [/INST] ### Response: SELECT MIN(to_par) FROM table_name_28 WHERE place = "t3" AND money___$__ < 1 OFFSET 500 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player from the United States with a t6 place and a 71-70-76-72=289 score? ### Context: CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_67 WHERE country = "united states" AND place = "t6" AND score = 71 - 70 - 76 - 72 = 289 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total money does player tommy bolt, who has a to par of 9, have? ### Context: CREATE TABLE table_name_76 (money___ VARCHAR, to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(money___) AS $__ FROM table_name_76 WHERE to_par = 9 AND player = "tommy bolt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 amount of money a player from South Africa with a to par less than 8 has? ### Context: CREATE TABLE table_name_13 (money___ INTEGER, country VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT MIN(money___) AS $__ FROM table_name_13 WHERE country = "south africa" AND to_par < 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 was the venue that had a friendly match competition? ### Context: CREATE TABLE table_name_49 (venue VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_49 WHERE competition = "friendly match" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: With a year larger than 1905, and a location of philadelphia, pennsylvania with a to par [a] of n/a and a country of scotland what is the course? ### Context: CREATE TABLE table_name_1 (course VARCHAR, location VARCHAR, year VARCHAR, country VARCHAR, to_par_ VARCHAR, a_ VARCHAR) [/INST] ### Response: SELECT course FROM table_name_1 WHERE to_par_[a_] = "n/a" AND country = "scotland" AND year > 1905 AND location = "philadelphia, pennsylvania" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score for a location of san francisco, california, and a year after 1987, and a to pa [a] of +1? ### Context: CREATE TABLE table_name_68 (total_score VARCHAR, location VARCHAR, year VARCHAR, to_par_ VARCHAR, a_ VARCHAR) [/INST] ### Response: SELECT total_score FROM table_name_68 WHERE location = "san francisco, california" AND year > 1987 AND to_par_[a_] = "+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 for the year with a location of newport, rhode island? ### Context: CREATE TABLE table_name_57 (year INTEGER, location VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_57 WHERE location = "newport, rhode island" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 with a course of merion golf club, and a to par [1] of e? ### Context: CREATE TABLE table_name_27 (country VARCHAR, course VARCHAR, to_par_ VARCHAR, a_ VARCHAR) [/INST] ### Response: SELECT country FROM table_name_27 WHERE course = "merion golf club" AND to_par_[a_] = "e" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score for the year 2012? ### Context: CREATE TABLE table_name_14 (total_score VARCHAR, year VARCHAR) [/INST] ### Response: SELECT total_score FROM table_name_14 WHERE year = 2012 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 evening gown score for the contestant from Mississippi? ### Context: CREATE TABLE table_name_4 (evening_gown VARCHAR, state VARCHAR) [/INST] ### Response: SELECT evening_gown FROM table_name_4 WHERE state = "mississippi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 type for rank 2? ### Context: CREATE TABLE table_name_26 (type VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT type FROM table_name_26 WHERE rank = 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of number of bearers in 2009 for a rank above 1, a type of patronymic, an etymology meaning son of Christian, and the number of bearers in 1971 greater than 45.984? ### Context: CREATE TABLE table_name_3 (number_of_bearers_2009 INTEGER, number_of_bearers_1971 VARCHAR, etymology VARCHAR, rank VARCHAR, type VARCHAR) [/INST] ### Response: SELECT SUM(number_of_bearers_2009) FROM table_name_3 WHERE rank > 1 AND type = "patronymic" AND etymology = "son of christian" AND number_of_bearers_1971 > 45.984 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Ryan Hunter-Reay of the Herdez Competition's Qual 2 time? ### Context: CREATE TABLE table_name_80 (qual_2 VARCHAR, team VARCHAR, name VARCHAR) [/INST] ### Response: SELECT qual_2 FROM table_name_80 WHERE team = "herdez competition" AND name = "ryan hunter-reay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Justin Wilson's Team? ### Context: CREATE TABLE table_name_13 (team VARCHAR, name VARCHAR) [/INST] ### Response: SELECT team FROM table_name_13 WHERE name = "justin wilson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Best of the racer with a Qual 2 of 1:00.588? ### Context: CREATE TABLE table_name_31 (best VARCHAR, qual_2 VARCHAR) [/INST] ### Response: SELECT best FROM table_name_31 WHERE qual_2 = "1:00.588" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the lowest area with a population of 7,616? ### Context: CREATE TABLE table_name_55 (area__km²_ INTEGER, population__2010_ VARCHAR) [/INST] ### Response: SELECT MIN(area__km²_) FROM table_name_55 WHERE population__2010_ = 7 OFFSET 616 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in Tongyong is Hanyu Sanmin? ### Context: CREATE TABLE table_name_36 (tongyong VARCHAR, hanyu VARCHAR) [/INST] ### Response: SELECT tongyong FROM table_name_36 WHERE hanyu = "sanmin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Hanya has an area of 19.3888? ### Context: CREATE TABLE table_name_59 (hanyu VARCHAR, area__km²_ VARCHAR) [/INST] ### Response: SELECT hanyu FROM table_name_59 WHERE area__km²_ = 19.3888 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Nationality, when Round is less than 2, and when Pick is "24"? ### Context: CREATE TABLE table_name_17 (nationality VARCHAR, round VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_17 WHERE round < 2 AND pick = 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: What is Nationality, when Round is less than 2, and when College/Team is "CB L'Hospitalet"? ### Context: CREATE TABLE table_name_36 (nationality VARCHAR, round VARCHAR, college_team VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_36 WHERE round < 2 AND college_team = "cb l'hospitalet" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Round, when College/Team is "Kansas", and when Pick is less than 56? ### Context: CREATE TABLE table_name_96 (round INTEGER, college_team VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT MIN(round) FROM table_name_96 WHERE college_team = "kansas" AND pick < 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: What is College/Team, when Round is less than 2, and when Nationality is "United States"? ### Context: CREATE TABLE table_name_18 (college_team VARCHAR, round VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT college_team FROM table_name_18 WHERE round < 2 AND nationality = "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 THE Q1 POS WITH A 1:31.826 Q1 TIME, AND Q1 ORDER OF 7? ### Context: CREATE TABLE table_name_90 (q1_pos INTEGER, q1_time VARCHAR, q1_order VARCHAR) [/INST] ### Response: SELECT MAX(q1_pos) FROM table_name_90 WHERE q1_time = "1:31.826" AND q1_order > 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score on December 2? ### Context: CREATE TABLE table_name_51 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_51 WHERE date = "december 2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many silver medals were won in 1938? ### Context: CREATE TABLE table_name_42 (silver VARCHAR, year VARCHAR) [/INST] ### Response: SELECT silver FROM table_name_42 WHERE year = "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: How many gold medals were won in 1970? ### Context: CREATE TABLE table_name_61 (gold VARCHAR, year VARCHAR) [/INST] ### Response: SELECT gold FROM table_name_61 WHERE year = "1970" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many silver medals were won the year 7 gold medals were won? ### Context: CREATE TABLE table_name_43 (silver VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT silver FROM table_name_43 WHERE gold = "7" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many bronze medals were won in 1998? ### Context: CREATE TABLE table_name_27 (bronze VARCHAR, year VARCHAR) [/INST] ### Response: SELECT bronze FROM table_name_27 WHERE year = "1998" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 TV Time that has the Date of november 22, 1998? ### Context: CREATE TABLE table_name_35 (tv_time VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tv_time FROM table_name_35 WHERE date = "november 22, 1998" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Result that has the Date of september 13, 1998? ### Context: CREATE TABLE table_name_28 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_28 WHERE date = "september 13, 1998" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Opponent that has the Week smaller than 11, and the TV Time of fox 10:00 am mt, and the Result of w 20-17? ### Context: CREATE TABLE table_name_33 (opponent VARCHAR, result VARCHAR, week VARCHAR, tv_time VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_33 WHERE week < 11 AND tv_time = "fox 10:00 am mt" AND result = "w 20-17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the Result that has the Week of 5? ### Context: CREATE TABLE table_name_63 (result VARCHAR, week VARCHAR) [/INST] ### Response: SELECT result FROM table_name_63 WHERE week = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average year that the club located in enfield was founded with an unknown coach? ### Context: CREATE TABLE table_name_87 (founded INTEGER, coach VARCHAR, location VARCHAR) [/INST] ### Response: SELECT AVG(founded) FROM table_name_87 WHERE coach = "unknown" AND location = "enfield" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 location of the club where the home ground is wilfred taylor reserve? ### Context: CREATE TABLE table_name_80 (location VARCHAR, home_ground VARCHAR) [/INST] ### Response: SELECT location FROM table_name_80 WHERE home_ground = "wilfred taylor reserve" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the club that was founded in 1946 located that has an unknown coach? ### Context: CREATE TABLE table_name_45 (location VARCHAR, coach VARCHAR, founded VARCHAR) [/INST] ### Response: SELECT location FROM table_name_45 WHERE coach = "unknown" AND founded = 1946 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the home ground for the club coached by nick pantsaras and founded before 1946? ### Context: CREATE TABLE table_name_48 (home_ground VARCHAR, founded VARCHAR, coach VARCHAR) [/INST] ### Response: SELECT home_ground FROM table_name_48 WHERE founded < 1946 AND coach = "nick pantsaras" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which team was the opponent that had a location of Madison Square Garden with a score of 87-83? ### Context: CREATE TABLE table_name_10 (team VARCHAR, location_attendance VARCHAR, score VARCHAR) [/INST] ### Response: SELECT team FROM table_name_10 WHERE location_attendance = "madison square garden" AND score = "87-83" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game was played at the Forum and led to a series result of 0-1? ### Context: CREATE TABLE table_name_85 (game VARCHAR, location_attendance VARCHAR, series VARCHAR) [/INST] ### Response: SELECT game FROM table_name_85 WHERE location_attendance = "the forum" AND series = "0-1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score for game 2? ### Context: CREATE TABLE table_name_82 (score VARCHAR, game VARCHAR) [/INST] ### Response: SELECT score FROM table_name_82 WHERE 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: What is the title of the show with less than 10 seasons that aired on September 29, 1997 and is directed by Milan Cheylov? ### Context: CREATE TABLE table_name_69 (title VARCHAR, original_air_date VARCHAR, season__number VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT title FROM table_name_69 WHERE season__number < 10 AND directed_by = "milan cheylov" AND original_air_date = "september 29, 1997" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the attendance of the November 19, 1990 game? ### Context: CREATE TABLE table_name_49 (attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_49 WHERE date = "november 19, 1990" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many Years have an Iron Man Award of kyal horsley? ### Context: CREATE TABLE table_name_37 (year VARCHAR, iron_man_award VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_37 WHERE iron_man_award = "kyal horsley" </s>