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: Tell me the average attendance for week of 11 ### Context: CREATE TABLE table_name_58 (attendance INTEGER, week VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_58 WHERE week = 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: Tell me opponent for result of w 33-31 ### Context: CREATE TABLE table_name_96 (opponent VARCHAR, result VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_96 WHERE result = "w 33-31" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Name is administered by oral or iv, and is being investigated for thyroid imaging thyroid metastases imaging? ### Context: CREATE TABLE table_name_61 (name VARCHAR, route_of_administration VARCHAR, investigation VARCHAR) [/INST] ### Response: SELECT name FROM table_name_61 WHERE route_of_administration = "oral or iv" AND investigation = "thyroid imaging thyroid metastases imaging" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 owner with a call sign of cjgx? ### Context: CREATE TABLE table_name_5 (owner VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT owner FROM table_name_5 WHERE call_sign = "cjgx" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 owner of the branding gx94? ### Context: CREATE TABLE table_name_78 (owner VARCHAR, branding VARCHAR) [/INST] ### Response: SELECT owner FROM table_name_78 WHERE branding = "gx94" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 call frequency sign of cjjc-fm? ### Context: CREATE TABLE table_name_28 (frequency VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_28 WHERE call_sign = "cjjc-fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 owner with the branding fox fm? ### Context: CREATE TABLE table_name_48 (owner VARCHAR, branding VARCHAR) [/INST] ### Response: SELECT owner FROM table_name_48 WHERE branding = "fox fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the branding frequency of cbc radio 2? ### Context: CREATE TABLE table_name_74 (frequency VARCHAR, branding VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_74 WHERE branding = "cbc radio 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: Tell me the location for altitude being less thaan 6102 ### Context: CREATE TABLE table_name_31 (location VARCHAR, altitude__metres_ INTEGER) [/INST] ### Response: SELECT location FROM table_name_31 WHERE altitude__metres_ < 6102 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Say the region for 6854 altitudes ### Context: CREATE TABLE table_name_97 (region VARCHAR, altitude__metres_ VARCHAR) [/INST] ### Response: SELECT region FROM table_name_97 WHERE altitude__metres_ = 6854 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the frequency of number 161? ### Context: CREATE TABLE table_name_59 (frequency VARCHAR, number VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_59 WHERE number = 161 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the frequency of number 3 with a bus station origin? ### Context: CREATE TABLE table_name_33 (frequency VARCHAR, origin VARCHAR, number VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_33 WHERE origin = "bus station" AND number = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the origin of the one with a number larger than 161? ### Context: CREATE TABLE table_name_66 (origin VARCHAR, number INTEGER) [/INST] ### Response: SELECT origin FROM table_name_66 WHERE number > 161 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 origin of the one whose final destination is Brandholmen? ### Context: CREATE TABLE table_name_15 (origin VARCHAR, final_destination VARCHAR) [/INST] ### Response: SELECT origin FROM table_name_15 WHERE final_destination = "brandholmen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rank of a rider whose time was 1:19.02.8? ### Context: CREATE TABLE table_name_70 (place INTEGER, time VARCHAR) [/INST] ### Response: SELECT MAX(place) FROM table_name_70 WHERE time = "1:19.02.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: Tell me the revised of mccune reischauer of yŏn (s) ryŏn (n) ### Context: CREATE TABLE table_name_48 (revised VARCHAR, mccune_reischauer VARCHAR) [/INST] ### Response: SELECT revised FROM table_name_48 WHERE mccune_reischauer = "yŏn (s) ryŏn (n)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hanja for hangul of 주 ### Context: CREATE TABLE table_name_77 (hanja VARCHAR, hangul VARCHAR) [/INST] ### Response: SELECT hanja FROM table_name_77 WHERE hangul = "주" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the hanja of eum ### Context: CREATE TABLE table_name_85 (hanja VARCHAR, revised VARCHAR) [/INST] ### Response: SELECT hanja FROM table_name_85 WHERE revised = "eum" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What model was released in 2005? ### Context: CREATE TABLE table_name_89 (model VARCHAR, released VARCHAR) [/INST] ### Response: SELECT model FROM table_name_89 WHERE released = 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: Tell me the score for 9 may 2001 ### Context: CREATE TABLE table_name_15 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_15 WHERE date = "9 may 2001" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the competition for 25 march 2001 ### Context: CREATE TABLE table_name_43 (competition VARCHAR, date VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_43 WHERE date = "25 march 2001" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Race Winner of the Southern Illinois 100? ### Context: CREATE TABLE table_name_48 (race_winner VARCHAR, event_name VARCHAR) [/INST] ### Response: SELECT race_winner FROM table_name_48 WHERE event_name = "southern illinois 100" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: At which track did the event Daytona Arca 200 take place? ### Context: CREATE TABLE table_name_64 (track VARCHAR, event_name VARCHAR) [/INST] ### Response: SELECT track FROM table_name_64 WHERE event_name = "daytona arca 200" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: At which event was Ken Schrader the Race Winner at the Toledo Speedway? ### Context: CREATE TABLE table_name_38 (event_name VARCHAR, race_winner VARCHAR, track VARCHAR) [/INST] ### Response: SELECT event_name FROM table_name_38 WHERE race_winner = "ken schrader" AND track = "toledo speedway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: At which track was Frank Kimmel the Pole Winner of the Pennsylvania 200? ### Context: CREATE TABLE table_name_80 (track VARCHAR, pole_winner VARCHAR, event_name VARCHAR) [/INST] ### Response: SELECT track FROM table_name_80 WHERE pole_winner = "frank kimmel" AND event_name = "pennsylvania 200" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Steve Wallace was a Race Winner at the Kentucky Speedway on what date? ### Context: CREATE TABLE table_name_75 (date VARCHAR, race_winner VARCHAR, track VARCHAR) [/INST] ### Response: SELECT date FROM table_name_75 WHERE race_winner = "steve wallace" AND track = "kentucky speedway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 silver owned by a nation that is not ranked number 1? ### Context: CREATE TABLE table_name_41 (silver INTEGER, rank INTEGER) [/INST] ### Response: SELECT MIN(silver) FROM table_name_41 WHERE rank < 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 Driver Kimi Räikkönen's number on the grid? ### Context: CREATE TABLE table_name_83 (grid VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT grid FROM table_name_83 WHERE driver = "kimi räikkönen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had a Part 1 time of 1:13.306? ### Context: CREATE TABLE table_name_56 (driver VARCHAR, part_1 VARCHAR) [/INST] ### Response: SELECT driver FROM table_name_56 WHERE part_1 = "1:13.306" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What ride opened after 2011? ### Context: CREATE TABLE table_name_91 (current_name VARCHAR, year_first_opened INTEGER) [/INST] ### Response: SELECT current_name FROM table_name_91 WHERE year_first_opened > 2011 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which stadium can hold 63,443 people? ### Context: CREATE TABLE table_name_97 (result VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result FROM table_name_97 WHERE attendance = "63,443" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the number of weeks for bye ### Context: CREATE TABLE table_name_5 (week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(week) FROM table_name_5 WHERE date = "bye" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the number of weeks for december 5, 2005 ### Context: CREATE TABLE table_name_83 (week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(week) FROM table_name_83 WHERE date = "december 5, 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: Tell me the start time for december 24, 2005 ### Context: CREATE TABLE table_name_48 (start_time VARCHAR, date VARCHAR) [/INST] ### Response: SELECT start_time FROM table_name_48 WHERE date = "december 24, 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: Tell me the result for lincoln financial field december 11, 2005 ### Context: CREATE TABLE table_name_90 (result VARCHAR, venue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_90 WHERE venue = "lincoln financial field" AND date = "december 11, 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: Tell me the total number of years for wins less than 2 and class of 50cc with points of 15 ### Context: CREATE TABLE table_name_4 (year VARCHAR, points VARCHAR, wins VARCHAR, class VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_4 WHERE wins < 2 AND class = "50cc" AND points = 15 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the year for class of 125cc ### Context: CREATE TABLE table_name_55 (year VARCHAR, class VARCHAR) [/INST] ### Response: SELECT year FROM table_name_55 WHERE class = "125cc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the average wins for class of 50cc and rank of 8th ### Context: CREATE TABLE table_name_47 (wins INTEGER, class VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT AVG(wins) FROM table_name_47 WHERE class = "50cc" AND rank = "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: Tell me the lowest wins for class of 50cc and team of tomos for year less than 1969 ### Context: CREATE TABLE table_name_9 (wins INTEGER, year VARCHAR, class VARCHAR, team VARCHAR) [/INST] ### Response: SELECT MIN(wins) FROM table_name_9 WHERE class = "50cc" AND team = "tomos" AND year < 1969 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which country has the highest bronze amount and a silver amount bigger than 41? ### Context: CREATE TABLE table_name_65 (bronze INTEGER, silver INTEGER) [/INST] ### Response: SELECT MAX(bronze) FROM table_name_65 WHERE silver > 41 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 amount of medals Russia has if they have more than 2 silver medals and less than 4 gold medals? ### Context: CREATE TABLE table_name_89 (total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT MIN(total) FROM table_name_89 WHERE silver > 2 AND nation = "russia" AND gold < 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: How many points did the 2005 1st place team receive? ### Context: CREATE TABLE table_name_90 (points VARCHAR, year VARCHAR) [/INST] ### Response: SELECT points FROM table_name_90 WHERE year = 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 engine was used by the teams that used a Lola b02/00 chassis and ranked 1st? ### Context: CREATE TABLE table_name_45 (engine VARCHAR, chassis VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT engine FROM table_name_45 WHERE chassis = "lola b02/00" AND rank = "1st" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 years did Team Newman/Haas Racing receive a 1st place ranking? ### Context: CREATE TABLE table_name_86 (year VARCHAR, team VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_86 WHERE team = "newman/haas racing" AND rank = "1st" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 aggregate of place for points being 35? ### Context: CREATE TABLE table_name_52 (place INTEGER, points VARCHAR) [/INST] ### Response: SELECT SUM(place) FROM table_name_52 WHERE points = 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: Name the fewest points of 5 place ### Context: CREATE TABLE table_name_86 (points INTEGER, place VARCHAR) [/INST] ### Response: SELECT MIN(points) FROM table_name_86 WHERE place = 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: Name the total number of places for vicky gordon and points more than 23 ### Context: CREATE TABLE table_name_72 (place VARCHAR, artist VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(place) FROM table_name_72 WHERE artist = "vicky gordon" AND points > 23 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the opponent for attendance of 68,264 ### Context: CREATE TABLE table_name_74 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_74 WHERE attendance = "68,264" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the sum of week for result of l 24–21 ### Context: CREATE TABLE table_name_15 (week INTEGER, result VARCHAR) [/INST] ### Response: SELECT SUM(week) FROM table_name_15 WHERE result = "l 24–21" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the result for attendance of 54,462 ### Context: CREATE TABLE table_name_32 (result VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result FROM table_name_32 WHERE attendance = "54,462" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the opponent for attendance of 53,899 ### Context: CREATE TABLE table_name_49 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_49 WHERE attendance = "53,899" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 points that is more than 636 and has a value of 50? ### Context: CREATE TABLE table_name_82 (pts_ VARCHAR, b_ VARCHAR, reb_ VARCHAR, no_ VARCHAR, a_ VARCHAR) [/INST] ### Response: SELECT pts_[b_] FROM table_name_82 WHERE reb_[b_] > 636 AND no_[a_] = "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 rebound was 8 and has and ast that was less than 57? ### Context: CREATE TABLE table_name_64 (b_ VARCHAR, reb_ INTEGER, no_ VARCHAR, a_ VARCHAR, ast_ VARCHAR) [/INST] ### Response: SELECT AVG(reb_)[b_] FROM table_name_64 WHERE no_[a_] = "8" AND ast_[b_] < 57 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the country for ICAO of tjig ### Context: CREATE TABLE table_name_84 (country VARCHAR, icao VARCHAR) [/INST] ### Response: SELECT country FROM table_name_84 WHERE icao = "tjig" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the country for san juan ### Context: CREATE TABLE table_name_62 (country VARCHAR, city VARCHAR) [/INST] ### Response: SELECT country FROM table_name_62 WHERE city = "san juan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the country for ICAO tjvq ### Context: CREATE TABLE table_name_14 (country VARCHAR, icao VARCHAR) [/INST] ### Response: SELECT country FROM table_name_14 WHERE icao = "tjvq" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the iata for icao of tjrv ### Context: CREATE TABLE table_name_2 (iata VARCHAR, icao VARCHAR) [/INST] ### Response: SELECT iata FROM table_name_2 WHERE icao = "tjrv" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the icao of isla grande ### Context: CREATE TABLE table_name_76 (icao VARCHAR, city VARCHAR) [/INST] ### Response: SELECT icao FROM table_name_76 WHERE city = "isla grande" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position does the Colorado Rapids pick after 15 play? ### Context: CREATE TABLE table_name_35 (position VARCHAR, mls_team VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT position FROM table_name_35 WHERE mls_team = "colorado rapids" AND pick__number > 15 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: I want to know the events for 106 bands ### Context: CREATE TABLE table_name_16 (event VARCHAR, acts VARCHAR) [/INST] ### Response: SELECT event FROM table_name_16 WHERE acts = "106 bands" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the nomination for ukraine ### Context: CREATE TABLE table_name_17 (nomination VARCHAR, country VARCHAR) [/INST] ### Response: SELECT nomination FROM table_name_17 WHERE country = "ukraine" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the nomination for goran paskaljevic ### Context: CREATE TABLE table_name_12 (nomination VARCHAR, director VARCHAR) [/INST] ### Response: SELECT nomination FROM table_name_12 WHERE director = "goran paskaljevic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 FA Cup apps has league goals of 1 with total goals less than 1? ### Context: CREATE TABLE table_name_47 (fa_cup_apps INTEGER, league_goals VARCHAR, total_goals VARCHAR) [/INST] ### Response: SELECT AVG(fa_cup_apps) FROM table_name_47 WHERE league_goals = 1 AND total_goals < 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest apps total with FA cup apps of 26 with total number of goals larger than 9? ### Context: CREATE TABLE table_name_41 (total_apps INTEGER, fa_cup_apps VARCHAR, total_goals VARCHAR) [/INST] ### Response: SELECT MAX(total_apps) FROM table_name_41 WHERE fa_cup_apps = 26 AND total_goals > 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 league goals has FA cup apps of 2? ### Context: CREATE TABLE table_name_39 (league_goals VARCHAR, fa_cup_apps VARCHAR) [/INST] ### Response: SELECT league_goals FROM table_name_39 WHERE fa_cup_apps = 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What FA cup apps has a total larger than 12 and league apps larger than 38, and FA Cup goals larger than 1? ### Context: CREATE TABLE table_name_50 (fa_cup_apps VARCHAR, fa_cup_goals VARCHAR, total_apps VARCHAR, league_apps VARCHAR) [/INST] ### Response: SELECT COUNT(fa_cup_apps) FROM table_name_50 WHERE total_apps > 12 AND league_apps > 38 AND fa_cup_goals > 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the total attendance on December 14, 1975 after week 13? ### Context: CREATE TABLE table_name_41 (attendance VARCHAR, date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT COUNT(attendance) FROM table_name_41 WHERE date = "december 14, 1975" AND week > 13 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of all totals with a rank greater than 6, gold greater than 0, and silver greater than 2? ### Context: CREATE TABLE table_name_11 (total INTEGER, silver VARCHAR, rank VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT SUM(total) FROM table_name_11 WHERE rank > 6 AND gold > 0 AND silver = 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many values for silver occur when gold is less than 1, the rank is 13, and bronze is greater than 2? ### Context: CREATE TABLE table_name_70 (silver VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(silver) FROM table_name_70 WHERE gold < 1 AND rank = 13 AND bronze > 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average value of Bronze when silver is 0 and the total is less than 1? ### Context: CREATE TABLE table_name_18 (bronze INTEGER, silver VARCHAR, total VARCHAR) [/INST] ### Response: SELECT AVG(bronze) FROM table_name_18 WHERE silver = 0 AND total < 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 lowest value for bronze with a total of 3 and a value for silver greater than 1 while the value of gold is smaller than 1? ### Context: CREATE TABLE table_name_56 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT MIN(bronze) FROM table_name_56 WHERE total = 3 AND silver > 1 AND gold < 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: How man values for bronze occur when gold is less than 1, rank is greater than 15, and total is greater than 1? ### Context: CREATE TABLE table_name_9 (bronze VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(bronze) FROM table_name_9 WHERE gold < 1 AND rank > 15 AND total > 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 position of pick 234 ### Context: CREATE TABLE table_name_67 (position VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT position FROM table_name_67 WHERE pick = "234" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the team of vitali yeremeyev ### Context: CREATE TABLE table_name_97 (nhl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nhl_team FROM table_name_97 WHERE player = "vitali yeremeyev" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the result for 2007-09-29 ### Context: CREATE TABLE table_name_98 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_98 WHERE date = "2007-09-29" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many weeks have an attendance of 64,116? ### Context: CREATE TABLE table_name_40 (week VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT COUNT(week) FROM table_name_40 WHERE attendance = "64,116" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which date has a week larger than 14? ### Context: CREATE TABLE table_name_42 (date VARCHAR, week INTEGER) [/INST] ### Response: SELECT date FROM table_name_42 WHERE week > 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: Which venue has a week smaller than 2? ### Context: CREATE TABLE table_name_29 (venue VARCHAR, week INTEGER) [/INST] ### Response: SELECT venue FROM table_name_29 WHERE week < 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: When was the Metallica: Escape from the Studio show? ### Context: CREATE TABLE table_name_28 (date VARCHAR, event VARCHAR) [/INST] ### Response: SELECT date FROM table_name_28 WHERE event = "metallica: escape from the studio" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When is the Monsters of Rock show with 12 bands? ### Context: CREATE TABLE table_name_74 (date VARCHAR, event VARCHAR, acts VARCHAR) [/INST] ### Response: SELECT date FROM table_name_74 WHERE event = "monsters of rock" AND acts = "12 bands" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the result for 15 july ### Context: CREATE TABLE table_name_22 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_22 WHERE date = "15 july" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the number range for 1965-66 ### Context: CREATE TABLE table_name_58 (no_range VARCHAR, year_built__converted VARCHAR, _ VARCHAR) [/INST] ### Response: SELECT no_range FROM table_name_58 WHERE year_built__converted * _ = "1965-66" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the year built for withdrawn of 1983 ### Context: CREATE TABLE table_name_19 (year_built__converted VARCHAR, _ VARCHAR, withdrawn VARCHAR) [/INST] ### Response: SELECT year_built__converted * _ FROM table_name_19 WHERE withdrawn = 1983 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the year built for number built of 10 ### Context: CREATE TABLE table_name_14 (year_built__converted VARCHAR, _ VARCHAR, no_built__converted VARCHAR) [/INST] ### Response: SELECT year_built__converted * _ FROM table_name_14 WHERE no_built__converted * _ = "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: Tell me the result for 2008-12-23 ### Context: CREATE TABLE table_name_61 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_61 WHERE date = "2008-12-23" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the director nominated for best actor in a leading role ### Context: CREATE TABLE table_name_73 (director VARCHAR, nomination VARCHAR) [/INST] ### Response: SELECT director FROM table_name_73 WHERE nomination = "best actor in a leading role" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the nomination for peresohla zemlia ### Context: CREATE TABLE table_name_41 (nomination VARCHAR, film_name VARCHAR) [/INST] ### Response: SELECT nomination FROM table_name_41 WHERE film_name = "peresohla zemlia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the average laps driven in the GT class? ### Context: CREATE TABLE table_name_45 (laps INTEGER, class VARCHAR) [/INST] ### Response: SELECT AVG(laps) FROM table_name_45 WHERE class = "gt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: I want the tsongas of may 22, 2007 ### Context: CREATE TABLE table_name_45 (tsongas__d_ VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tsongas__d_ FROM table_name_45 WHERE date = "may 22, 2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the venue for winner of nevada and year more than 2004 ### Context: CREATE TABLE table_name_7 (venue VARCHAR, winner VARCHAR, year VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_7 WHERE winner = "nevada" AND year > 2004 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date is the 1:00 pm game at arrowhead stadium? ### Context: CREATE TABLE table_name_37 (date VARCHAR, time___et__ VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT date FROM table_name_37 WHERE time___et__ = "1:00 pm" AND game_site = "arrowhead stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where will the game at (ET) of 7:00 pm be at? ### Context: CREATE TABLE table_name_2 (game_site VARCHAR, time___et__ VARCHAR) [/INST] ### Response: SELECT game_site FROM table_name_2 WHERE time___et__ = "7:00 pm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the Driver that has a Laps smaller than 498, less than 58 points, a car number bigger than 22 and who has won $93,514? ### Context: CREATE TABLE table_name_15 (driver VARCHAR, winnings VARCHAR, car__number VARCHAR, laps VARCHAR, points VARCHAR) [/INST] ### Response: SELECT driver FROM table_name_15 WHERE laps < 498 AND points < 58 AND car__number > 22 AND winnings = "$93,514" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: At what location was there a loss on 20 jan? ### Context: CREATE TABLE table_name_98 (location VARCHAR, result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location FROM table_name_98 WHERE result = "loss" AND date = "20 jan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the venue for record of 2-7 ### Context: CREATE TABLE table_name_39 (venue VARCHAR, record VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_39 WHERE record = "2-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: Tell me the result for green bay packers ### Context: CREATE TABLE table_name_77 (result VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT result FROM table_name_77 WHERE opponent = "green bay packers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell mem the opponent for result of w 31-21 ### Context: CREATE TABLE table_name_52 (opponent VARCHAR, result VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_52 WHERE result = "w 31-21" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average speed of rider Peter Williams? ### Context: CREATE TABLE table_name_44 (speed VARCHAR, rider VARCHAR) [/INST] ### Response: SELECT speed FROM table_name_44 WHERE rider = "peter williams" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the time/s of team Triumph in those races in which Triumph ranked higher than 4? ### Context: CREATE TABLE table_name_44 (time VARCHAR, team VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT time FROM table_name_44 WHERE team = "triumph" AND rank < 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score in 1969? ### Context: CREATE TABLE table_name_9 (score VARCHAR, year VARCHAR) [/INST] ### Response: SELECT score FROM table_name_9 WHERE year = "1969" </s>