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 part number(s) when the turbo is 9/11 and the frequency is 1.5 ghz?
### Context:
CREATE TABLE table_name_52 (part_number_s_ VARCHAR, turbo VARCHAR, frequency VARCHAR) [/INST]
### Response:
SELECT part_number_s_ FROM table_name_52 WHERE turbo = "9/11" AND frequency = "1.5 ghz" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 time for the match that resulted in a loss in less than 3 rounds?
### Context:
CREATE TABLE table_name_84 (time VARCHAR, res VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT time FROM table_name_84 WHERE res = "loss" AND round < 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 Hometown/School has a Team of cleveland indians?
### Context:
CREATE TABLE table_name_94 (hometown_school VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT hometown_school FROM table_name_94 WHERE team = "cleveland indians" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Player has a Pick smaller than 11, and a Position of rhp, and a Team of new york mets?
### Context:
CREATE TABLE table_name_6 (player VARCHAR, team VARCHAR, pick VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_6 WHERE pick < 11 AND position = "rhp" AND team = "new york mets" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Hometown/School has a Team of atlanta braves?
### Context:
CREATE TABLE table_name_74 (hometown_school VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT hometown_school FROM table_name_74 WHERE team = "atlanta braves" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 most enrollment in Hamilton?
### Context:
CREATE TABLE table_name_71 (enrollment INTEGER, location VARCHAR) [/INST]
### Response:
SELECT MAX(enrollment) FROM table_name_71 WHERE location = "hamilton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school that has an enrollment more than 441 with chargers as their mascot?
### Context:
CREATE TABLE table_name_35 (school VARCHAR, enrollment VARCHAR, mascot VARCHAR) [/INST]
### Response:
SELECT school FROM table_name_35 WHERE enrollment > 441 AND mascot = "chargers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the total enrollment in 57 Noble having a # and AA as the IHSAA Class?
### Context:
CREATE TABLE table_name_95 (enrollment VARCHAR, _number___county VARCHAR, ihsaa_class VARCHAR) [/INST]
### Response:
SELECT COUNT(enrollment) FROM table_name_95 WHERE _number___county = "57 noble" AND ihsaa_class = "aa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year joined had an enrollment less than 438 and an AA as the IHSAA Class?
### Context:
CREATE TABLE table_name_63 (year_joined VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR) [/INST]
### Response:
SELECT year_joined FROM table_name_63 WHERE enrollment < 438 AND ihsaa_class = "aa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 branding when the call sign is ckua-fm-3?
### Context:
CREATE TABLE table_name_33 (branding VARCHAR, call_sign VARCHAR) [/INST]
### Response:
SELECT branding FROM table_name_33 WHERE call_sign = "ckua-fm-3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the format when the frequency is fm 94.5?
### Context:
CREATE TABLE table_name_58 (format VARCHAR, frequency VARCHAR) [/INST]
### Response:
SELECT format FROM table_name_58 WHERE frequency = "fm 94.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:
who is the owner of fm 94.5?
### Context:
CREATE TABLE table_name_69 (owner VARCHAR, frequency VARCHAR) [/INST]
### Response:
SELECT owner FROM table_name_69 WHERE frequency = "fm 94.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:
what is the language/rebroadcast for cbc radio one?
### Context:
CREATE TABLE table_name_30 (language_rebroadcast VARCHAR, branding VARCHAR) [/INST]
### Response:
SELECT language_rebroadcast FROM table_name_30 WHERE branding = "cbc radio one" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 frequency when the format is contemporary christian music?
### Context:
CREATE TABLE table_name_68 (frequency VARCHAR, format VARCHAR) [/INST]
### Response:
SELECT frequency FROM table_name_68 WHERE format = "contemporary christian music" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 branding when the owner is jim pattison group and the frequency is fm 94.5?
### Context:
CREATE TABLE table_name_55 (branding VARCHAR, owner VARCHAR, frequency VARCHAR) [/INST]
### Response:
SELECT branding FROM table_name_55 WHERE owner = "jim pattison group" AND frequency = "fm 94.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:
What is the fewest number of draws with more than 9 losts and more than 16 goals scored?
### Context:
CREATE TABLE table_name_99 (draw INTEGER, lost VARCHAR, goals_scored VARCHAR) [/INST]
### Response:
SELECT MIN(draw) FROM table_name_99 WHERE lost > 9 AND goals_scored > 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:
How many total draws was played less than 18 with 11 losts?
### Context:
CREATE TABLE table_name_2 (draw INTEGER, lost VARCHAR, played VARCHAR) [/INST]
### Response:
SELECT SUM(draw) FROM table_name_2 WHERE lost = 11 AND played < 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 is the total goals scored with more than 11 points, 18 goals conceded, and played fewer than 18 times?
### Context:
CREATE TABLE table_name_17 (goals_scored VARCHAR, played VARCHAR, points VARCHAR, goals_conceded VARCHAR) [/INST]
### Response:
SELECT COUNT(goals_scored) FROM table_name_17 WHERE points > 11 AND goals_conceded = 18 AND played < 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 is the Record of the 1991 Port of Spain Games?
### Context:
CREATE TABLE table_name_56 (record VARCHAR, games VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_56 WHERE games = "1991 port of spain" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Record of the 2012 Hamilton Games from Bahamas?
### Context:
CREATE TABLE table_name_72 (record VARCHAR, nationality VARCHAR, games VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_72 WHERE nationality = "bahamas" AND games = "2012 hamilton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Record of the 3000 M?
### Context:
CREATE TABLE table_name_15 (record VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_15 WHERE event = "3000 m" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Record of the 2013 Nassau Games?
### Context:
CREATE TABLE table_name_2 (record VARCHAR, games VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_2 WHERE games = "2013 nassau" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Quantity made when class is f-7?
### Context:
CREATE TABLE table_name_92 (quantity_made VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT quantity_made FROM table_name_92 WHERE class = "f-7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Class of 1899–1900?
### Context:
CREATE TABLE table_name_16 (class VARCHAR, year_made VARCHAR) [/INST]
### Response:
SELECT class FROM table_name_16 WHERE year_made = "1899–1900" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manufacturer with a wheel arrangement of 2-8-0, and Year made of 1883?
### Context:
CREATE TABLE table_name_82 (manufacturer VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR) [/INST]
### Response:
SELECT manufacturer FROM table_name_82 WHERE wheel_arrangement = "2-8-0" AND year_made = "1883" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 quantity when the wheel arrangement is 2-8-0, and class is f-4?
### Context:
CREATE TABLE table_name_92 (quantity_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT quantity_made FROM table_name_92 WHERE wheel_arrangement = "2-8-0" AND class = "f-4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What wheel arrangement has a fleet number(s) of 45–46?
### Context:
CREATE TABLE table_name_46 (wheel_arrangement VARCHAR, fleet_number_s_ VARCHAR) [/INST]
### Response:
SELECT wheel_arrangement FROM table_name_46 WHERE fleet_number_s_ = "45–46" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What manufacturer has a year made of 1883?
### Context:
CREATE TABLE table_name_76 (manufacturer VARCHAR, year_made VARCHAR) [/INST]
### Response:
SELECT manufacturer FROM table_name_76 WHERE year_made = "1883" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hasn an Attendance larger than 66,926?
### Context:
CREATE TABLE table_name_72 (date VARCHAR, attendance INTEGER) [/INST]
### Response:
SELECT date FROM table_name_72 WHERE attendance > 66 OFFSET 926 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manner of departure when the date of vacancy is 15 september 2008?
### Context:
CREATE TABLE table_name_14 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT manner_of_departure FROM table_name_14 WHERE date_of_vacancy = "15 september 2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
who is the replacement when the team is port vale?
### Context:
CREATE TABLE table_name_97 (replaced_by VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT replaced_by FROM table_name_97 WHERE team = "port vale" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 replacement when the team is bournemouth and the outgoing manager is kevin bond?
### Context:
CREATE TABLE table_name_87 (replaced_by VARCHAR, team VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT replaced_by FROM table_name_87 WHERE team = "bournemouth" AND outgoing_manager = "kevin bond" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outgoing manager when the manner of departure is contract terminated and the date of vacancy is 1 september 2008?
### Context:
CREATE TABLE table_name_22 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT outgoing_manager FROM table_name_22 WHERE manner_of_departure = "contract terminated" AND date_of_vacancy = "1 september 2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the date of vacancy when the manner of departure is contract terminated, the position in table is 23rd and the date of appointment is 31 december 2008?
### Context:
CREATE TABLE table_name_4 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR) [/INST]
### Response:
SELECT date_of_vacancy FROM table_name_4 WHERE manner_of_departure = "contract terminated" AND position_in_table = "23rd" AND date_of_appointment = "31 december 2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
who is the replacement when the date of vacancy is 1 september 2008?
### Context:
CREATE TABLE table_name_51 (replaced_by VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT replaced_by FROM table_name_51 WHERE date_of_vacancy = "1 september 2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many times did Morgan win The Masters Tournament with fewer than 12 appearances?
### Context:
CREATE TABLE table_name_12 (wins INTEGER, tournament VARCHAR, events VARCHAR) [/INST]
### Response:
SELECT AVG(wins) FROM table_name_12 WHERE tournament = "masters tournament" AND events < 12 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest losses for a team that has 0 draws, fewer than 4 wins, and no Byes?
### Context:
CREATE TABLE table_name_68 (losses INTEGER, byes VARCHAR, draws VARCHAR, wins VARCHAR) [/INST]
### Response:
SELECT MIN(losses) FROM table_name_68 WHERE draws = 0 AND wins < 4 AND byes < 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 Population has a Median family income of $38,044?
### Context:
CREATE TABLE table_name_18 (population VARCHAR, median_family_income VARCHAR) [/INST]
### Response:
SELECT population FROM table_name_18 WHERE median_family_income = "$38,044" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 county has a Median family income of $37,667?
### Context:
CREATE TABLE table_name_95 (county VARCHAR, median_family_income VARCHAR) [/INST]
### Response:
SELECT county FROM table_name_95 WHERE median_family_income = "$37,667" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Population that has a Median household income of $32,902 with a number of households less than 11,125
### Context:
CREATE TABLE table_name_34 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR) [/INST]
### Response:
SELECT MAX(population) FROM table_name_34 WHERE median_household_income = "$32,902" AND number_of_households < 11 OFFSET 125 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1851 when 1881 had 764?
### Context:
CREATE TABLE table_name_67 (Id VARCHAR) [/INST]
### Response:
SELECT 1851 FROM table_name_67 WHERE 1881 = "764" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year when 1851 had 634?
### Context:
CREATE TABLE table_name_29 (year VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_29 WHERE 1851 = "634" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1881 when 1871 had 1017?
### Context:
CREATE TABLE table_name_38 (Id VARCHAR) [/INST]
### Response:
SELECT 1881 FROM table_name_38 WHERE 1871 = "1017" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1861 had 1991 in 1881 and a year of year?
### Context:
CREATE TABLE table_name_82 (Id VARCHAR) [/INST]
### Response:
SELECT 1861 FROM table_name_82 WHERE "year" = "year" AND 1881 = "1991" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1881 with 1961 in 1851?
### Context:
CREATE TABLE table_name_54 (Id VARCHAR) [/INST]
### Response:
SELECT 1881 FROM table_name_54 WHERE 1851 = "1961" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stage winner when the start of stage is Cauterets?
### Context:
CREATE TABLE table_name_38 (stage VARCHAR, start_of_stage VARCHAR) [/INST]
### Response:
SELECT stage AS winner FROM table_name_38 WHERE start_of_stage = "cauterets" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stage winner when the stage was more than 10 and yellow jersey was Joseph Planckaert?
### Context:
CREATE TABLE table_name_99 (stage VARCHAR, yellow_jersey VARCHAR) [/INST]
### Response:
SELECT stage AS winner FROM table_name_99 WHERE stage > 10 AND yellow_jersey = "joseph planckaert" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Stage winner when the stage was smaller than 16, earlier than 1986, and a distance (km) was 19.6?
### Context:
CREATE TABLE table_name_44 (stage VARCHAR, distance__km_ VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT stage AS winner FROM table_name_44 WHERE stage < 16 AND year < 1986 AND distance__km_ = "19.6" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What year was yellow jersey of Jacques Anquetil?
### Context:
CREATE TABLE table_name_66 (year INTEGER, yellow_jersey VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_name_66 WHERE yellow_jersey = "jacques anquetil" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 GPU model that has sSpec number SR16Z(c0)?
### Context:
CREATE TABLE table_name_33 (gpu_model VARCHAR, sspec_number VARCHAR) [/INST]
### Response:
SELECT gpu_model FROM table_name_33 WHERE sspec_number = "sr16z(c0)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 L3 cache that has a low power part number?
### Context:
CREATE TABLE table_name_84 (l3_cache VARCHAR, part_number_s_ VARCHAR) [/INST]
### Response:
SELECT l3_cache FROM table_name_84 WHERE part_number_s_ = "low power" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 GPU frequency that has ultra-low power in cores?
### Context:
CREATE TABLE table_name_87 (gpu_frequency VARCHAR, cores VARCHAR) [/INST]
### Response:
SELECT gpu_frequency FROM table_name_87 WHERE cores = "ultra-low power" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cores with the part number cl8064701477202?
### Context:
CREATE TABLE table_name_89 (cores VARCHAR, part_number_s_ VARCHAR) [/INST]
### Response:
SELECT cores FROM table_name_89 WHERE part_number_s_ = "cl8064701477202" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 To par for the player that won in 2003, with a total larger than 145?
### Context:
CREATE TABLE table_name_65 (to_par VARCHAR, year_s__won VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT COUNT(to_par) FROM table_name_65 WHERE year_s__won = "2003" AND total > 145 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 United States total in the year(s) won of 2000 , 2005 , 2006?
### Context:
CREATE TABLE table_name_1 (total INTEGER, country VARCHAR, year_s__won VARCHAR) [/INST]
### Response:
SELECT MIN(total) FROM table_name_1 WHERE country = "united states" AND year_s__won = "2000 , 2005 , 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:
Who was the player from the United States, with a total larger than 145?
### Context:
CREATE TABLE table_name_32 (player VARCHAR, country VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_32 WHERE country = "united states" AND total > 145 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Year won for the player with a To par of 8?
### Context:
CREATE TABLE table_name_70 (year_s__won VARCHAR, to_par VARCHAR) [/INST]
### Response:
SELECT year_s__won FROM table_name_70 WHERE to_par = 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 To par of the United States, when the Total was 145, in 2004?
### Context:
CREATE TABLE table_name_21 (to_par VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_21 WHERE country = "united states" AND total = 145 AND year_s__won = "2004" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the fewest tally for the game played at Vasil Levski National Stadium, Sofia, Bulgaria?
### Context:
CREATE TABLE table_name_9 (tally INTEGER, venue VARCHAR) [/INST]
### Response:
SELECT MIN(tally) FROM table_name_9 WHERE venue = "vasil levski national stadium, sofia, bulgaria" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For what competition was the game played on 28 March 2009?
### Context:
CREATE TABLE table_name_28 (competition VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT competition FROM table_name_28 WHERE date = "28 march 2009" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 swimmer in lane 7 has what as the smallest rank?
### Context:
CREATE TABLE table_name_81 (rank INTEGER, lane VARCHAR) [/INST]
### Response:
SELECT MIN(rank) FROM table_name_81 WHERE lane = 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:
Swimmer Aurore Mongel has what nationality?
### Context:
CREATE TABLE table_name_88 (nationality VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_88 WHERE name = "aurore mongel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Swimmer Jiao Liuyang has what for the sum of lane?
### Context:
CREATE TABLE table_name_50 (lane VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT COUNT(lane) FROM table_name_50 WHERE name = "jiao liuyang" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For the swimmer in the lane less than 4, and is ranked greater than 4 what was the time?
### Context:
CREATE TABLE table_name_42 (time VARCHAR, lane VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT time FROM table_name_42 WHERE lane < 4 AND rank > 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:
Swimmer Audrey Lacroix finished in what time?
### Context:
CREATE TABLE table_name_20 (time VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT time FROM table_name_20 WHERE name = "audrey lacroix" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In which competition was Moradi's time 1:48.58?
### Context:
CREATE TABLE table_name_12 (competition VARCHAR, notes VARCHAR) [/INST]
### Response:
SELECT competition FROM table_name_12 WHERE notes = "1:48.58" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In which event did Moradi compete and finish in 2nd at the Asian Championships in Kobe, Japan held after 2005?
### Context:
CREATE TABLE table_name_21 (event VARCHAR, venue VARCHAR, position VARCHAR, year VARCHAR, competition VARCHAR) [/INST]
### Response:
SELECT event FROM table_name_21 WHERE year > 2005 AND competition = "asian championships" AND position = "2nd" AND venue = "kobe, japan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What competition was held earlier than 2007 and has 7434 in the notes field?
### Context:
CREATE TABLE table_name_47 (competition VARCHAR, year VARCHAR, notes VARCHAR) [/INST]
### Response:
SELECT competition FROM table_name_47 WHERE year < 2007 AND notes = "7434" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What event has 7860 notes?
### Context:
CREATE TABLE table_name_86 (event VARCHAR, notes VARCHAR) [/INST]
### Response:
SELECT event FROM table_name_86 WHERE notes = "7860" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What venue has 7964 pb notes?
### Context:
CREATE TABLE table_name_81 (venue VARCHAR, notes VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_81 WHERE notes = "7964 pb" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 times is vuelta wins when points is more than 0, country is spain and the name is josé pérez-francés?
### Context:
CREATE TABLE table_name_67 (vuelta_wins VARCHAR, name VARCHAR, points VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT COUNT(vuelta_wins) FROM table_name_67 WHERE points > 0 AND country = "spain" AND name = "josé pérez-francés" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 constituency number has a name of Timarni?
### Context:
CREATE TABLE table_name_99 (constituency_number VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT constituency_number FROM table_name_99 WHERE name = "timarni" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reserved for value for constituency number 132?
### Context:
CREATE TABLE table_name_76 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) [/INST]
### Response:
SELECT reserved_for___sc___st__none_ FROM table_name_76 WHERE constituency_number = "132" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the place of the player with a 72-70-67=209 score?
### Context:
CREATE TABLE table_name_51 (place VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT place FROM table_name_51 WHERE score = 72 - 70 - 67 = 209 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 to par of player hunter mahan?
### Context:
CREATE TABLE table_name_87 (to_par VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_87 WHERE player = "hunter mahan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 to par of canada?
### Context:
CREATE TABLE table_name_65 (to_par VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_65 WHERE country = "canada" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 album came out before 2008 called We're not Made in the USA?
### Context:
CREATE TABLE table_name_93 (album VARCHAR, year VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT album FROM table_name_93 WHERE year < 2008 AND title = "we're not made in the usa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year for Faces?
### Context:
CREATE TABLE table_name_61 (year INTEGER, title VARCHAR) [/INST]
### Response:
SELECT AVG(year) FROM table_name_61 WHERE title = "faces" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 livorno's average election?
### Context:
CREATE TABLE table_name_69 (election INTEGER, municipality VARCHAR) [/INST]
### Response:
SELECT AVG(election) FROM table_name_69 WHERE municipality = "livorno" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Election has a Party of democratic party, and a Mayor of leonardo betti?
### Context:
CREATE TABLE table_name_52 (election INTEGER, party VARCHAR, mayor VARCHAR) [/INST]
### Response:
SELECT MAX(election) FROM table_name_52 WHERE party = "democratic party" AND mayor = "leonardo betti" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Inhabitants have a Mayor of matteo renzi, and an Election larger than 2009?
### Context:
CREATE TABLE table_name_4 (inhabitants INTEGER, mayor VARCHAR, election VARCHAR) [/INST]
### Response:
SELECT MIN(inhabitants) FROM table_name_4 WHERE mayor = "matteo renzi" AND election > 2009 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Inhabitants have a Party of democratic party, and a Municipality of florence, and an Election smaller than 2009?
### Context:
CREATE TABLE table_name_99 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR) [/INST]
### Response:
SELECT MIN(inhabitants) FROM table_name_99 WHERE party = "democratic party" AND municipality = "florence" AND election < 2009 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Seatshave a Share of votes of 18%, and a Share of seats of 3%, and a General election smaller than 1992?
### Context:
CREATE TABLE table_name_6 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR) [/INST]
### Response:
SELECT MIN(seats) FROM table_name_6 WHERE share_of_votes = "18%" AND share_of_seats = "3%" AND general_election < 1992 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How much General election has a Share of votes of 17%?
### Context:
CREATE TABLE table_name_92 (general_election INTEGER, share_of_votes VARCHAR) [/INST]
### Response:
SELECT SUM(general_election) FROM table_name_92 WHERE share_of_votes = "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:
Which Seats have a Share of votes of 18%, and a Share of seats of 3%, and a General election larger than 1992?
### Context:
CREATE TABLE table_name_62 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR) [/INST]
### Response:
SELECT MAX(seats) FROM table_name_62 WHERE share_of_votes = "18%" AND share_of_seats = "3%" AND general_election > 1992 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Share of seats has Seats smaller than 52, and a Name of sdp–liberal alliance, and a General election of 1983?
### Context:
CREATE TABLE table_name_66 (share_of_seats VARCHAR, general_election VARCHAR, seats VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT share_of_seats FROM table_name_66 WHERE seats < 52 AND name = "sdp–liberal alliance" AND general_election = 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:
What is the voltage when the L2 cache is 2 × 256 kb and the turbo is 5/8?
### Context:
CREATE TABLE table_name_71 (voltage VARCHAR, l2_cache VARCHAR, turbo VARCHAR) [/INST]
### Response:
SELECT voltage FROM table_name_71 WHERE l2_cache = "2 × 256 kb" AND turbo = "5/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 L2 cache with ec number of slbmm(c2)slbsr(k0)?
### Context:
CREATE TABLE table_name_92 (l2_cache VARCHAR, sspec_number VARCHAR) [/INST]
### Response:
SELECT l2_cache FROM table_name_92 WHERE sspec_number = "slbmm(c2)slbsr(k0)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 voltage when there are 2 cores, turbo is 5/8 and the release date is September 2010?
### Context:
CREATE TABLE table_name_71 (voltage VARCHAR, turbo VARCHAR, cores VARCHAR, release_date VARCHAR) [/INST]
### Response:
SELECT voltage FROM table_name_71 WHERE cores = "2" AND release_date = "september 2010" AND turbo = "5/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 frequency for I/O bus of DMI, voltage of 0.725–1.4v and part cn80617004458ab?
### Context:
CREATE TABLE table_name_4 (frequency VARCHAR, part_number_s_ VARCHAR, i_o_bus VARCHAR, voltage VARCHAR) [/INST]
### Response:
SELECT frequency FROM table_name_4 WHERE i_o_bus = "dmi" AND voltage = "0.725–1.4v" AND part_number_s_ = "cn80617004458ab" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 I/O bus when socket is socket g1bga-1288?
### Context:
CREATE TABLE table_name_46 (i_o_bus VARCHAR, socket VARCHAR) [/INST]
### Response:
SELECT i_o_bus FROM table_name_46 WHERE socket = "socket g1bga-1288" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 memory when release date is January 2010 and socket is BGA-1288?
### Context:
CREATE TABLE table_name_13 (memory VARCHAR, release_date VARCHAR, socket VARCHAR) [/INST]
### Response:
SELECT memory FROM table_name_13 WHERE release_date = "january 2010" AND socket = "bga-1288" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Premierships have Nicknamed of kangaroos?
### Context:
CREATE TABLE table_name_72 (no_of_premierships VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT COUNT(no_of_premierships) FROM table_name_72 WHERE nickname = "kangaroos" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 IHSAA class for Muncie Burris?
### Context:
CREATE TABLE table_name_69 (ihsaa_class VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT ihsaa_class FROM table_name_69 WHERE school = "muncie burris" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 IHSAA class for Muncie Cowan?
### Context:
CREATE TABLE table_name_27 (ihsaa_class VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT ihsaa_class FROM table_name_27 WHERE school = "muncie cowan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 where enrollment is 266 and and the county is 18 Delaware?
### Context:
CREATE TABLE table_name_30 (location VARCHAR, _number___county VARCHAR, enrollment VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_30 WHERE _number___county = "18 delaware" AND enrollment = 266 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 enrollment at the school with IHSAA class A and where mascot is the Vikings?
### Context:
CREATE TABLE table_name_39 (enrollment VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR) [/INST]
### Response:
SELECT enrollment FROM table_name_39 WHERE ihsaa_class = "a" AND mascot = "vikings" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the IHSAA class for the school where the mascot is the Rebels?
### Context:
CREATE TABLE table_name_80 (ihsaa_class VARCHAR, mascot VARCHAR) [/INST]
### Response:
SELECT ihsaa_class FROM table_name_80 WHERE mascot = "rebels" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with enrollment of 316 and county is 68 Randolph?
### Context:
CREATE TABLE table_name_21 (location VARCHAR, _number___county VARCHAR, enrollment VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_21 WHERE _number___county = "68 randolph" AND enrollment = 316 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What result took pace in 2009 and had an award of sopot international song festival?
### Context:
CREATE TABLE table_name_17 (result VARCHAR, year VARCHAR, award VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_17 WHERE year = 2009 AND award = "sopot international song festival" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.