text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the NFL club with a pick less than 74 and a round greater than 2? ### Context: CREATE TABLE table_name_39 (nfl_club VARCHAR, pick VARCHAR, round VARCHAR) [/INST] ### Response: SELECT nfl_club FROM table_name_39 WHERE pick < 74 AND round > 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: Which Conference Semifinals has a Record of 55–27? ### Context: CREATE TABLE table_name_73 (conference_semifinals VARCHAR, record VARCHAR) [/INST] ### Response: SELECT conference_semifinals FROM table_name_73 WHERE record = "55–27" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Conference Semifinals has a Conference Finals of † denotes division championship? ### Context: CREATE TABLE table_name_57 (conference_semifinals VARCHAR, conference_finals VARCHAR) [/INST] ### Response: SELECT conference_semifinals FROM table_name_57 WHERE conference_finals = "† denotes division championship" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Conference Finals has a Seed of † denotes division championship? ### Context: CREATE TABLE table_name_32 (conference_finals VARCHAR, seed VARCHAR) [/INST] ### Response: SELECT conference_finals FROM table_name_32 WHERE seed = "† denotes division championship" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What rank is the publication the observer music monthly? ### Context: CREATE TABLE table_name_43 (rank VARCHAR, publication VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_43 WHERE publication = "the observer music monthly" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the publication the observer music monthly highest year? ### Context: CREATE TABLE table_name_10 (year INTEGER, publication VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_10 WHERE publication = "the observer music monthly" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average Attendance, when Venue is "Candlestick Park", and when Date is "December 27"? ### Context: CREATE TABLE table_name_71 (attendance INTEGER, venue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_71 WHERE venue = "candlestick park" AND date = "december 27" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Result, when Date is "November 22"? ### Context: CREATE TABLE table_name_32 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_32 WHERE date = "november 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: What is the average Attendance, when Venue is "Candlestick Park", and when Date is "November 25"? ### Context: CREATE TABLE table_name_54 (attendance INTEGER, venue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_54 WHERE venue = "candlestick park" AND date = "november 25" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What bronze has tatiana ryabkina as the silver, anne margrethe hausken as the gold? ### Context: CREATE TABLE table_name_55 (bronze VARCHAR, silver VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT bronze FROM table_name_55 WHERE silver = "tatiana ryabkina" AND gold = "anne margrethe hausken" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What label is in CD format in Australia? ### Context: CREATE TABLE table_name_14 (label VARCHAR, format VARCHAR, region VARCHAR) [/INST] ### Response: SELECT label FROM table_name_14 WHERE format = "cd" AND region = "australia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the label for catalog number CRG3P-90054? ### Context: CREATE TABLE table_name_96 (label VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT label FROM table_name_96 WHERE catalog = "crg3p-90054" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the format for the MCA label? ### Context: CREATE TABLE table_name_40 (format VARCHAR, label VARCHAR) [/INST] ### Response: SELECT format FROM table_name_40 WHERE label = "mca" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 catalog number for the Grilled Cheese label? ### Context: CREATE TABLE table_name_33 (catalog VARCHAR, label VARCHAR) [/INST] ### Response: SELECT catalog FROM table_name_33 WHERE label = "grilled cheese" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 region has the format CD and label MCA? ### Context: CREATE TABLE table_name_15 (region VARCHAR, format VARCHAR, label VARCHAR) [/INST] ### Response: SELECT region FROM table_name_15 WHERE format = "cd" AND label = "mca" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the format for the label Mightier than Sword on January 12, 2010 in the United States? ### Context: CREATE TABLE table_name_50 (format VARCHAR, label VARCHAR, region VARCHAR, date VARCHAR) [/INST] ### Response: SELECT format FROM table_name_50 WHERE region = "united states" AND date = "january 12, 2010" AND label = "mightier than sword" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which station that sat 54m above seal level is now Closed? ### Context: CREATE TABLE table_name_15 (station VARCHAR, height_above_sea_level__m_ VARCHAR) [/INST] ### Response: SELECT station FROM table_name_15 WHERE height_above_sea_level__m_ = "54m" AND "closed" = "closed" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Opened prior to 1877 only 2.44km from Wellington, when did this station close? ### Context: CREATE TABLE table_name_6 (closed VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR) [/INST] ### Response: SELECT closed FROM table_name_6 WHERE opened < 1877 AND distance_from_wellington = "2.44km" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 height above sea level for the station opened 175.67km from Wellington prior to 1887? ### Context: CREATE TABLE table_name_2 (height_above_sea_level__m_ VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR) [/INST] ### Response: SELECT height_above_sea_level__m_ FROM table_name_2 WHERE opened < 1887 AND distance_from_wellington = "175.67km" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For the station opened after 1876 at 604.53km from Wellington, what is the height above sea level? ### Context: CREATE TABLE table_name_22 (height_above_sea_level__m_ VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR) [/INST] ### Response: SELECT height_above_sea_level__m_ FROM table_name_22 WHERE opened > 1876 AND distance_from_wellington = "604.53km" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the opponent at the game attended by 70,012? ### Context: CREATE TABLE table_name_81 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_81 WHERE attendance = "70,012" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the post-week 2 game with a result of l 16–10? ### Context: CREATE TABLE table_name_58 (date VARCHAR, week VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date FROM table_name_58 WHERE week > 2 AND result = "l 16–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 highest to par number for Justin Leonard when the total is less than 297? ### Context: CREATE TABLE table_name_27 (to_par INTEGER, player VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MAX(to_par) FROM table_name_27 WHERE player = "justin leonard" AND total < 297 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total when the finish was t44? ### Context: CREATE TABLE table_name_99 (total VARCHAR, finish VARCHAR) [/INST] ### Response: SELECT total FROM table_name_99 WHERE finish = "t44" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total larger than 293, and a to par less than 17? ### Context: CREATE TABLE table_name_79 (country VARCHAR, total VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT country FROM table_name_79 WHERE total > 293 AND to_par < 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: When Karaorman is Team 1, what is the Agg.? ### Context: CREATE TABLE table_name_48 (agg VARCHAR, team_1 VARCHAR) [/INST] ### Response: SELECT agg FROM table_name_48 WHERE team_1 = "karaorman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 week 3 when week 6 is 26.05? ### Context: CREATE TABLE table_name_78 (week_3 VARCHAR, week_6 VARCHAR) [/INST] ### Response: SELECT week_3 FROM table_name_78 WHERE week_6 = "26.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: What is week 5 when week 2 is 36.80, and week 4 is 39.75? ### Context: CREATE TABLE table_name_96 (week_5 VARCHAR, week_2 VARCHAR, week_4 VARCHAR) [/INST] ### Response: SELECT week_5 FROM table_name_96 WHERE week_2 = "36.80" AND week_4 = "39.75" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 week 4 if week 3 is 35.40? ### Context: CREATE TABLE table_name_26 (week_4 VARCHAR, week_3 VARCHAR) [/INST] ### Response: SELECT week_4 FROM table_name_26 WHERE week_3 = "35.40" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is week 7 when week 3 is 35.90? ### Context: CREATE TABLE table_name_62 (week_7 VARCHAR, week_3 VARCHAR) [/INST] ### Response: SELECT week_7 FROM table_name_62 WHERE week_3 = "35.90" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 week 6 when week 7, week 4, and week 3 are evicted and week 2 29.35? ### Context: CREATE TABLE table_name_22 (week_6 VARCHAR, week_2 VARCHAR, week_3 VARCHAR, week_7 VARCHAR, week_4 VARCHAR) [/INST] ### Response: SELECT week_6 FROM table_name_22 WHERE week_7 = "evicted" AND week_4 = "evicted" AND week_3 = "evicted" AND week_2 = "29.35" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 week 5 when week 6 is evicted, and week 2 is 34.55? ### Context: CREATE TABLE table_name_3 (week_5 VARCHAR, week_6 VARCHAR, week_2 VARCHAR) [/INST] ### Response: SELECT week_5 FROM table_name_3 WHERE week_6 = "evicted" AND week_2 = "34.55" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the purse worth (¥) after 2012? ### Context: CREATE TABLE table_name_42 (purse__ INTEGER, year INTEGER) [/INST] ### Response: SELECT SUM(purse__) AS ¥_ FROM table_name_42 WHERE year > 2012 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What place had a score of 67-67=134? ### Context: CREATE TABLE table_name_72 (place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT place FROM table_name_72 WHERE score = 67 - 67 = 134 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 placed t3 with a score of 70-65=135? ### Context: CREATE TABLE table_name_52 (country VARCHAR, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_52 WHERE place = "t3" AND score = 70 - 65 = 135 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What player placed t6 for the United States with a score of 67-69=136? ### Context: CREATE TABLE table_name_71 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_71 WHERE country = "united states" AND place = "t6" AND score = 67 - 69 = 136 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Competition, when Round is "Group A - Match 1"? ### Context: CREATE TABLE table_name_59 (competition VARCHAR, round VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_59 WHERE round = "group a - match 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 Date and Time, when Competition is "Serie A", and when Result is "0-3"? ### Context: CREATE TABLE table_name_2 (date_and_time VARCHAR, competition VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date_and_time FROM table_name_2 WHERE competition = "serie a" AND result = "0-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 Competition, when Round is "8 A"? ### Context: CREATE TABLE table_name_1 (competition VARCHAR, round VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_1 WHERE round = "8 a" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is City of License, when Frequency is greater than 1380? ### Context: CREATE TABLE table_name_80 (city_of_license VARCHAR, frequency INTEGER) [/INST] ### Response: SELECT city_of_license FROM table_name_80 WHERE frequency > 1380 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Brand, when Frequency is "640"? ### Context: CREATE TABLE table_name_68 (brand VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT brand FROM table_name_68 WHERE frequency = 640 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Frequency, when Type is "Norteño", and when Brand is "La Cotorra"? ### Context: CREATE TABLE table_name_87 (frequency INTEGER, type VARCHAR, brand VARCHAR) [/INST] ### Response: SELECT AVG(frequency) FROM table_name_87 WHERE type = "norteño" AND brand = "la cotorra" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Type, when Frequency is "1480"? ### Context: CREATE TABLE table_name_97 (type VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT type FROM table_name_97 WHERE frequency = 1480 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Frequency, when Type is "Christian Pop"? ### Context: CREATE TABLE table_name_13 (frequency INTEGER, type VARCHAR) [/INST] ### Response: SELECT SUM(frequency) FROM table_name_13 WHERE type = "christian pop" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Type, when Callsign is "Xetam"? ### Context: CREATE TABLE table_name_50 (type VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT type FROM table_name_50 WHERE callsign = "xetam" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Chief Judge has Appointed by of reagan category:articles with hcards? ### Context: CREATE TABLE table_name_42 (chief_judge VARCHAR, appointed_by VARCHAR) [/INST] ### Response: SELECT chief_judge FROM table_name_42 WHERE appointed_by = "reagan category:articles with hcards" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Senior status has a Chief Judge of —, a Reason for termination of death, and Active service of 1967–1983? ### Context: CREATE TABLE table_name_18 (senior_status VARCHAR, active_service VARCHAR, chief_judge VARCHAR, reason_for_termination VARCHAR) [/INST] ### Response: SELECT senior_status FROM table_name_18 WHERE chief_judge = "—" AND reason_for_termination = "death" AND active_service = "1967–1983" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Senior status has Appointed by of l. johnson category:articles with hcards, and Born/Died of 1918–2009? ### Context: CREATE TABLE table_name_7 (senior_status VARCHAR, appointed_by VARCHAR, born_died VARCHAR) [/INST] ### Response: SELECT senior_status FROM table_name_7 WHERE appointed_by = "l. johnson category:articles with hcards" AND born_died = "1918–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: Which Chief Judge has Active service of 1873–1875? ### Context: CREATE TABLE table_name_23 (chief_judge VARCHAR, active_service VARCHAR) [/INST] ### Response: SELECT chief_judge FROM table_name_23 WHERE active_service = "1873–1875" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Reason for termination has Appointed by of eisenhower category:articles with hcards? ### Context: CREATE TABLE table_name_14 (reason_for_termination VARCHAR, appointed_by VARCHAR) [/INST] ### Response: SELECT reason_for_termination FROM table_name_14 WHERE appointed_by = "eisenhower category:articles with hcards" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Senior status has a Chief Judge of 1991–1995? ### Context: CREATE TABLE table_name_30 (senior_status VARCHAR, chief_judge VARCHAR) [/INST] ### Response: SELECT senior_status FROM table_name_30 WHERE chief_judge = "1991–1995" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the Wolverhampton Wanderers play at home? ### Context: CREATE TABLE table_name_52 (date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_52 WHERE home_team = "wolverhampton wanderers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are 2004's notes? ### Context: CREATE TABLE table_name_88 (notes VARCHAR, year VARCHAR) [/INST] ### Response: SELECT notes FROM table_name_88 WHERE year = 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 year did Yuri Omeltchenko win Silver? ### Context: CREATE TABLE table_name_57 (year VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT year FROM table_name_57 WHERE silver = "yuri omeltchenko" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who won Silver in 2000? ### Context: CREATE TABLE table_name_53 (silver VARCHAR, year VARCHAR) [/INST] ### Response: SELECT silver FROM table_name_53 WHERE year = 2000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score on April 12? ### Context: CREATE TABLE table_name_88 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_88 WHERE date = "april 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: What is the score on April 5? ### Context: CREATE TABLE table_name_64 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_64 WHERE date = "april 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 was the result when there were 6 matches? ### Context: CREATE TABLE table_name_13 (result VARCHAR, matches VARCHAR) [/INST] ### Response: SELECT result FROM table_name_13 WHERE matches = "6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year was the result did not qualify? ### Context: CREATE TABLE table_name_85 (year VARCHAR, result VARCHAR) [/INST] ### Response: SELECT year FROM table_name_85 WHERE result = "did not qualify" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in 2008? ### Context: CREATE TABLE table_name_99 (result VARCHAR, year VARCHAR) [/INST] ### Response: SELECT result FROM table_name_99 WHERE year = "2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the to par score for Tim Herron, who had a score of 69-72=141? ### Context: CREATE TABLE table_name_92 (to_par VARCHAR, player VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_92 WHERE score = 69 - 72 = 141 AND player = "tim herron" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 golfer finished with a score of 70-71=141? ### Context: CREATE TABLE table_name_40 (player VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_40 WHERE score = 70 - 71 = 141 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what place did Adam Scott, who had a to par score of +1, finish? ### Context: CREATE TABLE table_name_17 (place VARCHAR, to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_17 WHERE to_par = "+1" AND player = "adam scott" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what place did the golfer that scored 66-74=140 finish? ### Context: CREATE TABLE table_name_19 (place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT place FROM table_name_19 WHERE score = 66 - 74 = 140 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which player has a place of t2? ### Context: CREATE TABLE table_name_4 (player VARCHAR, place VARCHAR) [/INST] ### Response: SELECT player FROM table_name_4 WHERE place = "t2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for Nick Faldo? ### Context: CREATE TABLE table_name_83 (score VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_83 WHERE player = "nick faldo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average against of Leopold with more than 11 wins? ### Context: CREATE TABLE table_name_46 (against INTEGER, geelong_fl VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT AVG(against) FROM table_name_46 WHERE geelong_fl = "leopold" AND wins > 11 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wins for Leopold that had fewer than 1706 against? ### Context: CREATE TABLE table_name_99 (wins INTEGER, against VARCHAR, geelong_fl VARCHAR) [/INST] ### Response: SELECT SUM(wins) FROM table_name_99 WHERE against < 1706 AND geelong_fl = "leopold" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 largest number of draws of St Josephs with losses greater than 6 and less than 1250 against? ### Context: CREATE TABLE table_name_22 (draws INTEGER, against VARCHAR, losses VARCHAR, geelong_fl VARCHAR) [/INST] ### Response: SELECT MAX(draws) FROM table_name_22 WHERE losses > 6 AND geelong_fl = "st josephs" AND against < 1250 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 against when they had 14 losses and more than 0 byes? ### Context: CREATE TABLE table_name_34 (against INTEGER, losses VARCHAR, byes VARCHAR) [/INST] ### Response: SELECT SUM(against) FROM table_name_34 WHERE losses = 14 AND 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 Classification, when Dennis Kucinich is "3%", and when % of All is "53%"? ### Context: CREATE TABLE table_name_82 (classification VARCHAR, dennis_kucinich VARCHAR, _percentage_of_all VARCHAR) [/INST] ### Response: SELECT classification FROM table_name_82 WHERE dennis_kucinich = "3%" AND _percentage_of_all = "53%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Dennis Kucinich, when % of All is "53%"? ### Context: CREATE TABLE table_name_38 (dennis_kucinich VARCHAR, _percentage_of_all VARCHAR) [/INST] ### Response: SELECT dennis_kucinich FROM table_name_38 WHERE _percentage_of_all = "53%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 John Edwards, when John Kerry is "70%"? ### Context: CREATE TABLE table_name_41 (john_edwards VARCHAR, john_kerry VARCHAR) [/INST] ### Response: SELECT john_edwards FROM table_name_41 WHERE john_kerry = "70%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Dennis Kucinich, when Classification is "Democrat"? ### Context: CREATE TABLE table_name_48 (dennis_kucinich VARCHAR, classification VARCHAR) [/INST] ### Response: SELECT dennis_kucinich FROM table_name_48 WHERE classification = "democrat" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 John Kerry, when John Edwards is "20%"? ### Context: CREATE TABLE table_name_94 (john_kerry VARCHAR, john_edwards VARCHAR) [/INST] ### Response: SELECT john_kerry FROM table_name_94 WHERE john_edwards = "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: What is % of All, when Dennis Kucinich is "5%"? ### Context: CREATE TABLE table_name_52 (_percentage_of_all VARCHAR, dennis_kucinich VARCHAR) [/INST] ### Response: SELECT _percentage_of_all FROM table_name_52 WHERE dennis_kucinich = "5%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the second round? ### Context: CREATE TABLE table_name_66 (date VARCHAR, round VARCHAR) [/INST] ### Response: SELECT date FROM table_name_66 WHERE round = "second round" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round on 26 August 1995? ### Context: CREATE TABLE table_name_52 (round VARCHAR, date VARCHAR) [/INST] ### Response: SELECT round FROM table_name_52 WHERE date = "26 august 1995" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round played on 13 October 1984? ### Context: CREATE TABLE table_name_41 (round VARCHAR, date VARCHAR) [/INST] ### Response: SELECT round FROM table_name_41 WHERE date = "13 october 1984" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for SSV ULM 1846? ### Context: CREATE TABLE table_name_75 (result VARCHAR, home VARCHAR) [/INST] ### Response: SELECT result FROM table_name_75 WHERE home = "ssv ulm 1846" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 transfer window when moving to alianza atlético by the name of v. zapata? ### Context: CREATE TABLE table_name_76 (transfer_window VARCHAR, moving_to VARCHAR, name VARCHAR) [/INST] ### Response: SELECT transfer_window FROM table_name_76 WHERE moving_to = "alianza atlético" AND name = "v. zapata" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 moving to the type loaned out under the name tragodara? ### Context: CREATE TABLE table_name_74 (moving_to VARCHAR, type VARCHAR, name VARCHAR) [/INST] ### Response: SELECT moving_to FROM table_name_74 WHERE type = "loaned out" AND name = "tragodara" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name when moving to atlético minero? ### Context: CREATE TABLE table_name_19 (name VARCHAR, moving_to VARCHAR) [/INST] ### Response: SELECT name FROM table_name_19 WHERE moving_to = "atlético minero" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the type movinig to alianza atlético? ### Context: CREATE TABLE table_name_28 (type VARCHAR, moving_to VARCHAR) [/INST] ### Response: SELECT type FROM table_name_28 WHERE moving_to = "alianza atlético" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the name moving to atlético minero? ### Context: CREATE TABLE table_name_74 (name VARCHAR, moving_to VARCHAR) [/INST] ### Response: SELECT name FROM table_name_74 WHERE moving_to = "atlético minero" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 surface on 15 August 2009? ### Context: CREATE TABLE table_name_45 (surface VARCHAR, date VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_45 WHERE date = "15 august 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: How many seats does the party of others have with a change of -1 and more than 0% votes? ### Context: CREATE TABLE table_name_9 (seats INTEGER, _percentage_votes VARCHAR, change VARCHAR, party VARCHAR) [/INST] ### Response: SELECT SUM(seats) FROM table_name_9 WHERE change = -1 AND party = "others" AND _percentage_votes > 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 fewest seats with a -3.7% change and more than 4.7% votes? ### Context: CREATE TABLE table_name_28 (seats INTEGER, _percentage_change VARCHAR, _percentage_votes VARCHAR) [/INST] ### Response: SELECT MIN(seats) FROM table_name_28 WHERE _percentage_change = -3.7 AND _percentage_votes > 4.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 change number with fewer than 4.7% votes and more than 0 seats? ### Context: CREATE TABLE table_name_89 (change INTEGER, _percentage_votes VARCHAR, seats VARCHAR) [/INST] ### Response: SELECT SUM(change) FROM table_name_89 WHERE _percentage_votes < 4.7 AND seats > 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 fewest seats with fewer than 5.4% seats and more than -1 change? ### Context: CREATE TABLE table_name_12 (seats INTEGER, _percentage_votes VARCHAR, change VARCHAR) [/INST] ### Response: SELECT MIN(seats) FROM table_name_12 WHERE _percentage_votes < 5.4 AND change > -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 score where Olga Lugina played in the Tournament of poitiers , france itf $25,000? ### Context: CREATE TABLE table_name_84 (score_in_the_final VARCHAR, partner VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT score_in_the_final FROM table_name_84 WHERE partner = "olga lugina" AND tournament = "poitiers , france itf $25,000" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What surface did Ruxandra Dragomir play on? ### Context: CREATE TABLE table_name_13 (surface VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_13 WHERE partner = "ruxandra dragomir" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had the opponent of Lenka Cenková kateřina šišková in the final? ### Context: CREATE TABLE table_name_72 (partner VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT partner FROM table_name_72 WHERE opponents_in_the_final = "lenka cenková kateřina šišková" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What tournament had an opponent of Els Callens Nancy Feber? ### Context: CREATE TABLE table_name_95 (tournament VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_95 WHERE opponents_in_the_final = "els callens nancy feber" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Winning driver has a Winning constructor of mercer? ### Context: CREATE TABLE table_name_18 (winning_driver VARCHAR, winning_constructor VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_name_18 WHERE winning_constructor = "mercer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Winning driver has a Winning constructor of mercedes, and a Name of elgin trophy? ### Context: CREATE TABLE table_name_33 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_name_33 WHERE winning_constructor = "mercedes" AND name = "elgin trophy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Report of tourist trophy? ### Context: CREATE TABLE table_name_77 (report VARCHAR, name VARCHAR) [/INST] ### Response: SELECT report FROM table_name_77 WHERE name = "tourist trophy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Winning constructor on 31 may and a Circuit of madonie? ### Context: CREATE TABLE table_name_96 (winning_constructor VARCHAR, date VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT winning_constructor FROM table_name_96 WHERE date = "31 may" AND circuit = "madonie" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Date of mercedes, and a Circuit of elgin? ### Context: CREATE TABLE table_name_57 (date VARCHAR, winning_constructor VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT date FROM table_name_57 WHERE winning_constructor = "mercedes" AND circuit = "elgin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Winning driver of mercedes on 22 august? ### Context: CREATE TABLE table_name_91 (winning_driver VARCHAR, winning_constructor VARCHAR, date VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_name_91 WHERE winning_constructor = "mercedes" AND date = "22 august" </s>