text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which team was founded in 1970? ### Context: CREATE TABLE table_name_48 (team VARCHAR, founded VARCHAR) [/INST] ### Response: SELECT team FROM table_name_48 WHERE founded = "1970" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did acharya shree koshalendraprasadji maharaj become acharya? ### Context: CREATE TABLE table_name_12 (became_acharya_on VARCHAR, name_of_acharya VARCHAR) [/INST] ### Response: SELECT became_acharya_on FROM table_name_12 WHERE name_of_acharya = "acharya shree koshalendraprasadji maharaj" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 term of acharya shree vasudevprasadji maharaj? ### Context: CREATE TABLE table_name_5 (term VARCHAR, name_of_acharya VARCHAR) [/INST] ### Response: SELECT term FROM table_name_5 WHERE name_of_acharya = "acharya shree vasudevprasadji maharaj" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 event where justin robbins had a record of 9-4-1? ### Context: CREATE TABLE table_name_54 (event VARCHAR, record VARCHAR) [/INST] ### Response: SELECT event FROM table_name_54 WHERE record = "9-4-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: Where was the location where justin robbins fought against billy kidd? ### Context: CREATE TABLE table_name_1 (location VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT location FROM table_name_1 WHERE opponent = "billy kidd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 method of resolution for the fight at cage warriors 39? ### Context: CREATE TABLE table_name_87 (method VARCHAR, event VARCHAR) [/INST] ### Response: SELECT method FROM table_name_87 WHERE event = "cage warriors 39" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: A total larger than 302 and playoffs of 35 also list the total of regular seasons as what? ### Context: CREATE TABLE table_name_41 (regular_season INTEGER, playoffs VARCHAR, total VARCHAR) [/INST] ### Response: SELECT SUM(regular_season) FROM table_name_41 WHERE playoffs = 35 AND total > 302 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 college/junior/club team (league) of lw position player mark miller, from a round greater than 4? ### Context: CREATE TABLE table_name_7 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR) [/INST] ### Response: SELECT college_junior_club_team__league_ FROM table_name_7 WHERE round > 4 AND position = "lw" AND player = "mark miller" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lw position player from a round greater than 10? ### Context: CREATE TABLE table_name_76 (player VARCHAR, position VARCHAR, round VARCHAR) [/INST] ### Response: SELECT player FROM table_name_76 WHERE position = "lw" AND round > 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: Who is the player from round 8? ### Context: CREATE TABLE table_name_20 (player VARCHAR, round VARCHAR) [/INST] ### Response: SELECT player FROM table_name_20 WHERE round = 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 is the nationality of the player from round 7? ### Context: CREATE TABLE table_name_14 (nationality VARCHAR, round VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_14 WHERE round = 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the nationality of the player from round 5? ### Context: CREATE TABLE table_name_31 (nationality VARCHAR, round VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_31 WHERE round = 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 state had an elected/assumed office in 2013? ### Context: CREATE TABLE table_name_98 (state VARCHAR, elected_assumed_office VARCHAR) [/INST] ### Response: SELECT state FROM table_name_98 WHERE elected_assumed_office = 2013 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 air date of 'Gary tries to do it all'? ### Context: CREATE TABLE table_name_95 (air_date VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT air_date FROM table_name_95 WHERE episode = "gary tries to do it all" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 university that was established in 2000? ### Context: CREATE TABLE table_name_44 (location VARCHAR, established VARCHAR) [/INST] ### Response: SELECT location FROM table_name_44 WHERE established = 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: What year was the team with the nickname pride established? ### Context: CREATE TABLE table_name_14 (established VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT COUNT(established) FROM table_name_14 WHERE nickname = "pride" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 enrollment of the university established in or after 2011? ### Context: CREATE TABLE table_name_68 (enrollment VARCHAR, established INTEGER) [/INST] ### Response: SELECT enrollment FROM table_name_68 WHERE established > 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 country was ole ellefsæter from? ### Context: CREATE TABLE table_name_34 (country VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT country FROM table_name_34 WHERE winner = "ole ellefsæter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won the FIS Nordic World Ski Championships in 1972? ### Context: CREATE TABLE table_name_4 (winner VARCHAR, fis_nordic_world_ski_championships VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_4 WHERE fis_nordic_world_ski_championships = "1972" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For a country of Spain, place of t6, what is the Money ($)? ### Context: CREATE TABLE table_name_44 (money___$__ VARCHAR, place VARCHAR, country VARCHAR) [/INST] ### Response: SELECT money___$__ FROM table_name_44 WHERE place = "t6" AND country = "spain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which country has a to par of e? ### Context: CREATE TABLE table_name_20 (country VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT country FROM table_name_20 WHERE to_par = "e" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player is from Australia, and has a place of t9? ### Context: CREATE TABLE table_name_35 (player VARCHAR, place VARCHAR, country VARCHAR) [/INST] ### Response: SELECT player FROM table_name_35 WHERE place = "t9" AND 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: What was the place for player John Merrick? ### Context: CREATE TABLE table_name_52 (place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_52 WHERE player = "john merrick" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had a place of t1, as well as a score of 72-68-70-73=283? ### Context: CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_38 WHERE place = "t1" AND score = 72 - 68 - 70 - 73 = 283 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What place has jack renner as the player? ### Context: CREATE TABLE table_name_48 (place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_48 WHERE player = "jack renner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What to par has The United States as the country, t8 as the place, and tommy valentine as the player? ### Context: CREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_77 WHERE country = "united states" AND place = "t8" AND player = "tommy valentine" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What to par has 66 as the score? ### Context: CREATE TABLE table_name_56 (to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_56 WHERE score = 66 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Mean of played with smaller than 7 conceded? ### Context: CREATE TABLE table_name_62 (played INTEGER, conceded INTEGER) [/INST] ### Response: SELECT AVG(played) FROM table_name_62 WHERE conceded < 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: The highest position with more than 16 points and less than 7 concedes? ### Context: CREATE TABLE table_name_40 (position INTEGER, points VARCHAR, conceded VARCHAR) [/INST] ### Response: SELECT MAX(position) FROM table_name_40 WHERE points > 16 AND conceded < 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: The highest draws with smaller than 9 played? ### Context: CREATE TABLE table_name_32 (draws INTEGER, played INTEGER) [/INST] ### Response: SELECT MAX(draws) FROM table_name_32 WHERE played < 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: Which Home Town has a Took Office of 1983, and a District larger than 15? ### Context: CREATE TABLE table_name_60 (home_town VARCHAR, took_office VARCHAR, district VARCHAR) [/INST] ### Response: SELECT home_town FROM table_name_60 WHERE took_office = 1983 AND district > 15 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Senator has a Party of republican, a Home Town of houston, and a District of 7? ### Context: CREATE TABLE table_name_82 (senator VARCHAR, district VARCHAR, party VARCHAR, home_town VARCHAR) [/INST] ### Response: SELECT senator FROM table_name_82 WHERE party = "republican" AND home_town = "houston" AND district = 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: Which Home Town has a Senator of dan shelley? ### Context: CREATE TABLE table_name_78 (home_town VARCHAR, senator VARCHAR) [/INST] ### Response: SELECT home_town FROM table_name_78 WHERE senator = "dan shelley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Took Office has a Party of democratic, a Home Town of victoria, and a District smaller than 18? ### Context: CREATE TABLE table_name_81 (took_office VARCHAR, district VARCHAR, party VARCHAR, home_town VARCHAR) [/INST] ### Response: SELECT COUNT(took_office) FROM table_name_81 WHERE party = "democratic" AND home_town = "victoria" AND district < 18 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Took Office has a District of 29? ### Context: CREATE TABLE table_name_8 (took_office INTEGER, district VARCHAR) [/INST] ### Response: SELECT AVG(took_office) FROM table_name_8 WHERE district = 29 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the average Laps on Grid 15? ### Context: CREATE TABLE table_name_88 (laps INTEGER, grid VARCHAR) [/INST] ### Response: SELECT AVG(laps) FROM table_name_88 WHERE grid = 15 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest number of Laps that have a Time of +24.440, and a Grid higher than 18? ### Context: CREATE TABLE table_name_39 (laps INTEGER, time VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT MIN(laps) FROM table_name_39 WHERE time = "+24.440" AND grid > 18 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest number of Laps that have a Time of +18.366, and a Grid lower than 13? ### Context: CREATE TABLE table_name_93 (laps INTEGER, grid VARCHAR, time VARCHAR) [/INST] ### Response: SELECT MAX(laps) FROM table_name_93 WHERE grid < 13 AND time = "+18.366" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Wins, when Season is 2011, when Podiums is 1, and when Poles is less than 0? ### Context: CREATE TABLE table_name_37 (wins INTEGER, poles VARCHAR, season VARCHAR, podiums VARCHAR) [/INST] ### Response: SELECT MIN(wins) FROM table_name_37 WHERE season = "2011" AND podiums = 1 AND poles < 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 Position, when Points is greater than 7, and when Series is Toyota Racing Series? ### Context: CREATE TABLE table_name_3 (position VARCHAR, points VARCHAR, series VARCHAR) [/INST] ### Response: SELECT position FROM table_name_3 WHERE points > 7 AND series = "toyota racing 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 is the sum of Races, when Series is Toyota Racing Series, and when Podiums is greater than 3? ### Context: CREATE TABLE table_name_9 (races INTEGER, series VARCHAR, podiums VARCHAR) [/INST] ### Response: SELECT SUM(races) FROM table_name_9 WHERE series = "toyota racing series" AND podiums > 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 average Podiums, when Wins is greater than 1, when Races is 2, and when Points is greater than 150? ### Context: CREATE TABLE table_name_47 (podiums INTEGER, points VARCHAR, wins VARCHAR, races VARCHAR) [/INST] ### Response: SELECT AVG(podiums) FROM table_name_47 WHERE wins > 1 AND races = 2 AND points > 150 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of Poles, when Position is 6th, and when Points is less than 164? ### Context: CREATE TABLE table_name_27 (poles VARCHAR, position VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(poles) FROM table_name_27 WHERE position = "6th" AND points < 164 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which is the earliest founded day school to have entered the competition after 1958? ### Context: CREATE TABLE table_name_64 (founded INTEGER, day_boarding VARCHAR, year_entered_competition VARCHAR) [/INST] ### Response: SELECT MIN(founded) FROM table_name_64 WHERE day_boarding = "day" AND year_entered_competition > 1958 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 to par in England? ### Context: CREATE TABLE table_name_93 (to_par VARCHAR, country VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_93 WHERE country = "england" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is David Frost from? ### Context: CREATE TABLE table_name_38 (place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_38 WHERE player = "david frost" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 earned place T3 with a score of 70-68=138? ### Context: CREATE TABLE table_name_18 (country VARCHAR, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_18 WHERE place = "t3" AND score = 70 - 68 = 138 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had a score of 69-67=136? ### Context: CREATE TABLE table_name_5 (country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_5 WHERE score = 69 - 67 = 136 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 to par for Greg Norman? ### Context: CREATE TABLE table_name_1 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_1 WHERE player = "greg norman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 high rebounds after game 14 for Denver? ### Context: CREATE TABLE table_name_74 (high_rebounds VARCHAR, game VARCHAR, team VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_name_74 WHERE game > 14 AND team = "denver" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 latest game that Sacramento played? ### Context: CREATE TABLE table_name_26 (game INTEGER, team VARCHAR) [/INST] ### Response: SELECT MAX(game) FROM table_name_26 WHERE team = "sacramento" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of Utah? ### Context: CREATE TABLE table_name_65 (record VARCHAR, team VARCHAR) [/INST] ### Response: SELECT record FROM table_name_65 WHERE team = "utah" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 parent magazine of Dengeki g's festival! deluxe? ### Context: CREATE TABLE table_name_78 (parent_magazine VARCHAR, title VARCHAR) [/INST] ### Response: SELECT parent_magazine FROM table_name_78 WHERE title = "dengeki g's festival! deluxe" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 often does Dengeki girl's style come out? ### Context: CREATE TABLE table_name_5 (frequency VARCHAR, parent_magazine VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_5 WHERE parent_magazine = "dengeki girl's style" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What titles come out monthly? ### Context: CREATE TABLE table_name_72 (title VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT title FROM table_name_72 WHERE frequency = "monthly" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 parent magazine for Dengeki 5pb.? ### Context: CREATE TABLE table_name_42 (parent_magazine VARCHAR, title VARCHAR) [/INST] ### Response: SELECT parent_magazine FROM table_name_42 WHERE title = "dengeki 5pb." </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 magazine type that ran from March 3, 2009–February 5, 2010? ### Context: CREATE TABLE table_name_94 (magazine_type VARCHAR, magazine_run VARCHAR) [/INST] ### Response: SELECT magazine_type FROM table_name_94 WHERE magazine_run = "march 3, 2009–february 5, 2010" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the frequency for the magazine that runs September 2, 2010? ### Context: CREATE TABLE table_name_62 (frequency VARCHAR, magazine_run VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_62 WHERE magazine_run = "september 2, 2010" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest number of laps with a +1:23.297 time/retired and a grid larger than 4? ### Context: CREATE TABLE table_name_98 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT MAX(laps) FROM table_name_98 WHERE time_retired = "+1:23.297" AND grid > 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 time/retired with a toyota constructor and a 5 grid? ### Context: CREATE TABLE table_name_93 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT time_retired FROM table_name_93 WHERE constructor = "toyota" AND grid = 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 is the average number of laps with 16 grids? ### Context: CREATE TABLE table_name_54 (laps INTEGER, grid VARCHAR) [/INST] ### Response: SELECT AVG(laps) FROM table_name_54 WHERE grid = 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 was the endowment in 2008 of the college that was established in 1961? ### Context: CREATE TABLE table_name_55 (endowment_as_of_2008 VARCHAR, established VARCHAR) [/INST] ### Response: SELECT endowment_as_of_2008 FROM table_name_55 WHERE established = 1961 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 day was the attendance that had a Tie value of 40? ### Context: CREATE TABLE table_name_84 (attendance VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_84 WHERE tie_no = "40" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the away game that Canvey Island played? ### Context: CREATE TABLE table_name_6 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_6 WHERE away_team = "canvey island" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 day was there a Home game for Gillingham? ### Context: CREATE TABLE table_name_4 (attendance VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_4 WHERE home_team = "gillingham" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Pick has an Overall larger than 308, and a Position of rb? ### Context: CREATE TABLE table_name_21 (pick INTEGER, overall VARCHAR, position VARCHAR) [/INST] ### Response: SELECT MAX(pick) FROM table_name_21 WHERE overall > 308 AND position = "rb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How much Overall has a Position of wr, and a College of alberta? ### Context: CREATE TABLE table_name_86 (overall INTEGER, position VARCHAR, college VARCHAR) [/INST] ### Response: SELECT SUM(overall) FROM table_name_86 WHERE position = "wr" AND college = "alberta" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 indiana college's average pick? ### Context: CREATE TABLE table_name_51 (pick INTEGER, college VARCHAR) [/INST] ### Response: SELECT AVG(pick) FROM table_name_51 WHERE college = "indiana" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which College has an Overall of 308? ### Context: CREATE TABLE table_name_46 (college VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT college FROM table_name_46 WHERE overall = 308 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 surface for the opponent Marcos Baghdatis? ### Context: CREATE TABLE table_name_3 (surface VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_3 WHERE opponent = "marcos baghdatis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 8TH THAT HAS A 7TH OF AUDIO BULLYS? ### Context: CREATE TABLE table_name_61 (eighth VARCHAR, seventh VARCHAR) [/INST] ### Response: SELECT eighth FROM table_name_61 WHERE seventh = "audio bullys" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 POLL YEAR WITH A THIRD OF THE TING TINGS? ### Context: CREATE TABLE table_name_34 (poll_year VARCHAR, third VARCHAR) [/INST] ### Response: SELECT poll_year FROM table_name_34 WHERE third = "the ting tings" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 SIXTH WITH A SECOND OF WHITE LIES? ### Context: CREATE TABLE table_name_66 (sixth VARCHAR, second VARCHAR) [/INST] ### Response: SELECT sixth FROM table_name_66 WHERE second = "white lies" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 WINNER WITH A FIFTH OF JOSS STONE? ### Context: CREATE TABLE table_name_97 (winner VARCHAR, fifth VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_97 WHERE fifth = "joss stone" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 SECOND WITH A TENTH OF DAN BLACK? ### Context: CREATE TABLE table_name_65 (second VARCHAR, tenth VARCHAR) [/INST] ### Response: SELECT second FROM table_name_65 WHERE tenth = "dan black" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game has January 30 as the date? ### Context: CREATE TABLE table_name_45 (game INTEGER, date VARCHAR) [/INST] ### Response: SELECT AVG(game) FROM table_name_45 WHERE date = "january 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 score has january 19 as the date? ### Context: CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_65 WHERE date = "january 19" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the loaction attendance that has a game greater than 35, with January 30 as the date? ### Context: CREATE TABLE table_name_24 (location_attendance VARCHAR, game VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_name_24 WHERE game > 35 AND date = "january 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 is the highest game that has January 5 as the date? ### Context: CREATE TABLE table_name_99 (game INTEGER, date VARCHAR) [/INST] ### Response: SELECT MAX(game) FROM table_name_99 WHERE date = "january 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 is the highest rebounds that has conseco fieldhouse 11,964 as the location attendance? ### Context: CREATE TABLE table_name_58 (high_rebounds VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_name_58 WHERE location_attendance = "conseco fieldhouse 11,964" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lane value for a mark of 2:02.27 NR, with heats under 2? ### Context: CREATE TABLE table_name_82 (lane INTEGER, mark VARCHAR, heat VARCHAR) [/INST] ### Response: SELECT MAX(lane) FROM table_name_82 WHERE mark = "2:02.27 nr" AND heat < 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the mark for the runner from Mozambique? ### Context: CREATE TABLE table_name_8 (mark VARCHAR, country VARCHAR) [/INST] ### Response: SELECT mark FROM table_name_8 WHERE country = "mozambique" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was in lane 6 with a mark of 2:05.58 SB? ### Context: CREATE TABLE table_name_84 (name VARCHAR, lane VARCHAR, mark VARCHAR) [/INST] ### Response: SELECT name FROM table_name_84 WHERE lane = 6 AND mark = "2:05.58 sb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What round was Ken Irvin drafted? ### Context: CREATE TABLE table_name_54 (round INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_name_54 WHERE player = "ken irvin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round was a player from Michigan selected? ### Context: CREATE TABLE table_name_54 (round INTEGER, school_club_team VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_name_54 WHERE school_club_team = "michigan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 before week 8 when the result was l 28-17? ### Context: CREATE TABLE table_name_49 (opponent VARCHAR, week VARCHAR, result VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_49 WHERE week < 8 AND result = "l 28-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: In which week was the game played on October 12, 1975 and the crowd was larger than 44,043? ### Context: CREATE TABLE table_name_15 (week VARCHAR, date VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT COUNT(week) FROM table_name_15 WHERE date = "october 12, 1975" AND attendance > 44 OFFSET 043 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Berlin when fk pirmasens was Südwest and westfalia herne was west? ### Context: CREATE TABLE table_name_60 (berlin VARCHAR, südwest VARCHAR, west VARCHAR) [/INST] ### Response: SELECT berlin FROM table_name_60 WHERE südwest = "fk pirmasens" AND west = "westfalia herne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 earliest year borussia dortmund was west and bfc viktoria 1889 was Berlin? ### Context: CREATE TABLE table_name_90 (year INTEGER, west VARCHAR, berlin VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_90 WHERE west = "borussia dortmund" AND berlin = "bfc viktoria 1889" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Nord in 1952, when tennis borussia berlin was Berlin? ### Context: CREATE TABLE table_name_3 (nord VARCHAR, berlin VARCHAR, year VARCHAR) [/INST] ### Response: SELECT nord FROM table_name_3 WHERE berlin = "tennis borussia berlin" AND year = 1952 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Japan place? ### Context: CREATE TABLE table_name_19 (place VARCHAR, country VARCHAR) [/INST] ### Response: SELECT place FROM table_name_19 WHERE country = "japan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the away team when the attendance was 206? ### Context: CREATE TABLE table_name_69 (away_team VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_69 WHERE attendance = "206" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away team when the Tie no was 34? ### Context: CREATE TABLE table_name_29 (away_team VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_29 WHERE tie_no = "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: Who was the away team when the attendance was 76? ### Context: CREATE TABLE table_name_16 (away_team VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_16 WHERE attendance = "76" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the Tie no was 7? ### Context: CREATE TABLE table_name_60 (home_team VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_60 WHERE tie_no = "7" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Tie no when the away team was east thurrock united? ### Context: CREATE TABLE table_name_8 (tie_no VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_8 WHERE away_team = "east thurrock 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 IS THE AVERAGE VOTE FOR DUBLIN SOUTH, AND SPOILT SMALLER THAN 3,387? ### Context: CREATE TABLE table_name_14 (votes INTEGER, constituency VARCHAR, spoilt VARCHAR) [/INST] ### Response: SELECT AVG(votes) FROM table_name_14 WHERE constituency = "dublin south" AND spoilt < 3 OFFSET 387 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 on January 23, 2008? ### Context: CREATE TABLE table_name_8 (location VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location FROM table_name_8 WHERE date = "january 23, 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: Where was the Singapore Charity Shield tournament played? ### Context: CREATE TABLE table_name_8 (location VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT location FROM table_name_8 WHERE tournament = "singapore charity shield" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 located on January 23, 2008? ### Context: CREATE TABLE table_name_93 (location VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location FROM table_name_93 WHERE date = "january 23, 2008" </s>