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: The Palazzo's street address is listed as what? ### Context: CREATE TABLE table_name_73 (street_address VARCHAR, name VARCHAR) [/INST] ### Response: SELECT street_address FROM table_name_73 WHERE name = "the palazzo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 title of the song by Winger? ### Context: CREATE TABLE table_name_83 (song_title VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT song_title FROM table_name_83 WHERE artist = "winger" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What shows for 3rd place when Runner-up shows as runner-up? ### Context: CREATE TABLE table_name_36 (runner_up VARCHAR) [/INST] ### Response: SELECT 3 AS rd_place FROM table_name_36 WHERE runner_up = "runner-up" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 shows as Runner-up of england (24 pts)? ### Context: CREATE TABLE table_name_6 (year VARCHAR, runner_up VARCHAR) [/INST] ### Response: SELECT year FROM table_name_6 WHERE runner_up = "england (24 pts)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What shows for 3rd place when the venue was Pardubice? ### Context: CREATE TABLE table_name_81 (venue VARCHAR) [/INST] ### Response: SELECT 3 AS rd_place FROM table_name_81 WHERE venue = "pardubice" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what shows for 3rd place in 1990? ### Context: CREATE TABLE table_name_60 (year VARCHAR) [/INST] ### Response: SELECT 3 AS rd_place FROM table_name_60 WHERE year = "1990" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the venue Landshut? ### Context: CREATE TABLE table_name_51 (year VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT year FROM table_name_51 WHERE venue = "landshut" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the record when Tampa Bay is the visitor? ### Context: CREATE TABLE table_name_93 (record VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT record FROM table_name_93 WHERE visitor = "tampa bay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when Joseph is the decision and San Jose is the home team? ### Context: CREATE TABLE table_name_40 (date VARCHAR, decision VARCHAR, home VARCHAR) [/INST] ### Response: SELECT date FROM table_name_40 WHERE decision = "joseph" AND home = "san jose" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the match when Detroit is the home team and Colorado is the visiting team? ### Context: CREATE TABLE table_name_21 (date VARCHAR, home VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT date FROM table_name_21 WHERE home = "detroit" AND visitor = "colorado" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 people were in attendance in a week over 4 on December 6, 1981? ### Context: CREATE TABLE table_name_76 (attendance VARCHAR, week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(attendance) FROM table_name_76 WHERE week > 4 AND date = "december 6, 1981" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game for october 10 at shibe park ### Context: CREATE TABLE table_name_5 (game INTEGER, location VARCHAR, date VARCHAR) [/INST] ### Response: SELECT MIN(game) FROM table_name_5 WHERE location = "shibe park" AND date = "october 10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest bronze total that has a rank of 1 and more than 34 total medals? ### Context: CREATE TABLE table_name_83 (bronze INTEGER, rank VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MIN(bronze) FROM table_name_83 WHERE rank = "1" AND total > 34 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest bronze total that has a silver total of 13 medals? ### Context: CREATE TABLE table_name_72 (bronze INTEGER, silver VARCHAR) [/INST] ### Response: SELECT MIN(bronze) FROM table_name_72 WHERE silver = "13" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: With Appearances larger than 1, what is the Wins for the Reno Aces Team? ### Context: CREATE TABLE table_name_45 (wins INTEGER, team VARCHAR, appearances VARCHAR) [/INST] ### Response: SELECT MIN(wins) FROM table_name_45 WHERE team = "reno aces" AND appearances > 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: For the Reno Aces, what are the Losses when they had 1 Appearances and a Winning Percentage of 1? ### Context: CREATE TABLE table_name_54 (losses INTEGER, team VARCHAR, appearances VARCHAR, winning_percentage VARCHAR) [/INST] ### Response: SELECT SUM(losses) FROM table_name_54 WHERE appearances = 1 AND winning_percentage = 1 AND team = "reno aces" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2009, what Appearances had a Winning Percentage of less than 0? ### Context: CREATE TABLE table_name_30 (appearances INTEGER, season_s_ VARCHAR, winning_percentage VARCHAR) [/INST] ### Response: SELECT AVG(appearances) FROM table_name_30 WHERE season_s_ = "2009" AND winning_percentage < 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 chassis for the year of 1969? ### Context: CREATE TABLE table_name_85 (chassis VARCHAR, year VARCHAR) [/INST] ### Response: SELECT chassis FROM table_name_85 WHERE year = 1969 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Occupation has a Rank of 5th, a Gender of M, with a Residence of orono? ### Context: CREATE TABLE table_name_71 (occupation VARCHAR, residence VARCHAR, rank VARCHAR, gender VARCHAR) [/INST] ### Response: SELECT occupation FROM table_name_71 WHERE rank = "5th" AND gender = "m" AND residence = "orono" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Gender has a Residence of Haliburton? ### Context: CREATE TABLE table_name_28 (gender VARCHAR, residence VARCHAR) [/INST] ### Response: SELECT gender FROM table_name_28 WHERE residence = "haliburton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in Votes with a Rank of 5th, has an Occupation of retired, along with a Riding of Brant? ### Context: CREATE TABLE table_name_97 (votes INTEGER, riding VARCHAR, rank VARCHAR, occupation VARCHAR) [/INST] ### Response: SELECT MIN(votes) FROM table_name_97 WHERE rank = "5th" AND occupation = "retired" AND riding = "brant" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sum of the people in attendance when there was a Loss of clement (5–7)? ### Context: CREATE TABLE table_name_83 (attendance INTEGER, loss VARCHAR) [/INST] ### Response: SELECT SUM(attendance) FROM table_name_83 WHERE loss = "clement (5–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 place was Corey Pavin in? ### Context: CREATE TABLE table_name_57 (place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_57 WHERE player = "corey pavin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 two-round score for Bob Tway? ### Context: CREATE TABLE table_name_45 (score VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_45 WHERE player = "bob tway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 people went to the game that lasted 2:37 after game 2? ### Context: CREATE TABLE table_name_54 (attendance INTEGER, game VARCHAR, time VARCHAR) [/INST] ### Response: SELECT SUM(attendance) FROM table_name_54 WHERE game > 2 AND time = "2:37" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 FCC info of the w214ba call sign with a frequency below 96.3? ### Context: CREATE TABLE table_name_64 (fcc_info VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT fcc_info FROM table_name_64 WHERE frequency_mhz < 96.3 AND call_sign = "w214ba" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the ERP W with a call sign of w242ak? ### Context: CREATE TABLE table_name_81 (erp_w VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT COUNT(erp_w) FROM table_name_81 WHERE call_sign = "w242ak" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 FCC info of the station with a frequency above 95.3 and an ERP W smaller than 27 in Ocala, Florida? ### Context: CREATE TABLE table_name_48 (fcc_info VARCHAR, city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) [/INST] ### Response: SELECT fcc_info FROM table_name_48 WHERE frequency_mhz > 95.3 AND erp_w < 27 AND city_of_license = "ocala, florida" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date has an outcome of runner-up, and a Score of 6–4, 6–2, and a Opponents of gisela dulko flavia pennetta? ### Context: CREATE TABLE table_name_42 (date VARCHAR, opponents VARCHAR, outcome VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_42 WHERE outcome = "runner-up" AND score = "6–4, 6–2" AND opponents = "gisela dulko flavia pennetta" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round 10, what was the Overall for Ed Tomlin? ### Context: CREATE TABLE table_name_45 (overall INTEGER, round VARCHAR, name VARCHAR) [/INST] ### Response: SELECT AVG(overall) FROM table_name_45 WHERE round = 10 AND name = "ed tomlin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pick #23 in a Round less than 5 with 23 Overall? ### Context: CREATE TABLE table_name_53 (position VARCHAR, overall VARCHAR, round VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT position FROM table_name_53 WHERE round < 5 AND pick__number = 23 AND overall = 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 Average Pick # has an Overall of 296? ### Context: CREATE TABLE table_name_8 (pick__number INTEGER, overall VARCHAR) [/INST] ### Response: SELECT AVG(pick__number) FROM table_name_8 WHERE overall = 296 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round 13, what was the Pick # of the Guard Position with an Overall greater than 23? ### Context: CREATE TABLE table_name_53 (pick__number VARCHAR, round VARCHAR, overall VARCHAR, position VARCHAR) [/INST] ### Response: SELECT pick__number FROM table_name_53 WHERE overall > 23 AND position = "guard" AND round = 13 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: With an Overall larger than 107, in what Round was Jim Duncan picked? ### Context: CREATE TABLE table_name_19 (round INTEGER, name VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT SUM(round) FROM table_name_19 WHERE name = "jim duncan" AND overall > 107 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pick # for the College of Maryland-Eastern Shore? ### Context: CREATE TABLE table_name_97 (pick__number INTEGER, college VARCHAR) [/INST] ### Response: SELECT MAX(pick__number) FROM table_name_97 WHERE college = "maryland-eastern shore" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Brown Motors best point total using the Offenhauser L4 engine since 1950? ### Context: CREATE TABLE table_name_72 (points INTEGER, entrant VARCHAR, year VARCHAR, engine VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_name_72 WHERE year > 1950 AND engine = "offenhauser l4" AND entrant = "brown motors" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 length for stage of ss6 ### Context: CREATE TABLE table_name_41 (length VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT length FROM table_name_41 WHERE stage = "ss6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stage for m. grönholm and winner of s.loeb with time of 17:57 ### Context: CREATE TABLE table_name_51 (stage VARCHAR, time__eest_ VARCHAR, rally_leader VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT stage FROM table_name_51 WHERE rally_leader = "m. grönholm" AND winner = "s.loeb" AND time__eest_ = "17:57" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winner for schimatari 1 ### Context: CREATE TABLE table_name_82 (winner VARCHAR, name VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_82 WHERE name = "schimatari 1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the stage for 08:46 ### Context: CREATE TABLE table_name_85 (stage VARCHAR, time__eest_ VARCHAR) [/INST] ### Response: SELECT stage FROM table_name_85 WHERE time__eest_ = "08:46" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the winner with rally leader of c. atkinson and name of agia sotira 1 ### Context: CREATE TABLE table_name_51 (winner VARCHAR, rally_leader VARCHAR, name VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_51 WHERE rally_leader = "c. atkinson" AND name = "agia sotira 1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the winner for ss14 ### Context: CREATE TABLE table_name_82 (winner VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_82 WHERE stage = "ss14" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lost when the mariners played on September 12? ### Context: CREATE TABLE table_name_37 (loss VARCHAR, opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT loss FROM table_name_37 WHERE opponent = "mariners" AND date = "september 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: On September 7 what was the record? ### Context: CREATE TABLE table_name_63 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_63 WHERE date = "september 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: Who plays on the date september 29? ### Context: CREATE TABLE table_name_48 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_48 WHERE date = "september 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: Which city of license has a wriq Call sign? ### Context: CREATE TABLE table_name_34 (city_of_license VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT city_of_license FROM table_name_34 WHERE call_sign = "wriq" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of Frequency MHz with a Class of b1? ### Context: CREATE TABLE table_name_99 (frequency_mhz INTEGER, class VARCHAR) [/INST] ### Response: SELECT SUM(frequency_mhz) FROM table_name_99 WHERE class = "b1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ERP W has a Class of A, and a Call sign of wffc? ### Context: CREATE TABLE table_name_50 (erp_w VARCHAR, class VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT erp_w FROM table_name_50 WHERE class = "a" AND call_sign = "wffc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class City of license of ferrum, virginia? ### Context: CREATE TABLE table_name_83 (class VARCHAR, city_of_license VARCHAR) [/INST] ### Response: SELECT class FROM table_name_83 WHERE city_of_license = "ferrum, virginia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 call sign has a Class of A, and a Frequency MHz of 88.7? ### Context: CREATE TABLE table_name_1 (call_sign VARCHAR, class VARCHAR, frequency_mhz VARCHAR) [/INST] ### Response: SELECT call_sign FROM table_name_1 WHERE class = "a" AND frequency_mhz = 88.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 heat number had a time of 58.44? ### Context: CREATE TABLE table_name_49 (heat VARCHAR, time VARCHAR) [/INST] ### Response: SELECT COUNT(heat) FROM table_name_49 WHERE time = "58.44" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was new zealand in? ### Context: CREATE TABLE table_name_86 (lane VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT lane FROM table_name_86 WHERE nationality = "new zealand" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What stage of the race was held on the course Reggio Calabria to Catanzaro? ### Context: CREATE TABLE table_name_89 (stage VARCHAR, course VARCHAR) [/INST] ### Response: SELECT stage FROM table_name_89 WHERE course = "reggio calabria to catanzaro" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the winner for the Rome to Teramo course? ### Context: CREATE TABLE table_name_97 (winner VARCHAR, course VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_97 WHERE course = "rome to teramo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the winner of stage 11? ### Context: CREATE TABLE table_name_25 (winner VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_25 WHERE stage = "11" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average Apps of indonesia with Goals smaller than 1000? ### Context: CREATE TABLE table_name_64 (apps INTEGER, country VARCHAR, goals VARCHAR) [/INST] ### Response: SELECT AVG(apps) FROM table_name_64 WHERE country = "indonesia" AND goals < 1000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What division is Traktor Tashkent in 2005? ### Context: CREATE TABLE table_name_83 (division VARCHAR, team VARCHAR, season VARCHAR) [/INST] ### Response: SELECT division FROM table_name_83 WHERE team = "traktor tashkent" AND season = "2005" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many apps does Uzbekistan have in 2003? ### Context: CREATE TABLE table_name_41 (apps VARCHAR, country VARCHAR, season VARCHAR) [/INST] ### Response: SELECT apps FROM table_name_41 WHERE country = "uzbekistan" AND season = "2003" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the attendance at the game when the record was 74-77? ### Context: CREATE TABLE table_name_5 (attendance VARCHAR, record VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_5 WHERE record = "74-77" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was score of the game when the record was 72-74? ### Context: CREATE TABLE table_name_23 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_23 WHERE record = "72-74" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What were the air-dates of the episodes before episode 4 that had a BBC One weekly ranking of 6? ### Context: CREATE TABLE table_name_34 (airdate VARCHAR, episode_no VARCHAR, bbc_one_weekly_ranking VARCHAR) [/INST] ### Response: SELECT airdate FROM table_name_34 WHERE episode_no < 4 AND bbc_one_weekly_ranking = 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 was the total viewership for BBC One weekly rankings larger than 7, before episode 4? ### Context: CREATE TABLE table_name_30 (total_viewers VARCHAR, bbc_one_weekly_ranking VARCHAR, episode_no VARCHAR) [/INST] ### Response: SELECT total_viewers FROM table_name_30 WHERE bbc_one_weekly_ranking > 7 AND episode_no < 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 most rank with bronze of 0 and silver more than 1 and gold more than 0 ### Context: CREATE TABLE table_name_54 (rank INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_54 WHERE bronze = 0 AND silver > 1 AND gold > 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 average silver with total less than 1 ### Context: CREATE TABLE table_name_5 (silver INTEGER, total INTEGER) [/INST] ### Response: SELECT AVG(silver) FROM table_name_5 WHERE total < 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the average year for result of nominated ### Context: CREATE TABLE table_name_47 (year INTEGER, result VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_47 WHERE result = "nominated" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nominated work for 1996 and festival of black maria film and video festival ### Context: CREATE TABLE table_name_7 (nominated_work VARCHAR, year VARCHAR, festival VARCHAR) [/INST] ### Response: SELECT nominated_work FROM table_name_7 WHERE year = 1996 AND festival = "black maria film and video festival" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 away game that they lost to Accrington? ### Context: CREATE TABLE table_name_6 (date VARCHAR, team VARCHAR, venue VARCHAR, win_draw_lose VARCHAR) [/INST] ### Response: SELECT date FROM table_name_6 WHERE venue = "away" AND win_draw_lose = "lost" AND team = "accrington" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home game against Accrington? ### Context: CREATE TABLE table_name_65 (date VARCHAR, team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_65 WHERE team = "accrington" AND venue = "home" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result of the home game against Derby County? ### Context: CREATE TABLE table_name_71 (win_draw_lose VARCHAR, venue VARCHAR, team VARCHAR) [/INST] ### Response: SELECT win_draw_lose FROM table_name_71 WHERE venue = "home" AND team = "derby county" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Standard cost (USD) by hans Oischinger Creator ? ### Context: CREATE TABLE table_name_27 (standard_cost__usd_ VARCHAR, creator VARCHAR) [/INST] ### Response: SELECT standard_cost__usd_ FROM table_name_27 WHERE creator = "hans oischinger" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Standard cost (USD) of Kwin team creator? ### Context: CREATE TABLE table_name_95 (standard_cost__usd_ VARCHAR, creator VARCHAR) [/INST] ### Response: SELECT standard_cost__usd_ FROM table_name_95 WHERE creator = "kwin team" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Creator that has a version of 0.5.2 (part of compiz fusion release)? ### Context: CREATE TABLE table_name_45 (creator VARCHAR, latest_stable_version VARCHAR) [/INST] ### Response: SELECT creator FROM table_name_45 WHERE latest_stable_version = "0.5.2 (part of compiz fusion release)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a Creator of hyriand? ### Context: CREATE TABLE table_name_47 (name VARCHAR, creator VARCHAR) [/INST] ### Response: SELECT name FROM table_name_47 WHERE creator = "hyriand" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of people who attended the game later than game 6? ### Context: CREATE TABLE table_name_68 (attendance VARCHAR, game INTEGER) [/INST] ### Response: SELECT COUNT(attendance) FROM table_name_68 WHERE game > 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 title has a year later than 1986 with an album as the format? ### Context: CREATE TABLE table_name_29 (title VARCHAR, year VARCHAR, format_s_ VARCHAR) [/INST] ### Response: SELECT title FROM table_name_29 WHERE year > 1986 AND format_s_ = "album" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average year with the date of February 24? ### Context: CREATE TABLE table_name_70 (year INTEGER, date VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_70 WHERE date = "february 24" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which award description has a year later than 1994 with a date of December 6? ### Context: CREATE TABLE table_name_84 (award_description_s_ VARCHAR, year VARCHAR, date VARCHAR) [/INST] ### Response: SELECT award_description_s_ FROM table_name_84 WHERE year > 1994 AND date = "december 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: How many goals have a Date of december 4, 2010, and a Score of 1-0? ### Context: CREATE TABLE table_name_91 (goal VARCHAR, date VARCHAR, score VARCHAR) [/INST] ### Response: SELECT COUNT(goal) FROM table_name_91 WHERE date = "december 4, 2010" AND score = "1-0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which venue has a Competition of 2008 myanmar grand royal challenge cup? ### Context: CREATE TABLE table_name_91 (venue VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_91 WHERE competition = "2008 myanmar grand royal challenge cup" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue has a Goal of 4? ### Context: CREATE TABLE table_name_62 (venue VARCHAR, goal VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_62 WHERE goal = 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 largest goal with a Score of 3-0? ### Context: CREATE TABLE table_name_14 (goal INTEGER, score VARCHAR) [/INST] ### Response: SELECT MAX(goal) FROM table_name_14 WHERE score = "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: Who did Bruno Soares and a partner face in the finals on a clay surface on August 1, 2010? ### Context: CREATE TABLE table_name_37 (opponents_in_the_final VARCHAR, date VARCHAR, partnering VARCHAR, surface VARCHAR) [/INST] ### Response: SELECT opponents_in_the_final FROM table_name_37 WHERE partnering = "bruno soares" AND surface = "clay" AND date = "august 1, 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 surface was played on that resulted in a score of 4–6, 6–2, [10–7]? ### Context: CREATE TABLE table_name_67 (surface VARCHAR, score VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_67 WHERE score = "4–6, 6–2, [10–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 was the outcome on May 25, 2009? ### Context: CREATE TABLE table_name_55 (outcome VARCHAR, date VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_55 WHERE date = "may 25, 2009" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the outcome on May 18, 2008? ### Context: CREATE TABLE table_name_55 (outcome VARCHAR, date VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_55 WHERE date = "may 18, 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the place for Heath Slocum? ### Context: CREATE TABLE table_name_53 (place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_53 WHERE player = "heath slocum" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the attendance for august 29? ### Context: CREATE TABLE table_name_9 (attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_9 WHERE date = "august 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: Which loss has an Opponent of @ angels, and a Date of august 1? ### Context: CREATE TABLE table_name_47 (loss VARCHAR, opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT loss FROM table_name_47 WHERE opponent = "@ angels" AND date = "august 1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which score has an Attendance of 31,178? ### Context: CREATE TABLE table_name_99 (score VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT score FROM table_name_99 WHERE attendance = "31,178" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record has a Date of august 28? ### Context: CREATE TABLE table_name_8 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_8 WHERE date = "august 28" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 loss has an Attendance of 23,952? ### Context: CREATE TABLE table_name_55 (loss VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT loss FROM table_name_55 WHERE attendance = "23,952" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a Loss of corcoran (4-4)? ### Context: CREATE TABLE table_name_28 (opponent VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_28 WHERE loss = "corcoran (4-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 location of the gold medal match? ### Context: CREATE TABLE table_name_30 (location VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT location FROM table_name_30 WHERE competition = "gold medal match" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lineup that resulted in 1-0 AET W? ### Context: CREATE TABLE table_name_29 (lineup VARCHAR, result VARCHAR) [/INST] ### Response: SELECT lineup FROM table_name_29 WHERE result = "1-0 aet w" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result of match 25? ### Context: CREATE TABLE table_name_97 (result VARCHAR, match VARCHAR) [/INST] ### Response: SELECT result FROM table_name_97 WHERE match = "25" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the result of the London 2012 Women's Olympic Football Tournament? ### Context: CREATE TABLE table_name_13 (result VARCHAR, location VARCHAR) [/INST] ### Response: SELECT result FROM table_name_13 WHERE location = "london 2012 women's olympic football tournament" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the game that had a loss of Wegman (2-6)? ### Context: CREATE TABLE table_name_7 (score VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT score FROM table_name_7 WHERE loss = "wegman (2-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 was the record at the game that had a loss of Blyleven (4-5)? ### Context: CREATE TABLE table_name_55 (record VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT record FROM table_name_55 WHERE loss = "blyleven (4-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: Name the city with july of 88 °f / 31.1 °c ### Context: CREATE TABLE table_name_74 (city VARCHAR, jul VARCHAR) [/INST] ### Response: SELECT city FROM table_name_74 WHERE jul = "88 °f / 31.1 °c" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city with Feb of 66 °f / 18.9 °c ### Context: CREATE TABLE table_name_63 (city VARCHAR, feb VARCHAR) [/INST] ### Response: SELECT city FROM table_name_63 WHERE feb = "66 °f / 18.9 °c" </s>