text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the attendance rate for the Middlesbrough opponent? ### Context: CREATE TABLE table_name_27 (attendance VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_27 WHERE opponent = "middlesbrough" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: The capital of funadhoo has what local letter? ### Context: CREATE TABLE table_name_28 (local_letter VARCHAR, capital VARCHAR) [/INST] ### Response: SELECT local_letter FROM table_name_28 WHERE capital = "funadhoo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 extra of short race and year less than 1999 ### Context: CREATE TABLE table_name_90 (venue VARCHAR, extra VARCHAR, year VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_90 WHERE extra = "short race" AND year < 1999 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the sum of year for 5th result ### Context: CREATE TABLE table_name_12 (year INTEGER, result VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_12 WHERE result = "5th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 extra for tournament of olympic games ### Context: CREATE TABLE table_name_14 (extra VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT extra FROM table_name_14 WHERE tournament = "olympic games" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 highest year for result of 9th ### Context: CREATE TABLE table_name_98 (year INTEGER, result VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_98 WHERE result = "9th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 shigella for yersinia yopb ### Context: CREATE TABLE table_name_52 (shigella VARCHAR, yersinia VARCHAR) [/INST] ### Response: SELECT shigella FROM table_name_52 WHERE yersinia = "yopb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 shigella and yscn ### Context: CREATE TABLE table_name_15 (shigella VARCHAR, yersinia VARCHAR) [/INST] ### Response: SELECT shigella FROM table_name_15 WHERE yersinia = "yscn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 november 24, 1996 ### Context: CREATE TABLE table_name_39 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_39 WHERE date = "november 24, 1996" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the tv time for attendance of 60,894 ### Context: CREATE TABLE table_name_86 (tv_time VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT tv_time FROM table_name_86 WHERE attendance = "60,894" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week for attendance of 60,894 ### Context: CREATE TABLE table_name_37 (week INTEGER, attendance VARCHAR) [/INST] ### Response: SELECT MIN(week) FROM table_name_37 WHERE attendance = "60,894" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Ensemble Name has the Advertisement date October 2007? ### Context: CREATE TABLE table_name_79 (ensemble_name VARCHAR, advertisement_date VARCHAR) [/INST] ### Response: SELECT ensemble_name FROM table_name_79 WHERE advertisement_date = "october 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: Who is the Winning Applicant of Block 10B in Derbyshire Area? ### Context: CREATE TABLE table_name_39 (winning_applicant VARCHAR, block VARCHAR, area VARCHAR) [/INST] ### Response: SELECT winning_applicant FROM table_name_39 WHERE block = "10b" AND area = "derbyshire" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Block does Northamptonshire Area have? ### Context: CREATE TABLE table_name_25 (block VARCHAR, area VARCHAR) [/INST] ### Response: SELECT block FROM table_name_25 WHERE area = "northamptonshire" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Ensemble Name Muxco Gloucestershire's Advertisement Date in Block 10C? ### Context: CREATE TABLE table_name_17 (advertisement_date VARCHAR, block VARCHAR, ensemble_name VARCHAR) [/INST] ### Response: SELECT advertisement_date FROM table_name_17 WHERE block = "10c" AND ensemble_name = "muxco gloucestershire" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Oxfordshire Area's Ensemble Name? ### Context: CREATE TABLE table_name_29 (ensemble_name VARCHAR, area VARCHAR) [/INST] ### Response: SELECT ensemble_name FROM table_name_29 WHERE area = "oxfordshire" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Winning Applicant of Ensemble Name Muxco Lincolnshire in Block 10D? ### Context: CREATE TABLE table_name_45 (winning_applicant VARCHAR, block VARCHAR, ensemble_name VARCHAR) [/INST] ### Response: SELECT winning_applicant FROM table_name_45 WHERE block = "10d" AND ensemble_name = "muxco lincolnshire" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average crowd size of games held at Glenferrie Oval? ### Context: CREATE TABLE table_name_43 (crowd INTEGER, venue VARCHAR) [/INST] ### Response: SELECT AVG(crowd) FROM table_name_43 WHERE venue = "glenferrie 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 was the home team's score at the game attended by more than 24,637? ### Context: CREATE TABLE table_name_81 (home_team VARCHAR, crowd INTEGER) [/INST] ### Response: SELECT home_team AS score FROM table_name_81 WHERE crowd > 24 OFFSET 637 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 time for the man who scored 1 point? ### Context: CREATE TABLE table_name_89 (time VARCHAR, points VARCHAR) [/INST] ### Response: SELECT time FROM table_name_89 WHERE points = 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the away team when the VFL played at MCG? ### Context: CREATE TABLE table_name_56 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_56 WHERE venue = "mcg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 crowd when the VFL played MCG? ### Context: CREATE TABLE table_name_49 (crowd INTEGER, venue VARCHAR) [/INST] ### Response: SELECT MIN(crowd) FROM table_name_49 WHERE venue = "mcg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 crowd when Melbourne was the home team? ### Context: CREATE TABLE table_name_70 (crowd INTEGER, home_team VARCHAR) [/INST] ### Response: SELECT AVG(crowd) FROM table_name_70 WHERE home_team = "melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of lane(s) for swimmers from Sweden with a 50m split of faster than 26.25? ### Context: CREATE TABLE table_name_24 (lane INTEGER, nationality VARCHAR, split__50m_ VARCHAR) [/INST] ### Response: SELECT SUM(lane) FROM table_name_24 WHERE nationality = "sweden" AND split__50m_ < 26.25 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the slowest 50m split time for a total of 53.74 in a lane of less than 3? ### Context: CREATE TABLE table_name_8 (split__50m_ INTEGER, time VARCHAR, lane VARCHAR) [/INST] ### Response: SELECT MAX(split__50m_) FROM table_name_8 WHERE time = 53.74 AND lane < 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 total sum of 50m splits for josefin lillhage in lanes above 8? ### Context: CREATE TABLE table_name_24 (split__50m_ INTEGER, name VARCHAR, lane VARCHAR) [/INST] ### Response: SELECT SUM(split__50m_) FROM table_name_24 WHERE name = "josefin lillhage" AND lane > 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score for the home team St Kilda? ### Context: CREATE TABLE table_name_60 (home_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_60 WHERE home_team = "st kilda" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 crowd size when Collingwood is the away team? ### Context: CREATE TABLE table_name_81 (crowd INTEGER, away_team VARCHAR) [/INST] ### Response: SELECT AVG(crowd) FROM table_name_81 WHERE away_team = "collingwood" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Senator in the O District who assumed office in 2013? ### Context: CREATE TABLE table_name_81 (name VARCHAR, assumed_office VARCHAR, district VARCHAR) [/INST] ### Response: SELECT name FROM table_name_81 WHERE assumed_office = 2013 AND district = "o" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1944 result for the U.S. Championships? ### Context: CREATE TABLE table_name_52 (tournament VARCHAR) [/INST] ### Response: SELECT 1944 FROM table_name_52 WHERE tournament = "u.s. championships" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournament that had a result of A in 1954 and NH in 1942? ### Context: CREATE TABLE table_name_30 (tournament VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_30 WHERE 1954 = "a" AND 1942 = "nh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Fitzroy the home team? ### Context: CREATE TABLE table_name_94 (date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_94 WHERE home_team = "fitzroy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where did Geelong play a home game? ### Context: CREATE TABLE table_name_74 (venue VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_74 WHERE home_team = "geelong" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 losses for teams with less than 4 games played? ### Context: CREATE TABLE table_name_38 (lost INTEGER, played INTEGER) [/INST] ### Response: SELECT SUM(lost) FROM table_name_38 WHERE played < 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the rider status for the 1971 netherlands team? ### Context: CREATE TABLE table_name_77 (rider_status VARCHAR, team_country VARCHAR, year VARCHAR) [/INST] ### Response: SELECT rider_status FROM table_name_77 WHERE team_country = "netherlands" AND year = 1971 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the winner in 1973 with an amateur rider status? ### Context: CREATE TABLE table_name_74 (winner VARCHAR, rider_status VARCHAR, year VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_74 WHERE rider_status = "amateur" AND year = 1973 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 latest year when Phil Anderson won? ### Context: CREATE TABLE table_name_28 (year INTEGER, winner VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_28 WHERE winner = "phil anderson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What ream played later than 1958 in the kellogg's tour? ### Context: CREATE TABLE table_name_54 (team_country VARCHAR, year VARCHAR, race_name VARCHAR) [/INST] ### Response: SELECT team_country FROM table_name_54 WHERE year > 1958 AND race_name = "kellogg's tour" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 laps that has a car number of larger than 1, is a ford, and has 155 points? ### Context: CREATE TABLE table_name_54 (laps INTEGER, points VARCHAR, car__number VARCHAR, make VARCHAR) [/INST] ### Response: SELECT SUM(laps) FROM table_name_54 WHERE car__number > 1 AND make = "ford" AND points = 155 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 laps for kyle petty with under 118 points? ### Context: CREATE TABLE table_name_99 (laps INTEGER, points VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT MIN(laps) FROM table_name_99 WHERE points < 118 AND driver = "kyle petty" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that played Fitzroy on May 13, 1950 at Brunswick Street Oval. ### Context: CREATE TABLE table_name_86 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_86 WHERE venue = "brunswick street 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 was the lowest crowd size at the Windy Hill venue? ### Context: CREATE TABLE table_name_55 (crowd INTEGER, venue VARCHAR) [/INST] ### Response: SELECT MIN(crowd) FROM table_name_55 WHERE venue = "windy hill" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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's home team is geelong? ### Context: CREATE TABLE table_name_33 (venue VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_33 WHERE home_team = "geelong" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many people in the crowd with north melbourne as an away team? ### Context: CREATE TABLE table_name_72 (crowd INTEGER, away_team VARCHAR) [/INST] ### Response: SELECT SUM(crowd) FROM table_name_72 WHERE away_team = "north melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which team was at Corio Oval on 4 June 1927? ### Context: CREATE TABLE table_name_77 (away_team VARCHAR, date VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_77 WHERE date = "4 june 1927" AND venue = "corio 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 was the home team score for the Richmond away team? ### Context: CREATE TABLE table_name_50 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_50 WHERE away_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: Which rider had a time of 1:54.26.6? ### Context: CREATE TABLE table_name_17 (rider VARCHAR, time VARCHAR) [/INST] ### Response: SELECT rider FROM table_name_17 WHERE time = "1:54.26.6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the time for Peter Berwick of Team Suzuki? ### Context: CREATE TABLE table_name_75 (time VARCHAR, team VARCHAR, rider VARCHAR) [/INST] ### Response: SELECT time FROM table_name_75 WHERE team = "suzuki" AND rider = "peter berwick" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home team's score at the game held at Punt Road Oval? ### Context: CREATE TABLE table_name_51 (home_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_51 WHERE venue = "punt road 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 was the home team's score at the game that had a crowd larger than 24,000? ### Context: CREATE TABLE table_name_79 (home_team VARCHAR, crowd INTEGER) [/INST] ### Response: SELECT home_team AS score FROM table_name_79 WHERE crowd > 24 OFFSET 000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position was for Arizona State? ### Context: CREATE TABLE table_name_92 (position VARCHAR, school_country VARCHAR) [/INST] ### Response: SELECT position FROM table_name_92 WHERE school_country = "arizona state" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team for the game where North Melbourne was the away team? ### Context: CREATE TABLE table_name_59 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_59 WHERE away_team = "north melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Candlelight Records Catalog of Candle053tin format? ### Context: CREATE TABLE table_name_93 (format VARCHAR, label VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT format FROM table_name_93 WHERE label = "candlelight records" AND catalog = "candle053tin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Candlelight Records format? ### Context: CREATE TABLE table_name_98 (format VARCHAR, label VARCHAR) [/INST] ### Response: SELECT format FROM table_name_98 WHERE label = "candlelight records" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year did Japan form a label? ### Context: CREATE TABLE table_name_79 (year VARCHAR, region VARCHAR) [/INST] ### Response: SELECT year FROM table_name_79 WHERE region = "japan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 associated with a longer length than 903? ### Context: CREATE TABLE table_name_64 (name VARCHAR, length INTEGER) [/INST] ### Response: SELECT name FROM table_name_64 WHERE length > 903 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the years that Landon Donovan won the ESPY award? ### Context: CREATE TABLE table_name_32 (year VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_32 WHERE player = "landon donovan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 uninterrupted ranks does john dingell have? ### Context: CREATE TABLE table_name_87 (uninterrupted_rank VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(uninterrupted_rank) FROM table_name_87 WHERE name = "john dingell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a total tenure time and uninterrupted time of 36 years, 0 days, as well as a total tenure rank of 49? ### Context: CREATE TABLE table_name_14 (name VARCHAR, total_tenure_rank VARCHAR, total_tenure_time VARCHAR, uninterrupted_time VARCHAR) [/INST] ### Response: SELECT name FROM table_name_14 WHERE total_tenure_time = "36 years, 0 days" AND uninterrupted_time = "36 years, 0 days" AND total_tenure_rank = 49 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value of match points when the points for is 570? ### Context: CREATE TABLE table_name_8 (match_points VARCHAR, points_against VARCHAR) [/INST] ### Response: SELECT match_points FROM table_name_8 WHERE points_against = "570" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 amount of match points for a club that lost 18 and has 11 bonus points? ### Context: CREATE TABLE table_name_6 (match_points VARCHAR, lost VARCHAR, bonus_points VARCHAR) [/INST] ### Response: SELECT match_points FROM table_name_6 WHERE lost = "18" AND bonus_points = "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 diff for a club that has a value of 662 for points for? ### Context: CREATE TABLE table_name_46 (diff VARCHAR, points_for VARCHAR) [/INST] ### Response: SELECT diff FROM table_name_46 WHERE points_for = "662" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a club that has a value of 595 for points for? ### Context: CREATE TABLE table_name_26 (games VARCHAR, points_for VARCHAR) [/INST] ### Response: SELECT games FROM table_name_26 WHERE points_for = "595" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a club that has 34 match points? ### Context: CREATE TABLE table_name_39 (games VARCHAR, match_points VARCHAR) [/INST] ### Response: SELECT games FROM table_name_39 WHERE match_points = "34" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bonus points did the Colomiers earn? ### Context: CREATE TABLE table_name_35 (bonus_points VARCHAR, club VARCHAR) [/INST] ### Response: SELECT bonus_points FROM table_name_35 WHERE club = "colomiers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 venue for the event on 12 November 2005? ### Context: CREATE TABLE table_name_13 (venue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_13 WHERE date = "12 november 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 is the competition that occured on 27 July 2004? ### Context: CREATE TABLE table_name_98 (competition VARCHAR, date VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_98 WHERE date = "27 july 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 is the venue of the game on 20 November 2002? ### Context: CREATE TABLE table_name_33 (venue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_33 WHERE date = "20 november 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 was the score of the game played on 16 August 2006? ### Context: CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_32 WHERE date = "16 august 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: How large was the crowd at Brunswick Street Oval? ### Context: CREATE TABLE table_name_35 (crowd VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT crowd FROM table_name_35 WHERE venue = "brunswick street 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: How big was the crowd when the away team was Richmond? ### Context: CREATE TABLE table_name_4 (crowd VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT crowd FROM table_name_4 WHERE away_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 was the largest crowd where the home team was Fitzroy? ### Context: CREATE TABLE table_name_19 (crowd INTEGER, home_team VARCHAR) [/INST] ### Response: SELECT MAX(crowd) FROM table_name_19 WHERE home_team = "fitzroy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 venue where Fitzroy played as the home team? ### Context: CREATE TABLE table_name_87 (venue VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_87 WHERE home_team = "fitzroy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 playing the home team North Melbourne? ### Context: CREATE TABLE table_name_88 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_88 WHERE home_team = "north melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 built Warren Booth's car with the Cosworth DFV V8 engine? ### Context: CREATE TABLE table_name_88 (constructor VARCHAR, engine VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT constructor FROM table_name_88 WHERE engine = "cosworth dfv v8" AND driver = "warren booth" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is used by Colin Bennett Racing with an 811 chassis? ### Context: CREATE TABLE table_name_48 (engine VARCHAR, entrant VARCHAR, chassis VARCHAR) [/INST] ### Response: SELECT engine FROM table_name_48 WHERE entrant = "colin bennett racing" AND chassis = "811" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What team used the BRM built car? ### Context: CREATE TABLE table_name_92 (entrant VARCHAR, constructor VARCHAR) [/INST] ### Response: SELECT entrant FROM table_name_92 WHERE constructor = "brm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 built the Jim Crawford car? ### Context: CREATE TABLE table_name_76 (constructor VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT constructor FROM table_name_76 WHERE driver = "jim crawford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What chassis does the shadow built car use? ### Context: CREATE TABLE table_name_36 (chassis VARCHAR, constructor VARCHAR) [/INST] ### Response: SELECT chassis FROM table_name_36 WHERE constructor = "shadow" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What team uses a Cosworth DFV V8 engine and DN9 Chassis? ### Context: CREATE TABLE table_name_68 (entrant VARCHAR, engine VARCHAR, chassis VARCHAR) [/INST] ### Response: SELECT entrant FROM table_name_68 WHERE engine = "cosworth dfv v8" AND chassis = "dn9" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Oslo's population in 1960, with a population of 507,467 in 2000? ### Context: CREATE TABLE table_name_41 (population__1960_ INTEGER, county VARCHAR, population__2000_ VARCHAR) [/INST] ### Response: SELECT AVG(population__1960_) FROM table_name_41 WHERE county = "oslo" AND population__2000_ > 507 OFFSET 467 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 week number(s) had an attendance of 61,985? ### Context: CREATE TABLE table_name_95 (week VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT COUNT(week) FROM table_name_95 WHERE attendance = 61 OFFSET 985 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the home team's score when the venue is princes park? ### Context: CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_16 WHERE venue = "princes 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 away team when north melbourne is at home? ### Context: CREATE TABLE table_name_99 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_99 WHERE home_team = "north melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average that has 6 dances and a total of over 128? ### Context: CREATE TABLE table_name_15 (average INTEGER, number_of_dances VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MAX(average) FROM table_name_15 WHERE number_of_dances = 6 AND total > 128 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party has a net gain/loss of -2? ### Context: CREATE TABLE table_name_19 (party VARCHAR, net_gain_loss VARCHAR) [/INST] ### Response: SELECT party FROM table_name_19 WHERE net_gain_loss = "-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 the Swedish People's Party had a net gain/loss of 0, how many seats did they have? ### Context: CREATE TABLE table_name_38 (seats VARCHAR, net_gain_loss VARCHAR, party VARCHAR) [/INST] ### Response: SELECT seats FROM table_name_38 WHERE net_gain_loss = "0" AND party = "swedish people's party" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 there was a net gain/loss of +34, what was the percentage of seats that party held? ### Context: CREATE TABLE table_name_74 (_percentage_of_seats VARCHAR, net_gain_loss VARCHAR) [/INST] ### Response: SELECT _percentage_of_seats FROM table_name_74 WHERE net_gain_loss = "+34" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Regarding the seats that casted 8.1% of the vote how many seats were held? ### Context: CREATE TABLE table_name_71 (seats VARCHAR, _percentage_of_votes VARCHAR) [/INST] ### Response: SELECT seats FROM table_name_71 WHERE _percentage_of_votes = "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: How many points does footscray score as the home side? ### Context: CREATE TABLE table_name_86 (home_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_86 WHERE home_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 the home team's score when richmond is away? ### Context: CREATE TABLE table_name_87 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_87 WHERE away_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 player played on 04/05/1999 with a conv of 0? ### Context: CREATE TABLE table_name_36 (player VARCHAR, conv VARCHAR, date VARCHAR) [/INST] ### Response: SELECT player FROM table_name_36 WHERE conv = "0" AND date = "04/05/1999" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date did Josh Taumalolo play at Nuku'alofa? ### Context: CREATE TABLE table_name_49 (date VARCHAR, venue VARCHAR, player VARCHAR) [/INST] ### Response: SELECT date FROM table_name_49 WHERE venue = "nuku'alofa" AND player = "josh taumalolo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the home team score when the away team is St Kilda? ### Context: CREATE TABLE table_name_37 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_37 WHERE away_team = "st kilda" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the home team score when the away team is Melbourne? ### Context: CREATE TABLE table_name_95 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_95 WHERE away_team = "melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the home team for punt road oval? ### Context: CREATE TABLE table_name_38 (home_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_38 WHERE venue = "punt road 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: Which country has a Youth (15-24) Literacy Rate Total of 100% and has an Adult Women Literacy rate of 92%? ### Context: CREATE TABLE table_name_60 (country VARCHAR, youth__15_24__literacy_rate_total VARCHAR, adult_women VARCHAR) [/INST] ### Response: SELECT country FROM table_name_60 WHERE youth__15_24__literacy_rate_total = "100%" AND adult_women = "92%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 its most recent year as being 2005 and has an Adult Men literacy rate of 96%? ### Context: CREATE TABLE table_name_62 (country VARCHAR, year__most_recent_ VARCHAR, adult_men VARCHAR) [/INST] ### Response: SELECT country FROM table_name_62 WHERE year__most_recent_ = 2005 AND adult_men = "96%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What country has a Youth (15-24) Literacy Rate Total of 99%, and a Youth Men of 98%? ### Context: CREATE TABLE table_name_50 (country VARCHAR, youth__15_24__literacy_rate_total VARCHAR, youth_men VARCHAR) [/INST] ### Response: SELECT country FROM table_name_50 WHERE youth__15_24__literacy_rate_total = "99%" AND youth_men = "98%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 public college has a nickname of The Grenadiers? ### Context: CREATE TABLE table_name_30 (institution VARCHAR, type VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT institution FROM table_name_30 WHERE type = "public" AND nickname = "grenadiers" </s>