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 average number of laps for the driver Piero Taruffi?
### Context:
CREATE TABLE table_name_50 (laps INTEGER, driver VARCHAR) [/INST]
### Response:
SELECT AVG(laps) FROM table_name_50 WHERE driver = "piero taruffi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 driver has 12 laps and a grid of less than 10?
### Context:
CREATE TABLE table_name_23 (driver VARCHAR, laps VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT driver FROM table_name_23 WHERE laps = 12 AND grid < 10 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Illustration with a Design of tim nokes, and a First Day Cover Cancellation with calgary, alberta?
### Context:
CREATE TABLE table_name_76 (illustration VARCHAR, design VARCHAR, first_day_cover_cancellation VARCHAR) [/INST]
### Response:
SELECT illustration FROM table_name_76 WHERE design = "tim nokes" AND first_day_cover_cancellation = "calgary, alberta" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Issue with a Theme with mental health?
### Context:
CREATE TABLE table_name_3 (date_of_issue VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT date_of_issue FROM table_name_3 WHERE theme = "mental health" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Theme with a Design with sputnik design partners?
### Context:
CREATE TABLE table_name_55 (theme VARCHAR, design VARCHAR) [/INST]
### Response:
SELECT theme FROM table_name_55 WHERE design = "sputnik design partners" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Paper Type with a First Day Cover Cancellation with ottawa, on?
### Context:
CREATE TABLE table_name_11 (paper_type VARCHAR, first_day_cover_cancellation VARCHAR) [/INST]
### Response:
SELECT paper_type FROM table_name_11 WHERE first_day_cover_cancellation = "ottawa, on" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Paper Type with an Illustration with martin dee, ubc public affairs?
### Context:
CREATE TABLE table_name_51 (paper_type VARCHAR, illustration VARCHAR) [/INST]
### Response:
SELECT paper_type FROM table_name_51 WHERE illustration = "martin dee, ubc public affairs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Theme with a Paper Type of tullis russell coatings, and a Date with Issue of 1 october 2008?
### Context:
CREATE TABLE table_name_28 (theme VARCHAR, paper_type VARCHAR, date_of_issue VARCHAR) [/INST]
### Response:
SELECT theme FROM table_name_28 WHERE paper_type = "tullis russell coatings" AND date_of_issue = "1 october 2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the tie number when the away team is Lewes?
### Context:
CREATE TABLE table_name_73 (tie_no VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT tie_no FROM table_name_73 WHERE away_team = "lewes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away team when the home team is Cheltenham Town?
### Context:
CREATE TABLE table_name_5 (away_team VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_5 WHERE home_team = "cheltenham town" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team of the game with tie number 34?
### Context:
CREATE TABLE table_name_76 (home_team VARCHAR, tie_no VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_76 WHERE tie_no = "34" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away team of the game with tie number 31?
### Context:
CREATE TABLE table_name_33 (away_team VARCHAR, tie_no VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_33 WHERE tie_no = "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:
How many goals for were scored for the team(s) that won fewer than 4 games and lost more than 6?
### Context:
CREATE TABLE table_name_50 (goals_for INTEGER, wins VARCHAR, losses VARCHAR) [/INST]
### Response:
SELECT SUM(goals_for) FROM table_name_50 WHERE wins < 4 AND losses > 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 is the average losses for the team(s) that played more than 8 games?
### Context:
CREATE TABLE table_name_37 (losses INTEGER, games_played INTEGER) [/INST]
### Response:
SELECT AVG(losses) FROM table_name_37 WHERE games_played > 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 fleet size of the Vanguard 0-6-0dh class?
### Context:
CREATE TABLE table_name_73 (fleet_size VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT fleet_size FROM table_name_73 WHERE class = "vanguard 0-6-0dh" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of introduction for the Electro-Diesel locomotive?
### Context:
CREATE TABLE table_name_64 (introduced VARCHAR, type VARCHAR) [/INST]
### Response:
SELECT introduced FROM table_name_64 WHERE type = "electro-diesel locomotive" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fleet size for the Shunter type introduced in 1959?
### Context:
CREATE TABLE table_name_3 (fleet_size INTEGER, type VARCHAR, introduced VARCHAR) [/INST]
### Response:
SELECT AVG(fleet_size) FROM table_name_3 WHERE type = "shunter" AND introduced = "1959" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 smallest fleet size with a type of shunter introduced in 1953?
### Context:
CREATE TABLE table_name_87 (fleet_size INTEGER, type VARCHAR, introduced VARCHAR) [/INST]
### Response:
SELECT MIN(fleet_size) FROM table_name_87 WHERE type = "shunter" AND introduced = "1953" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What show that was aired on January 24, 2008 with a rating larger than 3.6 had the lowest viewers? How Many Viewers in the millions?
### Context:
CREATE TABLE table_name_65 (viewers__m_ INTEGER, air_date VARCHAR, rating VARCHAR) [/INST]
### Response:
SELECT MIN(viewers__m_) FROM table_name_65 WHERE air_date = "january 24, 2008" AND rating > 3.6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which round has a car with a chassis of sf01?
### Context:
CREATE TABLE table_name_20 (rounds VARCHAR, chassis VARCHAR) [/INST]
### Response:
SELECT rounds FROM table_name_20 WHERE chassis = "sf01" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which country has swimsuit more than 9.46 and interview more than 9.22 with average less than 9.6?
### Context:
CREATE TABLE table_name_22 (country VARCHAR, swimsuit VARCHAR, average VARCHAR, interview VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_22 WHERE average < 9.6 AND interview > 9.22 AND swimsuit > 9.46 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which is the total number of evening gowns for swimsui less than 9.36 and average less than 9.23?
### Context:
CREATE TABLE table_name_57 (evening_gown VARCHAR, swimsuit VARCHAR, average VARCHAR) [/INST]
### Response:
SELECT COUNT(evening_gown) FROM table_name_57 WHERE swimsuit < 9.36 AND average < 9.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:
Name the lowest average for interview more than 9.57 and delaware and evening gown more than 9.77
### Context:
CREATE TABLE table_name_42 (average INTEGER, evening_gown VARCHAR, interview VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT MIN(average) FROM table_name_42 WHERE interview > 9.57 AND country = "delaware" AND evening_gown > 9.77 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sum of swimsuit for average more than 9.23 for delaware for interview more than 9.73
### Context:
CREATE TABLE table_name_31 (swimsuit INTEGER, interview VARCHAR, average VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT SUM(swimsuit) FROM table_name_31 WHERE average > 9.23 AND country = "delaware" AND interview > 9.73 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sum of average for interview more than 9.57 and swimsuit more than 9.65
### Context:
CREATE TABLE table_name_99 (average INTEGER, interview VARCHAR, swimsuit VARCHAR) [/INST]
### Response:
SELECT SUM(average) FROM table_name_99 WHERE interview > 9.57 AND swimsuit > 9.65 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 evening gown for swimsuit more than 9.51 for maryland
### Context:
CREATE TABLE table_name_90 (evening_gown VARCHAR, swimsuit VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT evening_gown FROM table_name_90 WHERE swimsuit > 9.51 AND country = "maryland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points awarded are higher than 6 but smaller than 9
### Context:
CREATE TABLE table_name_51 (points_awarded__platinum_ INTEGER, points_awarded__gold_ VARCHAR, points_awarded__silver_ VARCHAR) [/INST]
### Response:
SELECT MAX(points_awarded__platinum_) FROM table_name_51 WHERE points_awarded__gold_ = 9 AND points_awarded__silver_ > 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:
In the Canadian Grand Prix, what tyre was used when Jacky Ickx held pole position?
### Context:
CREATE TABLE table_name_50 (tyre VARCHAR, pole_position VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT tyre FROM table_name_50 WHERE pole_position = "jacky ickx" AND race = "canadian grand prix" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Jackie Stewart had the fastest lap and Jochen Rindt held the pole position with a D tyre, what was the circuit?
### Context:
CREATE TABLE table_name_16 (circuit VARCHAR, fastest_lap VARCHAR, tyre VARCHAR, pole_position VARCHAR) [/INST]
### Response:
SELECT circuit FROM table_name_16 WHERE tyre = "d" AND pole_position = "jochen rindt" AND fastest_lap = "jackie stewart" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the circuit when Jochen Rindt won?
### Context:
CREATE TABLE table_name_28 (circuit VARCHAR, winning_driver VARCHAR) [/INST]
### Response:
SELECT circuit FROM table_name_28 WHERE winning_driver = "jochen rindt" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tyre was used in Kyalami?
### Context:
CREATE TABLE table_name_81 (tyre VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT tyre FROM table_name_81 WHERE circuit = "kyalami" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 driver had a grid number of 10?
### Context:
CREATE TABLE table_name_11 (driver VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT driver FROM table_name_11 WHERE grid = 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 constructor had a grid number of less than 3 and where the Time/Retired was 1:34:31.522?
### Context:
CREATE TABLE table_name_55 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR) [/INST]
### Response:
SELECT constructor FROM table_name_55 WHERE grid < 3 AND time_retired = "1:34:31.522" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 constructor had a Time/Retired of collision, where the grid number was less than 18 and Nick Heidfeld was the driver?
### Context:
CREATE TABLE table_name_22 (constructor VARCHAR, driver VARCHAR, time_retired VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT constructor FROM table_name_22 WHERE time_retired = "collision" AND grid < 18 AND driver = "nick heidfeld" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the record on May 20?
### Context:
CREATE TABLE table_name_64 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_64 WHERE date = "may 20" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the height in feet of player number 24?
### Context:
CREATE TABLE table_name_70 (height_in_ft VARCHAR, no_s_ VARCHAR) [/INST]
### Response:
SELECT height_in_ft FROM table_name_70 WHERE no_s_ = "24" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school, club, team or country that the Rockets played for 1967-68?
### Context:
CREATE TABLE table_name_27 (school_club_team_country VARCHAR, years_for_rockets VARCHAR) [/INST]
### Response:
SELECT school_club_team_country FROM table_name_27 WHERE years_for_rockets = "1967-68" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Position of infielder, and a Hometown of atlanta, ga?
### Context:
CREATE TABLE table_name_48 (player VARCHAR, position VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_48 WHERE position = "infielder" AND hometown = "atlanta, ga" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 MLB draft has a School of green valley high school?
### Context:
CREATE TABLE table_name_7 (mlb_draft VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT mlb_draft FROM table_name_7 WHERE school = "green valley high school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which position has a School of green valley high school?
### Context:
CREATE TABLE table_name_26 (position VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_26 WHERE school = "green valley high school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which position has a Player of chad hutchinson?
### Context:
CREATE TABLE table_name_61 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_61 WHERE player = "chad hutchinson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which position has a School of petal high school?
### Context:
CREATE TABLE table_name_71 (position VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_71 WHERE school = "petal high school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week 8?
### Context:
CREATE TABLE table_name_23 (date VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_23 WHERE week = 8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which week has the lowest attendance of 48,102?
### Context:
CREATE TABLE table_name_4 (week INTEGER, attendance VARCHAR) [/INST]
### Response:
SELECT MIN(week) FROM table_name_4 WHERE attendance = 48 OFFSET 102 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year with runs of 144?
### Context:
CREATE TABLE table_name_68 (year VARCHAR, runs VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_68 WHERE runs = "144" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 place where adelaide oval is
### Context:
CREATE TABLE table_name_51 (city_country VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT city_country FROM table_name_51 WHERE venue = "adelaide oval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average zone for waddon marsh tram stop
### Context:
CREATE TABLE table_name_64 (zone INTEGER, stations VARCHAR) [/INST]
### Response:
SELECT AVG(zone) FROM table_name_64 WHERE stations = "waddon marsh tram stop" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stations for zone 5 and 1 platform by tramlink
### Context:
CREATE TABLE table_name_58 (stations VARCHAR, platforms VARCHAR, managed_by VARCHAR, zone VARCHAR) [/INST]
### Response:
SELECT stations FROM table_name_58 WHERE managed_by = "tramlink" AND zone = 5 AND platforms = 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:
Name the total number of platforms that waddon railway station has
### Context:
CREATE TABLE table_name_41 (platforms VARCHAR, stations VARCHAR) [/INST]
### Response:
SELECT COUNT(platforms) FROM table_name_41 WHERE stations = "waddon railway station" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average zone for waddon railway station and has more than 2 platforms
### Context:
CREATE TABLE table_name_54 (zone INTEGER, stations VARCHAR, platforms VARCHAR) [/INST]
### Response:
SELECT AVG(zone) FROM table_name_54 WHERE stations = "waddon railway station" AND platforms > 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 Bob Ostovich's opponents record?
### Context:
CREATE TABLE table_name_20 (record VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_20 WHERE opponent = "bob ostovich" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location is Jimmy Smith fighting in?
### Context:
CREATE TABLE table_name_72 (location VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_72 WHERE opponent = "jimmy smith" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the away score with a record of 7-4, win% of 0.637, and 2010 season?
### Context:
CREATE TABLE table_name_22 (away VARCHAR, season VARCHAR, record VARCHAR, win__percentage VARCHAR) [/INST]
### Response:
SELECT away FROM table_name_22 WHERE record = "7-4" AND win__percentage = 0.637 AND season = "2010" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the lowest win% with an away score of 3-2 in 2011 season?
### Context:
CREATE TABLE table_name_53 (win__percentage INTEGER, away VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT MIN(win__percentage) FROM table_name_53 WHERE away = "3-2" AND season = "2011" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 win% in the 1999-2013 season?
### Context:
CREATE TABLE table_name_66 (win__percentage INTEGER, season VARCHAR) [/INST]
### Response:
SELECT MIN(win__percentage) FROM table_name_66 WHERE season = "1999-2013" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record during 1925?
### Context:
CREATE TABLE table_name_99 (record VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_99 WHERE year = 1925 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the earliest year that the discus throw event occur?
### Context:
CREATE TABLE table_name_2 (year INTEGER, event VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_name_2 WHERE event = "discus throw" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Haydon had a 33 Ben-Tahir?
### Context:
CREATE TABLE table_name_68 (haydon VARCHAR, ben_tahir VARCHAR) [/INST]
### Response:
SELECT haydon FROM table_name_68 WHERE ben_tahir = "33" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Gauthier had a 15 Liscumb?
### Context:
CREATE TABLE table_name_65 (gauthier VARCHAR, liscumb VARCHAR) [/INST]
### Response:
SELECT gauthier FROM table_name_65 WHERE liscumb = "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:
What Ben-Tahir has a 6 Liscumb and 3 Libweshya?
### Context:
CREATE TABLE table_name_82 (ben_tahir VARCHAR, liscumb VARCHAR, libweshya VARCHAR) [/INST]
### Response:
SELECT ben_tahir FROM table_name_82 WHERE liscumb = "6" AND libweshya = "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 Bello has a 27 Liscumb and 6539 Libweshya?
### Context:
CREATE TABLE table_name_35 (bello VARCHAR, liscumb VARCHAR, libweshya VARCHAR) [/INST]
### Response:
SELECT bello FROM table_name_35 WHERE liscumb = "27" AND libweshya = "6539" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Furtenbacher with a 6 Liscumb, 10 Lawrance, and a 24 Ben-Tahir?
### Context:
CREATE TABLE table_name_6 (furtenbacher VARCHAR, ben_tahir VARCHAR, liscumb VARCHAR, lawrance VARCHAR) [/INST]
### Response:
SELECT furtenbacher FROM table_name_6 WHERE liscumb = "6" AND lawrance = "10" AND ben_tahir = "24" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Ben-Tahir with a 3269 Doucet?
### Context:
CREATE TABLE table_name_92 (ben_tahir VARCHAR, doucet VARCHAR) [/INST]
### Response:
SELECT ben_tahir FROM table_name_92 WHERE doucet = "3269" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attended the game that was a Loss of k. gross (1-1)?
### Context:
CREATE TABLE table_name_68 (attendance INTEGER, loss VARCHAR) [/INST]
### Response:
SELECT MAX(attendance) FROM table_name_68 WHERE loss = "k. gross (1-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 score of the game with tie number 65?
### Context:
CREATE TABLE table_name_23 (score VARCHAR, tie_no VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_23 WHERE tie_no = "65" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Home team had attendance 160?
### Context:
CREATE TABLE table_name_91 (home_team VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_91 WHERE attendance = "160" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game with a decision of Ellis and Vancouver as the visitor?
### Context:
CREATE TABLE table_name_79 (record VARCHAR, decision VARCHAR, visitor VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_79 WHERE decision = "ellis" AND visitor = "vancouver" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game with Mason as the decision and Nashville as the home team?
### Context:
CREATE TABLE table_name_45 (record VARCHAR, decision VARCHAR, home VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_45 WHERE decision = "mason" AND home = "nashville" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with Ellis as the decision and St. Louis as the visitor?
### Context:
CREATE TABLE table_name_27 (date VARCHAR, decision VARCHAR, visitor VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_27 WHERE decision = "ellis" AND visitor = "st. louis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 visiting team had a record of 31–31–8?
### Context:
CREATE TABLE table_name_67 (visitor VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT visitor FROM table_name_67 WHERE record = "31–31–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:
Where is Jeff Lebo's hometown?
### Context:
CREATE TABLE table_name_45 (hometown VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_name_45 WHERE player = "jeff lebo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player from Houston, TX?
### Context:
CREATE TABLE table_name_49 (player VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_49 WHERE hometown = "houston, tx" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the earliest year with an entry from Rotary Watches Stanley BRM and a BRM P207 with more than 0 points?
### Context:
CREATE TABLE table_name_99 (year INTEGER, points VARCHAR, entrant VARCHAR, chassis VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_name_99 WHERE entrant = "rotary watches stanley brm" AND chassis = "brm p207" AND points > 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:
How many points were there in a year earlier than 1977, a Cosworth V8 engine, and an entry from HB Bewaking alarm systems?
### Context:
CREATE TABLE table_name_68 (points VARCHAR, entrant VARCHAR, year VARCHAR, engine VARCHAR) [/INST]
### Response:
SELECT points FROM table_name_68 WHERE year < 1977 AND engine = "cosworth v8" AND entrant = "hb bewaking alarm systems" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 report for the race of Argentine Grand Prix?
### Context:
CREATE TABLE table_name_88 (report VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT report FROM table_name_88 WHERE race = "argentine grand prix" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tyre when Jerry Hoyt was the pole position?
### Context:
CREATE TABLE table_name_22 (tyre VARCHAR, pole_position VARCHAR) [/INST]
### Response:
SELECT tyre FROM table_name_22 WHERE pole_position = "jerry hoyt" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 constructor when Eugenio Castellotti was the pole position and the race had a C tyre?
### Context:
CREATE TABLE table_name_89 (constructor VARCHAR, tyre VARCHAR, pole_position VARCHAR) [/INST]
### Response:
SELECT constructor FROM table_name_89 WHERE tyre = "c" AND pole_position = "eugenio castellotti" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fastest lap time at the British Grand Prix with Mercedes as the constructor?
### Context:
CREATE TABLE table_name_2 (fastest_lap VARCHAR, constructor VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT fastest_lap FROM table_name_2 WHERE constructor = "mercedes" AND race = "british grand prix" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scored the High points in the game with High rebounds by Nick Collison (14)?
### Context:
CREATE TABLE table_name_20 (high_points VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_name_20 WHERE high_rebounds = "nick collison (14)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is henry transfer fee at fcbarcelona.cat in fra?
### Context:
CREATE TABLE table_name_41 (transfer_fee VARCHAR, name VARCHAR, source VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT transfer_fee FROM table_name_41 WHERE source = "fcbarcelona.cat" AND country = "fra" AND name = "henry" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Grid with a hydraulics time/required?
### Context:
CREATE TABLE table_name_57 (grid VARCHAR, time_retired VARCHAR) [/INST]
### Response:
SELECT grid FROM table_name_57 WHERE time_retired = "hydraulics" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with a Toyota constructor and +1:09.718 as time/retired?
### Context:
CREATE TABLE table_name_24 (grid VARCHAR, constructor VARCHAR, time_retired VARCHAR) [/INST]
### Response:
SELECT grid FROM table_name_24 WHERE constructor = "toyota" AND time_retired = "+1:09.718" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with 71 laps and the driver, Allan McNish.
### Context:
CREATE TABLE table_name_55 (grid VARCHAR, laps VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT grid FROM table_name_55 WHERE laps = "71" AND driver = "allan mcnish" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many laps did Jacques Villeneuve have?
### Context:
CREATE TABLE table_name_60 (laps VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT laps FROM table_name_60 WHERE driver = "jacques villeneuve" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 constructor of the driver Heinz-Harald Frentzen?
### Context:
CREATE TABLE table_name_50 (constructor VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT constructor FROM table_name_50 WHERE driver = "heinz-harald frentzen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the rank for year of 2012 and out of larger than 176
### Context:
CREATE TABLE table_name_66 (rank VARCHAR, year VARCHAR, out_of VARCHAR) [/INST]
### Response:
SELECT rank FROM table_name_66 WHERE year = "2012" AND out_of > 176 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the year for rank more than 35 and out of 167
### Context:
CREATE TABLE table_name_11 (year VARCHAR, rank VARCHAR, out_of VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_11 WHERE rank > 35 AND out_of = 167 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 UCI points did Rabobank score?
### Context:
CREATE TABLE table_name_88 (uci_points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT uci_points FROM table_name_88 WHERE team = "rabobank" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in France had 15 UCi points?
### Context:
CREATE TABLE table_name_81 (team VARCHAR, country VARCHAR, uci_points VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_81 WHERE country = "france" AND uci_points = "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 country has assets of x, an inception of 2007, and an abbreviation of adic?
### Context:
CREATE TABLE table_name_24 (country VARCHAR, abbreviation VARCHAR, assets_us$billion VARCHAR, inception VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_24 WHERE assets_us$billion = "x" AND inception = "2007" AND abbreviation = "adic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 abbreviation for libya?
### Context:
CREATE TABLE table_name_88 (abbreviation VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT abbreviation FROM table_name_88 WHERE country = "libya" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 origin for the country abbreviated atf?
### Context:
CREATE TABLE table_name_1 (origin VARCHAR, abbreviation VARCHAR) [/INST]
### Response:
SELECT origin FROM table_name_1 WHERE abbreviation = "atf" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 inception for the country with 25.5 billion USD in assets and an abbreviation of psf?
### Context:
CREATE TABLE table_name_47 (inception VARCHAR, assets_us$billion VARCHAR, abbreviation VARCHAR) [/INST]
### Response:
SELECT inception FROM table_name_47 WHERE assets_us$billion = "25.5" AND abbreviation = "psf" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which country has an abbreviation of kia?
### Context:
CREATE TABLE table_name_61 (country VARCHAR, abbreviation VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_61 WHERE abbreviation = "kia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 abbreviation for the country with an inception of 1999 and US$Billion assets of 7.1?
### Context:
CREATE TABLE table_name_79 (abbreviation VARCHAR, inception VARCHAR, assets_us$billion VARCHAR) [/INST]
### Response:
SELECT abbreviation FROM table_name_79 WHERE inception = "1999" AND assets_us$billion = "7.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 opponent of the home team of essendon?
### Context:
CREATE TABLE table_name_47 (away_team VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_47 WHERE home_team = "essendon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the cast for b. reeves eason and joseph kane
### Context:
CREATE TABLE table_name_80 (cast VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT cast FROM table_name_80 WHERE director = "b. reeves eason and joseph kane" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
I want the director for heroes of the wild
### Context:
CREATE TABLE table_name_29 (director VARCHAR, serial_title VARCHAR) [/INST]
### Response:
SELECT director FROM table_name_29 WHERE serial_title = "heroes of the wild" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
I want the year for the three musketeers
### Context:
CREATE TABLE table_name_13 (year VARCHAR, serial_title VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_13 WHERE serial_title = "the three musketeers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
I want the cast for director of colbert clark and armand schaefer for burn 'em up barnes
### Context:
CREATE TABLE table_name_75 (cast VARCHAR, director VARCHAR, serial_title VARCHAR) [/INST]
### Response:
SELECT cast FROM table_name_75 WHERE director = "colbert clark and armand schaefer" AND serial_title = "burn 'em up barnes" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.