text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which gender is associated with University students and adults of 25mm? ### Context: CREATE TABLE table_name_19 (gender VARCHAR, university_students_and_adults__18yrs VARCHAR, _ VARCHAR) [/INST] ### Response: SELECT gender FROM table_name_19 WHERE university_students_and_adults__18yrs + _ = "25mm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 junior high school has university students and adults of 26mm? ### Context: CREATE TABLE table_name_15 (junior_high_school__12_15_yrs_ VARCHAR, university_students_and_adults__18yrs VARCHAR, _ VARCHAR) [/INST] ### Response: SELECT junior_high_school__12_15_yrs_ FROM table_name_15 WHERE university_students_and_adults__18yrs + _ = "26mm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What value for university students and adult goes with male gender for minimum weight? ### Context: CREATE TABLE table_name_57 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, gender VARCHAR, specification VARCHAR) [/INST] ### Response: SELECT university_students_and_adults__18yrs + _ FROM table_name_57 WHERE gender = "male" AND specification = "minimum weight" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What metro vincity has the venue that opened in 1999? ### Context: CREATE TABLE table_name_84 (metro_vincity VARCHAR, opened VARCHAR) [/INST] ### Response: SELECT metro_vincity FROM table_name_84 WHERE opened = "1999" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total capacity of venues that opened in 1999? ### Context: CREATE TABLE table_name_15 (capacity VARCHAR, opened VARCHAR) [/INST] ### Response: SELECT COUNT(capacity) FROM table_name_15 WHERE opened = "1999" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date has aus by 382 runs as the result? ### Context: CREATE TABLE table_name_25 (date VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date FROM table_name_25 WHERE result = "aus by 382 runs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 eng by 10 runs as the result? ### Context: CREATE TABLE table_name_2 (venue VARCHAR, result VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_2 WHERE result = "eng by 10 runs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date has george giffen as the home captain, and sydney cricket ground as the venue? ### Context: CREATE TABLE table_name_87 (date VARCHAR, home_captain VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_87 WHERE home_captain = "george giffen" AND venue = "sydney cricket ground" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Gold of 0, and a Bronze smaller than 0 and what is the sum of the silver? ### Context: CREATE TABLE table_name_69 (silver INTEGER, gold VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT SUM(silver) FROM table_name_69 WHERE gold = 0 AND bronze < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Gold of 0, and a Total larger than 0, and a Silver larger than 1 and what is the highest bronze? ### Context: CREATE TABLE table_name_70 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MAX(bronze) FROM table_name_70 WHERE gold = 0 AND total > 0 AND 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: Gold larger than 0, and a Bronze larger than 1 includes what total number of silver? ### Context: CREATE TABLE table_name_31 (silver VARCHAR, gold VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT COUNT(silver) FROM table_name_31 WHERE gold > 0 AND bronze > 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: Bronze of 0, and a Total of 1, and a Silver smaller than 1 what is the lowest gold? ### Context: CREATE TABLE table_name_35 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MIN(gold) FROM table_name_35 WHERE bronze = 0 AND total = 1 AND 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: Which Third has a Lead of zanda bikše? ### Context: CREATE TABLE table_name_78 (third VARCHAR, lead VARCHAR) [/INST] ### Response: SELECT third FROM table_name_78 WHERE lead = "zanda bikše" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Third has a Nation of hungary? ### Context: CREATE TABLE table_name_6 (third VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT third FROM table_name_6 WHERE nation = "hungary" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Second has a Nation of latvia? ### Context: CREATE TABLE table_name_16 (second VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT second FROM table_name_16 WHERE nation = "latvia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Lead has a Nation of croatia? ### Context: CREATE TABLE table_name_99 (lead VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT lead FROM table_name_99 WHERE nation = "croatia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Nation has a Lead of alexandra bruckmiller? ### Context: CREATE TABLE table_name_73 (nation VARCHAR, lead VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_73 WHERE lead = "alexandra bruckmiller" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Skip has a Third of constanze hummelt? ### Context: CREATE TABLE table_name_37 (skip VARCHAR, third VARCHAR) [/INST] ### Response: SELECT skip FROM table_name_37 WHERE third = "constanze hummelt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 spanish word for garden ### Context: CREATE TABLE table_name_83 (spanish VARCHAR, english VARCHAR) [/INST] ### Response: SELECT spanish FROM table_name_83 WHERE english = "garden" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 italian word for the french word 'mer' ### Context: CREATE TABLE table_name_37 (italian VARCHAR, french VARCHAR) [/INST] ### Response: SELECT italian FROM table_name_37 WHERE french = "mer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 english word for cavallo ### Context: CREATE TABLE table_name_61 (english VARCHAR, italian VARCHAR) [/INST] ### Response: SELECT english FROM table_name_61 WHERE italian = "cavallo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has more than 1 Touchdowns with 0 Extra Points and less than 50 Points? ### Context: CREATE TABLE table_name_61 (player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR) [/INST] ### Response: SELECT player FROM table_name_61 WHERE touchdowns > 1 AND extra_points = 0 AND points < 50 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Player has less than 10 Touchdowns and 0 Extra points and more than 5 Points? ### Context: CREATE TABLE table_name_77 (player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR) [/INST] ### Response: SELECT player FROM table_name_77 WHERE touchdowns < 10 AND extra_points = 0 AND points > 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: How many Extra Points were scored by the Player who had 5 Points and less than 1 Touchdowns? ### Context: CREATE TABLE table_name_6 (extra_points INTEGER, points VARCHAR, touchdowns VARCHAR) [/INST] ### Response: SELECT MIN(extra_points) FROM table_name_6 WHERE points = 5 AND touchdowns < 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: Name the least year for european indoor championships result of 3rd ### Context: CREATE TABLE table_name_86 (year INTEGER, tournament VARCHAR, result VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_86 WHERE tournament = "european indoor championships" AND result = "3rd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 played value with 51 points? ### Context: CREATE TABLE table_name_8 (played VARCHAR, points VARCHAR) [/INST] ### Response: SELECT played FROM table_name_8 WHERE points = "51" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tries for Nelson RFC? ### Context: CREATE TABLE table_name_99 (tries_for VARCHAR, club VARCHAR) [/INST] ### Response: SELECT tries_for FROM table_name_99 WHERE club = "nelson rfc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 losing bonus with 1 draw and 13 losses? ### Context: CREATE TABLE table_name_22 (losing_bonus VARCHAR, drawn VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT losing_bonus FROM table_name_22 WHERE drawn = "1" AND lost = "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: How many tries when 22 are played with 1 draw and a try bonus of 13? ### Context: CREATE TABLE table_name_22 (tries_against VARCHAR, try_bonus VARCHAR, played VARCHAR, drawn VARCHAR) [/INST] ### Response: SELECT tries_against FROM table_name_22 WHERE played = "22" AND drawn = "1" AND try_bonus = "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: How many points were scored against with a losing bonus of 1 for Blaenavon RFC? ### Context: CREATE TABLE table_name_67 (points_against VARCHAR, losing_bonus VARCHAR, club VARCHAR) [/INST] ### Response: SELECT points_against FROM table_name_67 WHERE losing_bonus = "1" AND club = "blaenavon rfc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent of the submission (triangle choke) method of submission? ### Context: CREATE TABLE table_name_41 (opponent VARCHAR, method VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_41 WHERE method = "submission (triangle choke)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Competition had a game on October 31, 1979? ### Context: CREATE TABLE table_name_53 (competition VARCHAR, date VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_53 WHERE date = "october 31, 1979" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Palhinha Brazil Scorers? ### Context: CREATE TABLE table_name_97 (date VARCHAR, brazil_scorers VARCHAR) [/INST] ### Response: SELECT date FROM table_name_97 WHERE brazil_scorers = "palhinha" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Brazil scorers have a 1-1 Score? ### Context: CREATE TABLE table_name_93 (brazil_scorers VARCHAR, score VARCHAR) [/INST] ### Response: SELECT brazil_scorers FROM table_name_93 WHERE score = "1-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 Brazil scorers have a 2-1 Score? ### Context: CREATE TABLE table_name_35 (brazil_scorers VARCHAR, score VARCHAR) [/INST] ### Response: SELECT brazil_scorers FROM table_name_35 WHERE score = "2-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 Competition's Score was 1-2? ### Context: CREATE TABLE table_name_76 (competition VARCHAR, score VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_76 WHERE score = "1-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 Points have an Opponent of calgary flames, and a January larger than 22? ### Context: CREATE TABLE table_name_90 (points INTEGER, opponent VARCHAR, january VARCHAR) [/INST] ### Response: SELECT AVG(points) FROM table_name_90 WHERE opponent = "calgary flames" AND january > 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 Points have a Record of 21–20–6? ### Context: CREATE TABLE table_name_36 (points INTEGER, record VARCHAR) [/INST] ### Response: SELECT SUM(points) FROM table_name_36 WHERE record = "21–20–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 January has a Game of 50? ### Context: CREATE TABLE table_name_2 (january INTEGER, game VARCHAR) [/INST] ### Response: SELECT AVG(january) FROM table_name_2 WHERE game = 50 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Record has an Opponent of pittsburgh pirates, and a Date of may 5? ### Context: CREATE TABLE table_name_79 (record VARCHAR, opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_79 WHERE opponent = "pittsburgh pirates" AND date = "may 5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Attendance has an Opponent of pittsburgh pirates, and a Date of may 5? ### Context: CREATE TABLE table_name_32 (attendance INTEGER, opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_32 WHERE opponent = "pittsburgh pirates" AND date = "may 5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Attendance is the highest one that has a Record of 15-28? ### Context: CREATE TABLE table_name_24 (attendance INTEGER, record VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_24 WHERE record = "15-28" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 match where Jeriome Robertson lost? ### Context: CREATE TABLE table_name_86 (date VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT date FROM table_name_86 WHERE loss = "jeriome robertson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 match with a save postponed rescheduled for June 24? ### Context: CREATE TABLE table_name_97 (score VARCHAR, save VARCHAR) [/INST] ### Response: SELECT score FROM table_name_97 WHERE save = "postponed rescheduled for june 24" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the match with Brother Elephants as the opponent and a save of ||4,117? ### Context: CREATE TABLE table_name_49 (date VARCHAR, opponent VARCHAR, save VARCHAR) [/INST] ### Response: SELECT date FROM table_name_49 WHERE opponent = "brother elephants" AND save = "||4,117" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the least round number for Jon Olinger, who was picked before pick # 24? ### Context: CREATE TABLE table_name_3 (round INTEGER, name VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT MIN(round) FROM table_name_3 WHERE name = "jon olinger" AND pick__number < 24 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Before round 7, what is the greatest Pick # for a player that plays defensive tackle? ### Context: CREATE TABLE table_name_5 (pick__number INTEGER, position VARCHAR, round VARCHAR) [/INST] ### Response: SELECT MAX(pick__number) FROM table_name_5 WHERE position = "defensive tackle" AND round < 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the record on december 8 when the boston bruins visited? ### Context: CREATE TABLE table_name_49 (record VARCHAR, visitor VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_49 WHERE visitor = "boston bruins" AND date = "december 8" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what was the score on november 3? ### Context: CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_39 WHERE date = "november 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: who visited on november 17? ### Context: CREATE TABLE table_name_29 (visitor VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_29 WHERE 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 is the name of the head coach of 1974? ### Context: CREATE TABLE table_name_96 (name VARCHAR, years VARCHAR) [/INST] ### Response: SELECT name FROM table_name_96 WHERE years = "1974" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average number of seasons for Terri Drake who lost less than 9? ### Context: CREATE TABLE table_name_65 (seasons INTEGER, name VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT AVG(seasons) FROM table_name_65 WHERE name = "terri drake" AND lost < 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest number of seasons that the head coach of 1982 had with larger than 9 losses? ### Context: CREATE TABLE table_name_36 (seasons INTEGER, years VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT MIN(seasons) FROM table_name_36 WHERE years = "1982" AND lost > 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which webcast was in Spanish contemporary on xhnoe.com? ### Context: CREATE TABLE table_name_86 (webcast VARCHAR, format VARCHAR, website VARCHAR) [/INST] ### Response: SELECT webcast FROM table_name_86 WHERE format = "spanish contemporary" AND website = "xhnoe.com" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 frequency from uncionfeypoder.com? ### Context: CREATE TABLE table_name_79 (frequency INTEGER, website VARCHAR) [/INST] ### Response: SELECT MAX(frequency) FROM table_name_79 WHERE website = "uncionfeypoder.com" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Digital 94.9? ### Context: CREATE TABLE table_name_73 (format VARCHAR, brand VARCHAR) [/INST] ### Response: SELECT format FROM table_name_73 WHERE brand = "digital 94.9" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the population for Deed number of 21352021? ### Context: CREATE TABLE table_name_51 (population VARCHAR, deed_number VARCHAR) [/INST] ### Response: SELECT population FROM table_name_51 WHERE deed_number = "21352021" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Area (km²) that shows Excised from shire of cook and a Population smaller than 463 for the community of wujal wujal (bloomfield river)? ### Context: CREATE TABLE table_name_30 (area__km²_ INTEGER, name_of_community VARCHAR, excised_from VARCHAR, population VARCHAR) [/INST] ### Response: SELECT AVG(area__km²_) FROM table_name_30 WHERE excised_from = "shire of cook" AND population < 463 AND name_of_community = "wujal wujal (bloomfield river)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 deed number with a population of more than 869 in the woorabinda community? ### Context: CREATE TABLE table_name_24 (deed_number VARCHAR, population VARCHAR, name_of_community VARCHAR) [/INST] ### Response: SELECT deed_number FROM table_name_24 WHERE population > 869 AND name_of_community = "woorabinda" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 population with an Area (km²) of 1115.4? ### Context: CREATE TABLE table_name_72 (population INTEGER, area__km²_ VARCHAR) [/INST] ### Response: SELECT MIN(population) FROM table_name_72 WHERE area__km²_ = 1115.4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the largest Area (km²) for Deed number of 21352022 with a Population of more than 184? ### Context: CREATE TABLE table_name_29 (area__km²_ INTEGER, deed_number VARCHAR, population VARCHAR) [/INST] ### Response: SELECT MAX(area__km²_) FROM table_name_29 WHERE deed_number = "21352022" AND population > 184 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 match on 16 October 2012 with less than 4 goals? ### Context: CREATE TABLE table_name_84 (result VARCHAR, goal VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_84 WHERE goal < 4 AND date = "16 october 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: Which Opposition has a Year smaller than 1977, and a City of manchester? ### Context: CREATE TABLE table_name_53 (opposition VARCHAR, year VARCHAR, city VARCHAR) [/INST] ### Response: SELECT opposition FROM table_name_53 WHERE year < 1977 AND city = "manchester" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the lowest one that has a Year of 1868? ### Context: CREATE TABLE table_name_75 (score INTEGER, year VARCHAR) [/INST] ### Response: SELECT MIN(score) FROM table_name_75 WHERE year = 1868 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Venue has a Year larger than 1868, and an Opposition of derbyshire? ### Context: CREATE TABLE table_name_97 (venue VARCHAR, year VARCHAR, opposition VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_97 WHERE year > 1868 AND opposition = "derbyshire" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 City has a Score smaller than 30, and a Venue of aigburth? ### Context: CREATE TABLE table_name_85 (city VARCHAR, score VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT city FROM table_name_85 WHERE score < 30 AND venue = "aigburth" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Position of the player with a Height off 188cm? ### Context: CREATE TABLE table_name_7 (position VARCHAR, height VARCHAR) [/INST] ### Response: SELECT position FROM table_name_7 WHERE height = "188cm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Alexander Wronski's Position? ### Context: CREATE TABLE table_name_31 (position VARCHAR, name VARCHAR) [/INST] ### Response: SELECT position FROM table_name_31 WHERE name = "alexander wronski" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Senyi N'Diaye's Position? ### Context: CREATE TABLE table_name_35 (position VARCHAR, name VARCHAR) [/INST] ### Response: SELECT position FROM table_name_35 WHERE name = "senyi n'diaye" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 date of the friendly competition with a score of 4-0? ### Context: CREATE TABLE table_name_31 (date VARCHAR, competition VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_31 WHERE competition = "friendly" AND score = "4-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: Where did the competition take place at on August 3, 2005 with a score of 5-0? ### Context: CREATE TABLE table_name_21 (venue VARCHAR, score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_21 WHERE score = "5-0" AND date = "august 3, 2005" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the 2007 gulf cup of nations? ### Context: CREATE TABLE table_name_39 (result VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT result FROM table_name_39 WHERE competition = "2007 gulf cup of nations" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the competition that had a score of 4-0? ### Context: CREATE TABLE table_name_95 (result VARCHAR, score VARCHAR) [/INST] ### Response: SELECT result FROM table_name_95 WHERE score = "4-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 English title for season 6? ### Context: CREATE TABLE table_name_91 (title__english_ VARCHAR, number_of_season VARCHAR) [/INST] ### Response: SELECT title__english_ FROM table_name_91 WHERE number_of_season = 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 is the highest season wth a Win of 1 and a Position that is 8th? ### Context: CREATE TABLE table_name_3 (season INTEGER, wins VARCHAR, position VARCHAR) [/INST] ### Response: SELECT MAX(season) FROM table_name_3 WHERE wins = 1 AND position = "8th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Races with a Pole that is larger than 0? ### Context: CREATE TABLE table_name_70 (races VARCHAR, poles INTEGER) [/INST] ### Response: SELECT COUNT(races) FROM table_name_70 WHERE poles > 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest Poles with a Season that is larger than 2009? ### Context: CREATE TABLE table_name_60 (poles INTEGER, season INTEGER) [/INST] ### Response: SELECT MIN(poles) FROM table_name_60 WHERE season > 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 team has a location attendance of Air Canada Centre 19,800 with a record of 41–33? ### Context: CREATE TABLE table_name_53 (team VARCHAR, location_attendance VARCHAR, record VARCHAR) [/INST] ### Response: SELECT team FROM table_name_53 WHERE location_attendance = "air canada centre 19,800" AND record = "41–33" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 December has a Record of 21–8–4, and a Game larger than 33? ### Context: CREATE TABLE table_name_38 (december INTEGER, record VARCHAR, game VARCHAR) [/INST] ### Response: SELECT AVG(december) FROM table_name_38 WHERE record = "21–8–4" AND game > 33 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Opponent has a Score of 4–5 ot? ### Context: CREATE TABLE table_name_96 (opponent VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_96 WHERE score = "4–5 ot" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Game is the highest one that has an Opponent of new york islanders, and a December larger than 10? ### Context: CREATE TABLE table_name_35 (game INTEGER, opponent VARCHAR, december VARCHAR) [/INST] ### Response: SELECT MAX(game) FROM table_name_35 WHERE opponent = "new york islanders" AND december > 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 tournament was located in Colorado? ### Context: CREATE TABLE table_name_5 (tournament VARCHAR, location VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_5 WHERE location = "colorado" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game in Week 9 played? ### Context: CREATE TABLE table_name_70 (date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_name_70 WHERE week = 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the record of the game after Week 6 with an attendance larger than 52,560? ### Context: CREATE TABLE table_name_21 (record VARCHAR, week VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT record FROM table_name_21 WHERE week > 6 AND attendance > 52 OFFSET 560 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rate at Milwaukee County Stadium? ### Context: CREATE TABLE table_name_61 (attendance INTEGER, game_site VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_61 WHERE game_site = "milwaukee county stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's Ontario's highest Ends Lost? ### Context: CREATE TABLE table_name_11 (ends_lost INTEGER, locale VARCHAR) [/INST] ### Response: SELECT MAX(ends_lost) FROM table_name_11 WHERE locale = "ontario" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 shot % with a 44+ Ends Lost, skip Cathy King, and smaller than 13 Black Ends? ### Context: CREATE TABLE table_name_36 (shot_pct INTEGER, blank_ends VARCHAR, ends_lost VARCHAR, skip VARCHAR) [/INST] ### Response: SELECT MAX(shot_pct) FROM table_name_36 WHERE ends_lost > 44 AND skip = "cathy king" AND blank_ends < 13 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the highest Ends Lost with a shot % greater than 77, 11 blank ends, 7 stolen ends, and more than 44 ends one? ### Context: CREATE TABLE table_name_2 (ends_lost INTEGER, ends_won VARCHAR, stolen_ends VARCHAR, shot_pct VARCHAR, blank_ends VARCHAR) [/INST] ### Response: SELECT MAX(ends_lost) FROM table_name_2 WHERE shot_pct > 77 AND blank_ends = 11 AND stolen_ends = 7 AND ends_won > 44 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Segment C that has an Episode lower than 230, and a Segment A consisting of wax figures? ### Context: CREATE TABLE table_name_79 (segment_c VARCHAR, episode VARCHAR, segment_a VARCHAR) [/INST] ### Response: SELECT segment_c FROM table_name_79 WHERE episode < 230 AND segment_a = "wax figures" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Segment A has a Segment B of s awning? ### Context: CREATE TABLE table_name_61 (segment_a VARCHAR, segment_b VARCHAR) [/INST] ### Response: SELECT segment_a FROM table_name_61 WHERE segment_b = "s awning" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 church had a Split off/Continuation in 1836? ### Context: CREATE TABLE table_name_40 (split_off___continuation_of VARCHAR, date VARCHAR) [/INST] ### Response: SELECT split_off___continuation_of FROM table_name_40 WHERE date = "1836" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 church was organized by George M. Hinkle? ### Context: CREATE TABLE table_name_50 (church_name VARCHAR, organized_by VARCHAR) [/INST] ### Response: SELECT church_name FROM table_name_50 WHERE organized_by = "george m. hinkle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pure Church of Christ's Split off/ Continuation? ### Context: CREATE TABLE table_name_40 (split_off___continuation_of VARCHAR, church_name VARCHAR) [/INST] ### Response: SELECT split_off___continuation_of FROM table_name_40 WHERE church_name = "pure church of christ" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Independent Church's Split off/ Continuation? ### Context: CREATE TABLE table_name_44 (split_off___continuation_of VARCHAR, church_name VARCHAR) [/INST] ### Response: SELECT split_off___continuation_of FROM table_name_44 WHERE church_name = "independent church" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 organized Alston Church? ### Context: CREATE TABLE table_name_68 (organized_by VARCHAR, church_name VARCHAR) [/INST] ### Response: SELECT organized_by FROM table_name_68 WHERE church_name = "alston church" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the netherlands head quarters ### Context: CREATE TABLE table_name_68 (name VARCHAR, headquarters VARCHAR) [/INST] ### Response: SELECT name FROM table_name_68 WHERE headquarters = "the netherlands" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what person was in rank 10 ### Context: CREATE TABLE table_name_10 (rider VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT rider FROM table_name_10 WHERE rank = 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which driver has 210 as entries? ### Context: CREATE TABLE table_name_40 (driver VARCHAR, entries VARCHAR) [/INST] ### Response: SELECT driver FROM table_name_40 WHERE entries = 210 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 seasons have fernando alonso as the driver? ### Context: CREATE TABLE table_name_24 (seasons VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT seasons FROM table_name_24 WHERE driver = "fernando alonso" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What club had 0 goals? ### Context: CREATE TABLE table_name_4 (club VARCHAR, goals VARCHAR) [/INST] ### Response: SELECT club FROM table_name_4 WHERE goals = 0 </s>