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: How long is the song titled burning love? ### Context: CREATE TABLE table_name_54 (time VARCHAR, song_title VARCHAR) [/INST] ### Response: SELECT time FROM table_name_54 WHERE song_title = "burning love" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the song titled if you talk in your sleep released? ### Context: CREATE TABLE table_name_34 (release_date VARCHAR, song_title VARCHAR) [/INST] ### Response: SELECT release_date FROM table_name_34 WHERE song_title = "if you talk in your sleep" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 city that is located in California when the year is greater than 2009? ### Context: CREATE TABLE table_name_46 (city VARCHAR, state VARCHAR, year VARCHAR) [/INST] ### Response: SELECT city FROM table_name_46 WHERE state = "california" AND year > 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 is the host in a year greater than 1989 and when the venue is the Staples Center located in California? ### Context: CREATE TABLE table_name_12 (host VARCHAR, venue VARCHAR, year VARCHAR, state VARCHAR) [/INST] ### Response: SELECT host FROM table_name_12 WHERE year > 1989 AND state = "california" AND venue = "staples center" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 venue in 2011, when the state is California? ### Context: CREATE TABLE table_name_5 (venue VARCHAR, state VARCHAR, year VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_5 WHERE state = "california" AND year = 2011 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the wards/branches of the fort smith Arkansas stake? ### Context: CREATE TABLE table_name_89 (wards__branches_in_arkansas VARCHAR, stake VARCHAR) [/INST] ### Response: SELECT wards__branches_in_arkansas FROM table_name_89 WHERE stake = "fort smith arkansas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What stake has realtor for American equity realty as their occupation? ### Context: CREATE TABLE table_name_98 (stake VARCHAR, occupation VARCHAR) [/INST] ### Response: SELECT stake FROM table_name_98 WHERE occupation = "realtor for american equity realty" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 organized date of the stake with an occupation of senior buyer for Wal-mart? ### Context: CREATE TABLE table_name_67 (organized VARCHAR, occupation VARCHAR) [/INST] ### Response: SELECT organized FROM table_name_67 WHERE occupation = "senior buyer for wal-mart" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of the wards/branches in Arkansas of the North Little Rock Arkansas stake? ### Context: CREATE TABLE table_name_93 (wards__branches_in_arkansas INTEGER, stake VARCHAR) [/INST] ### Response: SELECT SUM(wards__branches_in_arkansas) FROM table_name_93 WHERE stake = "north little rock arkansas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What stake has 16 wards/branches in Arkansas? ### Context: CREATE TABLE table_name_97 (stake VARCHAR, wards__branches_in_arkansas VARCHAR) [/INST] ### Response: SELECT stake FROM table_name_97 WHERE wards__branches_in_arkansas = 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 is Stable, when Current Rank is F1 Jūryō 14 West? ### Context: CREATE TABLE table_name_59 (stable VARCHAR, current_rank VARCHAR) [/INST] ### Response: SELECT stable FROM table_name_59 WHERE current_rank = "f1 jūryō 14 west" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Ring Name, when Current Rank is E0 Maegashira 9 West? ### Context: CREATE TABLE table_name_48 (ring_name VARCHAR, current_rank VARCHAR) [/INST] ### Response: SELECT ring_name FROM table_name_48 WHERE current_rank = "e0 maegashira 9 west" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Birthplace, when Ring Name is Masunoyama Tomoharu? ### Context: CREATE TABLE table_name_70 (birthplace VARCHAR, ring_name VARCHAR) [/INST] ### Response: SELECT birthplace FROM table_name_70 WHERE ring_name = "masunoyama tomoharu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Current Rank, when Ring Name is Tamaasuka Daisuke? ### Context: CREATE TABLE table_name_4 (current_rank VARCHAR, ring_name VARCHAR) [/INST] ### Response: SELECT current_rank FROM table_name_4 WHERE ring_name = "tamaasuka daisuke" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Ring Name, when Stable is Kasugano, and when Birthplace is Z Mtskheta , Georgia? ### Context: CREATE TABLE table_name_49 (ring_name VARCHAR, stable VARCHAR, birthplace VARCHAR) [/INST] ### Response: SELECT ring_name FROM table_name_49 WHERE stable = "kasugano" AND birthplace = "z mtskheta , georgia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Current Rank, when Ring Name is Kimurayama Mamoru? ### Context: CREATE TABLE table_name_63 (current_rank VARCHAR, ring_name VARCHAR) [/INST] ### Response: SELECT current_rank FROM table_name_63 WHERE ring_name = "kimurayama mamoru" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Interview Subject on the Date when there were Pictorials of Christie Brinkley? ### Context: CREATE TABLE table_name_89 (interview_subject VARCHAR, pictorials VARCHAR) [/INST] ### Response: SELECT interview_subject FROM table_name_89 WHERE pictorials = "christie brinkley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the issue in which the Interview subject was Jesse Jackson, who were there Pictorials of? ### Context: CREATE TABLE table_name_84 (pictorials VARCHAR, interview_subject VARCHAR) [/INST] ### Response: SELECT pictorials FROM table_name_84 WHERE interview_subject = "jesse jackson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Centerfold model in the issue in which the Interview subject was Paul Simon? ### Context: CREATE TABLE table_name_68 (centerfold_model VARCHAR, interview_subject VARCHAR) [/INST] ### Response: SELECT centerfold_model FROM table_name_68 WHERE interview_subject = "paul simon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Centerfold model in the issue in which the Interview subject was José Napoleón Duarte? ### Context: CREATE TABLE table_name_96 (centerfold_model VARCHAR, interview_subject VARCHAR) [/INST] ### Response: SELECT centerfold_model FROM table_name_96 WHERE interview_subject = "josé napoleón duarte" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Cover model in the issue in which the Interview subject was Joan Collins? ### Context: CREATE TABLE table_name_67 (cover_model VARCHAR, interview_subject VARCHAR) [/INST] ### Response: SELECT cover_model FROM table_name_67 WHERE interview_subject = "joan collins" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which date has a round more than 9? ### Context: CREATE TABLE table_name_85 (date VARCHAR, round INTEGER) [/INST] ### Response: SELECT date FROM table_name_85 WHERE round > 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: Who is the driver that one for the winning tpc team qi-meritus that has a round more than 8? ### Context: CREATE TABLE table_name_76 (winning_driver VARCHAR, winning_team VARCHAR, round VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_name_76 WHERE winning_team = "tpc team qi-meritus" AND 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 time of 12 December 2009 with record start? ### Context: CREATE TABLE table_name_81 (time VARCHAR, record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT time FROM table_name_81 WHERE record = "start" AND date = "12 december 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 is Elizabeth Yarnold's nation? ### Context: CREATE TABLE table_name_70 (nation VARCHAR, athlete_s_ VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_70 WHERE athlete_s_ = "elizabeth yarnold" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Jiufotang Formation located in? ### Context: CREATE TABLE table_name_59 (location VARCHAR, unit VARCHAR) [/INST] ### Response: SELECT location FROM table_name_59 WHERE unit = "jiufotang formation" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 author is located in Mexico? ### Context: CREATE TABLE table_name_73 (authors VARCHAR, location VARCHAR) [/INST] ### Response: SELECT authors FROM table_name_73 WHERE location = "mexico" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wang li duan cheng located? ### Context: CREATE TABLE table_name_3 (location VARCHAR, authors VARCHAR) [/INST] ### Response: SELECT location FROM table_name_3 WHERE authors = "wang li duan cheng" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 status of the pterosaur named Cathayopterus? ### Context: CREATE TABLE table_name_40 (status VARCHAR, name VARCHAR) [/INST] ### Response: SELECT status FROM table_name_40 WHERE name = "cathayopterus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Years in Orlando has a School/Club Team of texas tech? ### Context: CREATE TABLE table_name_74 (years_in_orlando VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT years_in_orlando FROM table_name_74 WHERE school_club_team = "texas tech" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Nationality has a Player of keith bogans, and a Years in Orlando of 2006–2009? ### Context: CREATE TABLE table_name_57 (nationality VARCHAR, player VARCHAR, years_in_orlando VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_57 WHERE player = "keith bogans" AND years_in_orlando = "2006–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 is Pat Burke's Nationality? ### Context: CREATE TABLE table_name_34 (nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_34 WHERE player = "pat burke" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which School/Club Team has a Player of michael bradley? ### Context: CREATE TABLE table_name_36 (school_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_36 WHERE player = "michael bradley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Years in Orlando has a School/Club Team of kentucky? ### Context: CREATE TABLE table_name_96 (years_in_orlando VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT years_in_orlando FROM table_name_96 WHERE school_club_team = "kentucky" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which School/Club Team has a Player of jud buechler? ### Context: CREATE TABLE table_name_16 (school_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_16 WHERE player = "jud buechler" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the position for years under 1999? ### Context: CREATE TABLE table_name_2 (pos VARCHAR, year INTEGER) [/INST] ### Response: SELECT pos FROM table_name_2 WHERE year < 1999 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 year for Team Oreca? ### Context: CREATE TABLE table_name_46 (year INTEGER, team VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_46 WHERE team = "team oreca" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Position has an Against larger than 17, and a Team of juventus, and a Drawn smaller than 4? ### Context: CREATE TABLE table_name_50 (position INTEGER, drawn VARCHAR, against VARCHAR, team VARCHAR) [/INST] ### Response: SELECT MIN(position) FROM table_name_50 WHERE against > 17 AND team = "juventus" AND drawn < 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Lost has an Against of 49 and a Played smaller than 20? ### Context: CREATE TABLE table_name_63 (lost VARCHAR, against VARCHAR, played VARCHAR) [/INST] ### Response: SELECT COUNT(lost) FROM table_name_63 WHERE against = 49 AND played < 20 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 championship had a previous champion of "defeated Justin Corino in tournament final"? ### Context: CREATE TABLE table_name_69 (championship VARCHAR, previous_champion_s_ VARCHAR) [/INST] ### Response: SELECT championship FROM table_name_69 WHERE previous_champion_s_ = "defeated justin corino in tournament final" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which location had previous champions of Mike Webb and Nick Fahrenheit? ### Context: CREATE TABLE table_name_93 (location VARCHAR, previous_champion_s_ VARCHAR) [/INST] ### Response: SELECT location FROM table_name_93 WHERE previous_champion_s_ = "mike webb and nick fahrenheit" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 previous champions from the event won on May 1, 2010? ### Context: CREATE TABLE table_name_40 (previous_champion_s_ VARCHAR, date_won VARCHAR) [/INST] ### Response: SELECT previous_champion_s_ FROM table_name_40 WHERE date_won = "may 1, 2010" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the current champion for the event in Beverly, MA, with previous champions of Mike Webb and Nick Fahrenheit? ### Context: CREATE TABLE table_name_19 (current_champion_s_ VARCHAR, location VARCHAR, previous_champion_s_ VARCHAR) [/INST] ### Response: SELECT current_champion_s_ FROM table_name_19 WHERE location = "beverly, ma" AND previous_champion_s_ = "mike webb and nick fahrenheit" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 current champion in the NECW Heavyweight Championship? ### Context: CREATE TABLE table_name_44 (current_champion_s_ VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT current_champion_s_ FROM table_name_44 WHERE championship = "necw heavyweight champion" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which location held the Iron 8 Championship tournament? ### Context: CREATE TABLE table_name_65 (location VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT location FROM table_name_65 WHERE championship = "iron 8 championship tournament" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the capacity of 3500v volts? ### Context: CREATE TABLE table_name_4 (capacity VARCHAR, volts VARCHAR) [/INST] ### Response: SELECT capacity FROM table_name_4 WHERE volts = "3500v" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 volts has an energy-to-weight ratio of 54 kj/kg to 2.0v? ### Context: CREATE TABLE table_name_44 (volts VARCHAR, energy_to_weight_ratio VARCHAR) [/INST] ### Response: SELECT volts FROM table_name_44 WHERE energy_to_weight_ratio = "54 kj/kg to 2.0v" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 capacity with 2.7v volts and a power-to-weight ratio of 5.44 w/kg c/1 (1.875a)? ### Context: CREATE TABLE table_name_11 (capacity VARCHAR, volts VARCHAR, power_to_weight_ratio VARCHAR) [/INST] ### Response: SELECT capacity FROM table_name_11 WHERE volts = "2.7v" AND power_to_weight_ratio = "5.44 w/kg c/1 (1.875a)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season led to a position of 13, and a head coach of Protasov Lyutyi Talalayev Balakhnin Baidachny? ### Context: CREATE TABLE table_name_24 (season VARCHAR, pos VARCHAR, head_coach VARCHAR) [/INST] ### Response: SELECT season FROM table_name_24 WHERE pos = 13 AND head_coach = "protasov lyutyi talalayev balakhnin baidachny" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week had the highest attendance with 58,701? ### Context: CREATE TABLE table_name_77 (week INTEGER, attendance VARCHAR) [/INST] ### Response: SELECT MAX(week) FROM table_name_77 WHERE attendance = "58,701" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score of the game against the San Diego Chargers? ### Context: CREATE TABLE table_name_50 (week INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT SUM(week) FROM table_name_50 WHERE opponent = "san diego chargers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the attendance less than 44,851 during the first 4 weeks of the season? ### Context: CREATE TABLE table_name_90 (date VARCHAR, week VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT date FROM table_name_90 WHERE week < 4 AND attendance = "44,851" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week 13 what was the score of the game? ### Context: CREATE TABLE table_name_11 (result VARCHAR, week VARCHAR) [/INST] ### Response: SELECT result FROM table_name_11 WHERE week = 13 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What week had 58,025 in attendance? ### Context: CREATE TABLE table_name_87 (week INTEGER, attendance VARCHAR) [/INST] ### Response: SELECT SUM(week) FROM table_name_87 WHERE attendance = "58,025" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the game that had 58,025 people in attendance? ### Context: CREATE TABLE table_name_26 (date VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT date FROM table_name_26 WHERE attendance = "58,025" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Drawn games for Team Mackenzie where the Played is less and 11 and the Points are greater than 7? ### Context: CREATE TABLE table_name_58 (drawn INTEGER, team VARCHAR, played VARCHAR, points VARCHAR) [/INST] ### Response: SELECT MIN(drawn) FROM table_name_58 WHERE played < 11 AND points > 7 AND team = "mackenzie" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What number of Points are shown for Team Paulistano where the Drawn is less than 2 and the Against is less than 15? ### Context: CREATE TABLE table_name_95 (points VARCHAR, against VARCHAR, drawn VARCHAR, team VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_name_95 WHERE drawn < 2 AND team = "paulistano" AND against < 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 lost for Team Ypiranga-SP where the games Played is more than 10 and the goals Against is greater than 50? ### Context: CREATE TABLE table_name_71 (lost INTEGER, against VARCHAR, played VARCHAR, team VARCHAR) [/INST] ### Response: SELECT MIN(lost) FROM table_name_71 WHERE played > 10 AND team = "ypiranga-sp" AND against > 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 is the highest number of Played games with a Position smaller than 2 and Drawn games less than 4? ### Context: CREATE TABLE table_name_13 (played INTEGER, position VARCHAR, drawn VARCHAR) [/INST] ### Response: SELECT MAX(played) FROM table_name_13 WHERE position < 2 AND drawn < 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 average number of runner-up that National University, which has more than 2 total championships, has? ### Context: CREATE TABLE table_name_62 (runner_up INTEGER, university VARCHAR, total_championships VARCHAR) [/INST] ### Response: SELECT AVG(runner_up) FROM table_name_62 WHERE university = "national university" AND total_championships > 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was on the Progressive ticket when John T. Norton was on the Democratic ticket? ### Context: CREATE TABLE table_name_28 (progressive_ticket VARCHAR, democratic_ticket VARCHAR) [/INST] ### Response: SELECT progressive_ticket FROM table_name_28 WHERE democratic_ticket = "john t. norton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What name is under the Socialist ticket when Thomas J. Kreuzer was on the Democratic ticket? ### Context: CREATE TABLE table_name_92 (socialist_ticket VARCHAR, democratic_ticket VARCHAR) [/INST] ### Response: SELECT socialist_ticket FROM table_name_92 WHERE democratic_ticket = "thomas j. kreuzer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ran under the Republican ticket when Frank H. Hiscock ran under the Progressive ticket? ### Context: CREATE TABLE table_name_49 (republican_ticket VARCHAR, progressive_ticket VARCHAR) [/INST] ### Response: SELECT republican_ticket FROM table_name_49 WHERE progressive_ticket = "frank h. hiscock" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What name ran for the Prohibition ticket when the Progressive ticket was Eugene M. Travis? ### Context: CREATE TABLE table_name_14 (prohibition_ticket VARCHAR, progressive_ticket VARCHAR) [/INST] ### Response: SELECT prohibition_ticket FROM table_name_14 WHERE progressive_ticket = "eugene m. travis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Coleridge A. Hart ran under the Prohibition ticket who ran under the Independence League ticket? ### Context: CREATE TABLE table_name_93 (independence_league_ticket VARCHAR, prohibition_ticket VARCHAR) [/INST] ### Response: SELECT independence_league_ticket FROM table_name_93 WHERE prohibition_ticket = "coleridge a. hart" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the Republican ticket of Frank M. Williams who was the Progressive ticket? ### Context: CREATE TABLE table_name_63 (progressive_ticket VARCHAR, republican_ticket VARCHAR) [/INST] ### Response: SELECT progressive_ticket FROM table_name_63 WHERE republican_ticket = "frank m. williams" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What kind of Prohibition ticket that has a Office of lieutenant governor? ### Context: CREATE TABLE table_name_91 (prohibition_ticket VARCHAR, office VARCHAR) [/INST] ### Response: SELECT prohibition_ticket FROM table_name_91 WHERE office = "lieutenant governor" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Socialist Labor ticket has a Office of secretary of state? ### Context: CREATE TABLE table_name_78 (socialist_labor_ticket VARCHAR, office VARCHAR) [/INST] ### Response: SELECT socialist_labor_ticket FROM table_name_78 WHERE office = "secretary of state" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What kind of Republican ticket has a Prohibition ticket of stephen mead wing? ### Context: CREATE TABLE table_name_27 (republican_ticket VARCHAR, prohibition_ticket VARCHAR) [/INST] ### Response: SELECT republican_ticket FROM table_name_27 WHERE prohibition_ticket = "stephen mead wing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 kind of Democratic ticket has a Office of comptroller? ### Context: CREATE TABLE table_name_14 (democratic_ticket VARCHAR, office VARCHAR) [/INST] ### Response: SELECT democratic_ticket FROM table_name_14 WHERE office = "comptroller" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Prohibition ticket has a Socialist Labor ticket of joseph smith? ### Context: CREATE TABLE table_name_34 (prohibition_ticket VARCHAR, socialist_labor_ticket VARCHAR) [/INST] ### Response: SELECT prohibition_ticket FROM table_name_34 WHERE socialist_labor_ticket = "joseph smith" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 grid number when Colin Edwards is the rider? ### Context: CREATE TABLE table_name_46 (grid INTEGER, rider VARCHAR) [/INST] ### Response: SELECT MIN(grid) FROM table_name_46 WHERE rider = "colin edwards" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when there are less than 22 laps and honda is the manufacturer? ### Context: CREATE TABLE table_name_67 (time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR) [/INST] ### Response: SELECT time_retired FROM table_name_67 WHERE laps < 22 AND manufacturer = "honda" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the grid number is 9? ### Context: CREATE TABLE table_name_48 (laps INTEGER, grid VARCHAR) [/INST] ### Response: SELECT AVG(laps) FROM table_name_48 WHERE grid = 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest number of laps when honda is the manufacturer and the grid number is 12? ### Context: CREATE TABLE table_name_27 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT MAX(laps) FROM table_name_27 WHERE manufacturer = "honda" AND grid = 12 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the rider when the grid number is 3? ### Context: CREATE TABLE table_name_28 (rider VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT rider FROM table_name_28 WHERE grid = 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: How many laps were driven when the time/retired is +44.284? ### Context: CREATE TABLE table_name_93 (laps VARCHAR, time_retired VARCHAR) [/INST] ### Response: SELECT COUNT(laps) FROM table_name_93 WHERE time_retired = "+44.284" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value of the coin weighing 10.5 g and made of cupronickel? ### Context: CREATE TABLE table_name_52 (value VARCHAR, composition VARCHAR, weight VARCHAR) [/INST] ### Response: SELECT value FROM table_name_52 WHERE composition = "cupronickel" AND weight = "10.5 g" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 coin with a € equivalency of 0.30 made of? ### Context: CREATE TABLE table_name_67 (composition VARCHAR, €_equiv VARCHAR) [/INST] ### Response: SELECT composition FROM table_name_67 WHERE €_equiv = "0.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 coin that weighs 3 g made of? ### Context: CREATE TABLE table_name_33 (composition VARCHAR, weight VARCHAR) [/INST] ### Response: SELECT composition FROM table_name_33 WHERE weight = "3 g" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 diameter of the coin with a € equivalence of 0.60? ### Context: CREATE TABLE table_name_80 (diameter VARCHAR, €_equiv VARCHAR) [/INST] ### Response: SELECT diameter FROM table_name_80 WHERE €_equiv = "0.60" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 does the coin with a 14mm diameter weigh? ### Context: CREATE TABLE table_name_52 (weight VARCHAR, diameter VARCHAR) [/INST] ### Response: SELECT weight FROM table_name_52 WHERE diameter = "14mm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 coverage for the 99.5mhz frequency? ### Context: CREATE TABLE table_name_5 (coverage VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT coverage FROM table_name_5 WHERE frequency = "99.5mhz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 power in kW corresponding to the station that covers General Santos? ### Context: CREATE TABLE table_name_63 (power__kw_ VARCHAR, coverage VARCHAR) [/INST] ### Response: SELECT power__kw_ FROM table_name_63 WHERE coverage = "general santos" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 branding for the station with a frequency of 93.1mhz and a coverage of Zamboanga? ### Context: CREATE TABLE table_name_45 (branding VARCHAR, frequency VARCHAR, coverage VARCHAR) [/INST] ### Response: SELECT branding FROM table_name_45 WHERE frequency = "93.1mhz" AND coverage = "zamboanga" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 10kw station with DXEZ as its callsign? ### Context: CREATE TABLE table_name_25 (frequency VARCHAR, power__kw_ VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_25 WHERE power__kw_ = "10kw" AND callsign = "dxez" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 station with DYBT as its callsign? ### Context: CREATE TABLE table_name_53 (frequency VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_53 WHERE callsign = "dybt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 branding for the station with a frequency of 93.1mhz and a callsign of DWRX? ### Context: CREATE TABLE table_name_23 (branding VARCHAR, frequency VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT branding FROM table_name_23 WHERE frequency = "93.1mhz" AND callsign = "dwrx" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the lowest Total Passengers than has the Location of salvador, and the Rank larger than 5? ### Context: CREATE TABLE table_name_75 (total_passengers INTEGER, location VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MIN(total_passengers) FROM table_name_75 WHERE location = "salvador" AND rank > 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: Can you tell me the Annual change that has the Location of manaus? ### Context: CREATE TABLE table_name_48 (annual_change VARCHAR, location VARCHAR) [/INST] ### Response: SELECT annual_change FROM table_name_48 WHERE location = "manaus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 cuts made when there were more than 2 tournaments played in 2011? ### Context: CREATE TABLE table_name_50 (cuts_made INTEGER, tournaments_played VARCHAR, year VARCHAR) [/INST] ### Response: SELECT AVG(cuts_made) FROM table_name_50 WHERE tournaments_played > 2 AND year = 2011 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of wins with 10 cuts made and a score average under 74.09? ### Context: CREATE TABLE table_name_52 (wins VARCHAR, cuts_made VARCHAR, scoring_average VARCHAR) [/INST] ### Response: SELECT COUNT(wins) FROM table_name_52 WHERE cuts_made = 10 AND scoring_average < 74.09 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Madeleine Dupont's shot pct.? ### Context: CREATE TABLE table_name_96 (shot_pct VARCHAR, skip VARCHAR) [/INST] ### Response: SELECT shot_pct FROM table_name_96 WHERE skip = "madeleine dupont" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the Score that has the High assists of rafer alston (8)? ### Context: CREATE TABLE table_name_41 (score VARCHAR, high_assists VARCHAR) [/INST] ### Response: SELECT score FROM table_name_41 WHERE high_assists = "rafer alston (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: Can you tell me the High points that has the High rebounds of rafer alston (9)? ### Context: CREATE TABLE table_name_17 (high_points VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT high_points FROM table_name_17 WHERE high_rebounds = "rafer alston (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: Can you tell me the Score that has the Date of april 8? ### Context: CREATE TABLE table_name_22 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_22 WHERE date = "april 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 highest attendance for a game the Texan's played at Arrowhead Stadium? ### Context: CREATE TABLE table_name_87 (attendance INTEGER, game_site VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_87 WHERE game_site = "arrowhead stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who did the Texan's play on Week 4? ### Context: CREATE TABLE table_name_37 (opponent VARCHAR, week VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_37 WHERE week = "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 date for HOF week? ### Context: CREATE TABLE table_name_63 (date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_name_63 WHERE week = "hof" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Total, when FA Cup is 1 0 (3)? ### Context: CREATE TABLE table_name_77 (total VARCHAR, fa_cup VARCHAR) [/INST] ### Response: SELECT total FROM table_name_77 WHERE fa_cup = "1 0 (3)" </s>