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:
Name the 1821 with 1811 of 1921
### Context:
CREATE TABLE table_name_1 (Id VARCHAR) [/INST]
### Response:
SELECT 1821 FROM table_name_1 WHERE 1811 = "1921" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the 1821 with 1861 of 3733
### Context:
CREATE TABLE table_name_30 (Id VARCHAR) [/INST]
### Response:
SELECT 1821 FROM table_name_30 WHERE 1861 = "3733" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sum of the Area (KM 2) that's got a Population that's smaller than 90?
### Context:
CREATE TABLE table_name_20 (area__km_2__ VARCHAR, population INTEGER) [/INST]
### Response:
SELECT COUNT(area__km_2__) FROM table_name_20 WHERE population < 90 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest Code that's got a Most Spoke Language of Xhosa, a Place of Addo Elephant National Park, and an Area (KM 2) that's smaller than 1.08?
### Context:
CREATE TABLE table_name_92 (code INTEGER, area__km_2__ VARCHAR, most_spoken_language VARCHAR, place VARCHAR) [/INST]
### Response:
SELECT MIN(code) FROM table_name_92 WHERE most_spoken_language = "xhosa" AND place = "addo elephant national park" AND area__km_2__ < 1.08 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 at game 31?
### Context:
CREATE TABLE table_name_19 (score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_19 WHERE game = 31 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Grid for Rider Ruben Xaus?
### Context:
CREATE TABLE table_name_22 (grid INTEGER, rider VARCHAR) [/INST]
### Response:
SELECT MIN(grid) FROM table_name_22 WHERE rider = "ruben xaus" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of Laps with a Grid of more than 3 and Time of 39:24.967?
### Context:
CREATE TABLE table_name_8 (laps INTEGER, grid VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT MIN(laps) FROM table_name_8 WHERE grid > 3 AND time = "39:24.967" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Rider had a Time of +1:08.291?
### Context:
CREATE TABLE table_name_14 (rider VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT rider FROM table_name_14 WHERE time = "+1:08.291" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Using a Ducati 999 F06 Bike, how many Laps with a Grid greater than 11 and Time of +53.488?
### Context:
CREATE TABLE table_name_78 (laps VARCHAR, grid VARCHAR, bike VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT COUNT(laps) FROM table_name_78 WHERE bike = "ducati 999 f06" AND time = "+53.488" AND grid > 11 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was there a record of 13–17–3?
### Context:
CREATE TABLE table_name_63 (date VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_63 WHERE record = "13–17–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 record was made in vancouver on December 8?
### Context:
CREATE TABLE table_name_31 (record VARCHAR, home VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_31 WHERE home = "vancouver" AND date = "december 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:
What was the home who had California visiting?
### Context:
CREATE TABLE table_name_94 (home VARCHAR, visitor VARCHAR) [/INST]
### Response:
SELECT home FROM table_name_94 WHERE visitor = "california" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score on December 1 when Philadelphia visited?
### Context:
CREATE TABLE table_name_41 (score VARCHAR, visitor VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_41 WHERE visitor = "philadelphia" AND date = "december 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 was the type of game with a 1:6 result?
### Context:
CREATE TABLE table_name_5 (type_of_game VARCHAR, results¹ VARCHAR) [/INST]
### Response:
SELECT type_of_game FROM table_name_5 WHERE results¹ = "1:6" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the opponent at the game in Belgrade with a 0:2 result?
### Context:
CREATE TABLE table_name_28 (opponent VARCHAR, city VARCHAR, results¹ VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_28 WHERE city = "belgrade" AND results¹ = "0: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 city held the game with a result of 1:0?
### Context:
CREATE TABLE table_name_69 (city VARCHAR, results¹ VARCHAR) [/INST]
### Response:
SELECT city FROM table_name_69 WHERE results¹ = "1: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 type of game had a result of 1:2?
### Context:
CREATE TABLE table_name_7 (type_of_game VARCHAR, results¹ VARCHAR) [/INST]
### Response:
SELECT type_of_game FROM table_name_7 WHERE results¹ = "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:
What was the result of the game against Hungary?
### Context:
CREATE TABLE table_name_54 (results¹ VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT results¹ FROM table_name_54 WHERE opponent = "hungary" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Radio Edit Version remixed by?
### Context:
CREATE TABLE table_name_70 (remixed_by VARCHAR, version VARCHAR) [/INST]
### Response:
SELECT remixed_by FROM table_name_70 WHERE version = "radio edit" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Version prior to 1996?
### Context:
CREATE TABLE table_name_45 (version VARCHAR, year INTEGER) [/INST]
### Response:
SELECT version FROM table_name_45 WHERE year < 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 is the Date of Catalog 573 194-2?
### Context:
CREATE TABLE table_name_76 (date VARCHAR, catalog VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_76 WHERE catalog = "573 194-2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Label of the release in CD Maxi Format?
### Context:
CREATE TABLE table_name_65 (label VARCHAR, format VARCHAR) [/INST]
### Response:
SELECT label FROM table_name_65 WHERE format = "cd maxi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Catalog number of the CD Single?
### Context:
CREATE TABLE table_name_13 (catalog VARCHAR, format VARCHAR) [/INST]
### Response:
SELECT catalog FROM table_name_13 WHERE format = "cd single" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Make has a Pos larger than 9?
### Context:
CREATE TABLE table_name_33 (make VARCHAR, pos INTEGER) [/INST]
### Response:
SELECT make FROM table_name_33 WHERE pos > 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 Pos has a Driver of brian scott (r)?
### Context:
CREATE TABLE table_name_23 (pos INTEGER, driver VARCHAR) [/INST]
### Response:
SELECT SUM(pos) FROM table_name_23 WHERE driver = "brian scott (r)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many Pos have a Driver of todd bodine, and a Car # larger than 30?
### Context:
CREATE TABLE table_name_49 (pos VARCHAR, driver VARCHAR, car__number VARCHAR) [/INST]
### Response:
SELECT COUNT(pos) FROM table_name_49 WHERE driver = "todd bodine" AND car__number > 30 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Car # has a Make of toyota, and a Pos of 7?
### Context:
CREATE TABLE table_name_98 (car__number INTEGER, make VARCHAR, pos VARCHAR) [/INST]
### Response:
SELECT MAX(car__number) FROM table_name_98 WHERE make = "toyota" AND pos = 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:
How many track numbers were recorded on November 16, 1959 for the title of I Couldn't Hear Nobody Pray?
### Context:
CREATE TABLE table_name_58 (track_number VARCHAR, recording_date VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT COUNT(track_number) FROM table_name_58 WHERE recording_date = "november 16, 1959" AND title = "i couldn't hear nobody pray" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 My Lord What a Mornin' recorded?
### Context:
CREATE TABLE table_name_55 (recording_date VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT recording_date FROM table_name_55 WHERE title = "my lord what a mornin'" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 track number 3:25 long and a title of Great Getting up Mornin'?
### Context:
CREATE TABLE table_name_52 (track_number INTEGER, time VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT AVG(track_number) FROM table_name_52 WHERE time = "3:25" AND title = "great getting up mornin'" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2–7–0–1?
### Context:
CREATE TABLE table_name_73 (date VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_73 WHERE record = "2–7–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:
Who is the Visitor on march 16?
### Context:
CREATE TABLE table_name_59 (visitor VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT visitor FROM table_name_59 WHERE date = "march 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 Record is on november 16?
### Context:
CREATE TABLE table_name_51 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_51 WHERE date = "november 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 Home on december 10?
### Context:
CREATE TABLE table_name_33 (home VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT home FROM table_name_33 WHERE date = "december 10" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHich Score has a Date on november 11?
### Context:
CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_30 WHERE date = "november 11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Record has a Date on december 18?
### Context:
CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_55 WHERE date = "december 18" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What visitor has march 26 as the date?
### Context:
CREATE TABLE table_name_17 (visitor VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT visitor FROM table_name_17 WHERE date = "march 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 visitor has detroit red wings as the home, and march 30 as the date?
### Context:
CREATE TABLE table_name_79 (visitor VARCHAR, home VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT visitor FROM table_name_79 WHERE home = "detroit red wings" AND date = "march 30" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What record has chicago black hawks as the visitor and march 23 as the date?
### Context:
CREATE TABLE table_name_15 (record VARCHAR, visitor VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_15 WHERE visitor = "chicago black hawks" AND date = "march 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 record has march 30 as the date?
### Context:
CREATE TABLE table_name_1 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_1 WHERE date = "march 30" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 unanimous result of the player from Michigan Dartmouth?
### Context:
CREATE TABLE table_name_78 (unanimous VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT unanimous FROM table_name_78 WHERE school = "michigan dartmouth" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the position of the player with a unanimous no result without a college hall of fame?
### Context:
CREATE TABLE table_name_34 (position VARCHAR, unanimous VARCHAR, college_hall_of_fame VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_34 WHERE unanimous = "no" AND college_hall_of_fame = "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:
What is the school of the player with a college hall of fame nevers hof profile?
### Context:
CREATE TABLE table_name_50 (school VARCHAR, college_hall_of_fame VARCHAR) [/INST]
### Response:
SELECT school FROM table_name_50 WHERE college_hall_of_fame = "nevers hof profile" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school of the player who plays ends?
### Context:
CREATE TABLE table_name_31 (school VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT school FROM table_name_31 WHERE position = "ends" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college hall of fame of the player who plays fullback?
### Context:
CREATE TABLE table_name_83 (college_hall_of_fame VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT college_hall_of_fame FROM table_name_83 WHERE position = "fullback" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the position of the player from Dartmouth Ohio State?
### Context:
CREATE TABLE table_name_55 (position VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_55 WHERE school = "dartmouth ohio 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 English title of the film Directed by Jayme Monjardim?
### Context:
CREATE TABLE table_name_21 (english_title VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT english_title FROM table_name_21 WHERE director = "jayme monjardim" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Director with a Ceremony of 2001?
### Context:
CREATE TABLE table_name_93 (director VARCHAR, year__ceremony_ VARCHAR) [/INST]
### Response:
SELECT director FROM table_name_93 WHERE year__ceremony_ = 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:
When have a Save of ||20,599||32-37?
### Context:
CREATE TABLE table_name_90 (date VARCHAR, save VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_90 WHERE save = "||20,599||32-37" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Save is on June 15?
### Context:
CREATE TABLE table_name_55 (save VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT save FROM table_name_55 WHERE date = "june 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 Score has a Opponent of Boston red sox and a Save of sager?
### Context:
CREATE TABLE table_name_8 (score VARCHAR, opponent VARCHAR, save VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_8 WHERE opponent = "boston red sox" AND save = "sager" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has an Opponent of at Seattle mariners?
### Context:
CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_75 WHERE opponent = "at seattle mariners" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When is the Save of Ayala and a Loss of Olivares
### Context:
CREATE TABLE table_name_70 (date VARCHAR, save VARCHAR, loss VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_70 WHERE save = "ayala" AND loss = "olivares" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a Partner of martín rodríguez?
### Context:
CREATE TABLE table_name_19 (tournament VARCHAR, partner VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_19 WHERE partner = "martín rodríguez" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Touchdowns have Field goals larger than 0?
### Context:
CREATE TABLE table_name_73 (touchdowns VARCHAR, field_goals INTEGER) [/INST]
### Response:
SELECT COUNT(touchdowns) FROM table_name_73 WHERE field_goals > 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Extra points is the highest one that has a Player of herrnstein, and Points smaller than 30?
### Context:
CREATE TABLE table_name_2 (extra_points INTEGER, player VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT MAX(extra_points) FROM table_name_2 WHERE player = "herrnstein" AND points < 30 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Touchdowns is the lowest one that has Extra points smaller than 14, and a Player of white, and Points smaller than 5?
### Context:
CREATE TABLE table_name_98 (touchdowns INTEGER, points VARCHAR, extra_points VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT MIN(touchdowns) FROM table_name_98 WHERE extra_points < 14 AND player = "white" AND points < 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 Touchdowns is the lowest one that has Points of 5, and a Field goals larger than 0?
### Context:
CREATE TABLE table_name_81 (touchdowns INTEGER, points VARCHAR, field_goals VARCHAR) [/INST]
### Response:
SELECT MIN(touchdowns) FROM table_name_81 WHERE points = 5 AND field_goals > 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Points is the lowest one that has Touchdowns smaller than 1?
### Context:
CREATE TABLE table_name_51 (points INTEGER, touchdowns INTEGER) [/INST]
### Response:
SELECT MAX(points) FROM table_name_51 WHERE touchdowns < 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Location of the Bowl in 2006?
### Context:
CREATE TABLE table_name_50 (location VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_50 WHERE season = 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:
At what Location was the Attendance 70,283?
### Context:
CREATE TABLE table_name_48 (location VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_48 WHERE attendance = "70,283" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Bowl game in San Francisco, CA after 1968?
### Context:
CREATE TABLE table_name_42 (bowl_game VARCHAR, season VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT bowl_game FROM table_name_42 WHERE season > 1968 AND location = "san francisco, ca" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a yamaha constructor with all rounds?
### Context:
CREATE TABLE table_name_60 (team VARCHAR, rounds VARCHAR, constructor VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_60 WHERE rounds = "all" AND constructor = "yamaha" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rounds did rider Mika Kallio with a Ducati constructor have?
### Context:
CREATE TABLE table_name_63 (rounds VARCHAR, constructor VARCHAR, rider VARCHAR) [/INST]
### Response:
SELECT rounds FROM table_name_63 WHERE constructor = "ducati" AND rider = "mika kallio" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rider of Scot Racing team with a Honda constructor and rounds 6-17?
### Context:
CREATE TABLE table_name_88 (rider VARCHAR, rounds VARCHAR, constructor VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT rider FROM table_name_88 WHERE constructor = "honda" AND team = "scot racing team" AND rounds = "6-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 the rounds of rider Mika Kallio 1 of the Ducati Marlboro team?
### Context:
CREATE TABLE table_name_67 (rounds VARCHAR, team VARCHAR, rider VARCHAR) [/INST]
### Response:
SELECT rounds FROM table_name_67 WHERE team = "ducati marlboro team" AND rider = "mika kallio 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:
Who was the opponent for the game taht was before week 5 on October 10, 1954?
### Context:
CREATE TABLE table_name_87 (opponent VARCHAR, week VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_87 WHERE week < 5 AND date = "october 10, 1954" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance for the game that was after week 4 and on November 14, 1954?
### Context:
CREATE TABLE table_name_30 (attendance INTEGER, week VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT AVG(attendance) FROM table_name_30 WHERE week > 4 AND date = "november 14, 1954" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
After December 19, what is the Game number with a Record of 21–4–7?
### Context:
CREATE TABLE table_name_17 (game VARCHAR, record VARCHAR, december VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_name_17 WHERE record = "21–4–7" AND december > 19 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What were the Points in the game with a Score of 2–7?
### Context:
CREATE TABLE table_name_67 (points INTEGER, score VARCHAR) [/INST]
### Response:
SELECT SUM(points) FROM table_name_67 WHERE score = "2–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's the lowest bronze with a 6 rank, smaller than 5 gold, and a total of more than 1?
### Context:
CREATE TABLE table_name_91 (bronze INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT MIN(bronze) FROM table_name_91 WHERE gold < 5 AND rank = "6" AND total > 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the Bronze cumulative number for less than 0 gold?
### Context:
CREATE TABLE table_name_27 (bronze INTEGER, gold INTEGER) [/INST]
### Response:
SELECT SUM(bronze) FROM table_name_27 WHERE gold < 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 average Lost has an Against larger than 19, and a Drawn smaller than 1?
### Context:
CREATE TABLE table_name_70 (lost INTEGER, against VARCHAR, drawn VARCHAR) [/INST]
### Response:
SELECT AVG(lost) FROM table_name_70 WHERE against > 19 AND drawn < 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 average Against has Drawn of 3, and Points larger than 9, and a Team of portuguesa?
### Context:
CREATE TABLE table_name_23 (against INTEGER, team VARCHAR, drawn VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT AVG(against) FROM table_name_23 WHERE drawn = 3 AND points > 9 AND team = "portuguesa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Against has Points of 6, and a Played smaller than 9?
### Context:
CREATE TABLE table_name_65 (against INTEGER, points VARCHAR, played VARCHAR) [/INST]
### Response:
SELECT AVG(against) FROM table_name_65 WHERE points = 6 AND played < 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 average Points have a Position of 7, and a Lost smaller than 4?
### Context:
CREATE TABLE table_name_34 (points INTEGER, position VARCHAR, lost VARCHAR) [/INST]
### Response:
SELECT AVG(points) FROM table_name_34 WHERE position = 7 AND lost < 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 average Points have a Lost larger than 2, and Drawn larger than 2, and a Difference of 0?
### Context:
CREATE TABLE table_name_74 (points INTEGER, difference VARCHAR, lost VARCHAR, drawn VARCHAR) [/INST]
### Response:
SELECT AVG(points) FROM table_name_74 WHERE lost > 2 AND drawn > 2 AND difference = "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 Touchdowns have an Extra points of 0, and Points larger than 5, and a Player of curtis redden?
### Context:
CREATE TABLE table_name_47 (touchdowns INTEGER, player VARCHAR, extra_points VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT AVG(touchdowns) FROM table_name_47 WHERE extra_points = 0 AND points > 5 AND player = "curtis redden" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Extra points have Touchdowns of 1, and a Player of ross kidston, and Points smaller than 5?
### Context:
CREATE TABLE table_name_92 (extra_points INTEGER, points VARCHAR, touchdowns VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT SUM(extra_points) FROM table_name_92 WHERE touchdowns = 1 AND player = "ross kidston" AND points < 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 Points is the lowest one that has an Extra points of 0, and a Player of curtis redden, and Touchdowns smaller than 2?
### Context:
CREATE TABLE table_name_33 (points INTEGER, touchdowns VARCHAR, extra_points VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT MIN(points) FROM table_name_33 WHERE extra_points = 0 AND player = "curtis redden" AND touchdowns < 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 Extra points is the lowest one that has a Player of ross kidston, and Points smaller than 5?
### Context:
CREATE TABLE table_name_86 (extra_points INTEGER, player VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT MIN(extra_points) FROM table_name_86 WHERE player = "ross kidston" AND points < 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 Points have Touchdowns of 1, and a Field goals smaller than 0?
### Context:
CREATE TABLE table_name_9 (points INTEGER, touchdowns VARCHAR, field_goals VARCHAR) [/INST]
### Response:
SELECT AVG(points) FROM table_name_9 WHERE touchdowns = 1 AND field_goals < 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which poll had a week 10 larger than 2, a week 2 of exactly 12, and a week 13 of 8?
### Context:
CREATE TABLE table_name_10 (poll VARCHAR, wk_13 VARCHAR, wk_10 VARCHAR, wk_2 VARCHAR) [/INST]
### Response:
SELECT poll FROM table_name_10 WHERE wk_10 > 2 AND wk_2 = "12" AND wk_13 = 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:
What is the highest week 9 that had a week 6 of 7, a week 10 of greater than 2, a week 7 of 5, and a week 11 less than 2?
### Context:
CREATE TABLE table_name_13 (wk_9 INTEGER, wk_11 VARCHAR, wk_7 VARCHAR, wk_6 VARCHAR, wk_10 VARCHAR) [/INST]
### Response:
SELECT MAX(wk_9) FROM table_name_13 WHERE wk_6 = "7" AND wk_10 > 2 AND wk_7 = "5" AND wk_11 < 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 week 5 opponent for the year with a week 10 opponent of Maryland (6-2)?
### Context:
CREATE TABLE table_name_81 (week_5_sept_28 VARCHAR, week_10_nov_2 VARCHAR) [/INST]
### Response:
SELECT week_5_sept_28 FROM table_name_81 WHERE week_10_nov_2 = "maryland (6-2)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the week 14 opponent for the year with a week 10 opponent of Michigan State (8-2)?
### Context:
CREATE TABLE table_name_50 (week_14_nov_30 VARCHAR, week_10_nov_2 VARCHAR) [/INST]
### Response:
SELECT week_14_nov_30 FROM table_name_50 WHERE week_10_nov_2 = "michigan state (8-2)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the week 4 opponent for the year with a week 10 opponent of Michigan State (8-2)?
### Context:
CREATE TABLE table_name_30 (week_4_sept_21 VARCHAR, week_10_nov_2 VARCHAR) [/INST]
### Response:
SELECT week_4_sept_21 FROM table_name_30 WHERE week_10_nov_2 = "michigan state (8-2)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the week 12 opponent for the year that had a week 3 opponent of South Florida (3-0)?
### Context:
CREATE TABLE table_name_6 (week_12_nov_16 VARCHAR, week_3_sept_14 VARCHAR) [/INST]
### Response:
SELECT week_12_nov_16 FROM table_name_6 WHERE week_3_sept_14 = "south florida (3-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 week 7 opponent for the year that had a week 12 opponent of Oregon State (7-3)?
### Context:
CREATE TABLE table_name_29 (week_7_oct_12 VARCHAR, week_12_nov_16 VARCHAR) [/INST]
### Response:
SELECT week_7_oct_12 FROM table_name_29 WHERE week_12_nov_16 = "oregon state (7-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 was the week 3 opponent for the year that had a week 7 opponent of Georgia (5-1)?
### Context:
CREATE TABLE table_name_56 (week_3_sept_14 VARCHAR, week_7_oct_12 VARCHAR) [/INST]
### Response:
SELECT week_3_sept_14 FROM table_name_56 WHERE week_7_oct_12 = "georgia (5-1)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Week 14 Nov 24, that has Week 11 Nov 3 of USC (6-2)?
### Context:
CREATE TABLE table_name_44 (week_14_nov_24 VARCHAR, week_11_nov_3 VARCHAR) [/INST]
### Response:
SELECT week_14_nov_24 FROM table_name_44 WHERE week_11_nov_3 = "usc (6-2)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is listed for the Week 9 Oct 20 that has a Week 17 (Final) Jan 4 of Michigan (10-3)?
### Context:
CREATE TABLE table_name_99 (week_9_oct_20 VARCHAR, week_17__final__jan_4 VARCHAR) [/INST]
### Response:
SELECT week_9_oct_20 FROM table_name_99 WHERE week_17__final__jan_4 = "michigan (10-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 listed for the Week 1 Aug 26 that has a Week 7 Oct 6 of USC (3-2)?
### Context:
CREATE TABLE table_name_36 (week_1_aug_26 VARCHAR, week_7_oct_6 VARCHAR) [/INST]
### Response:
SELECT week_1_aug_26 FROM table_name_36 WHERE week_7_oct_6 = "usc (3-2)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is listed for the Week 3 Sept 8 that has a Week 2 Sept 2 of Florida State (2-0) (4)?
### Context:
CREATE TABLE table_name_51 (week_3_sept_8 VARCHAR, week_2_sept_2 VARCHAR) [/INST]
### Response:
SELECT week_3_sept_8 FROM table_name_51 WHERE week_2_sept_2 = "florida state (2-0) (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:
How much December has a Score of 5–2, and a Game smaller than 27?
### Context:
CREATE TABLE table_name_81 (december VARCHAR, score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(december) FROM table_name_81 WHERE score = "5–2" AND game < 27 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Game has an Opponent of @ pittsburgh penguins?
### Context:
CREATE TABLE table_name_14 (game INTEGER, opponent VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_name_14 WHERE opponent = "@ pittsburgh penguins" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 December has a Record of 21–7–2, and a Game larger than 30?
### Context:
CREATE TABLE table_name_59 (december INTEGER, record VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT MAX(december) FROM table_name_59 WHERE record = "21–7–2" AND game > 30 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 December has Points of 38, and a Record of 18–6–2?
### Context:
CREATE TABLE table_name_49 (december INTEGER, points VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT AVG(december) FROM table_name_49 WHERE points = 38 AND record = "18–6–2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Score that has a Result of 2–1 on 5 july 2007?
### Context:
CREATE TABLE table_name_47 (score VARCHAR, result VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_47 WHERE result = "2–1" AND date = "5 july 2007" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Competition has a Venue of hong kong?
### Context:
CREATE TABLE table_name_53 (competition VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT competition FROM table_name_53 WHERE venue = "hong kong" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.