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 High Points, when High Rebounds is "Ron Artest (9)"? ### Context: CREATE TABLE table_name_12 (high_points VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT high_points FROM table_name_12 WHERE high_rebounds = "ron artest (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 Date, when High Rebounds is "Yao Ming (10)"? ### Context: CREATE TABLE table_name_86 (date VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT date FROM table_name_86 WHERE high_rebounds = "yao ming (10)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Score, when High Points is "Luis Scola (18)", and when High Rebounds is "Luis Scola (11)"? ### Context: CREATE TABLE table_name_93 (score VARCHAR, high_points VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT score FROM table_name_93 WHERE high_points = "luis scola (18)" AND high_rebounds = "luis scola (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 Team, when High Points is "Tracy McGrady (24)"? ### Context: CREATE TABLE table_name_49 (team VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT team FROM table_name_49 WHERE high_points = "tracy mcgrady (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 record for the opponent Atlanta Hawks? ### Context: CREATE TABLE table_name_9 (record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_name_9 WHERE opponent = "atlanta hawks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 113-124 score? ### Context: CREATE TABLE table_name_52 (opponent VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_52 WHERE score = "113-124" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 record for the Philadelphia 76ers? ### Context: CREATE TABLE table_name_58 (record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_name_58 WHERE opponent = "philadelphia 76ers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the record for the Detroit Pistons on March 7? ### Context: CREATE TABLE table_name_82 (record VARCHAR, opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_82 WHERE opponent = "detroit pistons" AND date = "march 7" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the WR player? ### Context: CREATE TABLE table_name_98 (player VARCHAR, position VARCHAR) [/INST] ### Response: SELECT player FROM table_name_98 WHERE position = "wr" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Length (m) of the Koppenberg course? ### Context: CREATE TABLE table_name_46 (length__m_ VARCHAR, name VARCHAR) [/INST] ### Response: SELECT length__m_ FROM table_name_46 WHERE name = "koppenberg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Kilometer of the Berendries asphalt course with an Average climb less than 7 and Length (m) longer than 645? ### Context: CREATE TABLE table_name_15 (kilometer INTEGER, average_climb___percentage_ VARCHAR, name VARCHAR, pavement VARCHAR, length__m_ VARCHAR) [/INST] ### Response: SELECT AVG(kilometer) FROM table_name_15 WHERE pavement = "asphalt" AND length__m_ > 645 AND name = "berendries" AND average_climb___percentage_ < 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Number of the Koppenberg course with less than 195 Kilometers? ### Context: CREATE TABLE table_name_28 (number VARCHAR, name VARCHAR, kilometer VARCHAR) [/INST] ### Response: SELECT COUNT(number) FROM table_name_28 WHERE name = "koppenberg" AND kilometer < 195 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 part three is class 4? ### Context: CREATE TABLE table_name_4 (part_3 VARCHAR, class VARCHAR) [/INST] ### Response: SELECT part_3 FROM table_name_4 WHERE class = "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 part one is class 7d? ### Context: CREATE TABLE table_name_36 (part_1 VARCHAR, class VARCHAR) [/INST] ### Response: SELECT part_1 FROM table_name_36 WHERE class = "7d" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 part 3 has class 7b? ### Context: CREATE TABLE table_name_97 (part_3 VARCHAR, class VARCHAR) [/INST] ### Response: SELECT part_3 FROM table_name_97 WHERE class = "7b" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class has a part 2 of halp warþ? ### Context: CREATE TABLE table_name_14 (class VARCHAR, part_2 VARCHAR) [/INST] ### Response: SELECT class FROM table_name_14 WHERE part_2 = "halp warþ" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 part 2 has a verb that means to leap? ### Context: CREATE TABLE table_name_70 (part_2 VARCHAR, verb_meaning VARCHAR) [/INST] ### Response: SELECT part_2 FROM table_name_70 WHERE verb_meaning = "to leap" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are the semifinalists when the tournament is in Cincinnati? ### Context: CREATE TABLE table_name_58 (semifinalists VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT semifinalists FROM table_name_58 WHERE tournament = "cincinnati" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 finalist in the week of March 12? ### Context: CREATE TABLE table_name_91 (finalist VARCHAR, week VARCHAR) [/INST] ### Response: SELECT finalist FROM table_name_91 WHERE week = "march 12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the May 7 finalist? ### Context: CREATE TABLE table_name_14 (finalist VARCHAR, week VARCHAR) [/INST] ### Response: SELECT finalist FROM table_name_14 WHERE week = "may 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: For the week of August 6, who is the finalist? ### Context: CREATE TABLE table_name_26 (finalist VARCHAR, week VARCHAR) [/INST] ### Response: SELECT finalist FROM table_name_26 WHERE week = "august 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 lowest Pick #, when College is "Jackson State"? ### Context: CREATE TABLE table_name_98 (pick__number INTEGER, college VARCHAR) [/INST] ### Response: SELECT MIN(pick__number) FROM table_name_98 WHERE college = "jackson 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 Pick #, when Round is "10"? ### Context: CREATE TABLE table_name_49 (pick__number VARCHAR, round VARCHAR) [/INST] ### Response: SELECT pick__number FROM table_name_49 WHERE round = 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Player, when Round is greater than 8, when Pick # is greater than 234, and when College is "Louisville"? ### Context: CREATE TABLE table_name_22 (player VARCHAR, college VARCHAR, round VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT player FROM table_name_22 WHERE round > 8 AND pick__number > 234 AND college = "louisville" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Round, when Player is "Gurnest Brown", and when Pick # is greater than 180? ### Context: CREATE TABLE table_name_84 (round INTEGER, player VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT AVG(round) FROM table_name_84 WHERE player = "gurnest brown" AND pick__number > 180 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pick #, when College is "Louisville", and when Round is less than 10? ### Context: CREATE TABLE table_name_6 (pick__number INTEGER, college VARCHAR, round VARCHAR) [/INST] ### Response: SELECT MIN(pick__number) FROM table_name_6 WHERE college = "louisville" AND round < 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Class has a Frequency MHz larger than 91.7, and a Call sign of k272ec? ### Context: CREATE TABLE table_name_21 (class VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT class FROM table_name_21 WHERE frequency_mhz > 91.7 AND call_sign = "k272ec" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Frequency MHz has a Call sign of k210dv? ### Context: CREATE TABLE table_name_35 (frequency_mhz INTEGER, call_sign VARCHAR) [/INST] ### Response: SELECT MAX(frequency_mhz) FROM table_name_35 WHERE call_sign = "k210dv" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 City of license has a Frequency MHz larger than 89.5, and a Call sign of k213el? ### Context: CREATE TABLE table_name_22 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT city_of_license FROM table_name_22 WHERE frequency_mhz > 89.5 AND call_sign = "k213el" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ERP W has a Frequency MHz larger than 89.1, and a City of license of de queen, arkansas? ### Context: CREATE TABLE table_name_54 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) [/INST] ### Response: SELECT erp_w FROM table_name_54 WHERE frequency_mhz > 89.1 AND city_of_license = "de queen, arkansas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 FCC info has a City of license of burley, idaho, and a Frequency MHz of 89.5? ### Context: CREATE TABLE table_name_65 (fcc_info VARCHAR, city_of_license VARCHAR, frequency_mhz VARCHAR) [/INST] ### Response: SELECT fcc_info FROM table_name_65 WHERE city_of_license = "burley, idaho" AND frequency_mhz = 89.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: For the game played on 31 July 2007 on clay what was the score? ### Context: CREATE TABLE table_name_42 (score VARCHAR, surface VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_42 WHERE surface = "clay" AND date = "31 july 2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was Pablo Andújar the opponent? ### Context: CREATE TABLE table_name_38 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_38 WHERE opponent = "pablo andújar" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 decision when Buffalo was the visitor? ### Context: CREATE TABLE table_name_20 (decision VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT decision FROM table_name_20 WHERE visitor = "buffalo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 visiting team when Minnesota is the home team? ### Context: CREATE TABLE table_name_67 (visitor VARCHAR, home VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_67 WHERE home = "minnesota" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the match when Phoenix is the home team? ### Context: CREATE TABLE table_name_75 (date VARCHAR, home VARCHAR) [/INST] ### Response: SELECT date FROM table_name_75 WHERE home = "phoenix" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 quarterback for Arkansas State? ### Context: CREATE TABLE table_name_38 (player VARCHAR, position VARCHAR, college VARCHAR) [/INST] ### Response: SELECT player FROM table_name_38 WHERE position = "quarterback" AND college = "arkansas state" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total round of the 129 pick? ### Context: CREATE TABLE table_name_49 (round VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_49 WHERE pick__number = 129 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the record for January 19? ### Context: CREATE TABLE table_name_37 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_37 WHERE date = "january 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: What record has the score 111-89? ### Context: CREATE TABLE table_name_75 (record VARCHAR, score VARCHAR) [/INST] ### Response: SELECT record FROM table_name_75 WHERE score = "111-89" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the record for January 7? ### Context: CREATE TABLE table_name_21 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_21 WHERE date = "january 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 opponent on January 7? ### Context: CREATE TABLE table_name_36 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_36 WHERE date = "january 7" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What home team scored 102-87? ### Context: CREATE TABLE table_name_60 (home_team VARCHAR, score VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_60 WHERE score = "102-87" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 had a Score of 120-108? ### Context: CREATE TABLE table_name_1 (venue VARCHAR, score VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_1 WHERE score = "120-108" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Sydney Spirit was the home team? ### Context: CREATE TABLE table_name_41 (score VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_41 WHERE home_team = "sydney spirit" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 North Shore Events Centre? ### Context: CREATE TABLE table_name_9 (score VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT score FROM table_name_9 WHERE venue = "north shore events centre" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home team venue for the New Zealand Breakers? ### Context: CREATE TABLE table_name_30 (venue VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_30 WHERE home_team = "new zealand breakers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who had the decision when the visitor was Detroit and the home team was Ottawa? ### Context: CREATE TABLE table_name_71 (decision VARCHAR, visitor VARCHAR, home VARCHAR) [/INST] ### Response: SELECT decision FROM table_name_71 WHERE visitor = "detroit" AND home = "ottawa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score on March 18? ### Context: CREATE TABLE table_name_97 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_97 WHERE date = "march 18" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who had the highest points on March 27? ### Context: CREATE TABLE table_name_61 (high_points VARCHAR, date VARCHAR) [/INST] ### Response: SELECT high_points FROM table_name_61 WHERE date = "march 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: Name the average Lead Margin on november 13-november 19, 2007? ### Context: CREATE TABLE table_name_86 (lead_margin INTEGER, dates_administered VARCHAR) [/INST] ### Response: SELECT AVG(lead_margin) FROM table_name_86 WHERE dates_administered = "november 13-november 19, 2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For week 15, what was the total number of attendance recorded? ### Context: CREATE TABLE table_name_66 (attendance VARCHAR, week VARCHAR) [/INST] ### Response: SELECT COUNT(attendance) FROM table_name_66 WHERE week = 15 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the score when the home team is king's lynn? ### Context: CREATE TABLE table_name_66 (score VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_66 WHERE home_team = "king's lynn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home team when the away team is frickley colliery? ### Context: CREATE TABLE table_name_17 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_17 WHERE away_team = "frickley colliery" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tie no, on 24 november 1971 and the away team is king's lynn? ### Context: CREATE TABLE table_name_65 (tie_no VARCHAR, date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_65 WHERE date = "24 november 1971" AND away_team = "king's lynn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Longitude of the 61.0s Latitude? ### Context: CREATE TABLE table_name_27 (longitude VARCHAR, latitude VARCHAR) [/INST] ### Response: SELECT longitude FROM table_name_27 WHERE latitude = "61.0s" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What name has a longitude of 213.0e? ### Context: CREATE TABLE table_name_6 (name VARCHAR, longitude VARCHAR) [/INST] ### Response: SELECT name FROM table_name_6 WHERE longitude = "213.0e" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 type had an unknown manufacturer? ### Context: CREATE TABLE table_name_57 (type VARCHAR, manufacturer VARCHAR) [/INST] ### Response: SELECT type FROM table_name_57 WHERE manufacturer = "unknown" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the dreamworks experience from Ferrari? ### Context: CREATE TABLE table_name_30 (name VARCHAR, themed_area VARCHAR, manufacturer VARCHAR) [/INST] ### Response: SELECT name FROM table_name_30 WHERE themed_area = "dreamworks experience" AND manufacturer = "ferrari" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 type opened in 1982? ### Context: CREATE TABLE table_name_12 (type VARCHAR, opened VARCHAR) [/INST] ### Response: SELECT type FROM table_name_12 WHERE opened = "1982" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What themed area opened in 2010 as an animal show? ### Context: CREATE TABLE table_name_35 (themed_area VARCHAR, type VARCHAR, opened VARCHAR) [/INST] ### Response: SELECT themed_area FROM table_name_35 WHERE type = "animal show" AND opened = "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: Which visitor lives in Minnesota? ### Context: CREATE TABLE table_name_23 (visitor VARCHAR, home VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_23 WHERE home = "minnesota" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 november 21? ### Context: CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_2 WHERE date = "november 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: Who has the lead in the season where Cathrine Norberg is second and Anna Rindeskog is third? ### Context: CREATE TABLE table_name_70 (lead VARCHAR, second VARCHAR, third VARCHAR) [/INST] ### Response: SELECT lead FROM table_name_70 WHERE second = "cathrine norberg" AND third = "anna rindeskog" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score of game 21? ### Context: CREATE TABLE table_name_96 (score VARCHAR, game VARCHAR) [/INST] ### Response: SELECT score FROM table_name_96 WHERE game = 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 score of the game on December 22? ### Context: CREATE TABLE table_name_81 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_81 WHERE date = "december 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 game is greater than 24? ### Context: CREATE TABLE table_name_65 (record VARCHAR, game INTEGER) [/INST] ### Response: SELECT record FROM table_name_65 WHERE game > 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 highest Market Value (billion $), when Rank is 02 2, and when Sales (billion $) is greater than 113.1? ### Context: CREATE TABLE table_name_99 (market_value__billion_ INTEGER, rank VARCHAR, sales__billion_$_ VARCHAR) [/INST] ### Response: SELECT MAX(market_value__billion_) AS $_ FROM table_name_99 WHERE rank = "02 2" AND sales__billion_$_ > 113.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 Rank, when Headquarters is United Kingdom, and when Sales (billion $) is 370.9? ### Context: CREATE TABLE table_name_14 (rank VARCHAR, headquarters VARCHAR, sales__billion_$_ VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_14 WHERE headquarters = "united kingdom" AND sales__billion_$_ = 370.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 lowest Profits (billion $), when Market Value (billion $) is less than 201.3, when Headquarters is United States, and when Company is JPMorgan Chase? ### Context: CREATE TABLE table_name_83 (profits__billion_ INTEGER, company VARCHAR, market_value__billion_$_ VARCHAR, headquarters VARCHAR) [/INST] ### Response: SELECT MIN(profits__billion_) AS $_ FROM table_name_83 WHERE market_value__billion_$_ < 201.3 AND headquarters = "united states" AND company = "jpmorgan chase" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the status of the community that has an area larger than 5.2 sq km, and a Census Ranking of 2,531 of 5,008? ### Context: CREATE TABLE table_name_60 (status VARCHAR, area_km_2 VARCHAR, census_ranking VARCHAR) [/INST] ### Response: SELECT status FROM table_name_60 WHERE area_km_2 > 5.2 AND census_ranking = "2,531 of 5,008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 saint-andré's population? ### Context: CREATE TABLE table_name_62 (population VARCHAR, official_name VARCHAR) [/INST] ### Response: SELECT population FROM table_name_62 WHERE official_name = "saint-andré" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 results of week 12? ### Context: CREATE TABLE table_name_57 (result VARCHAR, week VARCHAR) [/INST] ### Response: SELECT result FROM table_name_57 WHERE week = 12 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What opponent has 76,202 attendance ? ### Context: CREATE TABLE table_name_5 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_5 WHERE attendance = "76,202" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 FIS Nordic World Ski Championship years when the winter Olympics took place in 1968? ### Context: CREATE TABLE table_name_93 (fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR) [/INST] ### Response: SELECT fis_nordic_world_ski_championships FROM table_name_93 WHERE winter_olympics = 1968 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which country has a FIS Nordic World Ski Championship before 1989, was in the winter Olympics before 1980, and has a Holmenkollen of 1956? ### Context: CREATE TABLE table_name_26 (country VARCHAR, holmenkollen VARCHAR, fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR) [/INST] ### Response: SELECT country FROM table_name_26 WHERE fis_nordic_world_ski_championships < 1989 AND winter_olympics < 1980 AND holmenkollen = "1956" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Grids is less than 2 what are the total laps? ### Context: CREATE TABLE table_name_87 (laps VARCHAR, grid INTEGER) [/INST] ### Response: SELECT COUNT(laps) FROM table_name_87 WHERE grid < 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 Player has a To par of –4? ### Context: CREATE TABLE table_name_93 (player VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT player FROM table_name_93 WHERE to_par = "–4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Place has a Score larger than 68, and a Player of david ogrin? ### Context: CREATE TABLE table_name_63 (place VARCHAR, score VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_63 WHERE score > 68 AND player = "david ogrin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Player has a Place of t2? ### Context: CREATE TABLE table_name_31 (player VARCHAR, place VARCHAR) [/INST] ### Response: SELECT player FROM table_name_31 WHERE place = "t2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What event did Mikhail Avetisyan win by method of DQ (eye gouging)? ### Context: CREATE TABLE table_name_98 (event VARCHAR, method VARCHAR) [/INST] ### Response: SELECT event FROM table_name_98 WHERE method = "dq (eye gouging)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For the item that has a Gecko of 'font', what is the KHTML value? ### Context: CREATE TABLE table_name_11 (khtml VARCHAR, gecko VARCHAR) [/INST] ### Response: SELECT khtml FROM table_name_11 WHERE gecko = "font" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Prince XML value for the engine that has a Gecko value of 'no' and webkit value of 'nightly build'? ### Context: CREATE TABLE table_name_63 (prince_xml VARCHAR, gecko VARCHAR, webkit VARCHAR) [/INST] ### Response: SELECT prince_xml FROM table_name_63 WHERE gecko = "no" AND webkit = "nightly build" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Gecko value for the item that has a Trident value of 'font'? ### Context: CREATE TABLE table_name_34 (gecko VARCHAR, trident VARCHAR) [/INST] ### Response: SELECT gecko FROM table_name_34 WHERE trident = "font" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Gecko value for the item that has a Prince XML value of 'no' and a KHTML value of 'yes'? ### Context: CREATE TABLE table_name_6 (gecko VARCHAR, prince_xml VARCHAR, khtml VARCHAR) [/INST] ### Response: SELECT gecko FROM table_name_6 WHERE prince_xml = "yes" AND khtml = "yes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Trident version has a Gecko value of 19.0? ### Context: CREATE TABLE table_name_57 (trident VARCHAR, gecko VARCHAR) [/INST] ### Response: SELECT trident FROM table_name_57 WHERE gecko = "19.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: For the item with a Prince XML value of 'font', what is the WebKit value? ### Context: CREATE TABLE table_name_71 (webkit VARCHAR, prince_xml VARCHAR) [/INST] ### Response: SELECT webkit FROM table_name_71 WHERE prince_xml = "font" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Played has a Team of cerro corá, and Losses larger than 4? ### Context: CREATE TABLE table_name_55 (played INTEGER, team VARCHAR, losses VARCHAR) [/INST] ### Response: SELECT AVG(played) FROM table_name_55 WHERE team = "cerro corá" AND losses > 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 Losses has Scored of 9, and Points larger than 8? ### Context: CREATE TABLE table_name_87 (losses INTEGER, scored VARCHAR, points VARCHAR) [/INST] ### Response: SELECT AVG(losses) FROM table_name_87 WHERE scored = 9 AND points > 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: On Race 14 when the FLap is larger than 1, what is the podium number? ### Context: CREATE TABLE table_name_42 (podium VARCHAR, race VARCHAR, flap VARCHAR) [/INST] ### Response: SELECT COUNT(podium) FROM table_name_42 WHERE race = 14 AND flap > 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: When the Flap is less than 15 and the podium is larger than 11, what is the pole? ### Context: CREATE TABLE table_name_95 (pole VARCHAR, flap VARCHAR, podium VARCHAR) [/INST] ### Response: SELECT pole FROM table_name_95 WHERE flap < 15 AND podium > 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: When the pole is larger than 0 and the podium is less than 44, with a race number less than 16, what is the FLap? ### Context: CREATE TABLE table_name_79 (flap VARCHAR, race VARCHAR, pole VARCHAR, podium VARCHAR) [/INST] ### Response: SELECT flap FROM table_name_79 WHERE pole > 0 AND podium < 44 AND race < 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Week, when Opponent is Minnesota Vikings? ### Context: CREATE TABLE table_name_16 (week INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT AVG(week) FROM table_name_16 WHERE opponent = "minnesota vikings" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Opponent, when Attendance is 58,836? ### Context: CREATE TABLE table_name_19 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_19 WHERE attendance = "58,836" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 engine of Rob Walker Racing Team has 47 points and F tyres? ### Context: CREATE TABLE table_name_27 (engine VARCHAR, entrant VARCHAR, points VARCHAR, tyres VARCHAR) [/INST] ### Response: SELECT engine FROM table_name_27 WHERE points = "47" AND tyres = "f" AND entrant = "rob walker racing team" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 entrant has 49 points and a Mclaren M7A chassis? ### Context: CREATE TABLE table_name_66 (entrant VARCHAR, points VARCHAR, chassis VARCHAR) [/INST] ### Response: SELECT entrant FROM table_name_66 WHERE points = "49" AND chassis = "mclaren m7a" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many points did Bob Gerard Racing have in 1965? ### Context: CREATE TABLE table_name_37 (points VARCHAR, entrant VARCHAR, year VARCHAR) [/INST] ### Response: SELECT points FROM table_name_37 WHERE entrant = "bob gerard racing" AND year = 1965 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which entrant had a Brabham BT10 chassis before 1965? ### Context: CREATE TABLE table_name_12 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) [/INST] ### Response: SELECT entrant FROM table_name_12 WHERE year < 1965 AND chassis = "brabham bt10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 on September 28, 1997? ### Context: CREATE TABLE table_name_53 (attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_53 WHERE date = "september 28, 1997" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Opponent on August 31, 1997? ### Context: CREATE TABLE table_name_15 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_15 WHERE date = "august 31, 1997" </s>