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 Episodes (TV+extra) 2, when Broadcasts (TV) 1 is less than 13, and when Directors is "Shigehito Takayanagi"? ### Context: CREATE TABLE table_name_26 (episodes__tv VARCHAR, extra__2 VARCHAR, broadcasts__tv__1 VARCHAR, directors VARCHAR) [/INST] ### Response: SELECT episodes__tv + extra__2 FROM table_name_26 WHERE broadcasts__tv__1 < 13 AND directors = "shigehito takayanagi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest pick when the position was OF with the Chicago White Sox? ### Context: CREATE TABLE table_name_35 (pick INTEGER, position VARCHAR, team VARCHAR) [/INST] ### Response: SELECT MIN(pick) FROM table_name_35 WHERE position = "of" AND team = "chicago white sox" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 affiliation of the University of Maryland? ### Context: CREATE TABLE table_name_54 (affiliation VARCHAR, school VARCHAR) [/INST] ### Response: SELECT affiliation FROM table_name_54 WHERE school = "university of maryland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What school has the nickname of Cardinals? ### Context: CREATE TABLE table_name_9 (founded INTEGER, nickname VARCHAR) [/INST] ### Response: SELECT MIN(founded) FROM table_name_9 WHERE nickname = "cardinals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nickname of the school located in Fairfax, VA? ### Context: CREATE TABLE table_name_98 (nickname VARCHAR, location VARCHAR) [/INST] ### Response: SELECT nickname FROM table_name_98 WHERE location = "fairfax, va" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 "house", when "four" is "opat"? ### Context: CREATE TABLE table_name_89 (house VARCHAR, four VARCHAR) [/INST] ### Response: SELECT house FROM table_name_89 WHERE four = "opat" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 "house", when "what" is "ano", and when "three" is "tulo"? ### Context: CREATE TABLE table_name_24 (house VARCHAR, what VARCHAR, three VARCHAR) [/INST] ### Response: SELECT house FROM table_name_24 WHERE what = "ano" AND three = "tulo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 language, when "house" is "balay", when "three" is "tatlo", and when "four" is "apat"? ### Context: CREATE TABLE table_name_52 (english VARCHAR, four VARCHAR, house VARCHAR, three VARCHAR) [/INST] ### Response: SELECT english FROM table_name_52 WHERE house = "balay" AND three = "tatlo" AND four = "apat" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 "what", when "person" is "tawo", when "three" is "tuyo", and when "coconut" is "niyog"? ### Context: CREATE TABLE table_name_7 (what VARCHAR, coconut VARCHAR, person VARCHAR, three VARCHAR) [/INST] ### Response: SELECT what FROM table_name_7 WHERE person = "tawo" AND three = "tuyo" AND coconut = "niyog" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 language, when "what" is "ango"? ### Context: CREATE TABLE table_name_32 (english VARCHAR, what VARCHAR) [/INST] ### Response: SELECT english FROM table_name_32 WHERE what = "ango" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the game played on august 20, 2006? ### Context: CREATE TABLE table_name_47 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_47 WHERE date = "august 20, 2006" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 which Surface will Estrella Cabeza Candela play? ### Context: CREATE TABLE table_name_67 (surface VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_67 WHERE opponent = "estrella cabeza candela" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opponent on December 16, 1989? ### Context: CREATE TABLE table_name_14 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_14 WHERE date = "december 16, 1989" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest attendance on November 12, 1989? ### Context: CREATE TABLE table_name_80 (attendance INTEGER, date VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_80 WHERE date = "november 12, 1989" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 week on December 10, 1989? ### Context: CREATE TABLE table_name_39 (week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT week FROM table_name_39 WHERE date = "december 10, 1989" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What attendance is dated february 27? ### Context: CREATE TABLE table_name_66 (attendance INTEGER, date VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_66 WHERE date = "february 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 date has 37 points? ### Context: CREATE TABLE table_name_95 (date VARCHAR, points VARCHAR) [/INST] ### Response: SELECT date FROM table_name_95 WHERE points = 37 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Team that was played against on February 24 and a game after game 55? ### Context: CREATE TABLE table_name_61 (team VARCHAR, game VARCHAR, date VARCHAR) [/INST] ### Response: SELECT team FROM table_name_61 WHERE game > 55 AND date = "february 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 name when the lane is less than 4 and mark is 52.64? ### Context: CREATE TABLE table_name_37 (name VARCHAR, lane VARCHAR, mark VARCHAR) [/INST] ### Response: SELECT name FROM table_name_37 WHERE lane < 4 AND mark = "52.64" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of times that the heat is 3 and the name is cxhristy ekpukhon ihunaegbo? ### Context: CREATE TABLE table_name_29 (lane VARCHAR, heat VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(lane) FROM table_name_29 WHERE heat = 3 AND name = "cxhristy ekpukhon ihunaegbo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score which has a Time of 18:00 and a Venue of african union? ### Context: CREATE TABLE table_name_99 (score VARCHAR, time VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT score FROM table_name_99 WHERE time = "18:00" AND venue = "african union" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Venue which has a Score of 8 – 1? ### Context: CREATE TABLE table_name_61 (venue VARCHAR, score VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_61 WHERE score = "8 – 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 2nd Leg, when Team 1 is "H"? ### Context: CREATE TABLE table_name_97 (team_1 VARCHAR) [/INST] ### Response: SELECT 2 AS nd_leg FROM table_name_97 WHERE team_1 = "h" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are the Batsmen from the year 2002? ### Context: CREATE TABLE table_name_98 (batsmen VARCHAR, year VARCHAR) [/INST] ### Response: SELECT batsmen FROM table_name_98 WHERE year = "2002" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What score did the year 1948 have? ### Context: CREATE TABLE table_name_21 (score VARCHAR, year VARCHAR) [/INST] ### Response: SELECT score FROM table_name_21 WHERE year = "1948" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Batsman from the year 1982? ### Context: CREATE TABLE table_name_83 (batsmen VARCHAR, year VARCHAR) [/INST] ### Response: SELECT batsmen FROM table_name_83 WHERE year = "1982" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in 1929? ### Context: CREATE TABLE table_name_46 (score VARCHAR, year VARCHAR) [/INST] ### Response: SELECT score FROM table_name_46 WHERE year = "1929" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 batsmen at the Brit Oval location? ### Context: CREATE TABLE table_name_76 (batsmen VARCHAR, location VARCHAR) [/INST] ### Response: SELECT batsmen FROM table_name_76 WHERE location = "the brit oval" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 bridge in Kent built? ### Context: CREATE TABLE table_name_63 (built VARCHAR, county VARCHAR) [/INST] ### Response: SELECT built FROM table_name_63 WHERE county = "kent" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In which county is East Providence? ### Context: CREATE TABLE table_name_55 (county VARCHAR, location VARCHAR) [/INST] ### Response: SELECT county FROM table_name_55 WHERE location = "east providence" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What county had a bridge biult in 1884? ### Context: CREATE TABLE table_name_37 (county VARCHAR, built VARCHAR) [/INST] ### Response: SELECT county FROM table_name_37 WHERE built = "1884" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Place of the Player with a Score of 68-73-66-74=281? ### Context: CREATE TABLE table_name_13 (place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT place FROM table_name_13 WHERE score = 68 - 73 - 66 - 74 = 281 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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's Player scored 71-69-70-71=281? ### Context: CREATE TABLE table_name_21 (country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_21 WHERE score = 71 - 69 - 70 - 71 = 281 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 T5 Place Vijay Singh's To par? ### Context: CREATE TABLE table_name_60 (to_par VARCHAR, place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_60 WHERE place = "t5" AND player = "vijay singh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Score, when Player is "Bob Murphy"? ### Context: CREATE TABLE table_name_9 (score VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_9 WHERE player = "bob murphy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Player, when To Par is "+1", when Country is "United States", and when Score is "71-70=141"? ### Context: CREATE TABLE table_name_32 (player VARCHAR, to_par VARCHAR, country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_32 WHERE to_par = "+1" AND country = "united states" AND score = 71 - 70 = 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: What is Score, when Place is "T8", and when Player is "Orville Moody"? ### Context: CREATE TABLE table_name_40 (score VARCHAR, place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_40 WHERE place = "t8" AND player = "orville moody" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Score, when Player is "Deane Beman"? ### Context: CREATE TABLE table_name_20 (score VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_20 WHERE player = "deane beman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Country, when Player is "Jack Nicklaus"? ### Context: CREATE TABLE table_name_56 (country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_56 WHERE player = "jack nicklaus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Country, when Place is "1"? ### Context: CREATE TABLE table_name_46 (country VARCHAR, place VARCHAR) [/INST] ### Response: SELECT country FROM table_name_46 WHERE place = "1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHAT IS THE RESULT FOR best urban/alternative performance, IN 2003 OR GREATER? ### Context: CREATE TABLE table_name_1 (result VARCHAR, category VARCHAR, year VARCHAR) [/INST] ### Response: SELECT result FROM table_name_1 WHERE category = "best urban/alternative performance" AND year > 2003 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 TITLE WITH CATEGORY OF best r&b song? ### Context: CREATE TABLE table_name_95 (title VARCHAR, category VARCHAR) [/INST] ### Response: SELECT title FROM table_name_95 WHERE category = "best r&b song" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2003, IN best urban/alternative performance? ### Context: CREATE TABLE table_name_79 (result VARCHAR, year VARCHAR, category VARCHAR) [/INST] ### Response: SELECT result FROM table_name_79 WHERE year = 2003 AND category = "best urban/alternative performance" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 YEAR OF FLOETIC? ### Context: CREATE TABLE table_name_5 (year INTEGER, title VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_5 WHERE title = "floetic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 highest assists when the nuggets record was 2-4? ### Context: CREATE TABLE table_name_64 (high_assists VARCHAR, record VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_64 WHERE record = "2-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: Who had the highest assists in game 3? ### Context: CREATE TABLE table_name_92 (high_assists VARCHAR, game VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_92 WHERE game = 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 Time, when Ground is Waverley Park, and when Away Team is Footscray? ### Context: CREATE TABLE table_name_69 (time VARCHAR, ground VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT time FROM table_name_69 WHERE ground = "waverley park" AND away_team = "footscray" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Ground, when Away Team is Sydney? ### Context: CREATE TABLE table_name_73 (ground VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT ground FROM table_name_73 WHERE away_team = "sydney" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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, when Home Team is Richmond? ### Context: CREATE TABLE table_name_65 (date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_65 WHERE home_team = "richmond" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Home Team Score, when Time is 12:00 PM, and when Ground is Waverley Park? ### Context: CREATE TABLE table_name_39 (home_team VARCHAR, time VARCHAR, ground VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_39 WHERE time = "12:00 pm" AND ground = "waverley park" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 year for the US Open? ### Context: CREATE TABLE table_name_4 (year INTEGER, championship VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_4 WHERE championship = "us open" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Week is 16? ### Context: CREATE TABLE table_name_72 (result VARCHAR, week VARCHAR) [/INST] ### Response: SELECT result FROM table_name_72 WHERE week = 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Record, when Attendance is 30,110? ### Context: CREATE TABLE table_name_84 (record VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT record FROM table_name_84 WHERE attendance = "30,110" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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, when Opponent is At Saskatchewan Roughriders? ### Context: CREATE TABLE table_name_13 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_13 WHERE opponent = "at saskatchewan roughriders" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which School name has students smaller than 389, and grades of 10-12? ### Context: CREATE TABLE table_name_64 (school_name VARCHAR, students VARCHAR, grades VARCHAR) [/INST] ### Response: SELECT school_name FROM table_name_64 WHERE students < 389 AND grades = "10-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 was the score of the game where the home team was the cairns taipans? ### Context: CREATE TABLE table_name_85 (score VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_85 WHERE home_team = "cairns taipans" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score of the game where the adelaide 36ers were the home team? ### Context: CREATE TABLE table_name_39 (score VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_39 WHERE home_team = "adelaide 36ers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score of the game where the venue was cairns convention centre? ### Context: CREATE TABLE table_name_54 (score VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT score FROM table_name_54 WHERE venue = "cairns convention centre" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the away team during the game when the home team was the new zealand breakers? ### Context: CREATE TABLE table_name_36 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_36 WHERE home_team = "new zealand breakers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score of the game which featured the gold coast blaze as the away team and the adelaide 36ers as the home team? ### Context: CREATE TABLE table_name_16 (score VARCHAR, away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_16 WHERE away_team = "gold coast blaze" AND home_team = "adelaide 36ers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rank of the company with less than 248.44 billion in assets, an industry of oil and gas, headquarters in France, and a market value greater than 152.62 billions? ### Context: CREATE TABLE table_name_92 (rank VARCHAR, market_value__billion_$_ VARCHAR, headquarters VARCHAR, assets__billion_$_ VARCHAR, industry VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_name_92 WHERE assets__billion_$_ < 248.44 AND industry = "oil and gas" AND headquarters = "france" AND market_value__billion_$_ > 152.62 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What company has more than 195.34 billion in sales, ranked greater than 7, more than 11.29 billion in profits, and a market value greater than 198.14 billion? ### Context: CREATE TABLE table_name_62 (company VARCHAR, market_value__billion_$_ VARCHAR, profits__billion_$_ VARCHAR, sales__billion_$_ VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT company FROM table_name_62 WHERE sales__billion_$_ > 195.34 AND rank > 7 AND profits__billion_$_ > 11.29 AND market_value__billion_$_ > 198.14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rank of the company with more than 146.56 billion in sales and profits of 11.68 billions? ### Context: CREATE TABLE table_name_97 (rank INTEGER, sales__billion_$_ VARCHAR, profits__billion_$_ VARCHAR) [/INST] ### Response: SELECT AVG(rank) FROM table_name_97 WHERE sales__billion_$_ > 146.56 AND profits__billion_$_ = 11.68 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the position of the player from the college of Nevada with a round over 5? ### Context: CREATE TABLE table_name_23 (position VARCHAR, round VARCHAR, college VARCHAR) [/INST] ### Response: SELECT position FROM table_name_23 WHERE round > 5 AND college = "nevada" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which college had a pick in a round under 7, with a pick number 13 and overall was under 186? ### Context: CREATE TABLE table_name_6 (college VARCHAR, pick VARCHAR, round VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT college FROM table_name_6 WHERE round < 7 AND overall < 186 AND pick = 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 Parishes in Merrimack which has 4 Cemeteries? ### Context: CREATE TABLE table_name_62 (parishes INTEGER, pastoral_region VARCHAR, cemeteries VARCHAR) [/INST] ### Response: SELECT MIN(parishes) FROM table_name_62 WHERE pastoral_region = "merrimack" AND cemeteries < 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 Pastoral Region has 3 Cemeteries? ### Context: CREATE TABLE table_name_57 (pastoral_region VARCHAR, cemeteries VARCHAR) [/INST] ### Response: SELECT pastoral_region FROM table_name_57 WHERE cemeteries = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many High schools in the Region with 8 Cemeteries? ### Context: CREATE TABLE table_name_38 (high_schools INTEGER, cemeteries VARCHAR) [/INST] ### Response: SELECT SUM(high_schools) FROM table_name_38 WHERE cemeteries = 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 Pastoral Region has Episcopal Vicar Robert Francis Hennessey? ### Context: CREATE TABLE table_name_81 (pastoral_region VARCHAR, episcopal_vicar VARCHAR) [/INST] ### Response: SELECT pastoral_region FROM table_name_81 WHERE episcopal_vicar = "robert francis hennessey" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 person with more than 299 games during the 1995–07 period? ### Context: CREATE TABLE table_name_69 (name VARCHAR, games VARCHAR, period VARCHAR) [/INST] ### Response: SELECT name FROM table_name_69 WHERE games > 299 AND period = "1995–07" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of games for Shlomi Avrahami? ### Context: CREATE TABLE table_name_75 (games VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(games) FROM table_name_75 WHERE name = "shlomi avrahami" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the rank for the period of 1973–89, with less than 423 games. ### Context: CREATE TABLE table_name_7 (rank INTEGER, period VARCHAR, games VARCHAR) [/INST] ### Response: SELECT SUM(rank) FROM table_name_7 WHERE period = "1973–89" AND games < 423 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team 1 when Ulisses is team 2? ### Context: CREATE TABLE table_name_98 (team_1 VARCHAR, team_2 VARCHAR) [/INST] ### Response: SELECT team_1 FROM table_name_98 WHERE team_2 = "ulisses" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2009, when Year is "Highest Mean Annual Temperature"? ### Context: CREATE TABLE table_name_31 (year VARCHAR) [/INST] ### Response: SELECT 2009 FROM table_name_31 WHERE year = "highest mean annual temperature" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gold values have totals over 30, bronzes over 35, and are in Swimming? ### Context: CREATE TABLE table_name_75 (gold VARCHAR, bronze VARCHAR, total VARCHAR, sport VARCHAR) [/INST] ### Response: SELECT COUNT(gold) FROM table_name_75 WHERE total > 30 AND sport = "swimming" AND bronze > 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 the highest bronze value with silvers over 2, golds under 16, and in Cycling? ### Context: CREATE TABLE table_name_58 (bronze INTEGER, gold VARCHAR, silver VARCHAR, sport VARCHAR) [/INST] ### Response: SELECT MAX(bronze) FROM table_name_58 WHERE silver > 2 AND sport = "cycling" AND gold < 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total associated with Bronzes over 35? ### Context: CREATE TABLE table_name_15 (total VARCHAR, bronze INTEGER) [/INST] ### Response: SELECT total FROM table_name_15 WHERE bronze > 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 the smallest bronze value associated with golds over 0, silvers over 11, and totals of 36? ### Context: CREATE TABLE table_name_63 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MIN(bronze) FROM table_name_63 WHERE gold > 0 AND total = 36 AND silver > 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: What is the average number of golds in athletics associated with over 42 silvers? ### Context: CREATE TABLE table_name_66 (gold INTEGER, sport VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT AVG(gold) FROM table_name_66 WHERE sport = "athletics" AND silver > 42 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest number of silvers associated with bronzes under 20, totals of 1, golds of 0, and in Water Polo? ### Context: CREATE TABLE table_name_90 (silver INTEGER, gold VARCHAR, sport VARCHAR, bronze VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MIN(silver) FROM table_name_90 WHERE bronze < 20 AND total = 1 AND sport = "water polo" AND gold < 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 was the lowest pick number for Marc Pilon? ### Context: CREATE TABLE table_name_69 (pick__number INTEGER, player VARCHAR) [/INST] ### Response: SELECT MIN(pick__number) FROM table_name_69 WHERE player = "marc pilon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was from the British Columbia college? ### Context: CREATE TABLE table_name_23 (player VARCHAR, college VARCHAR) [/INST] ### Response: SELECT player FROM table_name_23 WHERE college = "british columbia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest pick number for the Hamilton tiger-cats? ### Context: CREATE TABLE table_name_13 (pick__number INTEGER, cfl_team VARCHAR) [/INST] ### Response: SELECT MAX(pick__number) FROM table_name_13 WHERE cfl_team = "hamilton tiger-cats" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick number for the WR position? ### Context: CREATE TABLE table_name_59 (pick__number VARCHAR, position VARCHAR) [/INST] ### Response: SELECT pick__number FROM table_name_59 WHERE position = "wr" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the Goal that has the Result of 2-0? ### Context: CREATE TABLE table_name_84 (goal VARCHAR, result VARCHAR) [/INST] ### Response: SELECT goal FROM table_name_84 WHERE result = "2-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 Place, when Prize is "$381.030"? ### Context: CREATE TABLE table_name_32 (place VARCHAR, prize VARCHAR) [/INST] ### Response: SELECT place FROM table_name_32 WHERE prize = "$381.030" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Rank, when Event is "LAPT3 Punta Del Este"? ### Context: CREATE TABLE table_name_65 (rank VARCHAR, event VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_65 WHERE event = "lapt3 punta del este" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Name, when Prize is "$279.330"? ### Context: CREATE TABLE table_name_64 (name VARCHAR, prize VARCHAR) [/INST] ### Response: SELECT name FROM table_name_64 WHERE prize = "$279.330" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Prize, when Rank is "2nd"? ### Context: CREATE TABLE table_name_2 (prize VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT prize FROM table_name_2 WHERE rank = "2nd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Rank, when Event is "LAPT4 São Paulo"? ### Context: CREATE TABLE table_name_66 (rank VARCHAR, event VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_66 WHERE event = "lapt4 são paulo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Prize, when Name is "Valdemar Kwaysser"? ### Context: CREATE TABLE table_name_58 (prize VARCHAR, name VARCHAR) [/INST] ### Response: SELECT prize FROM table_name_58 WHERE name = "valdemar kwaysser" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 bus power for the Controlnet Fieldbus? ### Context: CREATE TABLE table_name_5 (bus_power VARCHAR, fieldbus VARCHAR) [/INST] ### Response: SELECT bus_power FROM table_name_5 WHERE fieldbus = "controlnet" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 millisecond cycle for the Fieldbus? ### Context: CREATE TABLE table_name_28 (sub_millisecond_cycle VARCHAR) [/INST] ### Response: SELECT sub_millisecond_cycle FROM table_name_28 WHERE "fieldbus" = "fieldbus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 synchronisation for the controlnet fieldbus? ### Context: CREATE TABLE table_name_70 (synchronisation VARCHAR, fieldbus VARCHAR) [/INST] ### Response: SELECT synchronisation FROM table_name_70 WHERE fieldbus = "controlnet" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Position has a College of colorado? ### Context: CREATE TABLE table_name_31 (position VARCHAR, college VARCHAR) [/INST] ### Response: SELECT position FROM table_name_31 WHERE college = "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: Which College has an Overall larger than 211, a Position of db, and a Name of carl charon? ### Context: CREATE TABLE table_name_7 (college VARCHAR, name VARCHAR, overall VARCHAR, position VARCHAR) [/INST] ### Response: SELECT college FROM table_name_7 WHERE overall > 211 AND position = "db" AND name = "carl charon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Overall has a College of michigan state, a Position of fb, and a Round larger than 8? ### Context: CREATE TABLE table_name_46 (overall INTEGER, round VARCHAR, college VARCHAR, position VARCHAR) [/INST] ### Response: SELECT SUM(overall) FROM table_name_46 WHERE college = "michigan state" AND position = "fb" AND round > 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Round has a College of arizona? ### Context: CREATE TABLE table_name_26 (round INTEGER, college VARCHAR) [/INST] ### Response: SELECT MIN(round) FROM table_name_26 WHERE college = "arizona" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Overall has a Round of 7? ### Context: CREATE TABLE table_name_99 (overall INTEGER, round VARCHAR) [/INST] ### Response: SELECT MIN(overall) FROM table_name_99 WHERE round = 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Round has a Pick larger than 1? ### Context: CREATE TABLE table_name_4 (round INTEGER, pick INTEGER) [/INST] ### Response: SELECT SUM(round) FROM table_name_4 WHERE pick > 1 </s>