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's the dipole moment of ethyl acetate (etoac)? ### Context: CREATE TABLE table_name_78 (dipole_moment___d__ VARCHAR, solvent VARCHAR) [/INST] ### Response: SELECT dipole_moment___d__ FROM table_name_78 WHERE solvent = "ethyl acetate (etoac)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 boiling point of diethyl ether? ### Context: CREATE TABLE table_name_74 (boiling_point VARCHAR, solvent VARCHAR) [/INST] ### Response: SELECT boiling_point FROM table_name_74 WHERE solvent = "diethyl ether" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Type, when Works Number is 75823? ### Context: CREATE TABLE table_name_16 (type VARCHAR, works_number VARCHAR) [/INST] ### Response: SELECT type FROM table_name_16 WHERE works_number = "75823" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Type is DS4-4-750, and when Works Number is 74409? ### Context: CREATE TABLE table_name_93 (date VARCHAR, type VARCHAR, works_number VARCHAR) [/INST] ### Response: SELECT date FROM table_name_93 WHERE type = "ds4-4-750" AND works_number = "74409" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Works Number, when Type is RS-11, and when Number is 61? ### Context: CREATE TABLE table_name_7 (works_number VARCHAR, type VARCHAR, number VARCHAR) [/INST] ### Response: SELECT works_number FROM table_name_7 WHERE type = "rs-11" AND number = "61" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Builder, when Date is 1925? ### Context: CREATE TABLE table_name_21 (builder VARCHAR, date VARCHAR) [/INST] ### Response: SELECT builder FROM table_name_21 WHERE date = "1925" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Works Number, when Number is 55? ### Context: CREATE TABLE table_name_44 (works_number VARCHAR, number VARCHAR) [/INST] ### Response: SELECT works_number FROM table_name_44 WHERE number = "55" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Builder, when Date is 1953? ### Context: CREATE TABLE table_name_71 (builder VARCHAR, date VARCHAR) [/INST] ### Response: SELECT builder FROM table_name_71 WHERE date = "1953" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Attendance is the lowest one that has a Record of 5–5–0? ### Context: CREATE TABLE table_name_77 (attendance INTEGER, record VARCHAR) [/INST] ### Response: SELECT MIN(attendance) FROM table_name_77 WHERE record = "5–5–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 Date has a Record of 4–2–0? ### Context: CREATE TABLE table_name_68 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_68 WHERE record = "4–2–0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Record has a Visitor of pittsburgh, and a Score of 4–0? ### Context: CREATE TABLE table_name_23 (record VARCHAR, visitor VARCHAR, score VARCHAR) [/INST] ### Response: SELECT record FROM table_name_23 WHERE visitor = "pittsburgh" AND score = "4–0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the away team score when Waverley Park was the ground and the home team was collingwood? ### Context: CREATE TABLE table_name_80 (away_team VARCHAR, ground VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_80 WHERE ground = "waverley park" AND home_team = "collingwood" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: From what country did someone score 71? ### Context: CREATE TABLE table_name_72 (country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_72 WHERE score = 71 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sum of the game on March 16, 1990 with a loss record? ### Context: CREATE TABLE table_name_40 (attendance INTEGER, record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT SUM(attendance) FROM table_name_40 WHERE record = "loss" AND date = "march 16, 1990" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the outcome of the match on August 20, 1978? ### Context: CREATE TABLE table_name_53 (outcome VARCHAR, date VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_53 WHERE date = "august 20, 1978" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round has a Pick smaller than 6? ### Context: CREATE TABLE table_name_77 (round INTEGER, pick INTEGER) [/INST] ### Response: SELECT SUM(round) FROM table_name_77 WHERE pick < 6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Round has an Overall smaller than 6? ### Context: CREATE TABLE table_name_84 (round INTEGER, overall INTEGER) [/INST] ### Response: SELECT MAX(round) FROM table_name_84 WHERE overall < 6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Position has a College of washington, and an Overall of 46? ### Context: CREATE TABLE table_name_18 (position VARCHAR, college VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT position FROM table_name_18 WHERE college = "washington" AND overall = 46 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round has a Position of qb, and an Overall larger than 6? ### Context: CREATE TABLE table_name_17 (round INTEGER, position VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_name_17 WHERE position = "qb" AND overall > 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 date was Bury the home team? ### Context: CREATE TABLE table_name_67 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_67 WHERE away_team = "bury" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home team when Tottenham Hotspur is the away team? ### Context: CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_86 WHERE away_team = "tottenham hotspur" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What college did the #22 overall draft pick attend? ### Context: CREATE TABLE table_name_39 (college VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT college FROM table_name_39 WHERE pick__number = 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 draft pick number attended syracuse and was drafted by the Carolina panthers? ### Context: CREATE TABLE table_name_38 (pick__number INTEGER, nfl_team VARCHAR, college VARCHAR) [/INST] ### Response: SELECT SUM(pick__number) FROM table_name_38 WHERE nfl_team = "carolina panthers" AND college = "syracuse" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Lead Margin has a Poll Source of rasmussen reports/ fox news? ### Context: CREATE TABLE table_name_75 (lead_margin INTEGER, poll_source VARCHAR) [/INST] ### Response: SELECT MIN(lead_margin) FROM table_name_75 WHERE poll_source = "rasmussen reports/ fox news" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Poll Source has a Date administered of october 30 – november 2, 2008? ### Context: CREATE TABLE table_name_18 (poll_source VARCHAR, date_administered VARCHAR) [/INST] ### Response: SELECT poll_source FROM table_name_18 WHERE date_administered = "october 30 – november 2, 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: At which site was Northwestern an opponent? ### Context: CREATE TABLE table_name_67 (site VARCHAR, opponent_number VARCHAR) [/INST] ### Response: SELECT site FROM table_name_67 WHERE opponent_number = "northwestern" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What result did Indiana have when they were an opponent? ### Context: CREATE TABLE table_name_78 (result VARCHAR, opponent_number VARCHAR) [/INST] ### Response: SELECT result FROM table_name_78 WHERE opponent_number = "indiana" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the result was w61-7? ### Context: CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_12 WHERE result = "w61-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 shows for miles [One Way] when the fans took 340? ### Context: CREATE TABLE table_name_89 (one_way VARCHAR, miles_ INTEGER, fans_took VARCHAR) [/INST] ### Response: SELECT AVG(miles_)[one_way] FROM table_name_89 WHERE fans_took = "340" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 reported birth date when the reported age is 110 years, 185 days? ### Context: CREATE TABLE table_name_58 (reported_birth_date VARCHAR, reported_age VARCHAR) [/INST] ### Response: SELECT reported_birth_date FROM table_name_58 WHERE reported_age = "110 years, 185 days" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 reported age when the reported birth date is 22 december 1878? ### Context: CREATE TABLE table_name_62 (reported_age VARCHAR, reported_birth_date VARCHAR) [/INST] ### Response: SELECT reported_age FROM table_name_62 WHERE reported_birth_date = "22 december 1878" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 region when the reported age is 111 years, 107 days? ### Context: CREATE TABLE table_name_50 (region VARCHAR, reported_age VARCHAR) [/INST] ### Response: SELECT region FROM table_name_50 WHERE reported_age = "111 years, 107 days" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 reported death date for laura svehaug? ### Context: CREATE TABLE table_name_97 (reported_death_date VARCHAR, name VARCHAR) [/INST] ### Response: SELECT reported_death_date FROM table_name_97 WHERE name = "laura svehaug" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a reported age of 111 years, 66 days? ### Context: CREATE TABLE table_name_38 (name VARCHAR, reported_age VARCHAR) [/INST] ### Response: SELECT name FROM table_name_38 WHERE reported_age = "111 years, 66 days" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a reported death of 6 march 1998? ### Context: CREATE TABLE table_name_63 (name VARCHAR, reported_death_date VARCHAR) [/INST] ### Response: SELECT name FROM table_name_63 WHERE reported_death_date = "6 march 1998" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Date for less than 122 countries and a 47% rank? ### Context: CREATE TABLE table_name_60 (date VARCHAR, countries_surveyed VARCHAR, _percentage_rank VARCHAR) [/INST] ### Response: SELECT date FROM table_name_60 WHERE countries_surveyed < 122 AND _percentage_rank = "47" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What high assists has the high points of andrew bynum (23)? ### Context: CREATE TABLE table_name_71 (high_assists VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_71 WHERE high_points = "andrew bynum (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: What score is the team of charlotte? ### Context: CREATE TABLE table_name_48 (score VARCHAR, team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_48 WHERE team = "charlotte" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 strikeforce: barnett vs. cormier's record? ### Context: CREATE TABLE table_name_26 (record VARCHAR, event VARCHAR) [/INST] ### Response: SELECT record FROM table_name_26 WHERE event = "strikeforce: barnett vs. cormier" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total of q > 1.4 when q > 1.3 is 455, and q >1.2 is less than 3,028? ### Context: CREATE TABLE table_name_51 (q_ INTEGER) [/INST] ### Response: SELECT SUM(q_) > _1.4 FROM table_name_51 WHERE q_ > _1.3 = 455 AND q_ > _1.2 < 3 OFFSET 028 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 losing team with a total of 24 when the winning team was Sydney Roosters? ### Context: CREATE TABLE table_name_44 (losing_team VARCHAR, total VARCHAR, winning_team VARCHAR) [/INST] ### Response: SELECT losing_team FROM table_name_44 WHERE total = 24 AND winning_team = "sydney roosters" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue had a losing team of south sydney rabbitohs? ### Context: CREATE TABLE table_name_16 (venue VARCHAR, losing_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_16 WHERE losing_team = "south sydney rabbitohs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What day was the total smaller than 19 at Venue of anz stadium? ### Context: CREATE TABLE table_name_42 (date VARCHAR, total VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_42 WHERE total < 19 AND venue = "anz 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 was the Attendance before Week 17 with a Record of Bye? ### Context: CREATE TABLE table_name_77 (attendance VARCHAR, week VARCHAR, record VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_77 WHERE week < 17 AND record = "bye" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Kickoff Time on January 7, 2002? ### Context: CREATE TABLE table_name_72 (kickoff_time VARCHAR, date VARCHAR) [/INST] ### Response: SELECT kickoff_time FROM table_name_72 WHERE date = "january 7, 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: What was the Opponent in the game with a Result of L 24–14? ### Context: CREATE TABLE table_name_38 (opponent VARCHAR, result VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_38 WHERE result = "l 24–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 was the Result of the game with an Attendance of 69,365? ### Context: CREATE TABLE table_name_46 (result VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result FROM table_name_46 WHERE attendance = "69,365" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 event won by KCLMS in 2008 has KCLMS as the winner and less than 10 wins by KCL? ### Context: CREATE TABLE table_name_74 (events_won_by_kcl VARCHAR, year VARCHAR, winner VARCHAR, events_won_by_kclMS VARCHAR) [/INST] ### Response: SELECT events_won_by_kcl FROM table_name_74 WHERE winner = "kclms" AND events_won_by_kclMS < 10 AND year = 2008 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many years were the events won by KCLMS less than 7? ### Context: CREATE TABLE table_name_8 (year VARCHAR, events_won_by_kclMS INTEGER) [/INST] ### Response: SELECT COUNT(year) FROM table_name_8 WHERE events_won_by_kclMS < 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 average value for events won by KCL in a year earlier than 2004? ### Context: CREATE TABLE table_name_58 (events_won_by_kcl INTEGER, year INTEGER) [/INST] ### Response: SELECT AVG(events_won_by_kcl) FROM table_name_58 WHERE year < 2004 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the appointment day for 4 December 2008 vacancy? ### Context: CREATE TABLE table_name_40 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR) [/INST] ### Response: SELECT date_of_appointment FROM table_name_40 WHERE date_of_vacancy = "4 december 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: Which outgoing manager has tabled 16th position? ### Context: CREATE TABLE table_name_83 (outgoing_manager VARCHAR, position_in_table VARCHAR) [/INST] ### Response: SELECT outgoing_manager FROM table_name_83 WHERE position_in_table = "16th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position is team mons who was replaced by Christophe Dessy (caretaker)? ### Context: CREATE TABLE table_name_91 (position_in_table VARCHAR, team VARCHAR, replaced_by VARCHAR) [/INST] ### Response: SELECT position_in_table FROM table_name_91 WHERE team = "mons" AND replaced_by = "christophe dessy (caretaker)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 table position for 4 December 2008 vacancy? ### Context: CREATE TABLE table_name_13 (position_in_table VARCHAR, date_of_vacancy VARCHAR) [/INST] ### Response: SELECT position_in_table FROM table_name_13 WHERE date_of_vacancy = "4 december 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: How many laps have 50 points? ### Context: CREATE TABLE table_name_65 (laps VARCHAR, points VARCHAR) [/INST] ### Response: SELECT laps FROM table_name_65 WHERE points = "50" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 grid of team dreyer & reinbold racing, which has 26 points? ### Context: CREATE TABLE table_name_14 (grid VARCHAR, team VARCHAR, points VARCHAR) [/INST] ### Response: SELECT grid FROM table_name_14 WHERE team = "dreyer & reinbold racing" AND points = "26" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many points have 75 laps? ### Context: CREATE TABLE table_name_6 (points VARCHAR, laps VARCHAR) [/INST] ### Response: SELECT points FROM table_name_6 WHERE laps = "75" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many points have 88 laps and a grid of 14? ### Context: CREATE TABLE table_name_99 (points VARCHAR, laps VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT points FROM table_name_99 WHERE laps = "88" AND grid = "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: How many laps have a +0.4865 time/retired? ### Context: CREATE TABLE table_name_34 (laps VARCHAR, time_retired VARCHAR) [/INST] ### Response: SELECT laps FROM table_name_34 WHERE time_retired = "+0.4865" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did the ATV that deorbited on 29 september 2008, launch? ### Context: CREATE TABLE table_name_93 (launch_date VARCHAR, deorbit_date VARCHAR) [/INST] ### Response: SELECT launch_date FROM table_name_93 WHERE deorbit_date = "29 september 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 did the atv-002 launch? ### Context: CREATE TABLE table_name_22 (launch_date VARCHAR, designation VARCHAR) [/INST] ### Response: SELECT launch_date FROM table_name_22 WHERE designation = "atv-002" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Edoardo Amaldi launch? ### Context: CREATE TABLE table_name_25 (launch_date VARCHAR, name VARCHAR) [/INST] ### Response: SELECT launch_date FROM table_name_25 WHERE name = "edoardo amaldi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did the ATV that launched on 9 March 2008, deorbit? ### Context: CREATE TABLE table_name_9 (deorbit_date VARCHAR, launch_date VARCHAR) [/INST] ### Response: SELECT deorbit_date FROM table_name_9 WHERE launch_date = "9 march 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the partner on the game which took place on a clay surface with opponents of marco chiudinelli michael lammer and a runner-up result? ### Context: CREATE TABLE table_name_74 (partner VARCHAR, opponents VARCHAR, outcome VARCHAR, surface VARCHAR) [/INST] ### Response: SELECT partner FROM table_name_74 WHERE outcome = "runner-up" AND surface = "clay" AND opponents = "marco chiudinelli michael lammer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the opponent in the match on a clay surface that had a score of 6–3, 7–6 (11–9)? ### Context: CREATE TABLE table_name_84 (opponents VARCHAR, surface VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponents FROM table_name_84 WHERE surface = "clay" AND score = "6–3, 7–6 (11–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 Season, when Races is less than 16? ### Context: CREATE TABLE table_name_7 (season VARCHAR, races INTEGER) [/INST] ### Response: SELECT season FROM table_name_7 WHERE races < 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 sum of Poles, when Podiums is 0, and when Races is 17? ### Context: CREATE TABLE table_name_35 (poles INTEGER, podiums VARCHAR, races VARCHAR) [/INST] ### Response: SELECT SUM(poles) FROM table_name_35 WHERE podiums = 0 AND races = 17 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Poles, when Races is less than 16? ### Context: CREATE TABLE table_name_99 (poles VARCHAR, races INTEGER) [/INST] ### Response: SELECT poles FROM table_name_99 WHERE races < 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 lowest Races, when Podiums is greater than 1? ### Context: CREATE TABLE table_name_53 (races INTEGER, podiums INTEGER) [/INST] ### Response: SELECT MIN(races) FROM table_name_53 WHERE podiums > 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: How many people on average attended the game in week 14? ### Context: CREATE TABLE table_name_68 (attendance INTEGER, week VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_68 WHERE week = 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: The game in week 11 has what result? ### Context: CREATE TABLE table_name_70 (result VARCHAR, week VARCHAR) [/INST] ### Response: SELECT result FROM table_name_70 WHERE week = 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: For the game against the San Francisco 49ers what was the total attendance? ### Context: CREATE TABLE table_name_12 (attendance INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT SUM(attendance) FROM table_name_12 WHERE opponent = "san francisco 49ers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Place that has a To standard of –1, and a Score of 71-68-76=215? ### Context: CREATE TABLE table_name_71 (place VARCHAR, to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT place FROM table_name_71 WHERE to_par = "–1" AND score = 71 - 68 - 76 = 215 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Player that has a To standard of –7? ### Context: CREATE TABLE table_name_47 (player VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT player FROM table_name_47 WHERE to_par = "–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 Player that has a To standard of –4? ### Context: CREATE TABLE table_name_15 (player VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT player FROM table_name_15 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: What is the Player that has a To standard of –1, and a Score of 71-68-76=215? ### Context: CREATE TABLE table_name_60 (player VARCHAR, to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_60 WHERE to_par = "–1" AND score = 71 - 68 - 76 = 215 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Player that has a To standard of –4? ### Context: CREATE TABLE table_name_71 (player VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT player FROM table_name_71 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 rank is 40 for s Wicket with a player of Daniel Marsh? ### Context: CREATE TABLE table_name_63 (rank VARCHAR, s_wicket VARCHAR, player VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_63 WHERE s_wicket = "40" AND player = "daniel marsh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank has a s wicket at 40 and 28.42 is the average? ### Context: CREATE TABLE table_name_66 (rank VARCHAR, s_wicket VARCHAR, average VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_66 WHERE s_wicket = "40" AND average = "28.42" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which value for s wicket is associated with Shaun Young? ### Context: CREATE TABLE table_name_68 (s_wicket VARCHAR, player VARCHAR) [/INST] ### Response: SELECT s_wicket FROM table_name_68 WHERE player = "shaun young" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 s wicket at 48? ### Context: CREATE TABLE table_name_84 (player VARCHAR, s_wicket VARCHAR) [/INST] ### Response: SELECT player FROM table_name_84 WHERE s_wicket = "48" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 s wicket value associated with Shaun Young? ### Context: CREATE TABLE table_name_51 (s_wicket VARCHAR, player VARCHAR) [/INST] ### Response: SELECT s_wicket FROM table_name_51 WHERE player = "shaun young" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the game where the NY Islanders are the home team? ### Context: CREATE TABLE table_name_2 (date VARCHAR, home VARCHAR) [/INST] ### Response: SELECT date FROM table_name_2 WHERE home = "ny islanders" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 where the NY Islanders are the home team? ### Context: CREATE TABLE table_name_10 (score VARCHAR, home VARCHAR) [/INST] ### Response: SELECT score FROM table_name_10 WHERE home = "ny islanders" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team on February 3? ### Context: CREATE TABLE table_name_68 (home VARCHAR, date VARCHAR) [/INST] ### Response: SELECT home FROM table_name_68 WHERE date = "february 3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of Overall, when Round is less than 24, and when College is North Carolina State? ### Context: CREATE TABLE table_name_50 (overall INTEGER, round VARCHAR, college VARCHAR) [/INST] ### Response: SELECT SUM(overall) FROM table_name_50 WHERE round < 24 AND college = "north carolina 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 number of Pick, when Position is OT, when Overall is greater than 91, when Round is greater than 21, and when College is Mississippi? ### Context: CREATE TABLE table_name_98 (pick VARCHAR, college VARCHAR, round VARCHAR, position VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT COUNT(pick) FROM table_name_98 WHERE position = "ot" AND overall > 91 AND round > 21 AND college = "mississippi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest Overall, when College is Hardin-Simmons, and when Round is greater than 26? ### Context: CREATE TABLE table_name_17 (overall INTEGER, college VARCHAR, round VARCHAR) [/INST] ### Response: SELECT MIN(overall) FROM table_name_17 WHERE college = "hardin-simmons" AND round > 26 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score of the tournament with younes el aynaoui as the opponent? ### Context: CREATE TABLE table_name_37 (score VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT score FROM table_name_37 WHERE opponent = "younes el aynaoui" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournament with carlos moyΓ  as the opponent? ### Context: CREATE TABLE table_name_6 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_6 WHERE opponent = "carlos moyΓ " </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournament with greg rusedski as the opponent? ### Context: CREATE TABLE table_name_57 (tournament VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_57 WHERE opponent = "greg rusedski" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 surface on 26 May 1996? ### Context: CREATE TABLE table_name_75 (surface VARCHAR, date VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_75 WHERE date = "26 may 1996" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What club did united states player ty harden play for? ### Context: CREATE TABLE table_name_55 (club VARCHAR, nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT club FROM table_name_55 WHERE nationality = "united states" AND player = "ty harden" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 seaosn had a player of rohan ricketts? ### Context: CREATE TABLE table_name_26 (season VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(season) FROM table_name_26 WHERE player = "rohan ricketts" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tries Against, when Points Against is 213? ### Context: CREATE TABLE table_name_78 (tries_against VARCHAR, points_against VARCHAR) [/INST] ### Response: SELECT tries_against FROM table_name_78 WHERE points_against = "213" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tries Against, when Tries For is 21? ### Context: CREATE TABLE table_name_56 (tries_against VARCHAR, tries_for VARCHAR) [/INST] ### Response: SELECT tries_against FROM table_name_56 WHERE tries_for = "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 Try Diff, when Points Diff is +71? ### Context: CREATE TABLE table_name_18 (try_diff VARCHAR, points_diff VARCHAR) [/INST] ### Response: SELECT try_diff FROM table_name_18 WHERE points_diff = "+71" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Try Diff, when Points Against is 213? ### Context: CREATE TABLE table_name_42 (try_diff VARCHAR, points_against VARCHAR) [/INST] ### Response: SELECT try_diff FROM table_name_42 WHERE points_against = "213" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tries Against, when Try Diff is +15? ### Context: CREATE TABLE table_name_34 (tries_against VARCHAR, try_diff VARCHAR) [/INST] ### Response: SELECT tries_against FROM table_name_34 WHERE try_diff = "+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: Which archbishop vacated the throne on May 17, 1907? ### Context: CREATE TABLE table_name_42 (archbishop VARCHAR, vacated_throne VARCHAR) [/INST] ### Response: SELECT archbishop FROM table_name_42 WHERE vacated_throne = "may 17, 1907" </s>