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 First Performance when the status is past and the style was ballet, tap? ### Context: CREATE TABLE table_name_74 (first_performance VARCHAR, status VARCHAR, style VARCHAR) [/INST] ### Response: SELECT first_performance FROM table_name_74 WHERE status = "past" AND style = "ballet, tap" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Last Performance when the status is current cast, and a Name of noah parets? ### Context: CREATE TABLE table_name_16 (last_performance VARCHAR, status VARCHAR, name VARCHAR) [/INST] ### Response: SELECT last_performance FROM table_name_16 WHERE status = "current cast" AND name = "noah parets" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 style for Giuseppe Bausilio? ### Context: CREATE TABLE table_name_31 (style VARCHAR, name VARCHAR) [/INST] ### Response: SELECT style FROM table_name_31 WHERE name = "giuseppe bausilio" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which opponent has the event Jungle Fight 6? ### Context: CREATE TABLE table_name_56 (opponent VARCHAR, event VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_56 WHERE event = "jungle fight 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 is the method under the event Jungle Fight 2? ### Context: CREATE TABLE table_name_24 (method VARCHAR, event VARCHAR) [/INST] ### Response: SELECT method FROM table_name_24 WHERE event = "jungle fight 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 total number of points when draw is 4? ### Context: CREATE TABLE table_name_71 (points VARCHAR, draw VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_name_71 WHERE draw = 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the goals scored when draw is less than 8, points is 19 and goals conceded is more than 26? ### Context: CREATE TABLE table_name_44 (goals_scored INTEGER, goals_conceded VARCHAR, draw VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(goals_scored) FROM table_name_44 WHERE draw < 8 AND points = 19 AND goals_conceded > 26 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the points when the goals conceded is less than 24, place is less than 6 and goals scored is less than 26? ### Context: CREATE TABLE table_name_15 (points INTEGER, goals_scored VARCHAR, goals_conceded VARCHAR, place VARCHAR) [/INST] ### Response: SELECT SUM(points) FROM table_name_15 WHERE goals_conceded < 24 AND place < 6 AND goals_scored < 26 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the place when losses is less than 12 and points is less than 19? ### Context: CREATE TABLE table_name_12 (place INTEGER, lost VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(place) FROM table_name_12 WHERE lost < 12 AND points < 19 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the average place when lost is more than 12? ### Context: CREATE TABLE table_name_13 (place INTEGER, lost INTEGER) [/INST] ### Response: SELECT AVG(place) FROM table_name_13 WHERE lost > 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: In what Year were there 48 of 120 Seats and a % votes larger than 34.18? ### Context: CREATE TABLE table_name_94 (year INTEGER, seats VARCHAR, _percentage_votes VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_94 WHERE seats = "48 of 120" AND _percentage_votes > 34.18 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: After 1993, what is the Seats with a % votes of 38.72? ### Context: CREATE TABLE table_name_26 (seats VARCHAR, year VARCHAR, _percentage_votes VARCHAR) [/INST] ### Response: SELECT seats FROM table_name_26 WHERE year > 1993 AND _percentage_votes = 38.72 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest Isolation (km) when the elevation was smaller than 1320, and a Municipality of hinnøya? ### Context: CREATE TABLE table_name_61 (isolation__km_ INTEGER, elevation__m_ VARCHAR, municipality VARCHAR) [/INST] ### Response: SELECT MAX(isolation__km_) FROM table_name_61 WHERE elevation__m_ < 1320 AND municipality = "hinnøya" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Isolation in the municipality of Sunndal at an elevation of more than 1850? ### Context: CREATE TABLE table_name_83 (isolation__km_ INTEGER, municipality VARCHAR, elevation__m_ VARCHAR) [/INST] ### Response: SELECT AVG(isolation__km_) FROM table_name_83 WHERE municipality = "sunndal" AND elevation__m_ > 1850 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 elevation for the peak daurmål, and an Isolation (km) larger than 4? ### Context: CREATE TABLE table_name_83 (elevation__m_ INTEGER, peak VARCHAR, isolation__km_ VARCHAR) [/INST] ### Response: SELECT MAX(elevation__m_) FROM table_name_83 WHERE peak = "daurmål" AND isolation__km_ > 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What country has an Elevation less than 1833 and an Isolation (km) larger than 18, and a Peak of store lenangstind? ### Context: CREATE TABLE table_name_64 (county VARCHAR, peak VARCHAR, elevation__m_ VARCHAR, isolation__km_ VARCHAR) [/INST] ### Response: SELECT county FROM table_name_64 WHERE elevation__m_ < 1833 AND isolation__km_ > 18 AND peak = "store lenangstind" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What country has a prominence less than 1292 and an Isolation (km) of 14? ### Context: CREATE TABLE table_name_9 (county VARCHAR, prominence__m_ VARCHAR, isolation__km_ VARCHAR) [/INST] ### Response: SELECT county FROM table_name_9 WHERE prominence__m_ < 1292 AND isolation__km_ = 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: Which lane did George Bovell swim in? ### Context: CREATE TABLE table_name_20 (lane INTEGER, name VARCHAR) [/INST] ### Response: SELECT SUM(lane) FROM table_name_20 WHERE name = "george bovell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the top-25 with 16 cuts and less than 23 events? ### Context: CREATE TABLE table_name_79 (top_25 INTEGER, cuts_made VARCHAR, events VARCHAR) [/INST] ### Response: SELECT AVG(top_25) FROM table_name_79 WHERE cuts_made = 16 AND events < 23 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest top-25 with more than 9 top-10 but less than 29 events? ### Context: CREATE TABLE table_name_17 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR) [/INST] ### Response: SELECT MAX(top_25) FROM table_name_17 WHERE top_10 > 9 AND events < 29 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the Overall average that has brad scioli, and a Pick # larger than 5? ### Context: CREATE TABLE table_name_60 (overall INTEGER, name VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT AVG(overall) FROM table_name_60 WHERE name = "brad scioli" AND pick__number > 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's the lowest Overall average that has a College of Arkansas, and a Round larger than 3? ### Context: CREATE TABLE table_name_51 (overall INTEGER, college VARCHAR, round VARCHAR) [/INST] ### Response: SELECT MIN(overall) FROM table_name_51 WHERE college = "arkansas" AND round > 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which highest Overall has a Pick # of 4, and a Round larger than 7? ### Context: CREATE TABLE table_name_65 (overall INTEGER, pick__number VARCHAR, round VARCHAR) [/INST] ### Response: SELECT MAX(overall) FROM table_name_65 WHERE pick__number = 4 AND round > 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the overall average that has a round less than 7, and a Pick # of 4? ### Context: CREATE TABLE table_name_63 (overall INTEGER, round VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT AVG(overall) FROM table_name_63 WHERE round < 7 AND pick__number = 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 no. 4 team that has the no. 5 player Susana Telmo? ### Context: CREATE TABLE table_name_46 (no4 VARCHAR, no5 VARCHAR) [/INST] ### Response: SELECT no4 FROM table_name_46 WHERE no5 = "susana telmo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 no. 9 team that has a no. 6 player of paulo? ### Context: CREATE TABLE table_name_85 (no9 VARCHAR, no6 VARCHAR) [/INST] ### Response: SELECT no9 FROM table_name_85 WHERE no6 = "paulo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 this the no. 8 team that has a no. 9 player, Telmo? ### Context: CREATE TABLE table_name_72 (no8 VARCHAR, no9 VARCHAR) [/INST] ### Response: SELECT no8 FROM table_name_72 WHERE no9 = "telmo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nickname with age of 4.9 ### Context: CREATE TABLE table_name_73 (nickname VARCHAR, age___ma__ VARCHAR) [/INST] ### Response: SELECT nickname FROM table_name_73 WHERE age___ma__ = "4.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: Name the island with age ma of 1.0 ### Context: CREATE TABLE table_name_73 (island VARCHAR, age___ma__ VARCHAR) [/INST] ### Response: SELECT island FROM table_name_73 WHERE age___ma__ = "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: Name the elevation of the gathering place ### Context: CREATE TABLE table_name_79 (elevation VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT elevation FROM table_name_79 WHERE nickname = "the gathering place" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Game site of kingdome, and a Result of w 24-6 has what record? ### Context: CREATE TABLE table_name_32 (record VARCHAR, game_site VARCHAR, result VARCHAR) [/INST] ### Response: SELECT record FROM table_name_32 WHERE game_site = "kingdome" AND result = "w 24-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: Date of september 25, 1983 is what game site? ### Context: CREATE TABLE table_name_68 (game_site VARCHAR, date VARCHAR) [/INST] ### Response: SELECT game_site FROM table_name_68 WHERE date = "september 25, 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 stadium held the game that had a score of 6–3? ### Context: CREATE TABLE table_name_71 (stadium VARCHAR, score VARCHAR) [/INST] ### Response: SELECT stadium FROM table_name_71 WHERE score = "6–3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the date of the game that had a loss of Reed (0–2)? ### Context: CREATE TABLE table_name_29 (date VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT date FROM table_name_29 WHERE loss = "reed (0–2)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On which Date was there a record of 11-8? ### Context: CREATE TABLE table_name_37 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_37 WHERE record = "11-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 podiums associated with 1 vuelta and over 7 tours? ### Context: CREATE TABLE table_name_1 (total VARCHAR, vuelta VARCHAR, tour VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_name_1 WHERE vuelta = 1 AND tour > 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total for miguel induráin with a Vuelta larger than 1? ### Context: CREATE TABLE table_name_33 (total INTEGER, name VARCHAR, vuelta VARCHAR) [/INST] ### Response: SELECT MIN(total) FROM table_name_33 WHERE name = "miguel induráin" AND vuelta > 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 grid associated with a Time/Retired of + 1 lap, and under 7 points? ### Context: CREATE TABLE table_name_99 (grid INTEGER, time_retired VARCHAR, points VARCHAR) [/INST] ### Response: SELECT MIN(grid) FROM table_name_99 WHERE time_retired = "+ 1 lap" AND points < 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What grid is associated with 67 laps? ### Context: CREATE TABLE table_name_45 (grid VARCHAR, laps VARCHAR) [/INST] ### Response: SELECT grid FROM table_name_45 WHERE laps = 67 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nation for 8 june 1983 for marlies gohr ### Context: CREATE TABLE table_name_27 (nation VARCHAR, date VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_27 WHERE date = "8 june 1983" AND athlete = "marlies gohr" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 athlete for bulgaria with rank less than 22 ### Context: CREATE TABLE table_name_46 (athlete VARCHAR, rank VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT athlete FROM table_name_46 WHERE rank < 22 AND nation = "bulgaria" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What engine was used by Ram Penthouse Rizla Racing in 1978? ### Context: CREATE TABLE table_name_97 (engine VARCHAR, year VARCHAR, entrant VARCHAR) [/INST] ### Response: SELECT engine FROM table_name_97 WHERE year > 1978 AND entrant = "ram penthouse rizla racing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 College has a Year smaller than 1962, and a Position of rb? ### Context: CREATE TABLE table_name_98 (college VARCHAR, year VARCHAR, position VARCHAR) [/INST] ### Response: SELECT college FROM table_name_98 WHERE year < 1962 AND position = "rb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a College of nebraska, and a Pick of 2? ### Context: CREATE TABLE table_name_96 (year VARCHAR, college VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT year FROM table_name_96 WHERE college = "nebraska" AND pick = "2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Pick has a Year larger than 1983, and a Player name of brian jozwiak? ### Context: CREATE TABLE table_name_56 (pick VARCHAR, year VARCHAR, player_name VARCHAR) [/INST] ### Response: SELECT pick FROM table_name_56 WHERE year > 1983 AND player_name = "brian jozwiak" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest year has a Position of rb, and a College of louisiana state? ### Context: CREATE TABLE table_name_27 (year INTEGER, position VARCHAR, college VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_27 WHERE position = "rb" AND college = "louisiana state" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many years have a Player name of ronnie bull? ### Context: CREATE TABLE table_name_75 (year INTEGER, player_name VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_75 WHERE player_name = "ronnie bull" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 recipient of an award of £4,203? ### Context: CREATE TABLE table_name_22 (recipient VARCHAR, award VARCHAR) [/INST] ### Response: SELECT recipient FROM table_name_22 WHERE award = "£4,203" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed the film that received an award of £6,245? ### Context: CREATE TABLE table_name_10 (director_s_ VARCHAR, award VARCHAR) [/INST] ### Response: SELECT director_s_ FROM table_name_10 WHERE award = "£6,245" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed the film that Avie Luthra received an award for? ### Context: CREATE TABLE table_name_63 (director_s_ VARCHAR, recipient VARCHAR) [/INST] ### Response: SELECT director_s_ FROM table_name_63 WHERE recipient = "avie luthra" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed the film Antonio's Breakfast? ### Context: CREATE TABLE table_name_44 (director_s_ VARCHAR, film VARCHAR) [/INST] ### Response: SELECT director_s_ FROM table_name_44 WHERE film = "antonio's breakfast" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director of the film that Sister Films received an award for on 2/3/05? ### Context: CREATE TABLE table_name_48 (director_s_ VARCHAR, date VARCHAR, recipient VARCHAR) [/INST] ### Response: SELECT director_s_ FROM table_name_48 WHERE date = "2/3/05" AND recipient = "sister films" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 on June 9? ### Context: CREATE TABLE table_name_75 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_75 WHERE date = "june 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 is the usual attendance for july 2? ### Context: CREATE TABLE table_name_6 (attendance INTEGER, date VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_6 WHERE date = "july 2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the value for deleted for CERCLIS ID of il0210090049? ### Context: CREATE TABLE table_name_53 (deleted VARCHAR, cerclis_id VARCHAR) [/INST] ### Response: SELECT deleted FROM table_name_53 WHERE cerclis_id = "il0210090049" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 construction is completed in Jo Daviess county? ### Context: CREATE TABLE table_name_70 (construction_completed VARCHAR, county VARCHAR) [/INST] ### Response: SELECT construction_completed FROM table_name_70 WHERE county = "jo daviess" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Role of narrator, and a Year larger than 2009, and a Release/Air Date of 7 october 2010 belongs to what author? ### Context: CREATE TABLE table_name_62 (author VARCHAR, release_air_date VARCHAR, role VARCHAR, year VARCHAR) [/INST] ### Response: SELECT author FROM table_name_62 WHERE role = "narrator" AND year > 2009 AND release_air_date = "7 october 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: Role of narrator, and a Radio Station/Production Company of bbc audiobooks, and a Release/Air Date of 13 november 2008 is what sum of the year? ### Context: CREATE TABLE table_name_96 (year INTEGER, release_air_date VARCHAR, role VARCHAR, radio_station_production_company VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_96 WHERE role = "narrator" AND radio_station_production_company = "bbc audiobooks" AND release_air_date = "13 november 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: Radio Station/Production Company that has a Role of interviewee & monologues is what radio station? ### Context: CREATE TABLE table_name_73 (radio_station_production_company VARCHAR, role VARCHAR) [/INST] ### Response: SELECT radio_station_production_company FROM table_name_73 WHERE role = "interviewee & monologues" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position of the Racing Organisation Course team? ### Context: CREATE TABLE table_name_79 (pos VARCHAR, team VARCHAR) [/INST] ### Response: SELECT pos FROM table_name_79 WHERE team = "racing organisation course" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the Racing Organisation Course team in years before 2011, who had a position of DNF? ### Context: CREATE TABLE table_name_92 (co_drivers VARCHAR, team VARCHAR, pos VARCHAR, year VARCHAR) [/INST] ### Response: SELECT co_drivers FROM table_name_92 WHERE pos = "dnf" AND year < 2011 AND team = "racing organisation course" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in years after 2010? ### Context: CREATE TABLE table_name_49 (co_drivers VARCHAR, year INTEGER) [/INST] ### Response: SELECT co_drivers FROM table_name_49 WHERE year > 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 is the date made that has an associated fleet number of 4? ### Context: CREATE TABLE table_name_99 (date_made VARCHAR, fleet_numbers VARCHAR) [/INST] ### Response: SELECT date_made FROM table_name_99 WHERE fleet_numbers = "4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the withdrawal date associated with a date made of 1904? ### Context: CREATE TABLE table_name_92 (date_withdrawn VARCHAR, date_made VARCHAR) [/INST] ### Response: SELECT date_withdrawn FROM table_name_92 WHERE date_made = "1904" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game site with result of l 7-38 ### Context: CREATE TABLE table_name_36 (game_site VARCHAR, result VARCHAR) [/INST] ### Response: SELECT game_site FROM table_name_36 WHERE result = "l 7-38" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result for arrowhead stadium ### Context: CREATE TABLE table_name_45 (result VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT result FROM table_name_45 WHERE game_site = "arrowhead stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least attendance for opponent of new orleans saints and week more than 2 ### Context: CREATE TABLE table_name_5 (attendance INTEGER, week VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT MIN(attendance) FROM table_name_5 WHERE week > 2 AND opponent = "new orleans saints" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What amount of earnings corresponds with a Top 10s rank of 23? ### Context: CREATE TABLE table_name_7 (earnings___$__ VARCHAR, top_10s VARCHAR) [/INST] ### Response: SELECT earnings___$__ FROM table_name_7 WHERE top_10s = 23 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What 2012 amount of earnings corresponds with less than 28 tournaments played? ### Context: CREATE TABLE table_name_59 (earnings___$__ VARCHAR, tournaments_played VARCHAR, year VARCHAR) [/INST] ### Response: SELECT earnings___$__ FROM table_name_59 WHERE tournaments_played < 28 AND year = "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: Tell me the year with Laps less than 197 and start of 2 ### Context: CREATE TABLE table_name_96 (year VARCHAR, laps VARCHAR, start VARCHAR) [/INST] ### Response: SELECT year FROM table_name_96 WHERE laps < 197 AND start = "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: Name the qual with start of totals ### Context: CREATE TABLE table_name_61 (qual VARCHAR, start VARCHAR) [/INST] ### Response: SELECT qual FROM table_name_61 WHERE start = "totals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 laps with rank of 8 ### Context: CREATE TABLE table_name_90 (laps VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(laps) FROM table_name_90 WHERE rank = "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: Name the start with Laps of 199 with qual of 224.838 ### Context: CREATE TABLE table_name_13 (start VARCHAR, laps VARCHAR, qual VARCHAR) [/INST] ### Response: SELECT start FROM table_name_13 WHERE laps = 199 AND qual = "224.838" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what date was the score 1-2 at Athens Olympic Stadium? ### Context: CREATE TABLE table_name_37 (date VARCHAR, score VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_37 WHERE score = "1-2" AND venue = "athens olympic stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Match Report for the Euro2008q at the Athens Olympic Stadium on November 17, 2007? ### Context: CREATE TABLE table_name_89 (match_report VARCHAR, date VARCHAR, competition VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT match_report FROM table_name_89 WHERE competition = "euro2008q" AND venue = "athens olympic stadium" AND date = "november 17, 2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Match Report for the Euro2008q at the Athens Olympic Stadium and a score of 1-2? ### Context: CREATE TABLE table_name_44 (match_report VARCHAR, score VARCHAR, competition VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT match_report FROM table_name_44 WHERE competition = "euro2008q" AND venue = "athens olympic stadium" AND score = "1-2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what date was the score 2-1? ### Context: CREATE TABLE table_name_38 (date VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_38 WHERE score = "2-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: On what date was the Competition of Friendly held? ### Context: CREATE TABLE table_name_70 (date VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT date FROM table_name_70 WHERE competition = "friendly" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score at Pankritio Stadium on June 6, 2007? ### Context: CREATE TABLE table_name_81 (score VARCHAR, venue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_81 WHERE venue = "pankritio stadium" AND date = "june 6, 2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what date was there a draw at Sydney Cricket Ground? ### Context: CREATE TABLE table_name_83 (date VARCHAR, result VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_83 WHERE result = "draw" AND venue = "sydney cricket ground" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 what venue was the result a draw? ### Context: CREATE TABLE table_name_20 (venue VARCHAR, result VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_20 WHERE result = "draw" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what date was the result Wi by 1 run? ### Context: CREATE TABLE table_name_24 (date VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date FROM table_name_24 WHERE result = "wi by 1 run" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What venue had a draw? ### Context: CREATE TABLE table_name_77 (venue VARCHAR, result VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_77 WHERE result = "draw" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of points for entrants with a Jordan 192 chassis? ### Context: CREATE TABLE table_name_98 (pts INTEGER, chassis VARCHAR) [/INST] ### Response: SELECT SUM(pts) FROM table_name_98 WHERE chassis = "jordan 192" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 entrant had a chassis of March CG891? ### Context: CREATE TABLE table_name_20 (entrant VARCHAR, chassis VARCHAR) [/INST] ### Response: SELECT entrant FROM table_name_20 WHERE chassis = "march cg891" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of points for an entrant with a Jordan 192 chassis? ### Context: CREATE TABLE table_name_20 (pts INTEGER, chassis VARCHAR) [/INST] ### Response: SELECT MIN(pts) FROM table_name_20 WHERE chassis = "jordan 192" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Opponent has the Attendance of 14,029? ### Context: CREATE TABLE table_name_77 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_77 WHERE attendance = "14,029" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the Attendance that has the Date of april 12? ### Context: CREATE TABLE table_name_63 (attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_63 WHERE date = "april 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: Can you tell me the Score that has the Opponent of brewers, and the Attendance of 11,235? ### Context: CREATE TABLE table_name_98 (score VARCHAR, opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT score FROM table_name_98 WHERE opponent = "brewers" AND attendance = "11,235" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the Score that has the Attendance of 4,567? ### Context: CREATE TABLE table_name_94 (score VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT score FROM table_name_94 WHERE attendance = "4,567" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the distance of km (mi) at the course of roccaraso to san giorgio del sannio? ### Context: CREATE TABLE table_name_20 (date VARCHAR, distance VARCHAR, course VARCHAR) [/INST] ### Response: SELECT date FROM table_name_20 WHERE distance = "km (mi)" AND course = "roccaraso to san giorgio del sannio" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 engine with entrant of larrousse f1 ### Context: CREATE TABLE table_name_59 (engine VARCHAR, entrant VARCHAR) [/INST] ### Response: SELECT engine FROM table_name_59 WHERE entrant = "larrousse f1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 yeara for engine of renault v10 with points more than 4 ### Context: CREATE TABLE table_name_19 (year INTEGER, engine VARCHAR, points VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_19 WHERE engine = "renault v10" AND points > 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: Name the sumof points for year less than 1994 and chassis of lola lc89b ### Context: CREATE TABLE table_name_47 (points INTEGER, year VARCHAR, chassis VARCHAR) [/INST] ### Response: SELECT SUM(points) FROM table_name_47 WHERE year < 1994 AND chassis = "lola lc89b" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 entrant for year more than 1991 and chassis of lotus 109 ### Context: CREATE TABLE table_name_92 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) [/INST] ### Response: SELECT entrant FROM table_name_92 WHERE year > 1991 AND chassis = "lotus 109" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points for 1991 ### Context: CREATE TABLE table_name_79 (points INTEGER, year VARCHAR) [/INST] ### Response: SELECT SUM(points) FROM table_name_79 WHERE year = 1991 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which type has turin to monza as a course? ### Context: CREATE TABLE table_name_85 (type VARCHAR, course VARCHAR) [/INST] ### Response: SELECT type FROM table_name_85 WHERE course = "turin to monza" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 course has km (mi) as a type? ### Context: CREATE TABLE table_name_15 (course VARCHAR, type VARCHAR) [/INST] ### Response: SELECT course FROM table_name_15 WHERE type = "km (mi)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What winner has the sanremo to cuneo as the course? ### Context: CREATE TABLE table_name_51 (winner VARCHAR, course VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_51 WHERE course = "sanremo to cuneo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 distance for stage of 2 ### Context: CREATE TABLE table_name_5 (distance VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT distance FROM table_name_5 WHERE stage = "2" </s>