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 Winner of the Event in Punta del Este?
### Context:
CREATE TABLE table_name_67 (winner VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT winner FROM table_name_67 WHERE city = "punta del este" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Date of the Event in Panama City?
### Context:
CREATE TABLE table_name_37 (date VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_37 WHERE city = "panama city" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Winner of the Event in Panama City?
### Context:
CREATE TABLE table_name_5 (winner VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT winner FROM table_name_5 WHERE city = "panama city" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Winner of the Event on September 26-30, 2012?
### Context:
CREATE TABLE table_name_82 (winner VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT winner FROM table_name_82 WHERE date = "september 26-30, 2012" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Laps, when Rider is Sylvain Guintoli, and when Grid is less than 16?
### Context:
CREATE TABLE table_name_68 (laps INTEGER, rider VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT MIN(laps) FROM table_name_68 WHERE rider = "sylvain guintoli" AND grid < 16 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest Grid, when Laps is 21, when Manufacturer is Yamaha, and when Time is +18.802?
### Context:
CREATE TABLE table_name_10 (grid INTEGER, time VARCHAR, laps VARCHAR, manufacturer VARCHAR) [/INST]
### Response:
SELECT MIN(grid) FROM table_name_10 WHERE laps = 21 AND manufacturer = "yamaha" AND time = "+18.802" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Rider, when Grid is less than 16, when Laps is 21, when Manufacturer is Honda, and when Time is +10.583?
### Context:
CREATE TABLE table_name_67 (rider VARCHAR, time VARCHAR, manufacturer VARCHAR, grid VARCHAR, laps VARCHAR) [/INST]
### Response:
SELECT rider FROM table_name_67 WHERE grid < 16 AND laps = 21 AND manufacturer = "honda" AND time = "+10.583" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Grid, when Rider is Shinya Nakano, and when Laps is less than 21?
### Context:
CREATE TABLE table_name_27 (grid INTEGER, rider VARCHAR, laps VARCHAR) [/INST]
### Response:
SELECT AVG(grid) FROM table_name_27 WHERE rider = "shinya nakano" AND laps < 21 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
who is the 1st runner-up when the miss earth Venezuela is maría daniela torrealba?
### Context:
CREATE TABLE table_name_90 (miss_earth_venezuela VARCHAR) [/INST]
### Response:
SELECT 1 AS st_runner_up FROM table_name_90 WHERE miss_earth_venezuela = "maría daniela torrealba" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Semi finalists had a Week of may 15?
### Context:
CREATE TABLE table_name_30 (semi_finalists VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT semi_finalists FROM table_name_30 WHERE week = "may 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 Finalist has a Semi finalists of monica seles conchita martínez?
### Context:
CREATE TABLE table_name_69 (finalist VARCHAR, semi_finalists VARCHAR) [/INST]
### Response:
SELECT finalist FROM table_name_69 WHERE semi_finalists = "monica seles conchita martínez" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Tournament has a Semi finalists of monica seles sandrine testud?
### Context:
CREATE TABLE table_name_76 (tournament VARCHAR, semi_finalists VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_76 WHERE semi_finalists = "monica seles sandrine testud" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Surface has a Semi finalists of conchita martínez arantxa sánchez?
### Context:
CREATE TABLE table_name_9 (surface VARCHAR, semi_finalists VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_9 WHERE semi_finalists = "conchita martínez arantxa sánchez" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Tournament has a Semi finalists of mary pierce elena dementieva?
### Context:
CREATE TABLE table_name_15 (tournament VARCHAR, semi_finalists VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_15 WHERE semi_finalists = "mary pierce elena dementieva" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Tournament has a Semi finalists of martina hingis joannette kruger?
### Context:
CREATE TABLE table_name_62 (tournament VARCHAR, semi_finalists VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_62 WHERE semi_finalists = "martina hingis joannette kruger" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Winner, when Prize is "£50,000", and when Runner-Up is "Korosh Nejad"?
### Context:
CREATE TABLE table_name_82 (winner VARCHAR, prize VARCHAR, runner_up VARCHAR) [/INST]
### Response:
SELECT winner FROM table_name_82 WHERE prize = "£50,000" AND runner_up = "korosh nejad" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Season, when Prize is "$100,000"?
### Context:
CREATE TABLE table_name_37 (season VARCHAR, prize VARCHAR) [/INST]
### Response:
SELECT season FROM table_name_37 WHERE prize = "$100,000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Prize, when Winner is "John Shaw"?
### Context:
CREATE TABLE table_name_21 (prize VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT prize FROM table_name_21 WHERE winner = "john shaw" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 3rd Place, when Runner-Up is "Simon Ehne", and when Prize is $100,000?
### Context:
CREATE TABLE table_name_70 (runner_up VARCHAR, prize VARCHAR) [/INST]
### Response:
SELECT 3 AS rd_place FROM table_name_70 WHERE runner_up = "simon ehne" AND prize = "$100,000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Prize, when Runner-Up is "Simon Ehne", and when Winner is "David Tighe"?
### Context:
CREATE TABLE table_name_37 (prize VARCHAR, runner_up VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT prize FROM table_name_37 WHERE runner_up = "simon ehne" AND winner = "david tighe" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Prize, when Season is "2"?
### Context:
CREATE TABLE table_name_56 (prize VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT prize FROM table_name_56 WHERE season = "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 Name (Birth-Death), when Left Office is 7 October 1958?
### Context:
CREATE TABLE table_name_79 (name__birth_death_ VARCHAR, left_office VARCHAR) [/INST]
### Response:
SELECT name__birth_death_ FROM table_name_79 WHERE left_office = "7 october 1958" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Left Office, when Political Party is Ba'ath Party ( Syria Region ), and when Took Office is 7 March 1958?
### Context:
CREATE TABLE table_name_63 (left_office VARCHAR, political_party VARCHAR, took_office VARCHAR) [/INST]
### Response:
SELECT left_office FROM table_name_63 WHERE political_party = "ba'ath party ( syria region )" AND took_office = "7 march 1958" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for game 4?
### Context:
CREATE TABLE table_name_97 (date VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_97 WHERE game = "game 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:
Who is the home team in game 2?
### Context:
CREATE TABLE table_name_94 (home_team VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_94 WHERE game = "game 2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the result for game 5?
### Context:
CREATE TABLE table_name_65 (result VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_65 WHERE game = "game 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 value in 1990 when it is A in 1989, 1985, and 1993?
### Context:
CREATE TABLE table_name_45 (Id VARCHAR) [/INST]
### Response:
SELECT 1990 FROM table_name_45 WHERE 1989 = "a" AND 1985 = "a" AND 1993 = "a" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the value in 1988 when it is 2R in 1997 and SF in 1993?
### Context:
CREATE TABLE table_name_41 (Id VARCHAR) [/INST]
### Response:
SELECT 1988 FROM table_name_41 WHERE 1997 = "2r" AND 1993 = "sf" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value in 1987 when it is A in 1999, 1989, and 1997?
### Context:
CREATE TABLE table_name_47 (Id VARCHAR) [/INST]
### Response:
SELECT 1987 FROM table_name_47 WHERE 1999 = "a" AND 1989 = "a" AND 1997 = "a" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the result of the los angeles rams game?
### Context:
CREATE TABLE table_name_91 (result VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_91 WHERE opponent = "los angeles rams" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what was the result in week 10?
### Context:
CREATE TABLE table_name_51 (result VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_51 WHERE week = 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 location of the opponent Siarhei Navarka?
### Context:
CREATE TABLE table_name_79 (location VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_79 WHERE opponent = "siarhei navarka" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location has the promotor Frank Moloney, and the opponent Gennadiy Rasalev?
### Context:
CREATE TABLE table_name_21 (location VARCHAR, promotor VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_21 WHERE promotor = "frank moloney" AND opponent = "gennadiy rasalev" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which date has the promoter Frank Moloney and the opponent Georgi Iliev?
### Context:
CREATE TABLE table_name_82 (date VARCHAR, promotor VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_82 WHERE promotor = "frank moloney" AND opponent = "georgi iliev" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Quantity made, when Wheel Arrangement is "2-6-0", and when Class is "D-3"?
### Context:
CREATE TABLE table_name_31 (quantity_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT quantity_made FROM table_name_31 WHERE wheel_arrangement = "2-6-0" AND class = "d-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 Fleet Number(s), when Wheel Arrangement is "2-6-0", and when Class is "Z"?
### Context:
CREATE TABLE table_name_98 (fleet_number_s_ VARCHAR, wheel_arrangement VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT fleet_number_s_ FROM table_name_98 WHERE wheel_arrangement = "2-6-0" AND class = "z" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Fleet Number(s), when Quantity Preserved is "0", when Quantity Made is 1, and when Class is "Z"?
### Context:
CREATE TABLE table_name_95 (fleet_number_s_ VARCHAR, class VARCHAR, quantity_preserved VARCHAR, quantity_made VARCHAR) [/INST]
### Response:
SELECT fleet_number_s_ FROM table_name_95 WHERE quantity_preserved = "0" AND quantity_made = "1" AND class = "z" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Year(s) won has a To par of +8?
### Context:
CREATE TABLE table_name_65 (year_s__won VARCHAR, to_par VARCHAR) [/INST]
### Response:
SELECT year_s__won FROM table_name_65 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:
How many totals does gene littler have?
### Context:
CREATE TABLE table_name_41 (total VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(total) FROM table_name_41 WHERE player = "gene littler" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Total is the lowest one that has a Country of united states, and a To par of +12?
### Context:
CREATE TABLE table_name_99 (total INTEGER, country VARCHAR, to_par VARCHAR) [/INST]
### Response:
SELECT MIN(total) FROM table_name_99 WHERE country = "united states" AND to_par = "+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 year or years did arnold palmer win?
### Context:
CREATE TABLE table_name_50 (year_s__won VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT year_s__won FROM table_name_50 WHERE player = "arnold palmer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning % for the years 2006-11?
### Context:
CREATE TABLE table_name_98 (winning__percentage VARCHAR, years VARCHAR) [/INST]
### Response:
SELECT winning__percentage FROM table_name_98 WHERE years = "2006-11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
how many times is the seasons 2 and the coach guy lowman?
### Context:
CREATE TABLE table_name_92 (winning__percentage VARCHAR, seasons VARCHAR, coach VARCHAR) [/INST]
### Response:
SELECT COUNT(winning__percentage) FROM table_name_92 WHERE seasons = 2 AND coach = "guy lowman" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for years 2006-11?
### Context:
CREATE TABLE table_name_92 (record VARCHAR, years VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_92 WHERE years = "2006-11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Result of the AFG Arena, St. Gallen Competition with a Score of 1–0?
### Context:
CREATE TABLE table_name_92 (result VARCHAR, venue VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_92 WHERE venue = "afg arena, st. gallen" AND score = "1–0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who won the Metas Volantes Classification in the stage in which Damiano Cunego won the points classification?
### Context:
CREATE TABLE table_name_16 (metas_volantes_classification VARCHAR, points_classification VARCHAR) [/INST]
### Response:
SELECT metas_volantes_classification FROM table_name_16 WHERE points_classification = "damiano cunego" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 led the metas volantes classification for stage 4?
### Context:
CREATE TABLE table_name_36 (metas_volantes_classification VARCHAR, stage VARCHAR) [/INST]
### Response:
SELECT metas_volantes_classification FROM table_name_36 WHERE stage = 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:
Who was the winner in the stage that Damiano Cunego led the points classification?
### Context:
CREATE TABLE table_name_48 (winner VARCHAR, points_classification VARCHAR) [/INST]
### Response:
SELECT winner FROM table_name_48 WHERE points_classification = "damiano cunego" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the attendance when they played at Dallas Cowboys?
### Context:
CREATE TABLE table_name_69 (attendance VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_69 WHERE opponent = "at dallas cowboys" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the attendance at the game before week 8, held on October 25, 1981?
### Context:
CREATE TABLE table_name_62 (attendance INTEGER, date VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT SUM(attendance) FROM table_name_62 WHERE date = "october 25, 1981" AND 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:
What was the date of the game played after week 15?
### Context:
CREATE TABLE table_name_86 (date VARCHAR, week INTEGER) [/INST]
### Response:
SELECT date FROM table_name_86 WHERE week > 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 player had a position of OT during round 27?
### Context:
CREATE TABLE table_name_43 (name VARCHAR, position VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_43 WHERE position = "ot" AND round = 27 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Doctor Who episode has a Episode # of 11?
### Context:
CREATE TABLE table_name_78 (doctor_who_episode VARCHAR, episode__number VARCHAR) [/INST]
### Response:
SELECT doctor_who_episode FROM table_name_78 WHERE episode__number = "11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Doctor Who episode has a Original airdate (UK) of dvd only?
### Context:
CREATE TABLE table_name_51 (doctor_who_episode VARCHAR, original_airdate__uk_ VARCHAR) [/INST]
### Response:
SELECT doctor_who_episode FROM table_name_51 WHERE original_airdate__uk_ = "dvd only" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Episode title has a Doctor Who episode of episodes 1–12?
### Context:
CREATE TABLE table_name_83 (episode_title VARCHAR, doctor_who_episode VARCHAR) [/INST]
### Response:
SELECT episode_title FROM table_name_83 WHERE doctor_who_episode = "episodes 1–12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Episode title has a Episode # of s2?
### Context:
CREATE TABLE table_name_65 (episode_title VARCHAR, episode__number VARCHAR) [/INST]
### Response:
SELECT episode_title FROM table_name_65 WHERE episode__number = "s2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Doctor Who episode has an Original airdate (UK) of 14 may 2005?
### Context:
CREATE TABLE table_name_91 (doctor_who_episode VARCHAR, original_airdate__uk_ VARCHAR) [/INST]
### Response:
SELECT doctor_who_episode FROM table_name_91 WHERE original_airdate__uk_ = "14 may 2005" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result has a Location of canada, and a Record of 3-3?
### Context:
CREATE TABLE table_name_77 (res VARCHAR, location VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT res FROM table_name_77 WHERE location = "canada" AND record = "3-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 event has a Round larger than 2?
### Context:
CREATE TABLE table_name_88 (event VARCHAR, round INTEGER) [/INST]
### Response:
SELECT event FROM table_name_88 WHERE round > 2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHAT IS THE ELEVATION OF THE UNAKA MOUNTAINS, IN ROAN HIGH BLUFF PEAK, AND ISOLATION LARGER THAN 1.54?
### Context:
CREATE TABLE table_name_77 (elevation__ft_ INTEGER, isolation VARCHAR, range VARCHAR, peak_name VARCHAR) [/INST]
### Response:
SELECT AVG(elevation__ft_) FROM table_name_77 WHERE range = "unaka mountains" AND peak_name = "roan high bluff" AND isolation > 1.54 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
With a silver greater than 0, gold of 9 and a bronze less than 9, what is the lowest total listed?
### Context:
CREATE TABLE table_name_75 (total INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT MIN(total) FROM table_name_75 WHERE silver > 0 AND gold = 9 AND bronze < 9 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the Attendance on Week 8?
### Context:
CREATE TABLE table_name_95 (attendance INTEGER, week VARCHAR) [/INST]
### Response:
SELECT AVG(attendance) FROM table_name_95 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:
What is the Attendance after Week 8 with a Result of W 42–0?
### Context:
CREATE TABLE table_name_98 (attendance INTEGER, week VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT MAX(attendance) FROM table_name_98 WHERE week > 8 AND result = "w 42–0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the average bronze when gold is more than 0, the nation is greece and silver is less than 0?
### Context:
CREATE TABLE table_name_75 (bronze INTEGER, silver VARCHAR, gold VARCHAR, nation VARCHAR) [/INST]
### Response:
SELECT AVG(bronze) FROM table_name_75 WHERE gold > 0 AND nation = "greece" AND silver < 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the rank when bronze is less than 1 and silver is less than 1?
### Context:
CREATE TABLE table_name_52 (rank VARCHAR, bronze VARCHAR, silver VARCHAR) [/INST]
### Response:
SELECT rank FROM table_name_52 WHERE bronze < 1 AND silver < 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which country had a round of Q3?
### Context:
CREATE TABLE table_name_58 (country VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_58 WHERE round = "q3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a To par of e?
### Context:
CREATE TABLE table_name_96 (country VARCHAR, to_par VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_96 WHERE to_par = "e" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Finish has a To par of –1, and a Year(s) won of 1955?
### Context:
CREATE TABLE table_name_61 (finish VARCHAR, to_par VARCHAR, year_s__won VARCHAR) [/INST]
### Response:
SELECT finish FROM table_name_61 WHERE to_par = "–1" AND year_s__won = "1955" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 To par has a Finish of t3, and a Player of julius boros?
### Context:
CREATE TABLE table_name_75 (to_par VARCHAR, finish VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_75 WHERE finish = "t3" AND player = "julius boros" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 To par of –1, and a Year(s) won of 1952?
### Context:
CREATE TABLE table_name_29 (player VARCHAR, to_par VARCHAR, year_s__won VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_29 WHERE to_par = "–1" AND year_s__won = "1952" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 To par has a Total larger than 283, and a Finish of t12?
### Context:
CREATE TABLE table_name_28 (to_par VARCHAR, total VARCHAR, finish VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_28 WHERE total > 283 AND finish = "t12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Role, when Status is "2001 - 2003, 2005 - 2009"?
### Context:
CREATE TABLE table_name_38 (role VARCHAR, status VARCHAR) [/INST]
### Response:
SELECT role FROM table_name_38 WHERE status = "2001 - 2003, 2005 - 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:
What is Actor, when Role is "Kate Manfredi"?
### Context:
CREATE TABLE table_name_28 (actor VARCHAR, role VARCHAR) [/INST]
### Response:
SELECT actor FROM table_name_28 WHERE role = "kate manfredi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Number Of Episodes, when Actor is "Jessica Napier"
### Context:
CREATE TABLE table_name_90 (number_of_episodes VARCHAR, actor VARCHAR) [/INST]
### Response:
SELECT number_of_episodes FROM table_name_90 WHERE actor = "jessica napier" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Actor, when Number Of Episodes is "117 Episodes"?
### Context:
CREATE TABLE table_name_88 (actor VARCHAR, number_of_episodes VARCHAR) [/INST]
### Response:
SELECT actor FROM table_name_88 WHERE number_of_episodes = "117 episodes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Number Of Episodes, when Status is "2001 - 2003, 2005 - 2009"?
### Context:
CREATE TABLE table_name_86 (number_of_episodes VARCHAR, status VARCHAR) [/INST]
### Response:
SELECT number_of_episodes FROM table_name_86 WHERE status = "2001 - 2003, 2005 - 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:
What is Number Of Episodes, when Notes is "Moved to run a farm with boyfriend Jake."?
### Context:
CREATE TABLE table_name_74 (number_of_episodes VARCHAR, notes VARCHAR) [/INST]
### Response:
SELECT number_of_episodes FROM table_name_74 WHERE notes = "moved to run a farm with boyfriend jake." </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 name of the home captain when the result was Aus by 32 runs?
### Context:
CREATE TABLE table_name_55 (home_captain VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT home_captain FROM table_name_55 WHERE result = "aus by 32 runs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 name of the away captain when Hugh Trumble was the home captain and the result was Aus by 32 runs?
### Context:
CREATE TABLE table_name_65 (away_captain VARCHAR, home_captain VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT away_captain FROM table_name_65 WHERE home_captain = "hugh trumble" AND result = "aus by 32 runs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 name of the home captain when the result was Aus by 229 runs?
### Context:
CREATE TABLE table_name_83 (home_captain VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT home_captain FROM table_name_83 WHERE result = "aus by 229 runs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 name of the away captain when the game was at Adelaide Oval?
### Context:
CREATE TABLE table_name_5 (away_captain VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT away_captain FROM table_name_5 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:
What was the winning score when the runner-up was Beth Daniel and the margin of victory was 7 strokes?
### Context:
CREATE TABLE table_name_42 (winning_score VARCHAR, runner_s__up VARCHAR, margin_of_victory VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_name_42 WHERE runner_s__up = "beth daniel" AND margin_of_victory = "7 strokes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning score for oldsmobile lpga classic?
### Context:
CREATE TABLE table_name_64 (winning_score VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_name_64 WHERE tournament = "oldsmobile lpga classic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning score on Jan 22, 1995 when the margin of victory was 1 stroke?
### Context:
CREATE TABLE table_name_32 (winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_name_32 WHERE margin_of_victory = "1 stroke" AND date = "jan 22, 1995" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the winning score when the margin of victory was a playoff for the Tournament of safeco classic?
### Context:
CREATE TABLE table_name_4 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_name_4 WHERE margin_of_victory = "playoff" AND tournament = "safeco classic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning score on Aug 28, 1983?
### Context:
CREATE TABLE table_name_89 (winning_score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_name_89 WHERE date = "aug 28, 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 was the margin of victory when the runner-up was Janet Coles?
### Context:
CREATE TABLE table_name_48 (margin_of_victory VARCHAR, runner_s__up VARCHAR) [/INST]
### Response:
SELECT margin_of_victory FROM table_name_48 WHERE runner_s__up = "janet coles" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What studio is director David Fincher from?
### Context:
CREATE TABLE table_name_95 (studio VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT studio FROM table_name_95 WHERE director = "david fincher" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What studio is director Reginald Hudlin from?
### Context:
CREATE TABLE table_name_85 (studio VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT studio FROM table_name_85 WHERE director = "reginald hudlin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What director has a worldwide gross of $149,022,650 and is ranked greater than 7?
### Context:
CREATE TABLE table_name_39 (director VARCHAR, rank VARCHAR, worldwide_gross VARCHAR) [/INST]
### Response:
SELECT director FROM table_name_39 WHERE rank > 7 AND worldwide_gross = "$149,022,650" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What were the co-drivers in 2008?
### Context:
CREATE TABLE table_name_76 (co_drivers VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT co_drivers FROM table_name_76 WHERE year = 2008 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the class of 2009?
### Context:
CREATE TABLE table_name_26 (class VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT class FROM table_name_26 WHERE year = 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:
Who were the co-drivers with more than 310 laps and team aston martin racing bms?
### Context:
CREATE TABLE table_name_42 (co_drivers VARCHAR, laps VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT co_drivers FROM table_name_42 WHERE laps > 310 AND team = "aston martin racing bms" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Place, when Player is "Arnold Palmer"?
### Context:
CREATE TABLE table_name_23 (place VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT place FROM table_name_23 WHERE player = "arnold palmer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Player, when Place is "T5", and when Score is "69-72=141"?
### Context:
CREATE TABLE table_name_88 (player VARCHAR, place VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_88 WHERE place = "t5" AND score = 69 - 72 = 141 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Score, when Place is "T5", and when Player is "George Archer"?
### Context:
CREATE TABLE table_name_7 (score VARCHAR, place VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_7 WHERE place = "t5" AND player = "george archer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Country, when Score is "73-68=141"?
### Context:
CREATE TABLE table_name_60 (country VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_60 WHERE score = 73 - 68 = 141 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of laps with an accident time and a suzuki gsx-r1000 bike?
### Context:
CREATE TABLE table_name_56 (laps INTEGER, time VARCHAR, bike VARCHAR) [/INST]
### Response:
SELECT MAX(laps) FROM table_name_56 WHERE time = "accident" AND bike = "suzuki gsx-r1000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of laps of the grid larger than 22 with a +1:29.001 time?
### Context:
CREATE TABLE table_name_44 (laps VARCHAR, grid VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT laps FROM table_name_44 WHERE grid > 22 AND time = "+1:29.001" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What bike has an accident time, less than 9 laps, and a 5 grid?
### Context:
CREATE TABLE table_name_36 (bike VARCHAR, grid VARCHAR, time VARCHAR, laps VARCHAR) [/INST]
### Response:
SELECT bike FROM table_name_36 WHERE time = "accident" AND laps < 9 AND grid = 5 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.