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: Which Score has a High assists of whalen (5)? ### Context: CREATE TABLE table_name_40 (score VARCHAR, high_assists VARCHAR) [/INST] ### Response: SELECT score FROM table_name_40 WHERE high_assists = "whalen (5)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which High rebounds has a Game smaller than 9, and a Opponent of detroit? ### Context: CREATE TABLE table_name_94 (high_rebounds VARCHAR, game VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_name_94 WHERE game < 9 AND opponent = "detroit" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 High rebounds has a Score of w 81-69? ### Context: CREATE TABLE table_name_62 (high_rebounds VARCHAR, score VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_name_62 WHERE score = "w 81-69" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Result of fernando verdasco? ### Context: CREATE TABLE table_name_10 (surface VARCHAR, result VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_10 WHERE result = "fernando verdasco" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 events did clay win? ### Context: CREATE TABLE table_name_42 (COUNT VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT NOT COUNT AS event FROM table_name_42 WHERE winner = "clay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 an Opponent of rafael nadal, and an Event of 2? ### Context: CREATE TABLE table_name_59 (surface VARCHAR, opponent VARCHAR, event VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_59 WHERE opponent = "rafael nadal" AND NOT event = 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: Who is iván navarro's opponent? ### Context: CREATE TABLE table_name_7 (opponent VARCHAR, result VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_7 WHERE result = "iván navarro" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Surface of semifinal, and a Winner of hard (i)? ### Context: CREATE TABLE table_name_23 (MAX VARCHAR, surface VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT NOT MAX AS event FROM table_name_23 WHERE surface = "semifinal" AND winner = "hard (i)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 leader at the summit earlier than 1956, when Carcassonne shows for finish? ### Context: CREATE TABLE table_name_82 (leader_at_the_summit VARCHAR, year VARCHAR, finish VARCHAR) [/INST] ### Response: SELECT leader_at_the_summit FROM table_name_82 WHERE year < 1956 AND finish = "carcassonne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year was finish Toulouse, and stage was larger than 12? ### Context: CREATE TABLE table_name_90 (year INTEGER, finish VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_90 WHERE finish = "toulouse" AND stage > 12 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest stage number for a year later than 1948, leader at the summit was group, and finish was Bagnères-De-Bigorre? ### Context: CREATE TABLE table_name_36 (stage INTEGER, finish VARCHAR, year VARCHAR, leader_at_the_summit VARCHAR) [/INST] ### Response: SELECT MAX(stage) FROM table_name_36 WHERE year > 1948 AND leader_at_the_summit = "group" AND finish = "bagnères-de-bigorre" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Vacator has a Reason for change of resigned november 10, 1965? ### Context: CREATE TABLE table_name_6 (vacator VARCHAR, reason_for_change VARCHAR) [/INST] ### Response: SELECT vacator FROM table_name_6 WHERE reason_for_change = "resigned november 10, 1965" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Reason has a State (class) of tennessee (2)? ### Context: CREATE TABLE table_name_54 (reason_for_change VARCHAR, state__class_ VARCHAR) [/INST] ### Response: SELECT reason_for_change FROM table_name_54 WHERE state__class_ = "tennessee (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 State (class) has a Successor of harry f. byrd, jr. (d)? Question ### Context: CREATE TABLE table_name_54 (state__class_ VARCHAR, successor VARCHAR) [/INST] ### Response: SELECT state__class_ FROM table_name_54 WHERE successor = "harry f. byrd, jr. (d)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Col (m) of 1374? ### Context: CREATE TABLE table_name_33 (country VARCHAR, col__m_ VARCHAR) [/INST] ### Response: SELECT country FROM table_name_33 WHERE col__m_ = 1374 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Games have Years at club of 1971–1974, and a Debut year larger than 1971? ### Context: CREATE TABLE table_name_94 (games INTEGER, years_at_club VARCHAR, debut_year VARCHAR) [/INST] ### Response: SELECT SUM(games) FROM table_name_94 WHERE years_at_club = "1971–1974" AND debut_year > 1971 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Games have Years at club of 1974–1975, and Goals of 4? ### Context: CREATE TABLE table_name_89 (games INTEGER, years_at_club VARCHAR, goals VARCHAR) [/INST] ### Response: SELECT AVG(games) FROM table_name_89 WHERE years_at_club = "1974–1975" AND goals = 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Years at club have Games smaller than 7, and Goals larger than 2, and a Player of john frazer? ### Context: CREATE TABLE table_name_10 (years_at_club VARCHAR, player VARCHAR, games VARCHAR, goals VARCHAR) [/INST] ### Response: SELECT years_at_club FROM table_name_10 WHERE games < 7 AND goals > 2 AND player = "john frazer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Games have Years at club of 1977, and Goals of 17, and a Debut year smaller than 1977? ### Context: CREATE TABLE table_name_5 (games INTEGER, debut_year VARCHAR, years_at_club VARCHAR, goals VARCHAR) [/INST] ### Response: SELECT AVG(games) FROM table_name_5 WHERE years_at_club = "1977" AND goals = 17 AND debut_year < 1977 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Goals have Games smaller than 41, and a Player of mark amos? ### Context: CREATE TABLE table_name_57 (goals INTEGER, games VARCHAR, player VARCHAR) [/INST] ### Response: SELECT MIN(goals) FROM table_name_57 WHERE games < 41 AND player = "mark amos" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Melaine Walker's Rank? ### Context: CREATE TABLE table_name_78 (rank INTEGER, name VARCHAR) [/INST] ### Response: SELECT SUM(rank) FROM table_name_78 WHERE name = "melaine walker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Player with a Rank of 23 or less, Heat of 4 and Result of 55.91? ### Context: CREATE TABLE table_name_84 (name VARCHAR, result VARCHAR, heat VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT name FROM table_name_84 WHERE heat = 4 AND rank < 23 AND result = "55.91" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Heat of the Player with a Rank of 18 or less and Result of 55.15? ### Context: CREATE TABLE table_name_54 (heat VARCHAR, rank VARCHAR, result VARCHAR) [/INST] ### Response: SELECT heat FROM table_name_54 WHERE rank < 18 AND result = "55.15" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the quantity preserved for fleet number(s) 3000–3015? ### Context: CREATE TABLE table_name_11 (quantity_preserved VARCHAR, fleet_number_s_ VARCHAR) [/INST] ### Response: SELECT quantity_preserved FROM table_name_11 WHERE fleet_number_s_ = "3000–3015" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What manufacturer has a wheel arrangement of 4-6-6-4, and a Class of z-7? ### Context: CREATE TABLE table_name_34 (manufacturer VARCHAR, wheel_arrangement VARCHAR, class VARCHAR) [/INST] ### Response: SELECT manufacturer FROM table_name_34 WHERE wheel_arrangement = "4-6-6-4" AND class = "z-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 Year for fleet number 5000? ### Context: CREATE TABLE table_name_98 (year_made VARCHAR, fleet_number_s_ VARCHAR) [/INST] ### Response: SELECT year_made FROM table_name_98 WHERE fleet_number_s_ = "5000" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 made has a Quantity made of 4? ### Context: CREATE TABLE table_name_63 (year_made VARCHAR, quantity_made VARCHAR) [/INST] ### Response: SELECT year_made FROM table_name_63 WHERE quantity_made = "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 quantity preserved for the serial number of mallet and simple articulated locomotives? ### Context: CREATE TABLE table_name_19 (quantity_preserved VARCHAR, serial_numbers VARCHAR) [/INST] ### Response: SELECT quantity_preserved FROM table_name_19 WHERE serial_numbers = "mallet and simple articulated locomotives" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 silver medals did Estonia, which won more than 1 gold and less than 97 medals total, win? ### Context: CREATE TABLE table_name_20 (silver VARCHAR, nation VARCHAR, gold VARCHAR, total VARCHAR) [/INST] ### Response: SELECT silver FROM table_name_20 WHERE gold > 1 AND total < 97 AND nation = "estonia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gold medals did Denmark win? ### Context: CREATE TABLE table_name_65 (gold INTEGER, nation VARCHAR) [/INST] ### Response: SELECT MIN(gold) FROM table_name_65 WHERE nation = "denmark" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 gold medals won among nations that won more than 27 bronze and less than 305 medals total? ### Context: CREATE TABLE table_name_59 (gold VARCHAR, bronze VARCHAR, total VARCHAR) [/INST] ### Response: SELECT COUNT(gold) FROM table_name_59 WHERE bronze > 27 AND total < 305 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gold medals were won by the nation that won over 4 silver medals, over 14 bronze, and 97 medals total? ### Context: CREATE TABLE table_name_88 (gold VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT COUNT(gold) FROM table_name_88 WHERE silver > 4 AND bronze > 14 AND total = 97 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 championship that has 1 as the league cup, and 17 as the total? ### Context: CREATE TABLE table_name_85 (championship INTEGER, league_cup VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MAX(championship) FROM table_name_85 WHERE league_cup = 1 AND total = "17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many league cups have an FA Cup less than 0? ### Context: CREATE TABLE table_name_70 (league_cup VARCHAR, fa_cup INTEGER) [/INST] ### Response: SELECT COUNT(league_cup) FROM table_name_70 WHERE fa_cup < 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 rank of west germany (frg), which has more than 1 silver, less than 11 gold, and 2 bronze medals? ### Context: CREATE TABLE table_name_48 (rank INTEGER, nation VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT AVG(rank) FROM table_name_48 WHERE silver > 1 AND gold < 11 AND bronze = 2 AND nation = "west germany (frg)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 date when Yelena Isinbayeva for Russia was in Beijing, China? ### Context: CREATE TABLE table_name_82 (date VARCHAR, athlete VARCHAR, nation VARCHAR, place VARCHAR) [/INST] ### Response: SELECT date FROM table_name_82 WHERE nation = "russia" AND place = "beijing, china" AND athlete = "yelena isinbayeva" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 performance of Dire Tune? ### Context: CREATE TABLE table_name_89 (performance VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT performance FROM table_name_89 WHERE athlete = "dire tune" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What place had 14:11.15 as the performance? ### Context: CREATE TABLE table_name_33 (place VARCHAR, performance VARCHAR) [/INST] ### Response: SELECT place FROM table_name_33 WHERE performance = "14:11.15" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the event that had a performance of 14:11.15 by Ethiopia? ### Context: CREATE TABLE table_name_51 (event VARCHAR, nation VARCHAR, performance VARCHAR) [/INST] ### Response: SELECT event FROM table_name_51 WHERE nation = "ethiopia" AND performance = "14:11.15" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the position of the player picked after 94, by the Boston Patriots? ### Context: CREATE TABLE table_name_96 (position VARCHAR, pick VARCHAR, team VARCHAR) [/INST] ### Response: SELECT position FROM table_name_96 WHERE pick > 94 AND team = "boston patriots" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What college had the 93 pick? ### Context: CREATE TABLE table_name_50 (college VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT college FROM table_name_50 WHERE pick = 93 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What venue has euro 2004 q. as the competition? ### Context: CREATE TABLE table_name_60 (venue VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_60 WHERE competition = "euro 2004 q." </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What county is Whiteland Community School in? ### Context: CREATE TABLE table_name_72 (county VARCHAR, school VARCHAR) [/INST] ### Response: SELECT county FROM table_name_72 WHERE school = "whiteland community" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What county has a football team in IHSAA class AAAAA and a school macot of the Grizzly Cubs? ### Context: CREATE TABLE table_name_25 (county VARCHAR, ihsaa_football_class VARCHAR, mascot VARCHAR) [/INST] ### Response: SELECT county FROM table_name_25 WHERE ihsaa_football_class = "aaaaa" AND mascot = "grizzly cubs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What county has a school mascot of the Pioneers? ### Context: CREATE TABLE table_name_71 (county VARCHAR, mascot VARCHAR) [/INST] ### Response: SELECT county FROM table_name_71 WHERE mascot = "pioneers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the IHSAA classes of the Indianapolis schools? ### Context: CREATE TABLE table_name_34 (ihsaa_class VARCHAR, location VARCHAR) [/INST] ### Response: SELECT ihsaa_class FROM table_name_34 WHERE location = "indianapolis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Song has Points smaller than 53, and a Place larger than 8, and a Draw larger than 1? ### Context: CREATE TABLE table_name_52 (song VARCHAR, draw VARCHAR, points VARCHAR, place VARCHAR) [/INST] ### Response: SELECT song FROM table_name_52 WHERE points < 53 AND place > 8 AND draw > 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 result for the Green-Communist party when the Left Bloc has 3.6%? ### Context: CREATE TABLE table_name_64 (green_communist VARCHAR, left_bloc VARCHAR) [/INST] ### Response: SELECT green_communist FROM table_name_64 WHERE left_bloc = "3.6%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the result for the Green-Communist party when the Left Bloc has 3.0%? ### Context: CREATE TABLE table_name_87 (green_communist VARCHAR, left_bloc VARCHAR) [/INST] ### Response: SELECT green_communist FROM table_name_87 WHERE left_bloc = "3.0%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date released when the Left Bloc had 3.2%? ### Context: CREATE TABLE table_name_35 (date_released VARCHAR, left_bloc VARCHAR) [/INST] ### Response: SELECT date_released FROM table_name_35 WHERE left_bloc = "3.2%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the cardinalatial order of the elector elevated circa 1116? ### Context: CREATE TABLE table_name_26 (cardinalatial_order_and_title VARCHAR, elevated VARCHAR) [/INST] ### Response: SELECT cardinalatial_order_and_title FROM table_name_26 WHERE elevated = "circa 1116" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the elector from pisa elevated? ### Context: CREATE TABLE table_name_13 (elevated VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT elevated FROM table_name_13 WHERE nationality = "pisa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 cardinalatial order and title of bosone? ### Context: CREATE TABLE table_name_92 (cardinalatial_order_and_title VARCHAR, elector VARCHAR) [/INST] ### Response: SELECT cardinalatial_order_and_title FROM table_name_92 WHERE elector = "bosone" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 elevator from crema? ### Context: CREATE TABLE table_name_83 (elevator VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT elevator FROM table_name_83 WHERE nationality = "crema" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 swimmer from Australia in lane 4 with a heat larger than 4? ### Context: CREATE TABLE table_name_16 (name VARCHAR, nationality VARCHAR, heat VARCHAR, lane VARCHAR) [/INST] ### Response: SELECT name FROM table_name_16 WHERE heat > 4 AND lane = 4 AND nationality = "australia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 heat number for a swimmer with a time of 2:34.94? ### Context: CREATE TABLE table_name_5 (heat INTEGER, time VARCHAR) [/INST] ### Response: SELECT MIN(heat) FROM table_name_5 WHERE time = "2:34.94" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the player from Ukraine with react less than 0.26? ### Context: CREATE TABLE table_name_29 (rank VARCHAR, nationality VARCHAR, react VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_name_29 WHERE nationality = "ukraine" AND react < 0.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 was the highest week with a w 21-17 result, and more than 45,254 in attendance? ### Context: CREATE TABLE table_name_81 (week INTEGER, result VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT MAX(week) FROM table_name_81 WHERE result = "w 21-17" AND attendance > 45 OFFSET 254 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Proto-Germanic when the Old English is /d/? ### Context: CREATE TABLE table_name_3 (proto_germanic VARCHAR, old_english VARCHAR) [/INST] ### Response: SELECT proto_germanic FROM table_name_3 WHERE old_english = "/d/" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Proto Germanic when then German is /s/ or /ts/? ### Context: CREATE TABLE table_name_41 (proto_germanic VARCHAR, german VARCHAR) [/INST] ### Response: SELECT proto_germanic FROM table_name_41 WHERE german = "/s/ or /ts/" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Dutch when then Old English is /d/? ### Context: CREATE TABLE table_name_66 (dutch VARCHAR, old_english VARCHAR) [/INST] ### Response: SELECT dutch FROM table_name_66 WHERE old_english = "/d/" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 West Germanic when the German is /s/ or /ts/? ### Context: CREATE TABLE table_name_90 (west_germanic VARCHAR, german VARCHAR) [/INST] ### Response: SELECT west_germanic FROM table_name_90 WHERE german = "/s/ or /ts/" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Proto-Germanic when the German is /t/? ### Context: CREATE TABLE table_name_48 (proto_germanic VARCHAR, german VARCHAR) [/INST] ### Response: SELECT proto_germanic FROM table_name_48 WHERE german = "/t/" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the to par for japan ### Context: CREATE TABLE table_name_49 (to_par VARCHAR, country VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_49 WHERE country = "japan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what player has $187,500 and score 66-75-71-69=281 ### Context: CREATE TABLE table_name_4 (player VARCHAR, money___$__ VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_4 WHERE money___$__ = "187,500" AND score = 66 - 75 - 71 - 69 = 281 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what place has score 66-74-68-73=281 ### Context: CREATE TABLE table_name_74 (place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT place FROM table_name_74 WHERE score = 66 - 74 - 68 - 73 = 281 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what player has place t10 ### Context: CREATE TABLE table_name_37 (player VARCHAR, place VARCHAR) [/INST] ### Response: SELECT player FROM table_name_37 WHERE place = "t10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the to par for $242,813 with score 68-72-74-66=280 ### Context: CREATE TABLE table_name_83 (to_par VARCHAR, money___$__ VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_83 WHERE money___$__ = "242,813" AND score = 68 - 72 - 74 - 66 = 280 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 School has a Size larger than 408, and a Mascot of pacers? ### Context: CREATE TABLE table_name_59 (school VARCHAR, size VARCHAR, mascot VARCHAR) [/INST] ### Response: SELECT school FROM table_name_59 WHERE size > 408 AND mascot = "pacers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Size has an IHSAA Class of aa, and a Location of milan? ### Context: CREATE TABLE table_name_76 (size INTEGER, ihsaa_class VARCHAR, location VARCHAR) [/INST] ### Response: SELECT SUM(size) FROM table_name_76 WHERE ihsaa_class = "aa" AND location = "milan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 County has a Mascot of pacers? ### Context: CREATE TABLE table_name_36 (county VARCHAR, mascot VARCHAR) [/INST] ### Response: SELECT county FROM table_name_36 WHERE mascot = "pacers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Mascot has a County of 69 ripley, and an IHSAA Class of aa, and a School of south ripley? ### Context: CREATE TABLE table_name_30 (mascot VARCHAR, school VARCHAR, county VARCHAR, ihsaa_class VARCHAR) [/INST] ### Response: SELECT mascot FROM table_name_30 WHERE county = "69 ripley" AND ihsaa_class = "aa" AND school = "south ripley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in Lane 5 and had a heat of 7? ### Context: CREATE TABLE table_name_32 (name VARCHAR, heat VARCHAR, lane VARCHAR) [/INST] ### Response: SELECT name FROM table_name_32 WHERE heat = 7 AND lane = 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 lane number was Hungary and had a heat of 4? ### Context: CREATE TABLE table_name_22 (lane VARCHAR, heat VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT COUNT(lane) FROM table_name_22 WHERE heat = 4 AND nationality = "hungary" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the date when the score was 690.3? ### Context: CREATE TABLE table_name_77 (date VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_77 WHERE score = "690.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's the place of 1989 with a comp of ECH? ### Context: CREATE TABLE table_name_94 (place VARCHAR, comp VARCHAR, date VARCHAR) [/INST] ### Response: SELECT place FROM table_name_94 WHERE comp = "ech" AND date = "1989" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 shooter with a score of 686.4? ### Context: CREATE TABLE table_name_59 (shooter VARCHAR, score VARCHAR) [/INST] ### Response: SELECT shooter FROM table_name_59 WHERE score = "686.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 year for borderlands 2? ### Context: CREATE TABLE table_name_81 (year VARCHAR, game VARCHAR) [/INST] ### Response: SELECT year FROM table_name_81 WHERE game = "borderlands 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 year for the game dead space 2? ### Context: CREATE TABLE table_name_53 (year VARCHAR, game VARCHAR) [/INST] ### Response: SELECT year FROM table_name_53 WHERE game = "dead space 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: who is the developers for demon's souls? ### Context: CREATE TABLE table_name_8 (developer_s_ VARCHAR, game VARCHAR) [/INST] ### Response: SELECT developer_s_ FROM table_name_8 WHERE game = "demon's souls" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is Zaxxon the Standalone? ### Context: CREATE TABLE table_name_88 (year VARCHAR, standalone VARCHAR) [/INST] ### Response: SELECT year FROM table_name_88 WHERE standalone = "zaxxon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Standalone in the year when Space Invaders is the Console? ### Context: CREATE TABLE table_name_43 (standalone VARCHAR, console VARCHAR) [/INST] ### Response: SELECT standalone FROM table_name_43 WHERE console = "space invaders" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Standalone when Tron is the Arcade? ### Context: CREATE TABLE table_name_99 (standalone VARCHAR, arcade VARCHAR) [/INST] ### Response: SELECT standalone FROM table_name_99 WHERE arcade = "tron" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Console when Space Invaders is the Arcade? ### Context: CREATE TABLE table_name_59 (console VARCHAR, arcade VARCHAR) [/INST] ### Response: SELECT console FROM table_name_59 WHERE arcade = "space invaders" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position does the player from the Arizona Diamondbacks play? ### Context: CREATE TABLE table_name_6 (position VARCHAR, team VARCHAR) [/INST] ### Response: SELECT position FROM table_name_6 WHERE team = "arizona diamondbacks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What school did P Jay Gehrke of the Kansas City Royals attend? ### Context: CREATE TABLE table_name_30 (school VARCHAR, player VARCHAR, position VARCHAR, team VARCHAR) [/INST] ### Response: SELECT school FROM table_name_30 WHERE position = "p" AND team = "kansas city royals" AND player = "jay gehrke" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 does Adam van Koeverden play for? ### Context: CREATE TABLE table_name_31 (country VARCHAR, athletes VARCHAR) [/INST] ### Response: SELECT country FROM table_name_31 WHERE athletes = "adam van koeverden" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick when the school is jasper hs (jasper, texas)? ### Context: CREATE TABLE table_name_63 (pick VARCHAR, school VARCHAR) [/INST] ### Response: SELECT pick FROM table_name_63 WHERE school = "jasper hs (jasper, texas)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: who is the player when the position is p and the team is oakland athletics? ### Context: CREATE TABLE table_name_99 (player VARCHAR, position VARCHAR, team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_99 WHERE position = "p" AND team = "oakland athletics" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the school when the team is new york yankees? ### Context: CREATE TABLE table_name_1 (school VARCHAR, team VARCHAR) [/INST] ### Response: SELECT school FROM table_name_1 WHERE team = "new york yankees" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: who is the player when the school is spring hs (spring, texas)? ### Context: CREATE TABLE table_name_24 (player VARCHAR, school VARCHAR) [/INST] ### Response: SELECT player FROM table_name_24 WHERE school = "spring hs (spring, texas)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 melamine content of 英雄牌嬰幼兒配方乳粉 having more than 1 samples failed? ### Context: CREATE TABLE table_name_31 (melamine_content_mg_kg_ VARCHAR, samples_failed VARCHAR, product VARCHAR) [/INST] ### Response: SELECT melamine_content_mg_kg_ FROM table_name_31 WHERE samples_failed > 1 AND product = "英雄牌嬰幼兒配方乳粉" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the most melamine content that has more than 1 samples failed and produced by Guangzhou Jinding Dairy Products Factory? ### Context: CREATE TABLE table_name_48 (melamine_content_mg_kg_ INTEGER, producer VARCHAR, samples_failed VARCHAR) [/INST] ### Response: SELECT MAX(melamine_content_mg_kg_) FROM table_name_48 WHERE producer = "guangzhou jinding dairy products factory" AND samples_failed > 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the product that has less than 98.6 melamine content, more than 1 sample failed and took less than 3 samples? ### Context: CREATE TABLE table_name_88 (product VARCHAR, samples_taken VARCHAR, melamine_content_mg_kg_ VARCHAR, samples_failed VARCHAR) [/INST] ### Response: SELECT product FROM table_name_88 WHERE melamine_content_mg_kg_ < 98.6 AND samples_failed > 1 AND samples_taken < 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 the most samples failed for 可淇牌嬰幼兒配方乳粉 and had less than 1 samples taken? ### Context: CREATE TABLE table_name_77 (samples_failed INTEGER, product VARCHAR, samples_taken VARCHAR) [/INST] ### Response: SELECT MAX(samples_failed) FROM table_name_77 WHERE product = "可淇牌嬰幼兒配方乳粉" AND samples_taken < 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: How many samples taken from producer Qingdao Suncare Nutritional Technology with a melamine content less than 53.4? ### Context: CREATE TABLE table_name_12 (samples_taken INTEGER, melamine_content_mg_kg_ VARCHAR, producer VARCHAR) [/INST] ### Response: SELECT SUM(samples_taken) FROM table_name_12 WHERE melamine_content_mg_kg_ < 53.4 AND producer = "qingdao suncare nutritional technology" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What did the golfer from Australia score? ### Context: CREATE TABLE table_name_13 (score VARCHAR, country VARCHAR) [/INST] ### Response: SELECT score FROM table_name_13 WHERE country = "australia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 an Opera usage percentage of 5.1% and Internet Explorer usage of 59.5%? ### Context: CREATE TABLE table_name_64 (date VARCHAR, opera VARCHAR, internet_explorer VARCHAR) [/INST] ### Response: SELECT date FROM table_name_64 WHERE opera = "5.1%" AND internet_explorer = "59.5%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which source has a date of June 2008? ### Context: CREATE TABLE table_name_28 (source VARCHAR, date VARCHAR) [/INST] ### Response: SELECT source FROM table_name_28 WHERE date = "june 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: Which source date has an Internet Explorer usage of 60.2%? ### Context: CREATE TABLE table_name_52 (source VARCHAR, internet_explorer VARCHAR) [/INST] ### Response: SELECT source FROM table_name_52 WHERE internet_explorer = "60.2%" </s>