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 date of the game with a result of bye before week 12? ### Context: CREATE TABLE table_name_3 (date VARCHAR, week VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date FROM table_name_3 WHERE week < 12 AND result = "bye" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the record at the game against the Los Angeles Rams? ### Context: CREATE TABLE table_name_25 (record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_name_25 WHERE opponent = "los angeles rams" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 from September 28? ### Context: CREATE TABLE table_name_13 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_13 WHERE date = "september 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: Who was the opponent at the game later than game 22 when the record was 17-10-4? ### Context: CREATE TABLE table_name_56 (opponent VARCHAR, game VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_56 WHERE game > 22 AND record = "17-10-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 were the Opponents of the team, that made it to the third round, before 2008? ### Context: CREATE TABLE table_name_95 (opponents VARCHAR, year VARCHAR, progress VARCHAR) [/INST] ### Response: SELECT opponents FROM table_name_95 WHERE year < 2008 AND progress = "third round" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in 1997 for the team that has a Progress of no entrants? ### Context: CREATE TABLE table_name_83 (score VARCHAR, progress VARCHAR, year VARCHAR) [/INST] ### Response: SELECT score FROM table_name_83 WHERE progress = "no entrants" AND year = 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: How many Atts that have Yards of 43 and a Long larger than 43? ### Context: CREATE TABLE table_name_65 (att INTEGER, yards VARCHAR, long VARCHAR) [/INST] ### Response: SELECT SUM(att) FROM table_name_65 WHERE yards = 43 AND long > 43 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Ints have a Rating smaller than 87, and Yards larger than 4? ### Context: CREATE TABLE table_name_19 (int INTEGER, rating VARCHAR, yards VARCHAR) [/INST] ### Response: SELECT AVG(int) FROM table_name_19 WHERE rating < 87 AND yards > 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: Which visitor has detroit as the home, and february 24 as the date? ### Context: CREATE TABLE table_name_76 (visitor VARCHAR, home VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_76 WHERE home = "detroit" AND date = "february 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 score has detroit as the home and february 17 as the date? ### Context: CREATE TABLE table_name_6 (score VARCHAR, home VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_6 WHERE home = "detroit" AND date = "february 17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What shows for Scorers when the Opponent was west germany on October 7? ### Context: CREATE TABLE table_name_31 (scorers VARCHAR, opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT scorers FROM table_name_31 WHERE opponent = "west germany" AND date = "october 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 was the director of Battalion Wars 2 which was released on GCN after 2004? ### Context: CREATE TABLE table_name_72 (director VARCHAR, title VARCHAR, platform_s_ VARCHAR, year VARCHAR) [/INST] ### Response: SELECT director FROM table_name_72 WHERE platform_s_ = "gcn" AND year > 2004 AND title = "battalion wars 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 year was Metroid Prime Hunters 5 released? ### Context: CREATE TABLE table_name_7 (year INTEGER, title VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_7 WHERE title = "metroid prime hunters 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 platform was used for the game directed by Bryan Walker after 2006? ### Context: CREATE TABLE table_name_45 (platform_s_ VARCHAR, year VARCHAR, director VARCHAR) [/INST] ### Response: SELECT platform_s_ FROM table_name_45 WHERE year > 2006 AND director = "bryan walker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What 3ds game did Naohiko Aoyama direct? ### Context: CREATE TABLE table_name_72 (title VARCHAR, platform_s_ VARCHAR, director VARCHAR) [/INST] ### Response: SELECT title FROM table_name_72 WHERE platform_s_ = "3ds" AND director = "naohiko aoyama" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 loss was hideo nomo (3–5)? ### Context: CREATE TABLE table_name_57 (score VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT score FROM table_name_57 WHERE loss = "hideo nomo (3–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 was the score on may 19? ### Context: CREATE TABLE table_name_77 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_77 WHERE date = "may 19" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name of the highest Pick is also a Round greater than 5 and Player as Tom Ivey? ### Context: CREATE TABLE table_name_9 (pick INTEGER, round VARCHAR, player VARCHAR) [/INST] ### Response: SELECT MAX(pick) FROM table_name_9 WHERE round > 5 AND player = "tom ivey" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Nationality is the Pick that is 116? ### Context: CREATE TABLE table_name_92 (nationality VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_92 WHERE pick = 116 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pick with a Position of n/a and Greg Wendt as Player with a Round less than 6? ### Context: CREATE TABLE table_name_61 (pick INTEGER, round VARCHAR, position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT SUM(pick) FROM table_name_61 WHERE position = "n/a" AND player = "greg wendt" AND round < 6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score at 3:27? ### Context: CREATE TABLE table_name_8 (score VARCHAR, time VARCHAR) [/INST] ### Response: SELECT score FROM table_name_8 WHERE time = "3: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: What is the cardinal direction of Monday in English? ### Context: CREATE TABLE table_name_84 (cardinal_direction VARCHAR, english VARCHAR) [/INST] ### Response: SELECT cardinal_direction FROM table_name_84 WHERE english = "monday" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 cardinal direction northwest in English? ### Context: CREATE TABLE table_name_31 (english VARCHAR, cardinal_direction VARCHAR) [/INST] ### Response: SELECT english FROM table_name_31 WHERE cardinal_direction = "northwest" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sign of Burmese taninganwe တနင်္ဂနွေ? ### Context: CREATE TABLE table_name_87 (sign VARCHAR, burmese VARCHAR) [/INST] ### Response: SELECT sign FROM table_name_87 WHERE burmese = "taninganwe တနင်္ဂနွေ" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 cardinal direction of Wednesday p.m. in English? ### Context: CREATE TABLE table_name_90 (cardinal_direction VARCHAR, english VARCHAR) [/INST] ### Response: SELECT cardinal_direction FROM table_name_90 WHERE english = "wednesday p.m." </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sign of the Burmese taninganwe တနင်္ဂနွေ? ### Context: CREATE TABLE table_name_94 (sign VARCHAR, burmese VARCHAR) [/INST] ### Response: SELECT sign FROM table_name_94 WHERE burmese = "taninganwe တနင်္ဂနွေ" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 January 5 who was the home team? ### Context: CREATE TABLE table_name_68 (home VARCHAR, date VARCHAR) [/INST] ### Response: SELECT home FROM table_name_68 WHERE date = "january 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 was the Pick Number when the position was wide receiver, the college was Southern Miss with an overall less than 186? ### Context: CREATE TABLE table_name_54 (pick__number INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR) [/INST] ### Response: SELECT AVG(pick__number) FROM table_name_54 WHERE position = "wide receiver" AND college = "southern miss" AND overall < 186 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Let's say position was linebacker with a pick number less than 5, what was the highest round? ### Context: CREATE TABLE table_name_61 (round INTEGER, position VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_name_61 WHERE position = "linebacker" AND pick__number > 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 transfer window has baptista as the name? ### Context: CREATE TABLE table_name_44 (transfer_window VARCHAR, name VARCHAR) [/INST] ### Response: SELECT transfer_window FROM table_name_44 WHERE name = "baptista" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a loan as the type? ### Context: CREATE TABLE table_name_6 (country VARCHAR, type VARCHAR) [/INST] ### Response: SELECT country FROM table_name_6 WHERE type = "loan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What type has song as the name? ### Context: CREATE TABLE table_name_7 (type VARCHAR, name VARCHAR) [/INST] ### Response: SELECT type FROM table_name_7 WHERE name = "song" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What ends has transferred as the type? ### Context: CREATE TABLE table_name_92 (ends VARCHAR, type VARCHAR) [/INST] ### Response: SELECT ends FROM table_name_92 WHERE type = "transferred" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What moving has fra as the country? ### Context: CREATE TABLE table_name_63 (moving_from VARCHAR, country VARCHAR) [/INST] ### Response: SELECT moving_from FROM table_name_63 WHERE country = "fra" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What transfer window has bra as the country, with £3.4m as the transfer fee? ### Context: CREATE TABLE table_name_79 (transfer_window VARCHAR, country VARCHAR, transfer_fee VARCHAR) [/INST] ### Response: SELECT transfer_window FROM table_name_79 WHERE country = "bra" AND transfer_fee = "£3.4m" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Incumbent has a District of massachusetts 2? ### Context: CREATE TABLE table_name_62 (incumbent VARCHAR, district VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_name_62 WHERE district = "massachusetts 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 Incumbent has a District of massachusetts 8? ### Context: CREATE TABLE table_name_47 (incumbent VARCHAR, district VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_name_47 WHERE district = "massachusetts 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: Which District has a First elected larger than 1858? ### Context: CREATE TABLE table_name_21 (district VARCHAR, first_elected INTEGER) [/INST] ### Response: SELECT district FROM table_name_21 WHERE first_elected > 1858 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What episode has a manual motorcycle transmissions section D? ### Context: CREATE TABLE table_name_20 (episode INTEGER, segment_d VARCHAR) [/INST] ### Response: SELECT SUM(episode) FROM table_name_20 WHERE segment_d = "manual motorcycle transmissions" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What segment A is associated with a Segment C of paint chip cards? ### Context: CREATE TABLE table_name_31 (segment_a VARCHAR, segment_c VARCHAR) [/INST] ### Response: SELECT segment_a FROM table_name_31 WHERE segment_c = "paint chip cards" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What segment A is associated with a Segment D of manual motorcycle transmissions? ### Context: CREATE TABLE table_name_76 (segment_a VARCHAR, segment_d VARCHAR) [/INST] ### Response: SELECT segment_a FROM table_name_76 WHERE segment_d = "manual motorcycle transmissions" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 shown for Austria when Croatia shows Ireland? ### Context: CREATE TABLE table_name_13 (austria VARCHAR, croatia VARCHAR) [/INST] ### Response: SELECT austria FROM table_name_13 WHERE croatia = "ireland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest number for 102 when Friendly of friendly, and an Austria of greece? ### Context: CREATE TABLE table_name_78 (austria VARCHAR) [/INST] ### Response: SELECT MIN(102) FROM table_name_78 WHERE "friendly" = "friendly" AND austria = "greece" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Losing bonus with an extra try bonus? ### Context: CREATE TABLE table_name_89 (losing_bonus VARCHAR, try_bonus VARCHAR) [/INST] ### Response: SELECT losing_bonus FROM table_name_89 WHERE try_bonus = "try bonus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What did the loss come from a Club of mumbles rfc? ### Context: CREATE TABLE table_name_92 (lost VARCHAR, club VARCHAR) [/INST] ### Response: SELECT lost FROM table_name_92 WHERE club = "mumbles rfc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Round of 1, and a Record of 10–2 had what method? ### Context: CREATE TABLE table_name_88 (method VARCHAR, round VARCHAR, record VARCHAR) [/INST] ### Response: SELECT method FROM table_name_88 WHERE round = "1" AND record = "10–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: Record of 3–1 had what Res? ### Context: CREATE TABLE table_name_7 (res VARCHAR, record VARCHAR) [/INST] ### Response: SELECT res FROM table_name_7 WHERE record = "3–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: Record of 47–5 (1) involved what res? ### Context: CREATE TABLE table_name_49 (res VARCHAR, record VARCHAR) [/INST] ### Response: SELECT res FROM table_name_49 WHERE record = "47–5 (1)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Opponent of sergei bondarovich, and a Record of 2–0 had what method? ### Context: CREATE TABLE table_name_72 (method VARCHAR, opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT method FROM table_name_72 WHERE opponent = "sergei bondarovich" AND record = "2–0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Method of submission (chin in the eye) had what opponent? ### Context: CREATE TABLE table_name_93 (opponent VARCHAR, method VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_93 WHERE method = "submission (chin in the eye)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Opponent of leonardo castello branco had what record? ### Context: CREATE TABLE table_name_66 (record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_name_66 WHERE opponent = "leonardo castello branco" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won in mixed doubles in 2008? ### Context: CREATE TABLE table_name_53 (mixed_doubles VARCHAR, year VARCHAR) [/INST] ### Response: SELECT mixed_doubles FROM table_name_53 WHERE year = "2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the opponent in Belgrade and had a result of 5:2? ### Context: CREATE TABLE table_name_8 (opponent VARCHAR, city VARCHAR, results¹ VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_8 WHERE city = "belgrade" AND results¹ = "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 there a friendly game against Wales? ### Context: CREATE TABLE table_name_61 (date VARCHAR, type_of_game VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_61 WHERE type_of_game = "friendly" AND opponent = "wales" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 results against the game against Egypt? ### Context: CREATE TABLE table_name_84 (results¹ VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT results¹ FROM table_name_84 WHERE opponent = "egypt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 results against the game against Skoplje? ### Context: CREATE TABLE table_name_61 (results¹ VARCHAR, city VARCHAR) [/INST] ### Response: SELECT results¹ FROM table_name_61 WHERE city = "skoplje" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What type of game was held against France with the results of 3:1? ### Context: CREATE TABLE table_name_20 (type_of_game VARCHAR, results¹ VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT type_of_game FROM table_name_20 WHERE results¹ = "3:1" AND opponent = "france" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the 2012 for us open ### Context: CREATE TABLE table_name_55 (tournament VARCHAR) [/INST] ### Response: SELECT 2012 FROM table_name_55 WHERE tournament = "us 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: Name the 2012 for 2009 of a and 2010 of a and 2011 of a ### Context: CREATE TABLE table_name_89 (Id VARCHAR) [/INST] ### Response: SELECT 2012 FROM table_name_89 WHERE 2009 = "a" AND 2010 = "a" AND 2011 = "a" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the 2012 for us open ### Context: CREATE TABLE table_name_36 (tournament VARCHAR) [/INST] ### Response: SELECT 2012 FROM table_name_36 WHERE tournament = "us 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: Name the tournament for 2010 of grand slam tournaments ### Context: CREATE TABLE table_name_93 (tournament VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_93 WHERE 2010 = "grand slam tournaments" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number for the record of 17-22? ### Context: CREATE TABLE table_name_52 (attendance VARCHAR, record VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_52 WHERE record = "17-22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the record when the loss is westbrook (1-6)? ### Context: CREATE TABLE table_name_76 (record VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT record FROM table_name_76 WHERE loss = "westbrook (1-6)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the final score of the 1st round game of club Union Luxembourg? ### Context: CREATE TABLE table_name_17 (score VARCHAR, round VARCHAR, club VARCHAR) [/INST] ### Response: SELECT score FROM table_name_17 WHERE round = "1st round" AND club = "union luxembourg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 features the 1st round of Club Union Luxembourg? ### Context: CREATE TABLE table_name_58 (competition VARCHAR, round VARCHAR, club VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_58 WHERE round = "1st round" AND club = "union luxembourg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a 2nd round score of 1:0, 0:1 (4:3 a.p.)? ### Context: CREATE TABLE table_name_71 (competition VARCHAR, round VARCHAR, score VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_71 WHERE round = "2nd round" AND score = "1:0, 0:1 (4:3 a.p.)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 final score of the competition that features the club of fk Austria wien? ### Context: CREATE TABLE table_name_58 (score VARCHAR, club VARCHAR) [/INST] ### Response: SELECT score FROM table_name_58 WHERE club = "fk austria wien" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which club has a 2nd round score of 1:0, 3:0? ### Context: CREATE TABLE table_name_39 (club VARCHAR, round VARCHAR, score VARCHAR) [/INST] ### Response: SELECT club FROM table_name_39 WHERE round = "2nd round" AND score = "1:0, 3:0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the mission for switzerland as a resident County? ### Context: CREATE TABLE table_name_16 (mission VARCHAR, resident_country VARCHAR) [/INST] ### Response: SELECT mission FROM table_name_16 WHERE resident_country = "switzerland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 local mission that has kingstown as a local location? ### Context: CREATE TABLE table_name_18 (Local VARCHAR, local_location VARCHAR) [/INST] ### Response: SELECT Local AS mission FROM table_name_18 WHERE local_location = "kingstown" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 local mission that has ambassador as the local position, and a mission of suriname? ### Context: CREATE TABLE table_name_13 (Local VARCHAR, local_position VARCHAR, mission VARCHAR) [/INST] ### Response: SELECT Local AS mission FROM table_name_13 WHERE local_position = "ambassador" AND mission = "suriname" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 local location that has senegal as the resident county, and a mission of mali? ### Context: CREATE TABLE table_name_47 (local_location VARCHAR, resident_country VARCHAR, mission VARCHAR) [/INST] ### Response: SELECT local_location FROM table_name_47 WHERE resident_country = "senegal" AND mission = "mali" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 local mission that has none as a local location, high commissioner as a local position, fiji as a resident county, and a mission of tonga? ### Context: CREATE TABLE table_name_41 (Local VARCHAR, mission VARCHAR, resident_country VARCHAR, local_location VARCHAR, local_position VARCHAR) [/INST] ### Response: SELECT Local AS mission FROM table_name_41 WHERE local_location = "none" AND local_position = "high commissioner" AND resident_country = "fiji" AND mission = "tonga" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mission that has ambassador of local position, and a resident country of democratic republic of congo? ### Context: CREATE TABLE table_name_35 (mission VARCHAR, local_position VARCHAR, resident_country VARCHAR) [/INST] ### Response: SELECT mission FROM table_name_35 WHERE local_position = "ambassador" AND resident_country = "democratic republic of congo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did the player play in the european cross country championships in 2008? ### Context: CREATE TABLE table_name_90 (position VARCHAR, competition VARCHAR, year VARCHAR) [/INST] ### Response: SELECT position FROM table_name_90 WHERE competition = "european cross country championships" AND year = 2008 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What venue hsoted the european cross country championships with a notes of junior men individual 6.595km? ### Context: CREATE TABLE table_name_20 (venue VARCHAR, competition VARCHAR, notes VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_20 WHERE competition = "european cross country championships" AND notes = "junior men individual 6.595km" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did the person finish in with a notes of junior men individual 5.64km? ### Context: CREATE TABLE table_name_95 (position VARCHAR, notes VARCHAR) [/INST] ### Response: SELECT position FROM table_name_95 WHERE notes = "junior men individual 5.64km" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What venue hosted in 2005 and had a Notes of men individual 9.84km? ### Context: CREATE TABLE table_name_83 (venue VARCHAR, year VARCHAR, notes VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_83 WHERE year = 2005 AND notes = "men individual 9.84km" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the opponent at the game with a result of w 20-17? ### Context: CREATE TABLE table_name_69 (opponent VARCHAR, result VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_69 WHERE 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: What is the total number of weeks with a game at the Milwaukee County Stadium attended by 47,897? ### Context: CREATE TABLE table_name_79 (week VARCHAR, venue VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT COUNT(week) FROM table_name_79 WHERE venue = "milwaukee county stadium" AND attendance = 47 OFFSET 897 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 that had a pick lower than 8? ### Context: CREATE TABLE table_name_58 (round INTEGER, pick__number INTEGER) [/INST] ### Response: SELECT MAX(round) FROM table_name_58 WHERE pick__number < 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 title does Overkill have before 1984? ### Context: CREATE TABLE table_name_65 (title VARCHAR, artist VARCHAR, year VARCHAR) [/INST] ### Response: SELECT title FROM table_name_65 WHERE artist = "overkill" AND year < 1984 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Departure time at Kanpur Central Station? ### Context: CREATE TABLE table_name_67 (departure VARCHAR, station_name VARCHAR) [/INST] ### Response: SELECT departure FROM table_name_67 WHERE station_name = "kanpur central" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Station Name of Platform 5? ### Context: CREATE TABLE table_name_32 (station_name VARCHAR, platform VARCHAR) [/INST] ### Response: SELECT station_name FROM table_name_32 WHERE platform = "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 pick # of the player from round 11? ### Context: CREATE TABLE table_name_21 (pick__number INTEGER, round VARCHAR) [/INST] ### Response: SELECT AVG(pick__number) FROM table_name_21 WHERE round = 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 overall of the player with a pick # higher than 13? ### Context: CREATE TABLE table_name_47 (overall VARCHAR, pick__number INTEGER) [/INST] ### Response: SELECT overall FROM table_name_47 WHERE pick__number < 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 year did naga bonar take place ### Context: CREATE TABLE table_name_82 (year__ceremony_ VARCHAR, original_title VARCHAR) [/INST] ### Response: SELECT year__ceremony_ FROM table_name_82 WHERE original_title = "naga bonar" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Natural change of 42 689 has which lowest Crude birth rate (per 1000)? ### Context: CREATE TABLE table_name_49 (crude_birth_rate__per_1000_ INTEGER, natural_change VARCHAR) [/INST] ### Response: SELECT MIN(crude_birth_rate__per_1000_) FROM table_name_49 WHERE natural_change = "42 689" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 votes for the green party? ### Context: CREATE TABLE table_name_38 (votes__gib_ INTEGER, party VARCHAR) [/INST] ### Response: SELECT SUM(votes__gib_) FROM table_name_38 WHERE party = "green" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 votes of the party with a % of 0.53 and more than 0 seats? ### Context: CREATE TABLE table_name_99 (votes__gib_ INTEGER, _percentage__gib_ VARCHAR, seats VARCHAR) [/INST] ### Response: SELECT SUM(votes__gib_) FROM table_name_99 WHERE _percentage__gib_ = 0.53 AND seats > 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the time of the game on April 5? ### Context: CREATE TABLE table_name_87 (time VARCHAR, date VARCHAR) [/INST] ### Response: SELECT time FROM table_name_87 WHERE date = "april 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: Which 2011 has a 2010 of 1r, and a 2009 of 1r? ### Context: CREATE TABLE table_name_99 (Id VARCHAR) [/INST] ### Response: SELECT 2011 FROM table_name_99 WHERE 2010 = "1r" AND 2009 = "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: Which Tournament has a 2009 of q1, and a 2008 of 1r? ### Context: CREATE TABLE table_name_28 (tournament VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_28 WHERE 2009 = "q1" AND 2008 = "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: Which 2008 has a 2009 of A, and a 2010 of A, and a 2012 of 1r, and a Tournament of cincinnati masters? ### Context: CREATE TABLE table_name_2 (tournament VARCHAR) [/INST] ### Response: SELECT 2008 FROM table_name_2 WHERE 2009 = "a" AND 2010 = "a" AND 2012 = "1r" AND tournament = "cincinnati masters" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2009 has a 2008 of A, and a Tournament of canada masters? ### Context: CREATE TABLE table_name_65 (tournament VARCHAR) [/INST] ### Response: SELECT 2009 FROM table_name_65 WHERE 2008 = "a" AND tournament = "canada masters" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2008 has a 2009 of A, and a Tournament of cincinnati masters? ### Context: CREATE TABLE table_name_39 (tournament VARCHAR) [/INST] ### Response: SELECT 2008 FROM table_name_39 WHERE 2009 = "a" AND tournament = "cincinnati masters" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2012 has a 2010 of 0–0? ### Context: CREATE TABLE table_name_46 (Id VARCHAR) [/INST] ### Response: SELECT 2012 FROM table_name_46 WHERE 2010 = "0–0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Date had a Partner of urszula radwańska? ### Context: CREATE TABLE table_name_87 (date VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT date FROM table_name_87 WHERE partner = "urszula radwańska" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Opponent had a Surface of hard, and a Partner of maria elena camerin? ### Context: CREATE TABLE table_name_26 (opponent VARCHAR, surface VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_26 WHERE surface = "hard" AND partner = "maria elena camerin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Partner had an Opponent of darija jurak carmen klaschka? ### Context: CREATE TABLE table_name_74 (partner VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT partner FROM table_name_74 WHERE opponent = "darija jurak carmen klaschka" </s>