text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the year that had Anugerah Bintang Popular Berita Harian 23 as competition? ### Context: CREATE TABLE table_name_30 (year VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_30 WHERE competition = "anugerah bintang popular berita harian 23" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What round was the game against Watford? ### Context: CREATE TABLE table_name_55 (round VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT round FROM table_name_55 WHERE opponent = "watford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the game with a result of 5-1 at N venue? ### Context: CREATE TABLE table_name_44 (round VARCHAR, venue VARCHAR, result VARCHAR) [/INST] ### Response: SELECT round FROM table_name_44 WHERE venue = "n" AND result = "5-1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest attendance at a game with a result of 5-1? ### Context: CREATE TABLE table_name_94 (attendance INTEGER, result VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_94 WHERE result = "5-1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the nationality of the winner on December 8, 1968? ### Context: CREATE TABLE table_name_99 (country VARCHAR, date VARCHAR) [/INST] ### Response: SELECT country FROM table_name_99 WHERE date = "december 8, 1968" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what date was the 48th Edition raced? ### Context: CREATE TABLE table_name_43 (date VARCHAR, edition VARCHAR) [/INST] ### Response: SELECT date FROM table_name_43 WHERE edition = "48th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nationality of the winner of the 42nd Edition? ### Context: CREATE TABLE table_name_90 (country VARCHAR, edition VARCHAR) [/INST] ### Response: SELECT country FROM table_name_90 WHERE edition = "42nd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nationality of the winner for the 20th Edition? ### Context: CREATE TABLE table_name_84 (country VARCHAR, edition VARCHAR) [/INST] ### Response: SELECT country FROM table_name_84 WHERE edition = "20th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the winner of the 23rd Edition? ### Context: CREATE TABLE table_name_58 (winner VARCHAR, edition VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_58 WHERE edition = "23rd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reported the game played on 1 september? ### Context: CREATE TABLE table_name_8 (report VARCHAR, date VARCHAR) [/INST] ### Response: SELECT report FROM table_name_8 WHERE date = "1 september" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reported the game on 6 october? ### Context: CREATE TABLE table_name_67 (report VARCHAR, date VARCHAR) [/INST] ### Response: SELECT report FROM table_name_67 WHERE date = "6 october" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 20 may? ### Context: CREATE TABLE table_name_19 (venue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_19 WHERE date = "20 may" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 on 1 september? ### Context: CREATE TABLE table_name_49 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_49 WHERE date = "1 september" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Total Holocaust records in the ed Remaster cassette format? ### Context: CREATE TABLE table_name_85 (date VARCHAR, label VARCHAR, format VARCHAR) [/INST] ### Response: SELECT date FROM table_name_85 WHERE label = "total holocaust records" AND format = "ed remaster cassette" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the catalog nr of thr-048 in 2004? ### Context: CREATE TABLE table_name_43 (country VARCHAR, date VARCHAR, catalog_nr VARCHAR) [/INST] ### Response: SELECT country FROM table_name_43 WHERE date = "2004" AND catalog_nr = "thr-048" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Debemur Morti prod. label from? ### Context: CREATE TABLE table_name_97 (country VARCHAR, label VARCHAR) [/INST] ### Response: SELECT country FROM table_name_97 WHERE label = "debemur morti prod." </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Sales Total has a Chart of oricon monthly albums chart? ### Context: CREATE TABLE table_name_30 (sales_total VARCHAR, chart VARCHAR) [/INST] ### Response: SELECT sales_total FROM table_name_30 WHERE chart = "oricon monthly albums chart" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Chart has a Peak Position of 1? ### Context: CREATE TABLE table_name_68 (chart VARCHAR, peak_position VARCHAR) [/INST] ### Response: SELECT chart FROM table_name_68 WHERE peak_position = 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: When has a Record of 1-3? ### Context: CREATE TABLE table_name_7 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_7 WHERE record = "1-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: Name the Visitor that has a Home of chicago black hawks on april 20? ### Context: CREATE TABLE table_name_74 (visitor VARCHAR, home VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_74 WHERE home = "chicago black hawks" AND date = "april 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: Which Score has a Record of 0-1? ### Context: CREATE TABLE table_name_61 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_61 WHERE record = "0-1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Date has a Record of 1-4? ### Context: CREATE TABLE table_name_34 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_34 WHERE record = "1-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 Home is on april 22? ### Context: CREATE TABLE table_name_45 (home VARCHAR, date VARCHAR) [/INST] ### Response: SELECT home FROM table_name_45 WHERE date = "april 22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Score has a Visitor of buffalo sabres and a Record of 1-3? ### Context: CREATE TABLE table_name_48 (score VARCHAR, visitor VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_48 WHERE visitor = "buffalo sabres" AND record = "1-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 Record of the February 26 date? ### Context: CREATE TABLE table_name_64 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_64 WHERE date = "february 26" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Record from February 10? ### Context: CREATE TABLE table_name_47 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_47 WHERE date = "february 10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Score of the Chicago Black Hawks Home game with the Visiting Vancouver Canucks on November 17? ### Context: CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT score FROM table_name_30 WHERE home = "chicago black hawks" AND visitor = "vancouver canucks" AND date = "november 17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Service Name has UTV as the owner? ### Context: CREATE TABLE table_name_60 (service_name VARCHAR, owner VARCHAR) [/INST] ### Response: SELECT service_name FROM table_name_60 WHERE owner = "utv" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 download of the varies catch-up period? ### Context: CREATE TABLE table_name_55 (download VARCHAR, catch_up_period VARCHAR) [/INST] ### Response: SELECT download FROM table_name_55 WHERE catch_up_period = "varies" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Catch-up period for UTV? ### Context: CREATE TABLE table_name_30 (catch_up_period VARCHAR, owner VARCHAR) [/INST] ### Response: SELECT catch_up_period FROM table_name_30 WHERE owner = "utv" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Service name of BBC? ### Context: CREATE TABLE table_name_53 (service_name VARCHAR, owner VARCHAR) [/INST] ### Response: SELECT service_name FROM table_name_53 WHERE owner = "bbc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 wins where the byes are less than 0? ### Context: CREATE TABLE table_name_15 (wins INTEGER, byes INTEGER) [/INST] ### Response: SELECT MIN(wins) FROM table_name_15 WHERE byes < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest number of wins where the losses are more than 12 and the draws are less than 0? ### Context: CREATE TABLE table_name_27 (wins INTEGER, losses VARCHAR, draws VARCHAR) [/INST] ### Response: SELECT MIN(wins) FROM table_name_27 WHERE losses > 12 AND draws < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average of wins when the byes are less than 0? ### Context: CREATE TABLE table_name_31 (wins INTEGER, byes INTEGER) [/INST] ### Response: SELECT AVG(wins) FROM table_name_31 WHERE byes < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of losses where the byes were greater than 0? ### Context: CREATE TABLE table_name_36 (losses VARCHAR, byes INTEGER) [/INST] ### Response: SELECT COUNT(losses) FROM table_name_36 WHERE byes > 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest number of byes where the losses were 9 and the draws were less than 0? ### Context: CREATE TABLE table_name_93 (byes INTEGER, losses VARCHAR, draws VARCHAR) [/INST] ### Response: SELECT MAX(byes) FROM table_name_93 WHERE losses = 9 AND draws < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the average losses for Geelong DFL of Bell Post Hill where the draws are less than 0? ### Context: CREATE TABLE table_name_73 (losses INTEGER, geelong_dfl VARCHAR, draws VARCHAR) [/INST] ### Response: SELECT AVG(losses) FROM table_name_73 WHERE geelong_dfl = "bell post hill" AND draws < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Yards have Carries smaller than 23, and a Team of at chi, and an Average smaller than 8.5? ### Context: CREATE TABLE table_name_5 (yards INTEGER, average VARCHAR, carries VARCHAR, team VARCHAR) [/INST] ### Response: SELECT MIN(yards) FROM table_name_5 WHERE carries < 23 AND team = "at chi" AND average < 8.5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Team has 19 Carries, and a Week larger than 13? ### Context: CREATE TABLE table_name_18 (team VARCHAR, carries VARCHAR, week VARCHAR) [/INST] ### Response: SELECT team FROM table_name_18 WHERE carries = 19 AND 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: Which Average has Yards larger than 167, and a Team of at tb, and a Week larger than 7? ### Context: CREATE TABLE table_name_98 (average INTEGER, week VARCHAR, yards VARCHAR, team VARCHAR) [/INST] ### Response: SELECT MIN(average) FROM table_name_98 WHERE yards > 167 AND team = "at tb" AND week > 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 result of the game with 57,234 people in attendance? ### Context: CREATE TABLE table_name_17 (result VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result FROM table_name_17 WHERE attendance = "57,234" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many people attended the game with a kickoff time of cbs 1:00pm, in a week earlier than 8, on September 15, 2002? ### Context: CREATE TABLE table_name_56 (attendance VARCHAR, date VARCHAR, kickoff_time VARCHAR, week VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_56 WHERE kickoff_time = "cbs 1:00pm" AND week < 8 AND date = "september 15, 2002" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 kickoff time for the game in week of 17? ### Context: CREATE TABLE table_name_92 (kickoff_time VARCHAR, week VARCHAR) [/INST] ### Response: SELECT kickoff_time FROM table_name_92 WHERE week = 17 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What week was the opponent the San Diego Chargers? ### Context: CREATE TABLE table_name_71 (week INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT AVG(week) FROM table_name_71 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: What week number was the kickoff time cbs 1:00pm, with 60,473 people in attendance? ### Context: CREATE TABLE table_name_12 (week VARCHAR, kickoff_time VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT COUNT(week) FROM table_name_12 WHERE kickoff_time = "cbs 1:00pm" AND attendance = "60,473" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 kickoff time on November 10, 2002? ### Context: CREATE TABLE table_name_28 (kickoff_time VARCHAR, date VARCHAR) [/INST] ### Response: SELECT kickoff_time FROM table_name_28 WHERE date = "november 10, 2002" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What District has a College or Campus Name of anna university college of engineering kanchipuram? ### Context: CREATE TABLE table_name_31 (district VARCHAR, college_or_campus_name VARCHAR) [/INST] ### Response: SELECT district FROM table_name_31 WHERE college_or_campus_name = "anna university college of engineering kanchipuram" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What District has a Location of tharamani? ### Context: CREATE TABLE table_name_24 (district VARCHAR, location VARCHAR) [/INST] ### Response: SELECT district FROM table_name_24 WHERE location = "tharamani" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Location has a College or Campus Name of anna university - tharamani campus? ### Context: CREATE TABLE table_name_81 (location VARCHAR, college_or_campus_name VARCHAR) [/INST] ### Response: SELECT location FROM table_name_81 WHERE college_or_campus_name = "anna university - tharamani campus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Weblink has a College or Campus Name of anna university college of engineering kanchipuram? ### Context: CREATE TABLE table_name_85 (weblink VARCHAR, college_or_campus_name VARCHAR) [/INST] ### Response: SELECT weblink FROM table_name_85 WHERE college_or_campus_name = "anna university college of engineering kanchipuram" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What District has a Location of villupuram? ### Context: CREATE TABLE table_name_53 (district VARCHAR, location VARCHAR) [/INST] ### Response: SELECT district FROM table_name_53 WHERE location = "villupuram" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Weblink has a College or Campus Name of anna university college of engineering tindivanam? ### Context: CREATE TABLE table_name_76 (weblink VARCHAR, college_or_campus_name VARCHAR) [/INST] ### Response: SELECT weblink FROM table_name_76 WHERE college_or_campus_name = "anna university college of engineering tindivanam" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Super G has Victories of 26, and a Country of austria? ### Context: CREATE TABLE table_name_31 (super_g VARCHAR, victories VARCHAR, country VARCHAR) [/INST] ### Response: SELECT super_g FROM table_name_31 WHERE victories = 26 AND country = "austria" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Super G has a Career of 1980–1996? ### Context: CREATE TABLE table_name_25 (super_g VARCHAR, career VARCHAR) [/INST] ### Response: SELECT super_g FROM table_name_25 WHERE career = "1980–1996" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Career has a Parallel of –, a Combined of –, and a Giant Slalom of 5? ### Context: CREATE TABLE table_name_6 (career VARCHAR, giant_slalom VARCHAR, parallel VARCHAR, combined VARCHAR) [/INST] ### Response: SELECT career FROM table_name_6 WHERE parallel = "–" AND combined = "–" AND giant_slalom = "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 Country has a Career of 1989–2004? ### Context: CREATE TABLE table_name_26 (country VARCHAR, career VARCHAR) [/INST] ### Response: SELECT country FROM table_name_26 WHERE career = "1989–2004" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Giant Slalom has Victories larger than 27, a Slalom of –, and a Career of 1996–2009? ### Context: CREATE TABLE table_name_45 (giant_slalom VARCHAR, career VARCHAR, victories VARCHAR, slalom VARCHAR) [/INST] ### Response: SELECT giant_slalom FROM table_name_45 WHERE victories > 27 AND slalom = "–" AND career = "1996–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 Career has a Super G of 5, and a Combined of 6? ### Context: CREATE TABLE table_name_61 (career VARCHAR, super_g VARCHAR, combined VARCHAR) [/INST] ### Response: SELECT career FROM table_name_61 WHERE super_g = "5" AND combined = "6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Class has a Year(s) of Manufacture of 1899? ### Context: CREATE TABLE table_name_32 (class VARCHAR, year_s__of_manufacture VARCHAR) [/INST] ### Response: SELECT class FROM table_name_32 WHERE year_s__of_manufacture = "1899" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Year(s) of Manufacture has a Quantity larger than 60, and a Number(s) of 7001–7165? ### Context: CREATE TABLE table_name_49 (year_s__of_manufacture VARCHAR, quantity VARCHAR, number_s_ VARCHAR) [/INST] ### Response: SELECT year_s__of_manufacture FROM table_name_49 WHERE quantity > 60 AND number_s_ = "7001–7165" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Quantity has a Type of e h4v, and a Year(s) of Manufacture of 1920–1924? ### Context: CREATE TABLE table_name_87 (quantity INTEGER, type VARCHAR, year_s__of_manufacture VARCHAR) [/INST] ### Response: SELECT MIN(quantity) FROM table_name_87 WHERE type = "e h4v" AND year_s__of_manufacture = "1920–1924" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Shaun Murphy's outcome in the Premier League Snooker championship held before 2010? ### Context: CREATE TABLE table_name_1 (outcome VARCHAR, championship VARCHAR, year VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_1 WHERE championship = "premier league snooker" AND year < 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 league has a 3-1 home? ### Context: CREATE TABLE table_name_33 (league VARCHAR, home VARCHAR) [/INST] ### Response: SELECT league FROM table_name_33 WHERE home = "3-1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the home with a 1-1 away in the 2004-05 season? ### Context: CREATE TABLE table_name_99 (home VARCHAR, away VARCHAR, season VARCHAR) [/INST] ### Response: SELECT home FROM table_name_99 WHERE away = "1-1" AND season = "2004-05" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teams were in the 2006-07 season? ### Context: CREATE TABLE table_name_41 (teams VARCHAR, season VARCHAR) [/INST] ### Response: SELECT teams FROM table_name_41 WHERE season = "2006-07" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 league with a 0:1 home? ### Context: CREATE TABLE table_name_37 (league VARCHAR, home VARCHAR) [/INST] ### Response: SELECT league FROM table_name_37 WHERE home = "0:1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What season has a regionalliga süd league, a 1-0 home, and an away of 2-3? ### Context: CREATE TABLE table_name_38 (season VARCHAR, away VARCHAR, league VARCHAR, home VARCHAR) [/INST] ### Response: SELECT season FROM table_name_38 WHERE league = "regionalliga süd" AND home = "1-0" AND away = "2-3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which season has the regionalliga süd (iii) league? ### Context: CREATE TABLE table_name_41 (season VARCHAR, league VARCHAR) [/INST] ### Response: SELECT season FROM table_name_41 WHERE league = "regionalliga süd (iii)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 smallest number of gold of a country of rank 6, with 2 bronzes? ### Context: CREATE TABLE table_name_71 (gold INTEGER, total VARCHAR, bronze VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MIN(gold) FROM table_name_71 WHERE bronze = 2 AND rank = 6 AND total > 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 rank of the country with more than 2 medals, and 2 gold medals? ### Context: CREATE TABLE table_name_83 (rank VARCHAR, total VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_83 WHERE total > 2 AND gold = 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: How many total medals does a country with more than 1 silver medals have? ### Context: CREATE TABLE table_name_32 (total INTEGER, silver INTEGER) [/INST] ### Response: SELECT SUM(total) FROM table_name_32 WHERE silver > 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the co-contestant (yaar vs. Pyaar) with Vishal Singh as the main contestant? ### Context: CREATE TABLE table_name_90 (co_contestant__yaar_vs_pyaar_ VARCHAR, main_contestant VARCHAR) [/INST] ### Response: SELECT co_contestant__yaar_vs_pyaar_ FROM table_name_90 WHERE main_contestant = "vishal singh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 main contestant with scores by each individual judge of 8 + 7 + 7 = 21? ### Context: CREATE TABLE table_name_62 (main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR) [/INST] ### Response: SELECT main_contestant FROM table_name_62 WHERE scores_by_each_individual_judge = 8 + 7 + 7 = 21 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the main contestant with a total score/week of 42/60 and a co-contestant (Yaar vs. Pyaa) of Tina Sachdev? ### Context: CREATE TABLE table_name_29 (main_contestant VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) [/INST] ### Response: SELECT main_contestant FROM table_name_29 WHERE total_score_week = "42/60" AND co_contestant__yaar_vs_pyaar_ = "tina sachdev" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tina Sachdev's position? ### Context: CREATE TABLE table_name_60 (position VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) [/INST] ### Response: SELECT position FROM table_name_60 WHERE co_contestant__yaar_vs_pyaar_ = "tina sachdev" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the Rank of Rank Mountain Peak of crested butte pb? ### Context: CREATE TABLE table_name_43 (rank VARCHAR, mountain_peak VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_43 WHERE mountain_peak = "crested butte pb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the Prominence of the Mountain Peak of matchless mountain pb? ### Context: CREATE TABLE table_name_81 (prominence VARCHAR, mountain_peak VARCHAR) [/INST] ### Response: SELECT prominence FROM table_name_81 WHERE mountain_peak = "matchless mountain pb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Mary Elizabeth Mastrantonio nominated? ### Context: CREATE TABLE table_name_63 (year VARCHAR, nominee VARCHAR) [/INST] ### Response: SELECT year FROM table_name_63 WHERE nominee = "mary elizabeth mastrantonio" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result for the nomination of Best Revival of a Musical? ### Context: CREATE TABLE table_name_90 (result VARCHAR, category VARCHAR) [/INST] ### Response: SELECT result FROM table_name_90 WHERE category = "best revival of a musical" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Nanquan has a Nandao larger than 9.49, and a Rank of 4? ### Context: CREATE TABLE table_name_76 (nanquan VARCHAR, nandao VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT nanquan FROM table_name_76 WHERE nandao > 9.49 AND rank = 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Nanquan has a Nandao smaller than 9.44, and a Rank smaller than 9, and a Total larger than 18.68? ### Context: CREATE TABLE table_name_27 (nanquan INTEGER, total VARCHAR, nandao VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MIN(nanquan) FROM table_name_27 WHERE nandao < 9.44 AND rank < 9 AND total > 18.68 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 weeks have a Winning team of yellow team, and an Event of foos it or lose it? ### Context: CREATE TABLE table_name_75 (week INTEGER, winning_team VARCHAR, event VARCHAR) [/INST] ### Response: SELECT SUM(week) FROM table_name_75 WHERE winning_team = "yellow team" AND event = "foos it or lose it" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has an Air Date of august 2, 2008? ### Context: CREATE TABLE table_name_62 (week VARCHAR, air_date VARCHAR) [/INST] ### Response: SELECT week FROM table_name_62 WHERE air_date = "august 2, 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: Which Week has an Air Date of august 30, 2008? ### Context: CREATE TABLE table_name_73 (week VARCHAR, air_date VARCHAR) [/INST] ### Response: SELECT week FROM table_name_73 WHERE air_date = "august 30, 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: Which Winners club has a Week of 4.5? ### Context: CREATE TABLE table_name_20 (winners_club VARCHAR, week VARCHAR) [/INST] ### Response: SELECT winners_club FROM table_name_20 WHERE week = 4.5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Winners club has an Event of hang tight? ### Context: CREATE TABLE table_name_68 (winners_club VARCHAR, event VARCHAR) [/INST] ### Response: SELECT winners_club FROM table_name_68 WHERE event = "hang tight" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: on what date was tie number 4? ### Context: CREATE TABLE table_name_80 (date VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT date FROM table_name_80 WHERE tie_no = "4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: minehead has what tie number? ### Context: CREATE TABLE table_name_3 (tie_no VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_3 WHERE home_team = "minehead" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 enfield's tie number? ### Context: CREATE TABLE table_name_47 (tie_no VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_47 WHERE home_team = "enfield" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What show was played on ABC laster after 2002? ### Context: CREATE TABLE table_name_15 (show VARCHAR, network__last_aired_ VARCHAR, last_aired VARCHAR) [/INST] ### Response: SELECT show FROM table_name_15 WHERE network__last_aired_ = "abc" AND last_aired > 2002 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 soul train music awards return? ### Context: CREATE TABLE table_name_49 (returning VARCHAR, show VARCHAR) [/INST] ### Response: SELECT returning FROM table_name_49 WHERE show = "soul train music awards" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a show last aired in 2002 return? ### Context: CREATE TABLE table_name_13 (returning VARCHAR, last_aired VARCHAR) [/INST] ### Response: SELECT returning FROM table_name_13 WHERE last_aired = 2002 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Venue has a Past Season of 2nd? ### Context: CREATE TABLE table_name_89 (venue VARCHAR, past_season VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_89 WHERE past_season = "2nd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the Venue of Head Coach Ali Asghar Modir Roosta? ### Context: CREATE TABLE table_name_93 (capacity INTEGER, head_coach VARCHAR) [/INST] ### Response: SELECT MAX(capacity) FROM table_name_93 WHERE head_coach = "ali asghar modir roosta" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the Venue of Head Coach Farhad Kazemi? ### Context: CREATE TABLE table_name_34 (capacity INTEGER, head_coach VARCHAR) [/INST] ### Response: SELECT SUM(capacity) FROM table_name_34 WHERE head_coach = "farhad kazemi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1991-1992 has a Team of gimnasia de la plata, and more than 113 points? ### Context: CREATE TABLE table_name_57 (team VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(1991 AS _1992) FROM table_name_57 WHERE team = "gimnasia de la plata" AND points > 113 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What role did Pick # 10 have? ### Context: CREATE TABLE table_name_22 (role VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT role FROM table_name_22 WHERE pick__number = 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the real name of the male wrestler from Raw with a pick # smaller than 6? ### Context: CREATE TABLE table_name_94 (employee__real_name_ VARCHAR, role VARCHAR, pick__number VARCHAR, brand__from_ VARCHAR) [/INST] ### Response: SELECT employee__real_name_ FROM table_name_94 WHERE pick__number < 6 AND brand__from_ = "raw" AND role = "male wrestler" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Pick # 3 works for which brand? ### Context: CREATE TABLE table_name_5 (brand__from_ VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT brand__from_ FROM table_name_5 WHERE pick__number = 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 real name of the Pick # that is greater than 9? ### Context: CREATE TABLE table_name_67 (employee__real_name_ VARCHAR, pick__number INTEGER) [/INST] ### Response: SELECT employee__real_name_ FROM table_name_67 WHERE pick__number > 9 </s>