text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of guests for the Viking Ingvar, built earlier than 1990? ### Context: CREATE TABLE table_name_46 (guests INTEGER, ship_name VARCHAR, year_built VARCHAR) [/INST] ### Response: SELECT AVG(guests) FROM table_name_46 WHERE ship_name = "viking ingvar" AND year_built < 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: What is the earliest year built for the ship refurbished earlier than 2013? ### Context: CREATE TABLE table_name_47 (year_built INTEGER, last_refurbished INTEGER) [/INST] ### Response: SELECT MIN(year_built) FROM table_name_47 WHERE last_refurbished < 2013 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gene is ongoing and has an intramuscular route of administration? ### Context: CREATE TABLE table_name_42 (gene VARCHAR, route_of_administration VARCHAR, status VARCHAR) [/INST] ### Response: SELECT gene FROM table_name_42 WHERE route_of_administration = "intramuscular" AND status = "ongoing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gene has the subject number 21? ### Context: CREATE TABLE table_name_28 (gene VARCHAR, subject_number VARCHAR) [/INST] ### Response: SELECT gene FROM table_name_28 WHERE subject_number = "21" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the route of administration that has several ongoing and complete? ### Context: CREATE TABLE table_name_4 (route_of_administration VARCHAR, status VARCHAR) [/INST] ### Response: SELECT route_of_administration FROM table_name_4 WHERE status = "several ongoing and complete" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 statue of the aat gene, which has an intramuscular route of administration? ### Context: CREATE TABLE table_name_98 (status VARCHAR, route_of_administration VARCHAR, gene VARCHAR) [/INST] ### Response: SELECT status FROM table_name_98 WHERE route_of_administration = "intramuscular" AND gene = "aat" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the fewest draws for teams having under 2 losses, more than 4 wins, and a position under 4? ### Context: CREATE TABLE table_name_18 (draws INTEGER, wins VARCHAR, losses VARCHAR, position VARCHAR) [/INST] ### Response: SELECT MIN(draws) FROM table_name_18 WHERE losses < 2 AND position < 4 AND wins > 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 most losses for teams with under 2 wins, more than 6 points, and a position under 11? ### Context: CREATE TABLE table_name_19 (losses INTEGER, points VARCHAR, wins VARCHAR, position VARCHAR) [/INST] ### Response: SELECT MAX(losses) FROM table_name_19 WHERE wins < 2 AND position < 11 AND points > 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 total number of positions having 1 loss and more than 9 conceded? ### Context: CREATE TABLE table_name_7 (position VARCHAR, losses VARCHAR, conceded VARCHAR) [/INST] ### Response: SELECT COUNT(position) FROM table_name_7 WHERE losses = 1 AND conceded > 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the venue of the competition with a result of 1st before 2009? ### Context: CREATE TABLE table_name_93 (venue VARCHAR, year VARCHAR, result VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_93 WHERE year < 2009 AND result = "1st" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the 400 M Hurdles for the Olympic Games? ### Context: CREATE TABLE table_name_35 (venue VARCHAR, event VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_35 WHERE event = "400 m hurdles" AND tournament = "olympic games" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 earliest year for the 400 M Hurdles in Santiago, Chile? ### Context: CREATE TABLE table_name_71 (year INTEGER, venue VARCHAR, event VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_71 WHERE venue = "santiago, chile" AND event = "400 m hurdles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What time does Belgium have? ### Context: CREATE TABLE table_name_85 (time VARCHAR, country VARCHAR) [/INST] ### Response: SELECT time FROM table_name_85 WHERE country = "belgium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Rank 6 has what notes? ### Context: CREATE TABLE table_name_10 (notes VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT notes FROM table_name_10 WHERE rank = 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: Who has less than 5 rank and notes of fb? ### Context: CREATE TABLE table_name_6 (athlete VARCHAR, notes VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT athlete FROM table_name_6 WHERE notes = "fb" AND rank < 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: Rank of 6 has what time? ### Context: CREATE TABLE table_name_16 (time VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT time FROM table_name_16 WHERE rank = 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 tournament is played on a carpet surface? ### Context: CREATE TABLE table_name_99 (tournament VARCHAR, surface VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_99 WHERE surface = "carpet" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Gothic Letter has Proto-Germanic origin of /ɸ/; /b/? ### Context: CREATE TABLE table_name_4 (gothic_letter VARCHAR, proto_germanic_origin VARCHAR) [/INST] ### Response: SELECT gothic_letter FROM table_name_4 WHERE proto_germanic_origin = "/ɸ/; /b/" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Proto-Germanic origin of the phoneme /[[|j]]/? ### Context: CREATE TABLE table_name_2 (proto_germanic_origin VARCHAR, sound__phoneme_ VARCHAR) [/INST] ### Response: SELECT proto_germanic_origin FROM table_name_2 WHERE sound__phoneme_ = "/[[|j]]/" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Roman entry for the allophone of [[[|k]]]? ### Context: CREATE TABLE table_name_79 (roman VARCHAR, sound__allophone_ VARCHAR) [/INST] ### Response: SELECT roman FROM table_name_79 WHERE sound__allophone_ = "[[[|k]]]" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Proto-Germanic origin associated with an allophone of [[[|k]]]? ### Context: CREATE TABLE table_name_15 (proto_germanic_origin VARCHAR, sound__allophone_ VARCHAR) [/INST] ### Response: SELECT proto_germanic_origin FROM table_name_15 WHERE sound__allophone_ = "[[[|k]]]" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: The Proto-Germanic origin of /w/ is associated with what Roman entry? ### Context: CREATE TABLE table_name_27 (roman VARCHAR, proto_germanic_origin VARCHAR) [/INST] ### Response: SELECT roman FROM table_name_27 WHERE proto_germanic_origin = "/w/" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: The Roman value of t is associated with what allophone? ### Context: CREATE TABLE t (Id VARCHAR) [/INST] ### Response: SELECT sound__allophone_ FROM "t" AS able_name_50 WHERE roman = "t" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school located that has mustangs as a mascot? ### Context: CREATE TABLE table_name_93 (location VARCHAR, mascot VARCHAR) [/INST] ### Response: SELECT location FROM table_name_93 WHERE mascot = "mustangs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 enrollment for the school Highland? ### Context: CREATE TABLE table_name_30 (enrollment INTEGER, school VARCHAR) [/INST] ### Response: SELECT SUM(enrollment) FROM table_name_30 WHERE school = "highland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nominees won before year 2005? ### Context: CREATE TABLE table_name_69 (nominee_s_ VARCHAR, year VARCHAR, result VARCHAR) [/INST] ### Response: SELECT nominee_s_ FROM table_name_69 WHERE year < 2005 AND result = "won" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode in year 2003 that have Gary Murphy and Neil Thompson? ### Context: CREATE TABLE table_name_10 (episode VARCHAR, nominee_s_ VARCHAR, year VARCHAR) [/INST] ### Response: SELECT episode FROM table_name_10 WHERE nominee_s_ = "gary murphy and neil thompson" AND year = 2003 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 with nominated result? ### Context: CREATE TABLE table_name_32 (year INTEGER, result VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_32 WHERE result = "nominated" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 FA cup goals that have total goals less than 4, with Terry poole as the name? ### Context: CREATE TABLE table_name_6 (fa_cup_goals INTEGER, total_goals VARCHAR, name VARCHAR) [/INST] ### Response: SELECT MIN(fa_cup_goals) FROM table_name_6 WHERE total_goals < 4 AND name = "terry poole" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 FA cup goals have Jimmy Nicholson as the name, and league cup goals greater than 0? ### Context: CREATE TABLE table_name_41 (fa_cup_goals VARCHAR, name VARCHAR, league_cup_goals VARCHAR) [/INST] ### Response: SELECT COUNT(fa_cup_goals) FROM table_name_41 WHERE name = "jimmy nicholson" AND league_cup_goals > 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 are the points against for 2001, and games won of 5 (3)? ### Context: CREATE TABLE table_name_16 (points_against___tests__ VARCHAR, year_s_ VARCHAR, games_won___tests__ VARCHAR) [/INST] ### Response: SELECT points_against___tests__ FROM table_name_16 WHERE year_s_ = 2001 AND games_won___tests__ = "5 (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 are the points against for 2000, when games won is 4 (1)? ### Context: CREATE TABLE table_name_16 (points_against___tests__ VARCHAR, year_s_ VARCHAR, games_won___tests__ VARCHAR) [/INST] ### Response: SELECT points_against___tests__ FROM table_name_16 WHERE year_s_ = 2000 AND games_won___tests__ = "4 (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 games lost when games played was 2, year was earlier than 1999, and points for was 24? ### Context: CREATE TABLE table_name_73 (games_lost___tests__ VARCHAR, points_for___tests__ VARCHAR, games_played___tests__ VARCHAR, year_s_ VARCHAR) [/INST] ### Response: SELECT games_lost___tests__ FROM table_name_73 WHERE games_played___tests__ = "2" AND year_s_ < 1999 AND points_for___tests__ = "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 the earliest year when games drawn was 0, points against are 86? ### Context: CREATE TABLE table_name_29 (year_s_ INTEGER, games_drawn___tests__ VARCHAR, points_against___tests__ VARCHAR) [/INST] ### Response: SELECT MIN(year_s_) FROM table_name_29 WHERE games_drawn___tests__ = "0" AND points_against___tests__ = "86" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What tournament or series was played in England, when games played was 4, points for were 121? ### Context: CREATE TABLE table_name_15 (tournament_or_series VARCHAR, points_for___tests__ VARCHAR, played_in VARCHAR, games_played___tests__ VARCHAR) [/INST] ### Response: SELECT tournament_or_series FROM table_name_15 WHERE played_in = "england" AND games_played___tests__ = "4" AND points_for___tests__ = "121" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average rating when the Romanji title was Mendol? ### Context: CREATE TABLE table_name_26 (average_ratings VARCHAR, romaji_title VARCHAR) [/INST] ### Response: SELECT average_ratings FROM table_name_26 WHERE romaji_title = "mendol" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ratings of TBS of Episode 10 and had a Japanese title of Scandal? ### Context: CREATE TABLE table_name_76 (average_ratings VARCHAR, japanese_title VARCHAR, tv_station VARCHAR, episodes VARCHAR) [/INST] ### Response: SELECT average_ratings FROM table_name_76 WHERE tv_station = "tbs" AND episodes = "10" AND japanese_title = "scandal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Japanese title when the Romaji Title was Atsu-Hime? ### Context: CREATE TABLE table_name_24 (japanese_title VARCHAR, romaji_title VARCHAR) [/INST] ### Response: SELECT japanese_title FROM table_name_24 WHERE romaji_title = "atsu-hime" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Japanese Title when the Romaji title was Ryūsei No Kizuna? ### Context: CREATE TABLE table_name_13 (japanese_title VARCHAR, romaji_title VARCHAR) [/INST] ### Response: SELECT japanese_title FROM table_name_13 WHERE romaji_title = "ryūsei no kizuna" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When the position in 2012-13 is 13th, third division what is the location? ### Context: CREATE TABLE table_name_68 (location VARCHAR, position_in_2012_13 VARCHAR) [/INST] ### Response: SELECT location FROM table_name_68 WHERE position_in_2012_13 = "13th, third division" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for a club of telecom? ### Context: CREATE TABLE table_name_61 (location VARCHAR, club VARCHAR) [/INST] ### Response: SELECT location FROM table_name_61 WHERE club = "telecom" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When the position in 2012-12 is 7th, third division what is the home ground? ### Context: CREATE TABLE table_name_24 (home_ground VARCHAR, position_in_2012_13 VARCHAR) [/INST] ### Response: SELECT home_ground FROM table_name_24 WHERE position_in_2012_13 = "7th, third division" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What club has a league/division of fourth division? ### Context: CREATE TABLE table_name_95 (club VARCHAR, league_division VARCHAR) [/INST] ### Response: SELECT club FROM table_name_95 WHERE league_division = "fourth division" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When the position in 2012-23 is 4th, second division what is the club? ### Context: CREATE TABLE table_name_27 (club VARCHAR, position_in_2012_13 VARCHAR) [/INST] ### Response: SELECT club FROM table_name_27 WHERE position_in_2012_13 = "4th, second division" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What location has a home ground of n/a, and position in 2012-13 of 13th, third division? ### Context: CREATE TABLE table_name_2 (location VARCHAR, home_ground VARCHAR, position_in_2012_13 VARCHAR) [/INST] ### Response: SELECT location FROM table_name_2 WHERE home_ground = "n/a" AND position_in_2012_13 = "13th, third division" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 usage for the f136e engline? ### Context: CREATE TABLE table_name_60 (usage VARCHAR, engine VARCHAR) [/INST] ### Response: SELECT usage FROM table_name_60 WHERE engine = "f136e" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the f136fb engine? ### Context: CREATE TABLE table_name_98 (usage VARCHAR, engine VARCHAR) [/INST] ### Response: SELECT usage FROM table_name_98 WHERE engine = "f136fb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 hometown of Mike White? ### Context: CREATE TABLE table_name_40 (hometown_school VARCHAR, position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT hometown_school FROM table_name_40 WHERE position = "of" AND player = "mike white" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which player was picked before 13, in a P position, and is from Georgia Tech? ### Context: CREATE TABLE table_name_98 (player VARCHAR, hometown_school VARCHAR, pick VARCHAR, position VARCHAR) [/INST] ### Response: SELECT player FROM table_name_98 WHERE pick < 13 AND position = "p" AND hometown_school = "georgia tech" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Season has a UFL Cup of tbd? ### Context: CREATE TABLE table_name_52 (season VARCHAR, ufl_cup VARCHAR) [/INST] ### Response: SELECT season FROM table_name_52 WHERE ufl_cup = "tbd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 PFF NMCC has a AFC PC of dnq? ### Context: CREATE TABLE table_name_50 (pff_nmcc VARCHAR, afc_pc VARCHAR) [/INST] ### Response: SELECT pff_nmcc FROM table_name_50 WHERE afc_pc = "dnq" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Season has a UFL Cup of quarter-finals? ### Context: CREATE TABLE table_name_42 (season VARCHAR, ufl_cup VARCHAR) [/INST] ### Response: SELECT season FROM table_name_42 WHERE ufl_cup = "quarter-finals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 grid of driver ryan hunter-reay, who has more than 24 points? ### Context: CREATE TABLE table_name_7 (grid INTEGER, driver VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(grid) FROM table_name_7 WHERE driver = "ryan hunter-reay" AND points > 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 the total number of points of driver enrique bernoldi (r)? ### Context: CREATE TABLE table_name_95 (points VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_name_95 WHERE driver = "enrique bernoldi (r)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 TV Time has a Result of w 24–17? ### Context: CREATE TABLE table_name_93 (tv_time VARCHAR, result VARCHAR) [/INST] ### Response: SELECT tv_time FROM table_name_93 WHERE result = "w 24–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: Which Week has a TV Time of cbs 1:00pm, and an Attendance of 72,714? ### Context: CREATE TABLE table_name_44 (week VARCHAR, tv_time VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT week FROM table_name_44 WHERE tv_time = "cbs 1:00pm" AND attendance = "72,714" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 TV Time has a Date of january 2, 2005? ### Context: CREATE TABLE table_name_23 (tv_time VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tv_time FROM table_name_23 WHERE date = "january 2, 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 was the original name of the restaurant located in Orillia, ON? ### Context: CREATE TABLE table_name_50 (original_name VARCHAR, location VARCHAR) [/INST] ### Response: SELECT original_name FROM table_name_50 WHERE location = "orillia, on" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fate and location of the Ringstad? ### Context: CREATE TABLE table_name_3 (fate_and_location VARCHAR, ship VARCHAR) [/INST] ### Response: SELECT fate_and_location FROM table_name_3 WHERE ship = "ringstad" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Score of the game with a Loss of Kiprusoff (2–2)? ### Context: CREATE TABLE table_name_50 (score VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT score FROM table_name_50 WHERE loss = "kiprusoff (2–2)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the partner on May 16, 2004? ### Context: CREATE TABLE table_name_52 (partner VARCHAR, date VARCHAR) [/INST] ### Response: SELECT partner FROM table_name_52 WHERE date = "may 16, 2004" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the match played against in the final on March 14, 2008? ### Context: CREATE TABLE table_name_2 (opponents_in_the_final VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponents_in_the_final FROM table_name_2 WHERE date = "march 14, 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 is the title of the production with a number of 1039? ### Context: CREATE TABLE table_name_83 (title VARCHAR, production_number VARCHAR) [/INST] ### Response: SELECT title FROM table_name_83 WHERE production_number = "1039" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 film with a production number of 1023? ### Context: CREATE TABLE table_name_48 (title VARCHAR, production_number VARCHAR) [/INST] ### Response: SELECT title FROM table_name_48 WHERE production_number = "1023" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 gold that has a silver less than 2, Zimbabwe as the nation, and a bronze less than 1? ### Context: CREATE TABLE table_name_34 (gold INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT MIN(gold) FROM table_name_34 WHERE silver < 2 AND nation = "zimbabwe" AND bronze < 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the nationality of Cardinal-Bishop of Albano? ### Context: CREATE TABLE table_name_32 (nationality VARCHAR, cardinalatial_order_and_title VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_32 WHERE cardinalatial_order_and_title = "cardinal-bishop of albano" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the notes of Cardinal-Deacon of S. Maria in Portico? ### Context: CREATE TABLE table_name_95 (notes VARCHAR, cardinalatial_order_and_title VARCHAR) [/INST] ### Response: SELECT notes FROM table_name_95 WHERE cardinalatial_order_and_title = "cardinal-deacon of s. maria in portico" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Name has a Constituency number of 1? ### Context: CREATE TABLE table_name_61 (name VARCHAR, constituency_number VARCHAR) [/INST] ### Response: SELECT name FROM table_name_61 WHERE constituency_number = "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: Which Number of electorates (2009) has a District of sheopur, and a Constituency number of 1? ### Context: CREATE TABLE table_name_94 (number_of_electorates__2009_ VARCHAR, district VARCHAR, constituency_number VARCHAR) [/INST] ### Response: SELECT COUNT(number_of_electorates__2009_) FROM table_name_94 WHERE district = "sheopur" AND constituency_number = "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: Which Name has a Reserved for of none, and a Constituency number of 7? ### Context: CREATE TABLE table_name_96 (name VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) [/INST] ### Response: SELECT name FROM table_name_96 WHERE reserved_for___sc___st__none_ = "none" AND constituency_number = "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: The game played at Sultan Qaboos Sports Complex, Muscat had what score? ### Context: CREATE TABLE table_name_99 (score VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT score FROM table_name_99 WHERE venue = "sultan qaboos sports complex, muscat" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What to par has t3 as the place and england as the country? ### Context: CREATE TABLE table_name_96 (to_par VARCHAR, place VARCHAR, country VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_96 WHERE place = "t3" AND country = "england" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Attendance has Games smaller than 6, and a W-L-T of 3-2-0, and a Season smaller than 1948? ### Context: CREATE TABLE table_name_24 (attendance INTEGER, season VARCHAR, games VARCHAR, w_l_t VARCHAR) [/INST] ### Response: SELECT SUM(attendance) FROM table_name_24 WHERE games < 6 AND w_l_t = "3-2-0" AND season < 1948 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Average that has a W-L-T of 5-1, and a Season smaller than 2001, and Games smaller than 6? ### Context: CREATE TABLE table_name_59 (average INTEGER, games VARCHAR, w_l_t VARCHAR, season VARCHAR) [/INST] ### Response: SELECT AVG(average) FROM table_name_59 WHERE w_l_t = "5-1" AND season < 2001 AND games < 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: Which Opponent had an Attendance of 78,883? ### Context: CREATE TABLE table_name_4 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_4 WHERE attendance = "78,883" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what date was the attendance a bye? ### Context: CREATE TABLE table_name_44 (date VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT date FROM table_name_44 WHERE attendance = "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: Which week was the December 21, 2003 game? ### Context: CREATE TABLE table_name_59 (week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT week FROM table_name_59 WHERE date = "december 21, 2003" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bye for the TV Time? ### Context: CREATE TABLE table_name_96 (opponent VARCHAR, tv_time VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_96 WHERE tv_time = "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: At what arena was the September 21 game? ### Context: CREATE TABLE table_name_22 (arena VARCHAR, date VARCHAR) [/INST] ### Response: SELECT arena FROM table_name_22 WHERE date = "september 21" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the record after the game against the Sharks at Arrowhead Pond of Anaheim? ### Context: CREATE TABLE table_name_72 (record VARCHAR, arena VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_name_72 WHERE arena = "arrowhead pond of anaheim" AND opponent = "sharks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 after the game against the Sharks? ### Context: CREATE TABLE table_name_19 (record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_name_19 WHERE opponent = "sharks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 arizona state? ### Context: CREATE TABLE table_name_81 (player VARCHAR, college VARCHAR) [/INST] ### Response: SELECT player FROM table_name_81 WHERE college = "arizona state" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the position of the player from florida? ### Context: CREATE TABLE table_name_63 (position VARCHAR, college VARCHAR) [/INST] ### Response: SELECT position FROM table_name_63 WHERE college = "florida" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the position tight end? ### Context: CREATE TABLE table_name_20 (pick INTEGER, position VARCHAR) [/INST] ### Response: SELECT MAX(pick) FROM table_name_20 WHERE position = "tight end" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 MPG-US combined for a green rating of E, mpg in the UK- combined of under 42.2, manufacturer of Volkswagen, and an M6 transmission? ### Context: CREATE TABLE table_name_90 (mpg_us_combined INTEGER, transmission VARCHAR, manufacturer VARCHAR, green_rating VARCHAR, mpg_uk_combined VARCHAR) [/INST] ### Response: SELECT MIN(mpg_us_combined) FROM table_name_90 WHERE green_rating = "e" AND mpg_uk_combined < 42.2 AND manufacturer = "volkswagen" AND transmission = "m6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 L/100km urban value having an L/100km extraurban under 7.2, mpg combined in the UK under 39.8, l/100km combined over 7.9, and mpg combined in the US under 25.1? ### Context: CREATE TABLE table_name_97 (l_100km_urban__cold_ INTEGER, mpg_us_combined VARCHAR, l_100km_combined VARCHAR, l_100km_extra_urban VARCHAR, mpg_uk_combined VARCHAR) [/INST] ### Response: SELECT AVG(l_100km_urban__cold_) FROM table_name_97 WHERE l_100km_extra_urban < 7.2 AND mpg_uk_combined < 39.8 AND l_100km_combined > 7.9 AND mpg_us_combined < 25.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 mpg-UK urban (cold) for a fuel type of diesel, extraurban MPG in the UK over 68.9, engine capacity of 1422, and L/100km urban (cold) over 5.1? ### Context: CREATE TABLE table_name_8 (mpg_uk_urban__cold_ VARCHAR, l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, fuel_type VARCHAR, mpg_uk_extra_urban VARCHAR) [/INST] ### Response: SELECT mpg_uk_urban__cold_ FROM table_name_8 WHERE fuel_type = "diesel" AND mpg_uk_extra_urban > 68.9 AND engine_capacity = 1422 AND l_100km_urban__cold_ > 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: What is the green rating for the vehicle with L/100km urban (cold) over 10.9, mpg in the US (urban) over 14.1, manufacturer of Volkswagen, and engine capacity under 3189? ### Context: CREATE TABLE table_name_68 (green_rating VARCHAR, engine_capacity VARCHAR, manufacturer VARCHAR, l_100km_urban__cold_ VARCHAR, mpg_us_urban VARCHAR) [/INST] ### Response: SELECT green_rating FROM table_name_68 WHERE l_100km_urban__cold_ > 10.9 AND mpg_us_urban > 14.1 AND manufacturer = "volkswagen" AND engine_capacity < 3189 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 L/100km urban (cold) for engine capacities over 1910, mpg in the US (urban) under 25.3, mpg in the UK (combined) over 27.2, and mpg in the UK (urban, cold) of 22.4? ### Context: CREATE TABLE table_name_27 (l_100km_urban__cold_ INTEGER, mpg_uk_urban__cold_ VARCHAR, mpg_uk_combined VARCHAR, engine_capacity VARCHAR, mpg_us_urban VARCHAR) [/INST] ### Response: SELECT AVG(l_100km_urban__cold_) FROM table_name_27 WHERE engine_capacity > 1910 AND mpg_us_urban < 25.3 AND mpg_uk_combined > 27.2 AND mpg_uk_urban__cold_ = 22.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 combined mpg in the US for the A6 transmission, a CO2 g/km under 303, engine capacity over 2461, and L/100km urban (cold) of 15.9? ### Context: CREATE TABLE table_name_11 (mpg_us_combined INTEGER, l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, transmission VARCHAR, co_2_g_km VARCHAR) [/INST] ### Response: SELECT MIN(mpg_us_combined) FROM table_name_11 WHERE transmission = "a6" AND co_2_g_km < 303 AND engine_capacity > 2461 AND l_100km_urban__cold_ = 15.9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the release date of the episode titled Drip-Along Daffy? ### Context: CREATE TABLE table_name_85 (release_date VARCHAR, title VARCHAR) [/INST] ### Response: SELECT release_date FROM table_name_85 WHERE title = "drip-along daffy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in October when Carina Ragnarsson is in November? ### Context: CREATE TABLE table_name_61 (october VARCHAR, november VARCHAR) [/INST] ### Response: SELECT october FROM table_name_61 WHERE november = "carina ragnarsson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in November in the year 1979? ### Context: CREATE TABLE table_name_36 (november VARCHAR, year VARCHAR) [/INST] ### Response: SELECT november FROM table_name_36 WHERE year = 1979 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in December when November has Alexus Winston? ### Context: CREATE TABLE table_name_32 (december VARCHAR, november VARCHAR) [/INST] ### Response: SELECT december FROM table_name_32 WHERE november = "alexus winston" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in November after 1988 when Prinzzess is in October? ### Context: CREATE TABLE table_name_52 (november VARCHAR, year VARCHAR, october VARCHAR) [/INST] ### Response: SELECT november FROM table_name_52 WHERE year > 1988 AND october = "prinzzess" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 line that has lucania as the ship and 1894 as the date? ### Context: CREATE TABLE table_name_8 (line VARCHAR, ship VARCHAR, year VARCHAR) [/INST] ### Response: SELECT line FROM table_name_8 WHERE ship = "lucania" AND year = "1894" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Genre has a Developer(s) of naughty dog? ### Context: CREATE TABLE table_name_47 (genre VARCHAR, developer_s_ VARCHAR) [/INST] ### Response: SELECT genre FROM table_name_47 WHERE developer_s_ = "naughty dog" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Year has a Game of resident evil 4? ### Context: CREATE TABLE table_name_35 (year INTEGER, game VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_35 WHERE game = "resident evil 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 Developer(s) has a Year of 2010? ### Context: CREATE TABLE table_name_90 (developer_s_ VARCHAR, year VARCHAR) [/INST] ### Response: SELECT developer_s_ FROM table_name_90 WHERE year = 2010 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the match with a Record of 0-1? ### Context: CREATE TABLE table_name_12 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_12 WHERE record = "0-1" </s>