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 Launched which is on 3 may 2001?
### Context:
CREATE TABLE table_name_31 (launched VARCHAR, date_of_commission VARCHAR) [/INST]
### Response:
SELECT launched FROM table_name_31 WHERE date_of_commission = "3 may 2001" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Homeport that has a Laid down on 14 december 1985?
### Context:
CREATE TABLE table_name_73 (homeport__as_of_july_2013_ VARCHAR, laid_down VARCHAR) [/INST]
### Response:
SELECT homeport__as_of_july_2013_ FROM table_name_73 WHERE laid_down = "14 december 1985" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What kind of Launched has a Homeport (as of July 2013) of sold to chile, and a Pennant number of f80?
### Context:
CREATE TABLE table_name_65 (launched VARCHAR, homeport__as_of_july_2013_ VARCHAR, pennant_number VARCHAR) [/INST]
### Response:
SELECT launched FROM table_name_65 WHERE homeport__as_of_july_2013_ = "sold to chile" AND pennant_number = "f80" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had more than 25 events?
### Context:
CREATE TABLE table_name_60 (player VARCHAR, events INTEGER) [/INST]
### Response:
SELECT player FROM table_name_60 WHERE events > 25 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What amount of prize money was there when the rank was less than 7, there were more than 6 events, and the country was Fiji?
### Context:
CREATE TABLE table_name_94 (prize_money___$__ VARCHAR, country VARCHAR, rank VARCHAR, events VARCHAR) [/INST]
### Response:
SELECT prize_money___$__ FROM table_name_94 WHERE rank < 7 AND events > 6 AND country = "fiji" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 least amount of prize money when there are 21 events?
### Context:
CREATE TABLE table_name_96 (prize_money___ INTEGER, events VARCHAR) [/INST]
### Response:
SELECT MIN(prize_money___) AS $__ FROM table_name_96 WHERE events = 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:
Which series episode has a netflix figure of s04e21?
### Context:
CREATE TABLE table_name_45 (series_ep VARCHAR, netflix VARCHAR) [/INST]
### Response:
SELECT series_ep FROM table_name_45 WHERE netflix = "s04e21" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment a's netflix figure is s04e24?
### Context:
CREATE TABLE table_name_77 (segment_a VARCHAR, netflix VARCHAR) [/INST]
### Response:
SELECT segment_a FROM table_name_77 WHERE netflix = "s04e24" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episodes have a segment d that is goalie masks (part 2)?
### Context:
CREATE TABLE table_name_53 (episode VARCHAR, segment_d VARCHAR) [/INST]
### Response:
SELECT COUNT(episode) FROM table_name_53 WHERE segment_d = "goalie masks (part 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 episode's segment b is s hacksaw?
### Context:
CREATE TABLE table_name_67 (episode VARCHAR, segment_b VARCHAR) [/INST]
### Response:
SELECT episode FROM table_name_67 WHERE segment_b = "s hacksaw" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Lachlan Dale born?
### Context:
CREATE TABLE table_name_47 (dob VARCHAR, surname VARCHAR, first VARCHAR) [/INST]
### Response:
SELECT dob FROM table_name_47 WHERE surname = "dale" AND first = "lachlan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 batter played P and was born 18 April 1984?
### Context:
CREATE TABLE table_name_12 (bats VARCHAR, position VARCHAR, dob VARCHAR) [/INST]
### Response:
SELECT bats FROM table_name_12 WHERE position = "p" AND dob = "18 april 1984" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Surname has Bats of r, and a Position of p, and a DOB of 20 may 1989?
### Context:
CREATE TABLE table_name_73 (surname VARCHAR, dob VARCHAR, bats VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT surname FROM table_name_73 WHERE bats = "r" AND position = "p" AND dob = "20 may 1989" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Throws of r, and a DOB of 12 february 1983?
### Context:
CREATE TABLE table_name_59 (position VARCHAR, throws VARCHAR, dob VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_59 WHERE throws = "r" AND dob = "12 february 1983" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 throws did Needle have?
### Context:
CREATE TABLE table_name_10 (throws VARCHAR, surname VARCHAR) [/INST]
### Response:
SELECT throws FROM table_name_10 WHERE surname = "needle" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 DOB has Bats of s, and a Position of inf?
### Context:
CREATE TABLE table_name_8 (dob VARCHAR, bats VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT dob FROM table_name_8 WHERE bats = "s" AND position = "inf" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Lap Length of the race with a Grand Prix Fia Category?
### Context:
CREATE TABLE table_name_50 (lap_length VARCHAR, category VARCHAR) [/INST]
### Response:
SELECT lap_length FROM table_name_50 WHERE category = "grand prix fia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Race on July 30, 1950 with a Formula 2 Fia, non-championship?
### Context:
CREATE TABLE table_name_47 (race VARCHAR, category VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT race FROM table_name_47 WHERE category = "formula 2 fia, non-championship" AND date = "july 30, 1950" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 his record when the match went for 3:05?
### Context:
CREATE TABLE table_name_62 (record VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_62 WHERE time = "3:05" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rounds did the match go for the Bellator 72 event?
### Context:
CREATE TABLE table_name_62 (round INTEGER, event VARCHAR) [/INST]
### Response:
SELECT SUM(round) FROM table_name_62 WHERE event = "bellator 72" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the sum of the live viewers for episodes with share over 5?
### Context:
CREATE TABLE table_name_77 (live VARCHAR, share INTEGER, viewers_ INTEGER) [/INST]
### Response:
SELECT SUM(viewers_)[live] AS __m_ FROM table_name_77 WHERE share > 5 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Callsign includes a frequency under 1210, Newsradio 740 KTRH, and webcasts with listen live?
### Context:
CREATE TABLE table_name_97 (callsign VARCHAR, brand VARCHAR, webcast VARCHAR, frequency VARCHAR) [/INST]
### Response:
SELECT callsign FROM table_name_97 WHERE webcast = "listen live" AND frequency < 1210 AND brand = "newsradio 740 ktrh" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 website includes a webcast of listen live, a frequency under 1050, and is licensed in the city of Monterrey?
### Context:
CREATE TABLE table_name_64 (website VARCHAR, frequency VARCHAR, city_of_license VARCHAR, webcast VARCHAR) [/INST]
### Response:
SELECT website FROM table_name_64 WHERE city_of_license = "monterrey" AND webcast = "listen live" AND frequency < 1050 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 KTRH.com website includes which type of webcast?
### Context:
CREATE TABLE table_name_54 (webcast VARCHAR, website VARCHAR) [/INST]
### Response:
SELECT webcast FROM table_name_54 WHERE website = "ktrh.com" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 website includes a webcast of listen live, a frequency under 680, and was licensed in the city of San Antonio.
### Context:
CREATE TABLE table_name_53 (website VARCHAR, frequency VARCHAR, city_of_license VARCHAR, webcast VARCHAR) [/INST]
### Response:
SELECT website FROM table_name_53 WHERE city_of_license = "san antonio" AND webcast = "listen live" AND frequency = 680 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 long range AM station has the lowest frequency and includes a webcast of listen live, was licensed in the city of Monterrey, and uses the Callsign of xet?
### Context:
CREATE TABLE table_name_2 (frequency INTEGER, callsign VARCHAR, webcast VARCHAR, city_of_license VARCHAR) [/INST]
### Response:
SELECT MIN(frequency) FROM table_name_2 WHERE webcast = "listen live" AND city_of_license = "monterrey" AND callsign = "xet" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the highest one that has a Drawn smaller than 0?
### Context:
CREATE TABLE table_name_26 (games INTEGER, drawn INTEGER) [/INST]
### Response:
SELECT MAX(games) FROM table_name_26 WHERE drawn < 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 score for game 6?
### Context:
CREATE TABLE table_name_11 (score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_11 WHERE game = 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 Capacity has a Location of mogilev?
### Context:
CREATE TABLE table_name_38 (capacity INTEGER, location VARCHAR) [/INST]
### Response:
SELECT SUM(capacity) FROM table_name_38 WHERE location = "mogilev" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 District of California 2 result?
### Context:
CREATE TABLE table_name_93 (result VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_93 WHERE district = "california 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 was the district Incumbent Julius Kahn was in that was smaller than 1906?
### Context:
CREATE TABLE table_name_74 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT district FROM table_name_74 WHERE first_elected < 1906 AND incumbent = "julius kahn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest re-elected result for Sylvester C. Smith?
### Context:
CREATE TABLE table_name_47 (first_elected INTEGER, result VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT MIN(first_elected) FROM table_name_47 WHERE result = "re-elected" AND incumbent = "sylvester c. smith" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for Julius Kahn's first election of 1898?
### Context:
CREATE TABLE table_name_6 (result VARCHAR, first_elected VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_6 WHERE first_elected = 1898 AND incumbent = "julius kahn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party had a result of retired democratic hold and a first elected earlier than 1884 with an incumbent of samuel dibble?
### Context:
CREATE TABLE table_name_32 (party VARCHAR, incumbent VARCHAR, result VARCHAR, first_elected VARCHAR) [/INST]
### Response:
SELECT party FROM table_name_32 WHERE result = "retired democratic hold" AND first_elected < 1884 AND incumbent = "samuel dibble" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which district had a first elected in 1882 with a result of re-elected?
### Context:
CREATE TABLE table_name_7 (district VARCHAR, first_elected VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT district FROM table_name_7 WHERE first_elected = 1882 AND result = "re-elected" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Average is the lowest one that has a Total smaller than 134, and a Number of dances smaller than 3, and a Rank by average smaller than 12?
### Context:
CREATE TABLE table_name_38 (average INTEGER, rank_by_average VARCHAR, total VARCHAR, number_of_dances VARCHAR) [/INST]
### Response:
SELECT MIN(average) FROM table_name_38 WHERE total < 134 AND number_of_dances < 3 AND rank_by_average < 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:
Which Couple has a Rank by average larger than 3, and an Average larger than 16.5, and a Total smaller than 195, and a Number of dances larger than 3?
### Context:
CREATE TABLE table_name_20 (couple VARCHAR, number_of_dances VARCHAR, total VARCHAR, rank_by_average VARCHAR, average VARCHAR) [/INST]
### Response:
SELECT couple FROM table_name_20 WHERE rank_by_average > 3 AND average > 16.5 AND total < 195 AND number_of_dances > 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:
Which Rank by average is the lowest one that has a Total of 425, and a Place larger than 1?
### Context:
CREATE TABLE table_name_54 (rank_by_average INTEGER, total VARCHAR, place VARCHAR) [/INST]
### Response:
SELECT MIN(rank_by_average) FROM table_name_54 WHERE total = 425 AND place > 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What nation are carolina hermann / daniel hermann from?
### Context:
CREATE TABLE table_name_64 (nation VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT nation FROM table_name_64 WHERE name = "carolina hermann / daniel hermann" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rank associated with 141.48 points?
### Context:
CREATE TABLE table_name_71 (rank VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT rank FROM table_name_71 WHERE points = 141.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 competitors are scored 124.51 points?
### Context:
CREATE TABLE table_name_88 (name VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_88 WHERE points = 124.51 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
At what percent was Pat Robertson when George H.W. Bush had 76%?
### Context:
CREATE TABLE table_name_64 (pat_robertson VARCHAR, george_hw_bush VARCHAR) [/INST]
### Response:
SELECT pat_robertson FROM table_name_64 WHERE george_hw_bush = "76%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 George H.W. Bush had 81%, and Pat Robertson had 9%, what did Bob Dole have?
### Context:
CREATE TABLE table_name_67 (bob_dole VARCHAR, george_hw_bush VARCHAR, pat_robertson VARCHAR) [/INST]
### Response:
SELECT bob_dole FROM table_name_67 WHERE george_hw_bush = "81%" AND pat_robertson = "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:
When Pat Robertson was at 16%, what did Pete du Pont have?
### Context:
CREATE TABLE table_name_13 (pete_du_pont VARCHAR, pat_robertson VARCHAR) [/INST]
### Response:
SELECT pete_du_pont FROM table_name_13 WHERE pat_robertson = "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:
When Bob Dole had 26%, and George H.W. Bush had 47%, what did Pat Robertson have?
### Context:
CREATE TABLE table_name_12 (pat_robertson VARCHAR, bob_dole VARCHAR, george_hw_bush VARCHAR) [/INST]
### Response:
SELECT pat_robertson FROM table_name_12 WHERE bob_dole = "26%" AND george_hw_bush = "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:
When Bob Dole had 26%, and Pete du Pont had 0%, what did Pat Robertson have?
### Context:
CREATE TABLE table_name_43 (pat_robertson VARCHAR, bob_dole VARCHAR, pete_du_pont VARCHAR) [/INST]
### Response:
SELECT pat_robertson FROM table_name_43 WHERE bob_dole = "26%" AND pete_du_pont = "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:
When Pat Robertson had 19%, and Bob Dole had 26%, what did George H.W. Bush have?
### Context:
CREATE TABLE table_name_43 (george_hw_bush VARCHAR, pat_robertson VARCHAR, bob_dole VARCHAR) [/INST]
### Response:
SELECT george_hw_bush FROM table_name_43 WHERE pat_robertson = "19%" AND bob_dole = "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:
Date of october 10, 1965 had what lowest attendance?
### Context:
CREATE TABLE table_name_59 (attendance INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MIN(attendance) FROM table_name_59 WHERE date = "october 10, 1965" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Opponent of chicago bears involved what date?
### Context:
CREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_95 WHERE opponent = "chicago bears" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Performer 2 of compilation 2 is what performer 1?
### Context:
CREATE TABLE table_name_91 (performer_1 VARCHAR, performer_2 VARCHAR) [/INST]
### Response:
SELECT performer_1 FROM table_name_91 WHERE performer_2 = "compilation 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:
Performer 1 of greg proops, and a Date of 25 august 1995 is what performer 4?
### Context:
CREATE TABLE table_name_76 (performer_4 VARCHAR, performer_1 VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT performer_4 FROM table_name_76 WHERE performer_1 = "greg proops" AND date = "25 august 1995" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Performer 1 of greg proops, and a Performer 3 of ryan stiles, and a Date of 25 august 1995 is which average episode?
### Context:
CREATE TABLE table_name_74 (episode INTEGER, date VARCHAR, performer_1 VARCHAR, performer_3 VARCHAR) [/INST]
### Response:
SELECT AVG(episode) FROM table_name_74 WHERE performer_1 = "greg proops" AND performer_3 = "ryan stiles" AND date = "25 august 1995" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Performer 1 of Stephen Frost, and a Performer 2 of Josie Lawrence, and a Date of 15 September 1995 is what performer 3?
### Context:
CREATE TABLE table_name_79 (performer_3 VARCHAR, date VARCHAR, performer_1 VARCHAR, performer_2 VARCHAR) [/INST]
### Response:
SELECT performer_3 FROM table_name_79 WHERE performer_1 = "stephen frost" AND performer_2 = "josie lawrence" AND date = "15 september 1995" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Mountains classification has an Asian team classification of seoul cycling team, and a Winner of alexandre usov?
### Context:
CREATE TABLE table_name_99 (mountains_classification VARCHAR, asian_team_classification VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT mountains_classification FROM table_name_99 WHERE asian_team_classification = "seoul cycling team" AND winner = "alexandre usov" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Asian rider classification that has ruslan ivanov on the Stage of 9?
### Context:
CREATE TABLE table_name_43 (asian_rider_classification VARCHAR, general_classification VARCHAR, stage VARCHAR) [/INST]
### Response:
SELECT asian_rider_classification FROM table_name_43 WHERE general_classification = "ruslan ivanov" AND stage = "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:
WHich General classification has an Asian rider classification of shinichi fukushima, and a Winner of jeremy hunt?
### Context:
CREATE TABLE table_name_1 (general_classification VARCHAR, asian_rider_classification VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT general_classification FROM table_name_1 WHERE asian_rider_classification = "shinichi fukushima" AND winner = "jeremy hunt" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Stage has a Mountains classification of filippo savini?
### Context:
CREATE TABLE table_name_79 (stage VARCHAR, mountains_classification VARCHAR) [/INST]
### Response:
SELECT stage FROM table_name_79 WHERE mountains_classification = "filippo savini" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Stage has a Winner of jeremy hunt?
### Context:
CREATE TABLE table_name_21 (stage VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT stage FROM table_name_21 WHERE winner = "jeremy hunt" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning team has Iowa city as the site, and december 3, 2006 as the date?
### Context:
CREATE TABLE table_name_42 (winning_team VARCHAR, site VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT winning_team FROM table_name_42 WHERE site = "iowa city" AND date = "december 3, 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:
What site has november 30, 2006 as the date?
### Context:
CREATE TABLE table_name_25 (site VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT site FROM table_name_25 WHERE date = "november 30, 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:
What winning team has volleyball as the sport?
### Context:
CREATE TABLE table_name_91 (winning_team VARCHAR, sport VARCHAR) [/INST]
### Response:
SELECT winning_team FROM table_name_91 WHERE sport = "volleyball" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in January when the St. Louis Blues had a game smaller than 42?
### Context:
CREATE TABLE table_name_83 (january VARCHAR, opponent VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(january) FROM table_name_83 WHERE opponent = "st. louis blues" AND game < 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:
What is the January sum with the record of 17-20-2 with a game smaller than 39?
### Context:
CREATE TABLE table_name_70 (january INTEGER, record VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT SUM(january) FROM table_name_70 WHERE record = "17-20-2" AND game < 39 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the record when the New York Knicks played at the Boston Garden?
### Context:
CREATE TABLE table_name_51 (record VARCHAR, location VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_51 WHERE location = "boston garden" AND opponent = "new york knicks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When the record was 7-2, what was the score for the game?
### Context:
CREATE TABLE table_name_94 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_94 WHERE record = "7-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 record 4-2?
### Context:
CREATE TABLE table_name_66 (date VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_66 WHERE record = "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:
Which Females Rank is the highest one that has Females (%) larger than 53, and an HIV awareness (males%) smaller than 89, and a State of odisha?
### Context:
CREATE TABLE table_name_2 (females_rank INTEGER, state VARCHAR, females___percentage_ VARCHAR, hiv_awareness__males_percentage_ VARCHAR) [/INST]
### Response:
SELECT MAX(females_rank) FROM table_name_2 WHERE females___percentage_ > 53 AND hiv_awareness__males_percentage_ < 89 AND state = "odisha" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Females (%) have Females Rank smaller than 21, and a State of kerala, and Males Rank larger than 1?
### Context:
CREATE TABLE table_name_1 (females___percentage_ VARCHAR, males_rank VARCHAR, females_rank VARCHAR, state VARCHAR) [/INST]
### Response:
SELECT COUNT(females___percentage_) FROM table_name_1 WHERE females_rank < 21 AND state = "kerala" AND males_rank > 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 Females (%) have a State of karnataka, and Males Rank larger than 16?
### Context:
CREATE TABLE table_name_45 (females___percentage_ VARCHAR, state VARCHAR, males_rank VARCHAR) [/INST]
### Response:
SELECT COUNT(females___percentage_) FROM table_name_45 WHERE state = "karnataka" AND males_rank > 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:
Which Males Rank is the highest one that has Females (%) smaller than 40, and Females Rank smaller than 22?
### Context:
CREATE TABLE table_name_93 (males_rank INTEGER, females___percentage_ VARCHAR, females_rank VARCHAR) [/INST]
### Response:
SELECT MAX(males_rank) FROM table_name_93 WHERE females___percentage_ < 40 AND females_rank < 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:
Which Females (%) has an HIV awareness (males%) larger than 92, and Females Rank larger than 2, and Males Rank smaller than 3?
### Context:
CREATE TABLE table_name_71 (females___percentage_ INTEGER, males_rank VARCHAR, hiv_awareness__males_percentage_ VARCHAR, females_rank VARCHAR) [/INST]
### Response:
SELECT SUM(females___percentage_) FROM table_name_71 WHERE hiv_awareness__males_percentage_ > 92 AND females_rank > 2 AND males_rank < 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:
League Cup smaller than 0 is what sum of the total?
### Context:
CREATE TABLE table_name_31 (total INTEGER, league_cup INTEGER) [/INST]
### Response:
SELECT SUM(total) FROM table_name_31 WHERE league_cup < 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:
Championship larger than 3, and a FA Cup smaller than 3, and a Total smaller than 6 involves what highest league cup?
### Context:
CREATE TABLE table_name_27 (league_cup INTEGER, total VARCHAR, championship VARCHAR, fa_cup VARCHAR) [/INST]
### Response:
SELECT MAX(league_cup) FROM table_name_27 WHERE championship > 3 AND fa_cup < 3 AND total < 6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Opponent has a Surface of hard on 28 august 1993?
### Context:
CREATE TABLE table_name_46 (opponent VARCHAR, surface VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_46 WHERE surface = "hard" AND date = "28 august 1993" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 IS ON 18 july 1993?
### Context:
CREATE TABLE table_name_70 (outcome VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_name_70 WHERE date = "18 july 1993" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 aN Opponent of pascale paradis-mangon?
### Context:
CREATE TABLE table_name_68 (outcome VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_name_68 WHERE opponent = "pascale paradis-mangon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Outcome of winner on 4 november 1990?
### Context:
CREATE TABLE table_name_66 (score VARCHAR, outcome VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_66 WHERE outcome = "winner" AND date = "4 november 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:
Which Tournament has an Opponent of susan sloane?
### Context:
CREATE TABLE table_name_18 (tournament VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_18 WHERE opponent = "susan sloane" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Opponent of meike babel?
### Context:
CREATE TABLE table_name_92 (tournament VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_92 WHERE opponent = "meike babel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Game has a November of 29?
### Context:
CREATE TABLE table_name_63 (game INTEGER, november VARCHAR) [/INST]
### Response:
SELECT SUM(game) FROM table_name_63 WHERE november = 29 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Points have a Record of 12β2β4β1, and a November larger than 22?
### Context:
CREATE TABLE table_name_40 (points INTEGER, record VARCHAR, november VARCHAR) [/INST]
### Response:
SELECT AVG(points) FROM table_name_40 WHERE record = "12β2β4β1" AND november > 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:
Which Record has a Game of 19?
### Context:
CREATE TABLE table_name_78 (record VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_78 WHERE game = 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:
How many Novembers have a Game larger than 14, and an Opponent of minnesota wild?
### Context:
CREATE TABLE table_name_50 (november VARCHAR, game VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(november) FROM table_name_50 WHERE game > 14 AND opponent = "minnesota wild" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 November is the lowest one that has a Record of 12β2β4β1?
### Context:
CREATE TABLE table_name_56 (november INTEGER, record VARCHAR) [/INST]
### Response:
SELECT MIN(november) FROM table_name_56 WHERE record = "12β2β4β1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What day has a record of 25β30β13 and less than 63 points?
### Context:
CREATE TABLE table_name_70 (march INTEGER, record VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT AVG(march) FROM table_name_70 WHERE record = "25β30β13" AND points < 63 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 63 points?
### Context:
CREATE TABLE table_name_98 (opponent VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_98 WHERE points = 63 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Alpha contains ia64 with discontinued 3.5-3.8 4.1-4.7?
### Context:
CREATE TABLE table_name_34 (alpha VARCHAR, ia64 VARCHAR) [/INST]
### Response:
SELECT alpha FROM table_name_34 WHERE ia64 = "discontinued 3.5-3.8 4.1-4.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 s390x contains a yes ia64 and a no for alpha?
### Context:
CREATE TABLE table_name_21 (s390x VARCHAR, ia64 VARCHAR, alpha VARCHAR) [/INST]
### Response:
SELECT s390x FROM table_name_21 WHERE ia64 = "yes" AND alpha = "no" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hppa contains a ppc64 of yes 3+, no for mips and no for alpha?
### Context:
CREATE TABLE table_name_72 (hppa VARCHAR, ppc64 VARCHAR, mips VARCHAR, alpha VARCHAR) [/INST]
### Response:
SELECT hppa FROM table_name_72 WHERE mips = "no" AND alpha = "no" AND ppc64 = "yes 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:
Which 1991 has an A 1993 ?
### Context:
CREATE TABLE table_name_77 (Id VARCHAR) [/INST]
### Response:
SELECT 1991 FROM table_name_77 WHERE 1993 = "a" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which 992 has a 1β2 of 1989 ?
### Context:
CREATE TABLE table_name_13 (Id VARCHAR) [/INST]
### Response:
SELECT 1992 FROM table_name_13 WHERE 1989 = "1β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 1990 has a 1993 of 1r?
### Context:
CREATE TABLE table_name_3 (Id VARCHAR) [/INST]
### Response:
SELECT 1990 FROM table_name_3 WHERE 1993 = "1r" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which 1994 has a 1998 of 0β1?
### Context:
CREATE TABLE table_name_35 (Id VARCHAR) [/INST]
### Response:
SELECT 1994 FROM table_name_35 WHERE 1998 = "0β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 1995 has a 1993 of 3r?
### Context:
CREATE TABLE table_name_86 (Id VARCHAR) [/INST]
### Response:
SELECT 1995 FROM table_name_86 WHERE 1993 = "3r" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1992 has a 1996 of sf and a 1993 of a?
### Context:
CREATE TABLE table_name_59 (Id VARCHAR) [/INST]
### Response:
SELECT 1992 FROM table_name_59 WHERE 1996 = "sf" AND 1993 = "a" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which school picked a back in round 16, after pick 89?
### Context:
CREATE TABLE table_name_20 (school VARCHAR, round VARCHAR, pick VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT school FROM table_name_20 WHERE pick > 89 AND position = "back" AND round = 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:
Who was the visitor in the game that had Ottawa as the home team?
### Context:
CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR) [/INST]
### Response:
SELECT visitor FROM table_name_29 WHERE home = "ottawa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score in the game where Carolina was the home team and Niittymaki received the decision?
### Context:
CREATE TABLE table_name_90 (score VARCHAR, decision VARCHAR, home VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_90 WHERE decision = "niittymaki" AND home = "carolina" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the date of the game that had a loss of Johnson (9-8)?
### Context:
CREATE TABLE table_name_30 (date VARCHAR, loss VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_30 WHERE loss = "johnson (9-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:
Who had a Run 1 smaller than 51.96, a Run 2 larger than 51.13, and a Run 3 of 52.53?
### Context:
CREATE TABLE table_name_23 (athlete VARCHAR, run_3 VARCHAR, run_1 VARCHAR, run_2 VARCHAR) [/INST]
### Response:
SELECT athlete FROM table_name_23 WHERE run_1 < 51.96 AND run_2 > 51.13 AND run_3 = 52.53 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.