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 company when the country is greece and the author is aeschylus? ### Context: CREATE TABLE table_name_28 (company VARCHAR, country VARCHAR, author VARCHAR) [/INST] ### Response: SELECT company FROM table_name_28 WHERE country = "greece" AND author = "aeschylus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the base is ljubljana? ### Context: CREATE TABLE table_name_67 (country VARCHAR, base VARCHAR) [/INST] ### Response: SELECT country FROM table_name_67 WHERE base = "ljubljana" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 base when the play is thesmophoriazusae? ### Context: CREATE TABLE table_name_67 (base VARCHAR, play VARCHAR) [/INST] ### Response: SELECT base FROM table_name_67 WHERE play = "thesmophoriazusae" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 company when the base is ljubljana? ### Context: CREATE TABLE table_name_63 (company VARCHAR, base VARCHAR) [/INST] ### Response: SELECT company FROM table_name_63 WHERE base = "ljubljana" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 play when the company is cyprus theatre organisation? ### Context: CREATE TABLE table_name_61 (play VARCHAR, company VARCHAR) [/INST] ### Response: SELECT play FROM table_name_61 WHERE company = "cyprus theatre organisation" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the highest rank for rowers who represented Denmark? ### Context: CREATE TABLE table_name_94 (rank INTEGER, country VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_94 WHERE country = "denmark" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the time for the rowers representing great britain? ### Context: CREATE TABLE table_name_27 (time VARCHAR, country VARCHAR) [/INST] ### Response: SELECT time FROM table_name_27 WHERE country = "great britain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Arena has an Opponent of @ oilers, and a Date of may 25? ### Context: CREATE TABLE table_name_79 (arena VARCHAR, opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT arena FROM table_name_79 WHERE opponent = "@ oilers" AND date = "may 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: How much attendance has a Loss of roloson (11–5)? ### Context: CREATE TABLE table_name_70 (attendance INTEGER, loss VARCHAR) [/INST] ### Response: SELECT SUM(attendance) FROM table_name_70 WHERE loss = "roloson (11–5)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Attendance has an Arena of arrowhead pond of anaheim, and a Loss of giguere (3–3)? ### Context: CREATE TABLE table_name_74 (attendance INTEGER, arena VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_74 WHERE arena = "arrowhead pond of anaheim" AND loss = "giguere (3–3)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Attendance has an Opponent of @ oilers, and a Date of may 25? ### Context: CREATE TABLE table_name_25 (attendance INTEGER, opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_25 WHERE opponent = "@ oilers" AND date = "may 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 was the attendance on may 21? ### Context: CREATE TABLE table_name_75 (attendance INTEGER, date VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_75 WHERE date = "may 21" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who's the athlete with a wind of 1.7 and from the United States? ### Context: CREATE TABLE table_name_50 (athlete VARCHAR, nationality VARCHAR, wind VARCHAR) [/INST] ### Response: SELECT athlete FROM table_name_50 WHERE nationality = "united states" AND wind = "1.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 was the athlete with a wind of 1.8? ### Context: CREATE TABLE table_name_45 (athlete VARCHAR, wind VARCHAR) [/INST] ### Response: SELECT athlete FROM table_name_45 WHERE wind = "1.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's the wind when the time was 19.32? ### Context: CREATE TABLE table_name_83 (wind VARCHAR, time VARCHAR) [/INST] ### Response: SELECT wind FROM table_name_83 WHERE time = "19.32" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest total of Romania when the bronze was less than 2? ### Context: CREATE TABLE table_name_14 (total INTEGER, nation VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT MAX(total) FROM table_name_14 WHERE nation = "romania" AND bronze < 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the total of rank number 6 with more than 2 silver? ### Context: CREATE TABLE table_name_71 (total INTEGER, rank VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT MAX(total) FROM table_name_71 WHERE rank = "6" AND silver > 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What percentage of browsers were using Internet Explorer during the period in which 27.85% were using Firefox? ### Context: CREATE TABLE table_name_39 (internet_explorer VARCHAR, firefox VARCHAR) [/INST] ### Response: SELECT internet_explorer FROM table_name_39 WHERE firefox = "27.85%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What percentage of browsers were using Internet Explorer in April 2009? ### Context: CREATE TABLE table_name_81 (internet_explorer VARCHAR, date VARCHAR) [/INST] ### Response: SELECT internet_explorer FROM table_name_81 WHERE date = "april 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 percentage of browsers were using Safari during the period in which 31.27% were using Firefox? ### Context: CREATE TABLE table_name_62 (safari VARCHAR, firefox VARCHAR) [/INST] ### Response: SELECT safari FROM table_name_62 WHERE firefox = "31.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 percentage of browsers were using Opera in October 2010? ### Context: CREATE TABLE table_name_53 (opera VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opera FROM table_name_53 WHERE date = "october 2010" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What percentage of browsers were using Opera in November 2009? ### Context: CREATE TABLE table_name_69 (opera VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opera FROM table_name_69 WHERE date = "november 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 country has sa/b as the notes, and a time of 5:51.30? ### Context: CREATE TABLE table_name_55 (country VARCHAR, notes VARCHAR, time VARCHAR) [/INST] ### Response: SELECT country FROM table_name_55 WHERE notes = "sa/b" AND time = "5:51.30" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who were the rowers when notes were sa/b, with a time of 5:51.30? ### Context: CREATE TABLE table_name_76 (rowers VARCHAR, notes VARCHAR, time VARCHAR) [/INST] ### Response: SELECT rowers FROM table_name_76 WHERE notes = "sa/b" AND time = "5:51.30" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is ranked larger than 4? ### Context: CREATE TABLE table_name_72 (country VARCHAR, rank INTEGER) [/INST] ### Response: SELECT country FROM table_name_72 WHERE rank > 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's the least enrolled when the mascot was the Trojans? ### Context: CREATE TABLE table_name_8 (enrollment INTEGER, mascot VARCHAR) [/INST] ### Response: SELECT MIN(enrollment) FROM table_name_8 WHERE mascot = "trojans" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 IHSAA class of the Red Devils? ### Context: CREATE TABLE table_name_77 (ihsaa_class VARCHAR, mascot VARCHAR) [/INST] ### Response: SELECT ihsaa_class FROM table_name_77 WHERE mascot = "red devils" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rank for February 11, 2012 with less than 18,735 in attendance? ### Context: CREATE TABLE table_name_67 (rank INTEGER, date VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT AVG(rank) FROM table_name_67 WHERE date = "february 11, 2012" AND attendance < 18 OFFSET 735 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Cynthia Mobumba's height? ### Context: CREATE TABLE table_name_83 (height__ft_ VARCHAR, contestant VARCHAR) [/INST] ### Response: SELECT height__ft_ FROM table_name_83 WHERE contestant = "cynthia mobumba" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 hometown of the player from Indonesia? ### Context: CREATE TABLE table_name_31 (hometown VARCHAR, country VARCHAR) [/INST] ### Response: SELECT hometown FROM table_name_31 WHERE country = "indonesia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: From what school was the player drafted in round 3? ### Context: CREATE TABLE table_name_88 (school VARCHAR, round VARCHAR) [/INST] ### Response: SELECT school FROM table_name_88 WHERE round = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: From what school was the linebacker that had a pick less than 245 and was drafted in round 6? ### Context: CREATE TABLE table_name_50 (school VARCHAR, round VARCHAR, position VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT school FROM table_name_50 WHERE position = "linebacker" AND pick < 245 AND round = 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 Rebuildjahr(e) for the T2AA class? ### Context: CREATE TABLE table_name_17 (rebuildjahr_e_ VARCHAR, class VARCHAR) [/INST] ### Response: SELECT rebuildjahr_e_ FROM table_name_17 WHERE class = "t2aa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 quantity rebuilt if the type is 1B N2T and the railway number is 88, 118? ### Context: CREATE TABLE table_name_4 (quantity_rebuilt VARCHAR, type VARCHAR, railway_number_s_ VARCHAR) [/INST] ### Response: SELECT COUNT(quantity_rebuilt) FROM table_name_4 WHERE type = "1b n2t" AND railway_number_s_ = "88, 118" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was Chester the away team? ### Context: CREATE TABLE table_name_67 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_67 WHERE away_team = "chester" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score when the Wolverhampton Wanderers played at home? ### Context: CREATE TABLE table_name_4 (score VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_4 WHERE home_team = "wolverhampton wanderers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team that played against Manchester United? ### Context: CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_86 WHERE away_team = "manchester united" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score when the tie number was 6? ### Context: CREATE TABLE table_name_35 (score VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT score FROM table_name_35 WHERE tie_no = "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's the score when the tie number was replay? ### Context: CREATE TABLE table_name_70 (score VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT score FROM table_name_70 WHERE tie_no = "replay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode of Batman? ### Context: CREATE TABLE table_name_38 (episode VARCHAR, program VARCHAR) [/INST] ### Response: SELECT episode FROM table_name_38 WHERE program = "batman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 first aired date when Professor Hubert Whitehead was the role? ### Context: CREATE TABLE table_name_30 (first_aired VARCHAR, role VARCHAR) [/INST] ### Response: SELECT first_aired FROM table_name_30 WHERE role = "professor hubert whitehead" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 first aired date of the Animated Series episode? ### Context: CREATE TABLE table_name_91 (first_aired VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT first_aired FROM table_name_91 WHERE episode = "animated series" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 roles of the Bionic Woman? ### Context: CREATE TABLE table_name_4 (role VARCHAR, program VARCHAR) [/INST] ### Response: SELECT role FROM table_name_4 WHERE program = "the bionic woman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What episode was first aired in 1976? ### Context: CREATE TABLE table_name_85 (episode VARCHAR, first_aired VARCHAR) [/INST] ### Response: SELECT episode FROM table_name_85 WHERE first_aired = "1976" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 most total goals for a player having 0 FA Cup goals and 41 League appearances? ### Context: CREATE TABLE table_name_98 (total_goals INTEGER, fa_cup_goals VARCHAR, league_apps VARCHAR) [/INST] ### Response: SELECT MAX(total_goals) FROM table_name_98 WHERE fa_cup_goals = 0 AND league_apps = "41" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were won when the total is more than 1, and gold is more than 0? ### Context: CREATE TABLE table_name_62 (bronze INTEGER, total VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT AVG(bronze) FROM table_name_62 WHERE total > 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: What is the rank when there was less than 1 gold, 0 bronze, and more than 1 total? ### Context: CREATE TABLE table_name_23 (rank INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT SUM(rank) FROM table_name_23 WHERE gold < 1 AND bronze = 0 AND 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: What is the total when there were less than 0 bronze? ### Context: CREATE TABLE table_name_24 (total VARCHAR, bronze INTEGER) [/INST] ### Response: SELECT COUNT(total) FROM table_name_24 WHERE bronze < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the rank when there is 0 gold, the total is more than 1, and silver is more than 0? ### Context: CREATE TABLE table_name_58 (rank INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_58 WHERE gold = 0 AND total > 1 AND silver > 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of gold medals for Lithuania (ltu), when the total is more than 1? ### Context: CREATE TABLE table_name_57 (gold INTEGER, nation VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MAX(gold) FROM table_name_57 WHERE nation = "lithuania (ltu)" AND 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: What is the release date of production number 1327? ### Context: CREATE TABLE table_name_60 (release_date VARCHAR, production_number VARCHAR) [/INST] ### Response: SELECT release_date FROM table_name_60 WHERE production_number = 1327 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 production number released on 1955-04-02 with i. freleng as the director? ### Context: CREATE TABLE table_name_66 (production_number INTEGER, director VARCHAR, release_date VARCHAR) [/INST] ### Response: SELECT MAX(production_number) FROM table_name_66 WHERE director = "i. freleng" AND release_date = "1955-04-02" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 title with the production number greater than 1334 released on 1955-08-27? ### Context: CREATE TABLE table_name_65 (title VARCHAR, production_number VARCHAR, release_date VARCHAR) [/INST] ### Response: SELECT title FROM table_name_65 WHERE production_number > 1334 AND release_date = "1955-08-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: How many years did the role of Steve Rhoades last? ### Context: CREATE TABLE table_name_21 (years VARCHAR, role VARCHAR) [/INST] ### Response: SELECT years FROM table_name_21 WHERE role = "steve rhoades" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episodes did the actor David Faustino appear in? ### Context: CREATE TABLE table_name_37 (episodes VARCHAR, actor VARCHAR) [/INST] ### Response: SELECT episodes FROM table_name_37 WHERE actor = "david faustino" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which County has a Rank larger than 8, and a Player of joe mckenna? ### Context: CREATE TABLE table_name_29 (county VARCHAR, rank VARCHAR, player VARCHAR) [/INST] ### Response: SELECT county FROM table_name_29 WHERE rank > 8 AND player = "joe mckenna" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Total has a County of kilkenny, and a Tally of 1–4, and a Rank larger than 10? ### Context: CREATE TABLE table_name_13 (total INTEGER, rank VARCHAR, county VARCHAR, tally VARCHAR) [/INST] ### Response: SELECT AVG(total) FROM table_name_13 WHERE county = "kilkenny" AND tally = "1–4" AND rank > 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 galway county's total? ### Context: CREATE TABLE table_name_80 (total INTEGER, county VARCHAR) [/INST] ### Response: SELECT SUM(total) FROM table_name_80 WHERE county = "galway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 event when the class is time trial hc a? ### Context: CREATE TABLE table_name_95 (event VARCHAR, class VARCHAR) [/INST] ### Response: SELECT event FROM table_name_95 WHERE class = "time trial hc 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: Who received gold when the event is road race details and silver is max weber germany (ger)? ### Context: CREATE TABLE table_name_96 (gold VARCHAR, event VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT gold FROM table_name_96 WHERE event = "road race details" AND silver = "max weber germany (ger)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 received gold when the event is time trial details and silver is simon richardson great britain (gbr)? ### Context: CREATE TABLE table_name_2 (gold VARCHAR, event VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT gold FROM table_name_2 WHERE event = "time trial details" AND silver = "simon richardson great britain (gbr)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 received gold when silver is wolfgang eibeck austria (aut)? ### Context: CREATE TABLE table_name_42 (gold VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT gold FROM table_name_42 WHERE silver = "wolfgang eibeck austria (aut)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 event when gold is darren kenny great britain (gbr)? ### Context: CREATE TABLE table_name_1 (event VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT event FROM table_name_1 WHERE gold = "darren kenny great britain (gbr)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who directed Bunker Hill Bunny? ### Context: CREATE TABLE table_name_77 (director VARCHAR, title VARCHAR) [/INST] ### Response: SELECT director FROM table_name_77 WHERE title = "bunker hill bunny" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who directed An Egg Scramble? ### Context: CREATE TABLE table_name_53 (director VARCHAR, title VARCHAR) [/INST] ### Response: SELECT director FROM table_name_53 WHERE title = "an egg scramble" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opposing team in the game attended by 65,554? ### Context: CREATE TABLE table_name_35 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_35 WHERE attendance = "65,554" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the place is less than 3 and the percentage is 30.71%? ### Context: CREATE TABLE table_name_61 (draw INTEGER, place VARCHAR, percentage VARCHAR) [/INST] ### Response: SELECT MAX(draw) FROM table_name_61 WHERE place < 3 AND percentage = "30.71%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 least draw when the place is higher than 4? ### Context: CREATE TABLE table_name_62 (draw INTEGER, place INTEGER) [/INST] ### Response: SELECT MIN(draw) FROM table_name_62 WHERE place > 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 lowest pick of the defensive tackle player dave haverdick? ### Context: CREATE TABLE table_name_30 (pick INTEGER, position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT MIN(pick) FROM table_name_30 WHERE position = "defensive tackle" AND player = "dave haverdick" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick of player jim h. mitchell? ### Context: CREATE TABLE table_name_3 (pick INTEGER, player VARCHAR) [/INST] ### Response: SELECT AVG(pick) FROM table_name_3 WHERE player = "jim h. mitchell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: With a Col (m) larger than 2012, what is Mount Kazbek's Prominence (m)? ### Context: CREATE TABLE table_name_88 (prominence__m_ VARCHAR, col__m_ VARCHAR, peak VARCHAR) [/INST] ### Response: SELECT prominence__m_ FROM table_name_88 WHERE col__m_ > 2012 AND peak = "mount kazbek" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What genre has a station of Class 95FM? ### Context: CREATE TABLE table_name_53 (genre VARCHAR, station VARCHAR) [/INST] ### Response: SELECT genre FROM table_name_53 WHERE station = "class 95fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 genre of the BBC World Service? ### Context: CREATE TABLE table_name_77 (genre VARCHAR, station VARCHAR) [/INST] ### Response: SELECT genre FROM table_name_77 WHERE station = "bbc world service" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 station is operated by BBC Radio under the talk radio genre? ### Context: CREATE TABLE table_name_63 (station VARCHAR, genre VARCHAR, operator VARCHAR) [/INST] ### Response: SELECT station FROM table_name_63 WHERE genre = "talk radio" AND operator = "bbc radio" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sum of Silver with total smaller than 560, a Bronze larger than 6, and a Gold of 3? ### Context: CREATE TABLE table_name_70 (silver INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT SUM(silver) FROM table_name_70 WHERE total < 560 AND bronze > 6 AND gold = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the sum of Gold with a Bronze that's larger than 15, Silver that's smaller than 197, the Nation of Saint Lucia, and has a Total that is larger than 50? ### Context: CREATE TABLE table_name_89 (gold INTEGER, total VARCHAR, nation VARCHAR, bronze VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT SUM(gold) FROM table_name_89 WHERE bronze > 15 AND silver < 197 AND nation = "saint lucia" AND total > 50 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a Bronze that is smaller than 10 with a Silver of 5? ### Context: CREATE TABLE table_name_72 (nation VARCHAR, bronze VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_72 WHERE bronze < 10 AND silver = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the total number of Silver that has Gold that's larger than 0, Bronze that's smaller than 23, a Total that's larger than 22, and has the Nation of Saint Kitts and Nevis? ### Context: CREATE TABLE table_name_96 (silver VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT COUNT(silver) FROM table_name_96 WHERE gold > 0 AND bronze < 23 AND total > 22 AND nation = "saint kitts and nevis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 listed as the highest Silver that also has a Gold of 4 and a Total that's larger than 25? ### Context: CREATE TABLE table_name_70 (silver INTEGER, gold VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MAX(silver) FROM table_name_70 WHERE gold = 4 AND total > 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's the lost when there were more than 16 points and had a drawn less than 1? ### Context: CREATE TABLE table_name_18 (lost INTEGER, points VARCHAR, drawn VARCHAR) [/INST] ### Response: SELECT SUM(lost) FROM table_name_18 WHERE points > 16 AND drawn < 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the most points for Ea Schongau with more than 1 drawn? ### Context: CREATE TABLE table_name_38 (points INTEGER, name VARCHAR, drawn VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_name_38 WHERE name = "ea schongau" AND drawn > 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the points that has a lost more 6, played less than 14 and a position more than 1? ### Context: CREATE TABLE table_name_54 (points INTEGER, played VARCHAR, position VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT SUM(points) FROM table_name_54 WHERE position > 1 AND lost > 6 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: When dis cbs release the DVD set? ### Context: CREATE TABLE table_name_76 (dvd_set_release_date VARCHAR, network VARCHAR) [/INST] ### Response: SELECT dvd_set_release_date FROM table_name_76 WHERE network = "cbs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 season number for episodes later than episode 30? ### Context: CREATE TABLE table_name_67 (season INTEGER, episodes INTEGER) [/INST] ### Response: SELECT SUM(season) FROM table_name_67 WHERE episodes > 30 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is the Grim Fandango with a windows platform? ### Context: CREATE TABLE table_name_36 (year VARCHAR, platform_s_ VARCHAR, game VARCHAR) [/INST] ### Response: SELECT year FROM table_name_36 WHERE platform_s_ = "windows" AND game = "grim fandango" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What game in the genre of adventure, has a windows platform and its year is after 1997? ### Context: CREATE TABLE table_name_20 (game VARCHAR, genre VARCHAR, year VARCHAR, platform_s_ VARCHAR) [/INST] ### Response: SELECT game FROM table_name_20 WHERE year > 1997 AND platform_s_ = "windows" AND genre = "adventure" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2.15 for Tom Parsons? ### Context: CREATE TABLE table_name_9 (athlete VARCHAR) [/INST] ### Response: SELECT 215 FROM table_name_9 WHERE athlete = "tom parsons" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 athlete from Brazil has 2.20 O and 2.25 of XXX? ### Context: CREATE TABLE table_name_81 (athlete VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT athlete FROM table_name_81 WHERE 220 = "o" AND 225 = "xxx" AND nationality = "brazil" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 athlete from Germany has 2.20 of O and a 2.25 of O? ### Context: CREATE TABLE table_name_68 (athlete VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT athlete FROM table_name_68 WHERE 220 = "o" AND 225 = "o" AND nationality = "germany" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2011 has an Airport of bole international airport? ### Context: CREATE TABLE table_name_38 (airport VARCHAR) [/INST] ### Response: SELECT MAX(2011) FROM table_name_38 WHERE airport = "bole international airport" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 release date of Forward March Hare? ### Context: CREATE TABLE table_name_10 (release_date VARCHAR, title VARCHAR) [/INST] ### Response: SELECT release_date FROM table_name_10 WHERE title = "forward march hare" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 release date of Upswept Hare? ### Context: CREATE TABLE table_name_28 (release_date VARCHAR, title VARCHAR) [/INST] ### Response: SELECT release_date FROM table_name_28 WHERE title = "upswept hare" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 series of Kiss Me Cat? ### Context: CREATE TABLE table_name_80 (series VARCHAR, title VARCHAR) [/INST] ### Response: SELECT series FROM table_name_80 WHERE title = "kiss me cat" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is the athlete ekaterina karsten from with a rank less than 4? ### Context: CREATE TABLE table_name_85 (country VARCHAR, rank VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT country FROM table_name_85 WHERE rank < 4 AND athlete = "ekaterina karsten" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 time of frida svensson's race that had sa/b under the notes? ### Context: CREATE TABLE table_name_81 (time VARCHAR, notes VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT time FROM table_name_81 WHERE notes = "sa/b" AND athlete = "frida svensson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 race time for emma twigg? ### Context: CREATE TABLE table_name_29 (time VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT time FROM table_name_29 WHERE athlete = "emma twigg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rank for the athlete that had a race time of 7:34.24? ### Context: CREATE TABLE table_name_56 (rank VARCHAR, time VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_name_56 WHERE time = "7:34.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: What is the Date of the game with an attendance of 72,051 after Week 9? ### Context: CREATE TABLE table_name_4 (date VARCHAR, week VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT date FROM table_name_4 WHERE week > 9 AND attendance = "72,051" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what Week was the Attendance 49,097? ### Context: CREATE TABLE table_name_51 (week INTEGER, attendance VARCHAR) [/INST] ### Response: SELECT AVG(week) FROM table_name_51 WHERE attendance = "49,097" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what Date was the Attendance 73,405? ### Context: CREATE TABLE table_name_32 (date VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT date FROM table_name_32 WHERE attendance = "73,405" </s>