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 name of the award in a year more than 2005, and the Result of nominated? ### Context: CREATE TABLE table_name_17 (award VARCHAR, year VARCHAR, result VARCHAR) [/INST] ### Response: SELECT award FROM table_name_17 WHERE year > 2005 AND 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 award for the Star Awards earlier than 2005 and the result is won? ### Context: CREATE TABLE table_name_31 (award VARCHAR, result VARCHAR, organisation VARCHAR, year VARCHAR) [/INST] ### Response: SELECT award FROM table_name_31 WHERE organisation = "star awards" AND 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: What is the organisation in 2011 that was nominated and the award of best info-ed programme host? ### Context: CREATE TABLE table_name_8 (organisation VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR) [/INST] ### Response: SELECT organisation FROM table_name_8 WHERE year = 2011 AND result = "nominated" AND award = "best info-ed programme host" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Representative Work in a year later than 2005 with a Result of nominated, and an Award of best variety show host? ### Context: CREATE TABLE table_name_20 (representative_work VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR) [/INST] ### Response: SELECT representative_work FROM table_name_20 WHERE year > 2005 AND result = "nominated" AND award = "best variety show host" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 award for 1998 with Representative Work of city beat? ### Context: CREATE TABLE table_name_78 (award VARCHAR, year VARCHAR, representative_work VARCHAR) [/INST] ### Response: SELECT award FROM table_name_78 WHERE year = 1998 AND representative_work = "city beat" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Score of 2–1 has what record? ### Context: CREATE TABLE table_name_66 (record VARCHAR, score VARCHAR) [/INST] ### Response: SELECT record FROM table_name_66 WHERE score = "2–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: Home of kings had what score? ### Context: CREATE TABLE table_name_64 (score VARCHAR, home VARCHAR) [/INST] ### Response: SELECT score FROM table_name_64 WHERE home = "kings" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Record of 21–29–10 had what total number of points? ### Context: CREATE TABLE table_name_2 (points VARCHAR, record VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_name_2 WHERE record = "21–29–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: How many wins did the team, which had more than 110 points, have in 1989? ### Context: CREATE TABLE table_name_13 (wins INTEGER, year VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(wins) FROM table_name_13 WHERE year = 1989 AND points > 110 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of points the team with 0 wins had before 1992? ### Context: CREATE TABLE table_name_11 (points INTEGER, wins VARCHAR, year VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_name_11 WHERE wins = 0 AND year < 1992 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what Round was Pick #12 drafted? ### Context: CREATE TABLE table_name_53 (round VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT round FROM table_name_53 WHERE pick__number = 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 Player is a Wide Receiver? ### Context: CREATE TABLE table_name_40 (player VARCHAR, position VARCHAR) [/INST] ### Response: SELECT player FROM table_name_40 WHERE position = "wide receiver" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what Round was a player from College of Connecticut drafted? ### Context: CREATE TABLE table_name_1 (round VARCHAR, college VARCHAR) [/INST] ### Response: SELECT round FROM table_name_1 WHERE college = "connecticut" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pick #321? ### Context: CREATE TABLE table_name_97 (position VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT position FROM table_name_97 WHERE pick__number = 321 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Mark Cannon's College? ### Context: CREATE TABLE table_name_45 (college VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college FROM table_name_45 WHERE player = "mark cannon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 and duration of the race on April 19? ### Context: CREATE TABLE table_name_85 (length_duration VARCHAR, date VARCHAR) [/INST] ### Response: SELECT length_duration FROM table_name_85 WHERE date = "april 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 was the circuit had a race on September 20. ### Context: CREATE TABLE table_name_46 (circuit VARCHAR, date VARCHAR) [/INST] ### Response: SELECT circuit FROM table_name_46 WHERE date = "september 20" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the date of the race that lasted 6 hours? ### Context: CREATE TABLE table_name_54 (date VARCHAR, length_duration VARCHAR) [/INST] ### Response: SELECT date FROM table_name_54 WHERE length_duration = "6 hours" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 classes for the circuit that has the Mazda Raceway Laguna Seca race. ### Context: CREATE TABLE table_name_70 (class_es_ VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT class_es_ FROM table_name_70 WHERE circuit = "mazda raceway laguna seca" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has points less than 18, and a november greater than 11? ### Context: CREATE TABLE table_name_21 (opponent VARCHAR, points VARCHAR, november VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_21 WHERE points < 18 AND november > 11 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest November that has a game less than 12, and @ detroit red wings as the opponent? ### Context: CREATE TABLE table_name_57 (november INTEGER, game VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT MAX(november) FROM table_name_57 WHERE game < 12 AND opponent = "@ detroit red wings" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a november greater than 11, and st. louis blues as the opponent? ### Context: CREATE TABLE table_name_62 (record VARCHAR, november VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_name_62 WHERE november > 11 AND opponent = "st. louis blues" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 record was 5-4-2? ### Context: CREATE TABLE table_name_32 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_32 WHERE record = "5-4-2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score for the team with a record of 2-1? ### Context: CREATE TABLE table_name_81 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_81 WHERE record = "2-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 home team has a record of 3-2? ### Context: CREATE TABLE table_name_49 (home VARCHAR, record VARCHAR) [/INST] ### Response: SELECT home FROM table_name_49 WHERE record = "3-2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average wins in 250cc class for Bultaco with 8 points later than 1966? ### Context: CREATE TABLE table_name_84 (wins INTEGER, points VARCHAR, year VARCHAR, class VARCHAR, team VARCHAR) [/INST] ### Response: SELECT AVG(wins) FROM table_name_84 WHERE class = "250cc" AND team = "bultaco" AND year > 1966 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: Which class corresponds to more than 2 points, wins greater than 0, and a year earlier than 1973? ### Context: CREATE TABLE table_name_47 (class VARCHAR, wins VARCHAR, points VARCHAR, year VARCHAR) [/INST] ### Response: SELECT class FROM table_name_47 WHERE points > 2 AND year < 1973 AND wins > 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of all points in 1975 with 0 wins? ### Context: CREATE TABLE table_name_33 (points INTEGER, year VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT SUM(points) FROM table_name_33 WHERE year = 1975 AND wins < 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: Which Country has a Score of 70-68-70-68=276? ### Context: CREATE TABLE table_name_43 (country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_43 WHERE score = 70 - 68 - 70 - 68 = 276 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fastest lap in the Le Mans Bugatti circuit? ### Context: CREATE TABLE table_name_72 (fastest_lap VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT fastest_lap FROM table_name_72 WHERE circuit = "le mans bugatti" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fastest lap of the Oschersleben circuit with Audi Sport Team ABT as the winning team? ### Context: CREATE TABLE table_name_76 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT fastest_lap FROM table_name_76 WHERE winning_team = "audi sport team abt" AND circuit = "oschersleben" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning driver of the Oschersleben circuit with Timo Scheider as the pole position? ### Context: CREATE TABLE table_name_36 (winning_driver VARCHAR, pole_position VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_name_36 WHERE pole_position = "timo scheider" AND circuit = "oschersleben" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning team of the race on 31 August with Audi as the winning manufacturer and Timo Scheider as the winning driver? ### Context: CREATE TABLE table_name_15 (winning_team VARCHAR, date VARCHAR, winning_manufacturer VARCHAR, winning_driver VARCHAR) [/INST] ### Response: SELECT winning_team FROM table_name_15 WHERE winning_manufacturer = "audi" AND winning_driver = "timo scheider" AND date = "31 august" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning driver of the race with no race as the winning manufacturer? ### Context: CREATE TABLE table_name_66 (winning_driver VARCHAR, winning_manufacturer VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_name_66 WHERE winning_manufacturer = "no race" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what Tournament was the Score of 3–6, 6–3, 7–6 in a match played on a hard Surface? ### Context: CREATE TABLE table_name_78 (tournament VARCHAR, surface VARCHAR, score VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_78 WHERE surface = "hard" AND score = "3–6, 6–3, 7–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 was the Partner in a game with the Score of 6–4, 6–2 on a hard surface? ### Context: CREATE TABLE table_name_74 (partner VARCHAR, surface VARCHAR, score VARCHAR) [/INST] ### Response: SELECT partner FROM table_name_74 WHERE surface = "hard" AND score = "6–4, 6–2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what Date was the Score 6–4, 6–2? ### Context: CREATE TABLE table_name_59 (date VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_59 WHERE score = "6–4, 6–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: When was the year that had an average attendance of 5,445? ### Context: CREATE TABLE table_name_64 (year VARCHAR, avg_attendance VARCHAR) [/INST] ### Response: SELECT year FROM table_name_64 WHERE avg_attendance = "5,445" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In 2010-11, what was the League name? ### Context: CREATE TABLE table_name_18 (league VARCHAR, year VARCHAR) [/INST] ### Response: SELECT league FROM table_name_18 WHERE year = "2010-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: If the Played was played, what is the lost? ### Context: CREATE TABLE table_name_66 (lost VARCHAR) [/INST] ### Response: SELECT lost FROM table_name_66 WHERE "played" = "played" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the losing bonus was 6, what is the tries for? ### Context: CREATE TABLE table_name_76 (tries_for VARCHAR, losing_bonus VARCHAR) [/INST] ### Response: SELECT tries_for FROM table_name_76 WHERE losing_bonus = "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: If points against was 371, what is the drawn? ### Context: CREATE TABLE table_name_51 (drawn VARCHAR, points_against VARCHAR) [/INST] ### Response: SELECT drawn FROM table_name_51 WHERE points_against = "371" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If played is 22 and the tries against are 43, what are the points? ### Context: CREATE TABLE table_name_30 (points_for VARCHAR, played VARCHAR, tries_against VARCHAR) [/INST] ### Response: SELECT points_for FROM table_name_30 WHERE played = "22" AND tries_against = "43" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the losing bonus of Crumlin RFC? ### Context: CREATE TABLE table_name_21 (losing_bonus VARCHAR, club VARCHAR) [/INST] ### Response: SELECT losing_bonus FROM table_name_21 WHERE club = "crumlin rfc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the Opponent with a Week that's larger than 16? ### Context: CREATE TABLE table_name_9 (opponent VARCHAR, week INTEGER) [/INST] ### Response: SELECT opponent FROM table_name_9 WHERE week > 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's the Game SIte with an Opponent of San Diego Chargers? ### Context: CREATE TABLE table_name_97 (game_site VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT game_site FROM table_name_97 WHERE opponent = "san diego chargers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Silver is the lowest one that has a Gold larger than 0, and a Rank of total, and a Bronze smaller than 32? ### Context: CREATE TABLE table_name_70 (silver INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MIN(silver) FROM table_name_70 WHERE gold > 0 AND rank = "total" AND bronze < 32 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Bronze is the lowest one that has a Rank of 3, and a Silver smaller than 2? ### Context: CREATE TABLE table_name_7 (bronze INTEGER, rank VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT MIN(bronze) FROM table_name_7 WHERE rank = "3" AND silver < 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Silver has a Nation of china, and a Bronze smaller than 7? ### Context: CREATE TABLE table_name_2 (silver INTEGER, nation VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT SUM(silver) FROM table_name_2 WHERE nation = "china" AND bronze < 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Nation has a Gold of 0, and a Bronze smaller than 6, and a Rank of 6? ### Context: CREATE TABLE table_name_91 (nation VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_91 WHERE gold = 0 AND bronze < "6" AND 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 score has detroit as the home, and December 9 as the date? ### Context: CREATE TABLE table_name_78 (score VARCHAR, home VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_78 WHERE home = "detroit" AND date = "december 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 score has mtl. maroons as the visitor? ### Context: CREATE TABLE table_name_91 (score VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT score FROM table_name_91 WHERE visitor = "mtl. maroons" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 detroit as the home and mtl. maroons as the visitor? ### Context: CREATE TABLE table_name_99 (record VARCHAR, home VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT record FROM table_name_99 WHERE home = "detroit" AND visitor = "mtl. maroons" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What visitor has December 14 as the date? ### Context: CREATE TABLE table_name_55 (visitor VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_55 WHERE date = "december 14" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of FCWC in the Years of 1958–1965, and an ICFC smaller than 11? ### Context: CREATE TABLE table_name_38 (fcwc INTEGER, years VARCHAR, icfc VARCHAR) [/INST] ### Response: SELECT MAX(fcwc) FROM table_name_38 WHERE years = "1958–1965" AND icfc < 11 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest ranking associated with a total of 23? ### Context: CREATE TABLE table_name_51 (ranking INTEGER, total VARCHAR) [/INST] ### Response: SELECT MIN(ranking) FROM table_name_51 WHERE total = 23 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the Outcome on 13 november 2006? ### Context: CREATE TABLE table_name_44 (outcome VARCHAR, date VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_44 WHERE date = "13 november 2006" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Score has an Opponent of melanie south? ### Context: CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT score FROM table_name_58 WHERE opponent = "melanie south" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Outcome has a Opponent of lindsay lee-waters? ### Context: CREATE TABLE table_name_83 (outcome VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_83 WHERE opponent = "lindsay lee-waters" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is on 17 november 2002? ### Context: CREATE TABLE table_name_64 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_64 WHERE date = "17 november 2002" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Tournament has an Outcome of winner on 19 october 2008? ### Context: CREATE TABLE table_name_25 (tournament VARCHAR, outcome VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_25 WHERE outcome = "winner" AND date = "19 october 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: When is an Opponent of evie dominikovic? ### Context: CREATE TABLE table_name_72 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_72 WHERE opponent = "evie dominikovic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the opponent at the game attended by 45,000? ### Context: CREATE TABLE table_name_73 (opponent_number VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent_number FROM table_name_73 WHERE attendance = "45,000" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Bleeding time has a Condition of factor x deficiency as seen in amyloid purpura? ### Context: CREATE TABLE table_name_31 (bleeding_time VARCHAR, condition VARCHAR) [/INST] ### Response: SELECT bleeding_time FROM table_name_31 WHERE condition = "factor x deficiency as seen in amyloid purpura" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Platelet count has a Condition of bernard-soulier syndrome? ### Context: CREATE TABLE table_name_34 (platelet_count VARCHAR, condition VARCHAR) [/INST] ### Response: SELECT platelet_count FROM table_name_34 WHERE condition = "bernard-soulier syndrome" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Prothrombin time has a Platelet count of unaffected, and a Bleeding time of unaffected, and a Partial thromboplastin time of normal or mildly prolonged? ### Context: CREATE TABLE table_name_28 (prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR, bleeding_time VARCHAR) [/INST] ### Response: SELECT prothrombin_time FROM table_name_28 WHERE platelet_count = "unaffected" AND bleeding_time = "unaffected" AND partial_thromboplastin_time = "normal or mildly prolonged" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Platelet count has a Condition of factor v deficiency? ### Context: CREATE TABLE table_name_39 (platelet_count VARCHAR, condition VARCHAR) [/INST] ### Response: SELECT platelet_count FROM table_name_39 WHERE condition = "factor v deficiency" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Condition has a Bleeding time of unaffected, and a Partial thromboplastin time of prolonged, and a Prothrombin time of unaffected? ### Context: CREATE TABLE table_name_53 (condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR) [/INST] ### Response: SELECT condition FROM table_name_53 WHERE bleeding_time = "unaffected" AND partial_thromboplastin_time = "prolonged" AND prothrombin_time = "unaffected" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 hemophilia's bleeding time? ### Context: CREATE TABLE table_name_41 (bleeding_time VARCHAR, condition VARCHAR) [/INST] ### Response: SELECT bleeding_time FROM table_name_41 WHERE condition = "hemophilia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Bronze has a Year smaller than 1994, and a Silver of south korea? ### Context: CREATE TABLE table_name_45 (bronze VARCHAR, year VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT bronze FROM table_name_45 WHERE year < 1994 AND silver = "south korea" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Location has a Silver of japan? ### Context: CREATE TABLE table_name_10 (location VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT location FROM table_name_10 WHERE silver = "japan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the highest one that has a Bronze of south korea, and a Silver of philippines? ### Context: CREATE TABLE table_name_27 (year INTEGER, bronze VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_27 WHERE bronze = "south korea" AND silver = "philippines" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many years has Japan won silver? ### Context: CREATE TABLE table_name_4 (year INTEGER, silver VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_4 WHERE silver = "japan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Indians record during the game that had 19,823 fans attending? ### Context: CREATE TABLE table_name_75 (record VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT record FROM table_name_75 WHERE attendance = "19,823" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date did the Indians have a record of 14-28? ### Context: CREATE TABLE table_name_89 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_89 WHERE record = "14-28" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what Round was George Thomas Picked? ### Context: CREATE TABLE table_name_24 (round INTEGER, name VARCHAR) [/INST] ### Response: SELECT AVG(round) FROM table_name_24 WHERE name = "george thomas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 first Round with a Pick # greater than 1 and 140 Overall? ### Context: CREATE TABLE table_name_43 (round INTEGER, pick__number VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT MIN(round) FROM table_name_43 WHERE pick__number > 1 AND overall > 140 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Aundray Bruce's Pick #? ### Context: CREATE TABLE table_name_8 (pick__number VARCHAR, name VARCHAR) [/INST] ### Response: SELECT pick__number FROM table_name_8 WHERE name = "aundray bruce" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what Round with an Overall greater than 306 was the pick from the College of Virginia Tech? ### Context: CREATE TABLE table_name_66 (round VARCHAR, college VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_66 WHERE college = "virginia tech" AND overall > 306 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 highest wins number had Kawasaki as a team, 95 points, and a year prior to 1981? ### Context: CREATE TABLE table_name_9 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR) [/INST] ### Response: SELECT MAX(wins) FROM table_name_9 WHERE team = "kawasaki" AND points = 95 AND year < 1981 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 numbers had a class of 250cc, a year prior to 1978, Yamaha as a team, and where wins was more than 0? ### Context: CREATE TABLE table_name_19 (points VARCHAR, wins VARCHAR, team VARCHAR, class VARCHAR, year VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_name_19 WHERE class = "250cc" AND year < 1978 AND team = "yamaha" AND wins > 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the mean year number where there are more than 0 wins, the class is 250cc, and the points are 95? ### Context: CREATE TABLE table_name_66 (year INTEGER, points VARCHAR, wins VARCHAR, class VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_66 WHERE wins > 0 AND class = "250cc" AND points = 95 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score on december 10? ### Context: CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_98 WHERE date = "december 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 the date for the home detroit and visitor was chicago? ### Context: CREATE TABLE table_name_82 (date VARCHAR, home VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT date FROM table_name_82 WHERE home = "detroit" AND visitor = "chicago" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 visitor on december 3? ### Context: CREATE TABLE table_name_66 (visitor VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_66 WHERE date = "december 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: Who is the visitor on the date december 31? ### Context: CREATE TABLE table_name_95 (visitor VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_95 WHERE date = "december 31" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the location of the race on 11 November? ### Context: CREATE TABLE table_name_14 (location VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location FROM table_name_14 WHERE date = "11 november" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winner of the race in Burkina Faso? ### Context: CREATE TABLE table_name_60 (winner VARCHAR, location VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_60 WHERE location = "burkina faso" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 release date of Martial Law: Take Out? ### Context: CREATE TABLE table_name_45 (release_date VARCHAR, release_title VARCHAR) [/INST] ### Response: SELECT release_date FROM table_name_45 WHERE release_title = "martial law: take out" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 publisher released Martial Law: Substitutes? ### Context: CREATE TABLE table_name_47 (publisher VARCHAR, release_title VARCHAR) [/INST] ### Response: SELECT publisher FROM table_name_47 WHERE release_title = "martial law: substitutes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had a release of 1 VCD titled Martial Law: Substitutes? ### Context: CREATE TABLE table_name_93 (country VARCHAR, notes VARCHAR, release_title VARCHAR) [/INST] ### Response: SELECT country FROM table_name_93 WHERE notes = "1 vcd" AND release_title = "martial law: substitutes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 publisher of Martial Law: Dead Ringers? ### Context: CREATE TABLE table_name_56 (publisher VARCHAR, release_title VARCHAR) [/INST] ### Response: SELECT publisher FROM table_name_56 WHERE release_title = "martial law: dead ringers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Loser when the winner was new england patriots, and a Location of giants stadium, and a Result of 30–28? ### Context: CREATE TABLE table_name_46 (loser VARCHAR, result VARCHAR, winner VARCHAR, location VARCHAR) [/INST] ### Response: SELECT loser FROM table_name_46 WHERE winner = "new england patriots" AND location = "giants stadium" AND result = "30–28" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What team was the lower when the winner was the new york jets, and a Year earlier than 1994, and a Result of 37–13? ### Context: CREATE TABLE table_name_98 (loser VARCHAR, result VARCHAR, winner VARCHAR, year VARCHAR) [/INST] ### Response: SELECT loser FROM table_name_98 WHERE winner = "new york jets" AND year < 1994 AND result = "37–13" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the location when the new york jets lost earlier than 1997 and a Result of 31–28? ### Context: CREATE TABLE table_name_20 (location VARCHAR, result VARCHAR, loser VARCHAR, year VARCHAR) [/INST] ### Response: SELECT location FROM table_name_20 WHERE loser = "new york jets" AND year < 1997 AND result = "31–28" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the year when the Winner was the new york jets, with a Result of 24–17, played at giants stadium? ### Context: CREATE TABLE table_name_39 (year INTEGER, location VARCHAR, winner VARCHAR, result VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_39 WHERE winner = "new york jets" AND result = "24–17" AND location = "giants stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 catalog # ual 24033 had an LP? ### Context: CREATE TABLE table_name_67 (year INTEGER, type VARCHAR, catalog__number VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_67 WHERE type = "lp" AND catalog__number = "ual 24033" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Games had a Name of manuel felix diaz? ### Context: CREATE TABLE table_name_64 (games VARCHAR, name VARCHAR) [/INST] ### Response: SELECT games FROM table_name_64 WHERE name = "manuel felix diaz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Medal had a Games of 2008 beijing, and a Sport of taekwondo? ### Context: CREATE TABLE table_name_48 (medal VARCHAR, games VARCHAR, sport VARCHAR) [/INST] ### Response: SELECT medal FROM table_name_48 WHERE games = "2008 beijing" AND sport = "taekwondo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Medal had a Name of félix sánchez, and a Games of 2012 london? ### Context: CREATE TABLE table_name_43 (medal VARCHAR, name VARCHAR, games VARCHAR) [/INST] ### Response: SELECT medal FROM table_name_43 WHERE name = "félix sánchez" AND games = "2012 london" </s>