text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the label for CAD 2014 CD? ### Context: CREATE TABLE table_name_57 (label VARCHAR, catalogue__number VARCHAR) [/INST] ### Response: SELECT label FROM table_name_57 WHERE catalogue__number = "cad 2014 cd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 format for the catalogue number GAD 2014 CD on July 6, 1998? ### Context: CREATE TABLE table_name_40 (format VARCHAR, catalogue__number VARCHAR, date VARCHAR) [/INST] ### Response: SELECT format FROM table_name_40 WHERE catalogue__number = "gad 2014 cd" AND date = "july 6, 1998" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wins are there when the draws are less than 0? ### Context: CREATE TABLE table_name_52 (wins INTEGER, draws INTEGER) [/INST] ### Response: SELECT SUM(wins) FROM table_name_52 WHERE draws < 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 are the most losses when there are 5 wins and draws less than 0? ### Context: CREATE TABLE table_name_7 (losses INTEGER, wins VARCHAR, draws VARCHAR) [/INST] ### Response: SELECT MAX(losses) FROM table_name_7 WHERE wins = 5 AND draws < 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 are the most wins of Terang with the draws less than 0? ### Context: CREATE TABLE table_name_84 (wins INTEGER, club VARCHAR, draws VARCHAR) [/INST] ### Response: SELECT MAX(wins) FROM table_name_84 WHERE club = "terang" AND draws < 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 lowest against when the draws are more than 0 and the losses are less than 3? ### Context: CREATE TABLE table_name_74 (against INTEGER, losses VARCHAR, draws VARCHAR) [/INST] ### Response: SELECT MIN(against) FROM table_name_74 WHERE losses < 3 AND draws > 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 are the least losses of Warrnambool with more than 6 wins and less than 630 against? ### Context: CREATE TABLE table_name_18 (losses INTEGER, wins VARCHAR, against VARCHAR, club VARCHAR) [/INST] ### Response: SELECT MIN(losses) FROM table_name_18 WHERE against < 630 AND club = "warrnambool" AND wins > 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 are the draws of Cobden when there are more than 3 losses? ### Context: CREATE TABLE table_name_23 (draws INTEGER, losses VARCHAR, club VARCHAR) [/INST] ### Response: SELECT AVG(draws) FROM table_name_23 WHERE losses > 3 AND club = "cobden" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 bronze has 0 as the silver, 17 as the rank, and a gold less than 1? ### Context: CREATE TABLE table_name_80 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT AVG(bronze) FROM table_name_80 WHERE silver = 0 AND rank = "17" AND gold < 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 lowest silver that has 2 as the bronze, with a total greater than 4? ### Context: CREATE TABLE table_name_33 (silver INTEGER, bronze VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MIN(silver) FROM table_name_33 WHERE bronze = 2 AND total > 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: How many bronzes have a total less than 11, with 11 as the rank, and a gold less than 1? ### Context: CREATE TABLE table_name_81 (bronze VARCHAR, gold VARCHAR, total VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(bronze) FROM table_name_81 WHERE total < "11" AND rank = "11" AND gold < 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 memory with a socket g1 and a 1/1/6/9 turbo? ### Context: CREATE TABLE table_name_93 (memory VARCHAR, socket VARCHAR, turbo VARCHAR) [/INST] ### Response: SELECT memory FROM table_name_93 WHERE socket = "socket g1" AND turbo = "1/1/6/9" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the release date of the 6 mb L3 cache with the part number by80607005259aabx80607i7740qm? ### Context: CREATE TABLE table_name_92 (release_date VARCHAR, l3_cache VARCHAR, part_number_s_ VARCHAR) [/INST] ### Response: SELECT release_date FROM table_name_92 WHERE l3_cache = "6 mb" AND part_number_s_ = "by80607005259aabx80607i7740qm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the lowest draw for Beathoven when the place was smaller than 16? ### Context: CREATE TABLE table_name_55 (draw INTEGER, artist VARCHAR, place VARCHAR) [/INST] ### Response: SELECT MIN(draw) FROM table_name_55 WHERE artist = "beathoven" AND place < 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Luca Barbarossa song had a draw smaller than 20? ### Context: CREATE TABLE table_name_17 (song VARCHAR, draw VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT song FROM table_name_17 WHERE draw < 20 AND artist = "luca barbarossa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 they play at sec tournament? ### Context: CREATE TABLE table_name_17 (opponent VARCHAR, location VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_17 WHERE location = "sec 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: Where was the game played when their record was 9-1-0? ### Context: CREATE TABLE table_name_10 (location VARCHAR, record VARCHAR) [/INST] ### Response: SELECT location FROM table_name_10 WHERE record = "9-1-0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the director of the episode written by Russell T Davies and James Moran? ### Context: CREATE TABLE table_name_67 (director VARCHAR, writer VARCHAR) [/INST] ### Response: SELECT director FROM table_name_67 WHERE writer = "russell t davies and james moran" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Points have Drawn of 1, and a Played larger than 14? ### Context: CREATE TABLE table_name_95 (points INTEGER, drawn VARCHAR, played VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_name_95 WHERE drawn = 1 AND played > 14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Position has Drawn larger than 1, and a Played smaller than 14? ### Context: CREATE TABLE table_name_34 (position INTEGER, drawn VARCHAR, played VARCHAR) [/INST] ### Response: SELECT MAX(position) FROM table_name_34 WHERE drawn > 1 AND played < 14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Lost has Drawn larger than 1, and a Played larger than 14? ### Context: CREATE TABLE table_name_30 (lost INTEGER, drawn VARCHAR, played VARCHAR) [/INST] ### Response: SELECT MIN(lost) FROM table_name_30 WHERE drawn > 1 AND played > 14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How much Lost has Points larger than 15, and a Name of ev pegnitz? ### Context: CREATE TABLE table_name_23 (lost VARCHAR, points VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(lost) FROM table_name_23 WHERE points > 15 AND name = "ev pegnitz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 english translation when the artist is ann christine? ### Context: CREATE TABLE table_name_10 (english_translation VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT english_translation FROM table_name_10 WHERE artist = "ann christine" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was picked earlier than 126 by the Houston Oilers? ### Context: CREATE TABLE table_name_3 (player VARCHAR, pick VARCHAR, team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_3 WHERE pick < 126 AND team = "houston oilers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was picked later than 122 by the Boston Patriots? ### Context: CREATE TABLE table_name_88 (college VARCHAR, pick VARCHAR, team VARCHAR) [/INST] ### Response: SELECT college FROM table_name_88 WHERE pick > 122 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 is the to par for geoff ogilvy? ### Context: CREATE TABLE table_name_65 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_65 WHERE player = "geoff ogilvy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 country for geoff ogilvy? ### Context: CREATE TABLE table_name_88 (country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_88 WHERE player = "geoff ogilvy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 retief goosen? ### Context: CREATE TABLE table_name_93 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_93 WHERE player = "retief goosen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: how many times is the player jim furyk? ### Context: CREATE TABLE table_name_55 (total VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_name_55 WHERE player = "jim furyk" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lane in which an athlete got a time larger than 20.75 and a react smaller than 0.166? ### Context: CREATE TABLE table_name_50 (lane INTEGER, time VARCHAR, react VARCHAR) [/INST] ### Response: SELECT MIN(lane) FROM table_name_50 WHERE time > 20.75 AND react < 0.166 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Christian Malcolm´s highest react when his time was below 20.58? ### Context: CREATE TABLE table_name_72 (react INTEGER, time VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT MAX(react) FROM table_name_72 WHERE time < 20.58 AND athlete = "christian malcolm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position when the year [A} is after 2011 and the pick is 28? ### Context: CREATE TABLE table_name_67 (position VARCHAR, pick VARCHAR, year_ VARCHAR, a_ VARCHAR) [/INST] ### Response: SELECT position FROM table_name_67 WHERE year_[a_] > 2011 AND pick = "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: Who is the player when the pick is 22 and the year [A] is after 1979? ### Context: CREATE TABLE table_name_5 (player_name VARCHAR, pick VARCHAR, year_ VARCHAR, a_ VARCHAR) [/INST] ### Response: SELECT player_name FROM table_name_5 WHERE pick = "22" AND year_[a_] > 1979 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick is 15 and the year [A] is 2000? ### Context: CREATE TABLE table_name_75 (player_name VARCHAR, pick VARCHAR, year_ VARCHAR, a_ VARCHAR) [/INST] ### Response: SELECT player_name FROM table_name_75 WHERE pick = "15" AND year_[a_] = 2000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the player from who scored 66-72-70=207? ### Context: CREATE TABLE table_name_45 (country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_45 WHERE score = 66 - 72 - 70 = 207 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the player who scored 70-69-68=207? ### Context: CREATE TABLE table_name_6 (place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT place FROM table_name_6 WHERE score = 70 - 69 - 68 = 207 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the player in t10 place with a score of 66-72-70=207? ### Context: CREATE TABLE table_name_12 (country VARCHAR, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_12 WHERE place = "t10" AND score = 66 - 72 - 70 = 207 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of United States' Cristie Kerr? ### Context: CREATE TABLE table_name_66 (to_par VARCHAR, country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_66 WHERE country = "united states" AND player = "cristie kerr" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original artist of the 3:00 song? ### Context: CREATE TABLE table_name_87 (original_artist VARCHAR, length VARCHAR) [/INST] ### Response: SELECT original_artist FROM table_name_87 WHERE length = "3:00" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lasts 3:34? ### Context: CREATE TABLE table_name_59 (song VARCHAR, length VARCHAR) [/INST] ### Response: SELECT song FROM table_name_59 WHERE length = "3: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: Which song lasts 4:08? ### Context: CREATE TABLE table_name_86 (song VARCHAR, length VARCHAR) [/INST] ### Response: SELECT song FROM table_name_86 WHERE length = "4:08" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bronze medals for Romania when the silver count is more than 1? ### Context: CREATE TABLE table_name_96 (bronze INTEGER, nation VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT AVG(bronze) FROM table_name_96 WHERE nation = "romania" AND silver > 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which manager had less than 287 losses, less than 80 wins, a win percentage of 0.296, and was employed in 1904? ### Context: CREATE TABLE table_name_96 (manager VARCHAR, wpct VARCHAR, years VARCHAR, losses VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT manager FROM table_name_96 WHERE losses < 287 AND wins < 80 AND years = "1904" AND wpct = 0.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: Which U.S. Hot has 13 as the U.S. R&B? ### Context: CREATE TABLE table_name_95 (us_hot_100 VARCHAR, us_r VARCHAR, b VARCHAR) [/INST] ### Response: SELECT us_hot_100 FROM table_name_95 WHERE us_r & b = "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: What U.S. Rap has life in the concrete jungle as the album? ### Context: CREATE TABLE table_name_15 (us_rap VARCHAR, album VARCHAR) [/INST] ### Response: SELECT us_rap FROM table_name_15 WHERE album = "life in the concrete jungle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Notes of the Mill Built in the 19th Century? ### Context: CREATE TABLE table_name_27 (notes VARCHAR, built VARCHAR) [/INST] ### Response: SELECT notes FROM table_name_27 WHERE built = "19th century" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Type of Mill at Molen de Stud? ### Context: CREATE TABLE table_name_84 (type VARCHAR, name_of_mill VARCHAR) [/INST] ### Response: SELECT type FROM table_name_84 WHERE name_of_mill = "molen de stud" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Mill Built in 1802? ### Context: CREATE TABLE table_name_73 (name_of_mill VARCHAR, built VARCHAR) [/INST] ### Response: SELECT name_of_mill FROM table_name_73 WHERE built = "1802" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Mill Built in the Early 19th Century? ### Context: CREATE TABLE table_name_50 (location VARCHAR, built VARCHAR) [/INST] ### Response: SELECT location FROM table_name_50 WHERE built = "early 19th century" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the game played by the home team San Francisco 49ers and visitor Philadelphia Eagles? ### Context: CREATE TABLE table_name_58 (record VARCHAR, home VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT record FROM table_name_58 WHERE home = "san francisco 49ers" AND visitor = "philadelphia eagles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the record for the game played on September 27? ### Context: CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_26 WHERE date = "september 27" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest place of a song by Henri Dès that has fewer than 8 points? ### Context: CREATE TABLE table_name_6 (place INTEGER, artist VARCHAR, points VARCHAR) [/INST] ### Response: SELECT MAX(place) FROM table_name_6 WHERE artist = "henri dès" AND points < 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What team was 2 on November 22, 2008 when the result was 1-0? ### Context: CREATE TABLE table_name_82 (team_2 VARCHAR, date VARCHAR, result VARCHAR) [/INST] ### Response: SELECT team_2 FROM table_name_82 WHERE date = "november 22, 2008" AND result = "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: What team was 2 when Tatung was team 1 at National Pei Men Senior High School? ### Context: CREATE TABLE table_name_32 (team_2 VARCHAR, team_1 VARCHAR, ground VARCHAR) [/INST] ### Response: SELECT team_2 FROM table_name_32 WHERE team_1 = "tatung" AND ground = "national pei men senior high school" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where was the game played that has a result of 0-4? ### Context: CREATE TABLE table_name_36 (ground VARCHAR, result VARCHAR) [/INST] ### Response: SELECT ground FROM table_name_36 WHERE result = "0-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 team is 2 when 1 is Taipower and the result is 0-1? ### Context: CREATE TABLE table_name_90 (team_2 VARCHAR, team_1 VARCHAR, result VARCHAR) [/INST] ### Response: SELECT team_2 FROM table_name_90 WHERE team_1 = "taipower" AND result = "0-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 team is 2 when the game result is 0-4 at Pailing Sport Park? ### Context: CREATE TABLE table_name_32 (team_2 VARCHAR, ground VARCHAR, result VARCHAR) [/INST] ### Response: SELECT team_2 FROM table_name_32 WHERE ground = "pailing sport park" AND result = "0-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 total point value when there are less than 12 draws, the rank is less than 17, and Philipp Kirkorov is the artist? ### Context: CREATE TABLE table_name_24 (points VARCHAR, place VARCHAR, draw VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_name_24 WHERE draw < 12 AND artist = "philipp kirkorov" AND place < 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: What is the total ranking when there are less than 16 draws, less than 1 point, and the English translation is in love with you? ### Context: CREATE TABLE table_name_22 (place INTEGER, points VARCHAR, draw VARCHAR, english_translation VARCHAR) [/INST] ### Response: SELECT SUM(place) FROM table_name_22 WHERE draw < 16 AND english_translation = "in love with you" AND points < 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 highest draw number when there are more than 31 points, a rank greater than 6, and the English translation is listen to me? ### Context: CREATE TABLE table_name_83 (draw INTEGER, english_translation VARCHAR, points VARCHAR, place VARCHAR) [/INST] ### Response: SELECT MAX(draw) FROM table_name_83 WHERE points > 31 AND place > 6 AND english_translation = "listen to me" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 population of Green County? ### Context: CREATE TABLE table_name_15 (population INTEGER, county VARCHAR) [/INST] ### Response: SELECT MIN(population) FROM table_name_15 WHERE county = "green" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 against Minnesota? ### Context: CREATE TABLE table_name_69 (score VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT score FROM table_name_69 WHERE opponent = "minnesota" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 had the high point on July 7? ### Context: CREATE TABLE table_name_21 (high_points VARCHAR, date VARCHAR) [/INST] ### Response: SELECT high_points FROM table_name_21 WHERE date = "july 7" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the format of the single, I Can't Stay? ### Context: CREATE TABLE table_name_6 (format VARCHAR, single VARCHAR) [/INST] ### Response: SELECT format FROM table_name_6 WHERE single = "i can't stay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Backed after 2008 with a label of Wild World? ### Context: CREATE TABLE table_name_24 (backed_with VARCHAR, record_label VARCHAR, date VARCHAR) [/INST] ### Response: SELECT backed_with FROM table_name_24 WHERE record_label = "wild world" AND date > 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's the date for Details of 1000 copies? ### Context: CREATE TABLE table_name_74 (date INTEGER, other_details VARCHAR) [/INST] ### Response: SELECT MIN(date) FROM table_name_74 WHERE other_details = "1000 copies" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What nation has paavo nurmi as the athlete, with a medal count less than 12? ### Context: CREATE TABLE table_name_62 (nation VARCHAR, athlete VARCHAR, medal_count VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_62 WHERE athlete = "paavo nurmi" AND medal_count < 12 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which sport has 17 as the medal count? ### Context: CREATE TABLE table_name_4 (sport VARCHAR, medal_count VARCHAR) [/INST] ### Response: SELECT sport FROM table_name_4 WHERE medal_count = 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: What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3? ### Context: CREATE TABLE table_name_33 (record_medal_event VARCHAR, medal_count VARCHAR, sport VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT record_medal_event FROM table_name_33 WHERE sport = "athletics" AND athlete = "robert garrett" AND medal_count < 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Opponent of the game in Week 3? ### Context: CREATE TABLE table_name_21 (opponent VARCHAR, week VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_21 WHERE week = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Attendance of the game on December 12, 2004? ### Context: CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_84 WHERE date = "december 12, 2004" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the game against Jacksonville Jaguars? ### Context: CREATE TABLE table_name_53 (attendance VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_53 WHERE opponent = "jacksonville jaguars" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Money ( £ ) of 90,400, and a Country of south africa, and a Player of thomas aiken? Question 1 ### Context: CREATE TABLE table_name_38 (score VARCHAR, player VARCHAR, money___£__ VARCHAR, country VARCHAR) [/INST] ### Response: SELECT score FROM table_name_38 WHERE money___£__ = "90,400" AND country = "south africa" AND player = "thomas aiken" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 much Money( £ )australia has ? ### Context: CREATE TABLE table_name_11 (money___£__ VARCHAR, country VARCHAR) [/INST] ### Response: SELECT money___£__ FROM table_name_11 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: Count the Money ( £ ) of south africa with a To par of +1, and a Player of ernie els? ### Context: CREATE TABLE table_name_50 (money___£__ VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT money___£__ FROM table_name_50 WHERE country = "south africa" AND to_par = "+1" AND player = "ernie els" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where has a Player of tom watson? ### Context: CREATE TABLE table_name_22 (place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_22 WHERE player = "tom watson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 To par of +1 in sweden? ### Context: CREATE TABLE table_name_67 (score VARCHAR, to_par VARCHAR, country VARCHAR) [/INST] ### Response: SELECT score FROM table_name_67 WHERE to_par = "+1" AND country = "sweden" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which To par is of thomas aiken? ### Context: CREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_77 WHERE player = "thomas aiken" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 expenditures on R&D for Croatia after 2007? ### Context: CREATE TABLE table_name_32 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR) [/INST] ### Response: SELECT AVG(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_32 WHERE country_region = "croatia" AND year > 2007 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest expenditures on R&D for Poland after 2011? ### Context: CREATE TABLE table_name_94 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR) [/INST] ### Response: SELECT MIN(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_94 WHERE country_region = "poland" AND year > 2011 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Opposition in the First Round of the UEFA Cup with a Score of 3–1 (h), 2–0 (a)? ### Context: CREATE TABLE table_name_66 (opposition VARCHAR, score VARCHAR, round VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT opposition FROM table_name_66 WHERE round = "first round" AND competition = "uefa cup" AND score = "3–1 (h), 2–0 (a)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Season of the game with a Score of 0–2 (a), 3–1 (h)? ### Context: CREATE TABLE table_name_24 (season VARCHAR, score VARCHAR) [/INST] ### Response: SELECT season FROM table_name_24 WHERE score = "0–2 (a), 3–1 (h)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Location has a Year Joined of 1966, and a Previous Conference of noble county, and a School of wawaka? ### Context: CREATE TABLE table_name_83 (location VARCHAR, school VARCHAR, year_joined VARCHAR, previous_conference VARCHAR) [/INST] ### Response: SELECT location FROM table_name_83 WHERE year_joined = 1966 AND previous_conference = "noble county" AND school = "wawaka" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 much Year Left has a Location of howe? ### Context: CREATE TABLE table_name_13 (year_left INTEGER, location VARCHAR) [/INST] ### Response: SELECT SUM(year_left) FROM table_name_13 WHERE location = "howe" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Year Left of 1966, and a Mascot of indians? ### Context: CREATE TABLE table_name_8 (school VARCHAR, year_left VARCHAR, mascot VARCHAR) [/INST] ### Response: SELECT school FROM table_name_8 WHERE year_left = 1966 AND mascot = "indians" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Elevator of Giacomo Colonna? ### Context: CREATE TABLE table_name_21 (elevator VARCHAR, elector VARCHAR) [/INST] ### Response: SELECT elevator FROM table_name_21 WHERE elector = "giacomo colonna" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 elevation for the Cardinal elevated by Nicholas III to the title of Cardinal-Deacon of S. Eustachio? ### Context: CREATE TABLE table_name_7 (elevated VARCHAR, elevator VARCHAR, cardinalatial_order_and_title VARCHAR) [/INST] ### Response: SELECT elevated FROM table_name_7 WHERE elevator = "nicholas iii" AND cardinalatial_order_and_title = "cardinal-deacon of s. eustachio" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 elevation for the cardinal given the order and title of Cardinal-Priest of S. Pudenziana? ### Context: CREATE TABLE table_name_91 (elevated VARCHAR, cardinalatial_order_and_title VARCHAR) [/INST] ### Response: SELECT elevated FROM table_name_91 WHERE cardinalatial_order_and_title = "cardinal-priest of s. pudenziana" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 games behind for the Oklahoma City Thunder division? ### Context: CREATE TABLE table_name_49 (games_behind__gb_ VARCHAR, division__div_ VARCHAR) [/INST] ### Response: SELECT games_behind__gb_ FROM table_name_49 WHERE division__div_ = "oklahoma city thunder" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest elevation of a place where the lowest point is the Allaine River, National border? ### Context: CREATE TABLE table_name_93 (highest_elevation VARCHAR, lowest_point VARCHAR) [/INST] ### Response: SELECT highest_elevation FROM table_name_93 WHERE lowest_point = "allaine river, national border" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 elevation value whose highest point is Mont Raimeux? ### Context: CREATE TABLE table_name_62 (lowest_elevation VARCHAR, highest_point VARCHAR) [/INST] ### Response: SELECT lowest_elevation FROM table_name_62 WHERE highest_point = "mont raimeux" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What rank is Vaud with the lowest point is Lake Geneva? ### Context: CREATE TABLE table_name_19 (rank INTEGER, lowest_point VARCHAR, canton VARCHAR) [/INST] ### Response: SELECT SUM(rank) FROM table_name_19 WHERE lowest_point = "lake geneva" AND canton = "vaud" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Wich rank is given to the Canton of Schaffhausen? ### Context: CREATE TABLE table_name_4 (rank INTEGER, canton VARCHAR) [/INST] ### Response: SELECT SUM(rank) FROM table_name_4 WHERE canton = "schaffhausen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest elevation for the highest point of Schnebelhorn? ### Context: CREATE TABLE table_name_7 (highest_elevation VARCHAR, highest_point VARCHAR) [/INST] ### Response: SELECT highest_elevation FROM table_name_7 WHERE highest_point = "schnebelhorn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Canton of Vaud's highest point? ### Context: CREATE TABLE table_name_85 (highest_point VARCHAR, canton VARCHAR) [/INST] ### Response: SELECT highest_point FROM table_name_85 WHERE canton = "vaud" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What type of ship is a Kobben class vessel that has been in service longer than 2? ### Context: CREATE TABLE table_name_18 (type VARCHAR, in_service VARCHAR, vessel VARCHAR) [/INST] ### Response: SELECT type FROM table_name_18 WHERE in_service > 2 AND vessel = "kobben class" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 unit for a submarine type ship from Norway? ### Context: CREATE TABLE table_name_74 (unit VARCHAR, type VARCHAR, origin VARCHAR) [/INST] ### Response: SELECT unit FROM table_name_74 WHERE type = "submarine" AND origin = "norway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent with a 32-25 record? ### Context: CREATE TABLE table_name_50 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_50 WHERE record = "32-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 location/ attendance for a 35-28 record? ### Context: CREATE TABLE table_name_4 (location_attendance VARCHAR, record VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_name_4 WHERE record = "35-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: What is the latest year when Neal Baer was a nominee, and the result was nominated? ### Context: CREATE TABLE table_name_38 (year INTEGER, result VARCHAR, nominee_s_ VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_38 WHERE result = "nominated" AND nominee_s_ = "neal baer" </s>