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 H/A/N, when Record is 20-48? ### Context: CREATE TABLE table_name_64 (h_a_n VARCHAR, record VARCHAR) [/INST] ### Response: SELECT h_a_n FROM table_name_64 WHERE record = "20-48" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Record, when Score is 104-99? ### Context: CREATE TABLE table_name_55 (record VARCHAR, score VARCHAR) [/INST] ### Response: SELECT record FROM table_name_55 WHERE score = "104-99" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date with home team of Stockport County? ### Context: CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_35 WHERE home_team = "stockport county" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score on 17 November 1956 when home team is Derby County? ### Context: CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_36 WHERE date = "17 november 1956" AND home_team = "derby county" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score when the tie number is 4? ### Context: CREATE TABLE table_name_47 (score VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT score FROM table_name_47 WHERE tie_no = "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 number of points when the draws are more than 1? ### Context: CREATE TABLE table_name_57 (points VARCHAR, draw INTEGER) [/INST] ### Response: SELECT COUNT(points) FROM table_name_57 WHERE draw > 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 number for match when the draws in more than 0, the team is Polonia Bydgoszcz, and there are less than 17 points? ### Context: CREATE TABLE table_name_19 (match INTEGER, points VARCHAR, draw VARCHAR, team VARCHAR) [/INST] ### Response: SELECT SUM(match) FROM table_name_19 WHERE draw > 0 AND team = "polonia bydgoszcz" AND points < 17 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest number for draw when the points are less than 17, and the lost is 13? ### Context: CREATE TABLE table_name_4 (draw INTEGER, points VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT MIN(draw) FROM table_name_4 WHERE points < 17 AND lost = 13 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of points when the match is smaller than 14? ### Context: CREATE TABLE table_name_50 (points VARCHAR, match INTEGER) [/INST] ### Response: SELECT COUNT(points) FROM table_name_50 WHERE match < 14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the apps when the name is smith? ### Context: CREATE TABLE table_name_24 (apps INTEGER, name VARCHAR) [/INST] ### Response: SELECT MIN(apps) FROM table_name_24 WHERE name = "smith" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 times is the transfer fee Β£2,500,000? ### Context: CREATE TABLE table_name_62 (goals VARCHAR, transfer_fee VARCHAR) [/INST] ### Response: SELECT COUNT(goals) FROM table_name_62 WHERE transfer_fee = "Β£2,500,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: how many times is the transfer window, summer and the name sinclair? ### Context: CREATE TABLE table_name_83 (apps VARCHAR, transfer_window VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(apps) FROM table_name_83 WHERE transfer_window = "summer" AND name = "sinclair" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 goals when the country is wal, the name is smith and apps is more than 0? ### Context: CREATE TABLE table_name_83 (goals INTEGER, apps VARCHAR, country VARCHAR, name VARCHAR) [/INST] ### Response: SELECT SUM(goals) FROM table_name_83 WHERE country = "wal" AND name = "smith" AND apps > 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Studio of the Film with a Gross rental of $7,500,000? ### Context: CREATE TABLE table_name_33 (studio VARCHAR, gross_rental VARCHAR) [/INST] ### Response: SELECT studio FROM table_name_33 WHERE gross_rental = "$7,500,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: Which Result has a Score of 2 – 0, and a Competition of 2006 fifa world cup qualification? ### Context: CREATE TABLE table_name_74 (result VARCHAR, score VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT result FROM table_name_74 WHERE score = "2 – 0" AND competition = "2006 fifa world cup qualification" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Score has a Result of 0 – 2? ### Context: CREATE TABLE table_name_81 (score VARCHAR, result VARCHAR) [/INST] ### Response: SELECT score FROM table_name_81 WHERE result = "0 – 2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Score has a Competition of uefa euro 2012 qualifying? ### Context: CREATE TABLE table_name_70 (score VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT score FROM table_name_70 WHERE competition = "uefa euro 2012 qualifying" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score of 0 – 2? ### Context: CREATE TABLE table_name_55 (date VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_55 WHERE score = "0 – 2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Result has a Competition of 2014 fifa world cup qualification, and a Score of 2 – 0? ### Context: CREATE TABLE table_name_72 (result VARCHAR, competition VARCHAR, score VARCHAR) [/INST] ### Response: SELECT result FROM table_name_72 WHERE competition = "2014 fifa world cup qualification" AND score = "2 – 0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Venue has a Date of 1 march 2006? ### Context: CREATE TABLE table_name_41 (venue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_41 WHERE date = "1 march 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: Who is the player with an E to par and a 68-73-69=210? ### Context: CREATE TABLE table_name_49 (player VARCHAR, to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_49 WHERE to_par = "e" AND score = 68 - 73 - 69 = 210 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the country with a 66-70-69=205 score? ### Context: CREATE TABLE table_name_21 (country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_21 WHERE score = 66 - 70 - 69 = 205 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player from Japan? ### Context: CREATE TABLE table_name_9 (player VARCHAR, country VARCHAR) [/INST] ### Response: SELECT player FROM table_name_9 WHERE country = "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 country is player jay haas, who is in t10 place, from? ### Context: CREATE TABLE table_name_61 (country VARCHAR, place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_61 WHERE place = "t10" AND player = "jay haas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the country with a 68-73-69=210 score? ### Context: CREATE TABLE table_name_91 (country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_91 WHERE score = 68 - 73 - 69 = 210 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score of player mark hayes? ### Context: CREATE TABLE table_name_14 (score VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_14 WHERE player = "mark hayes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 WITH A TIE NUMBER OF 7? ### Context: CREATE TABLE table_name_52 (home_team VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_52 WHERE tie_no = "7" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHAT IS THE AWAY TEAM WITH A HOME TEAM OF CHELSEA? ### Context: CREATE TABLE table_name_68 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_68 WHERE home_team = "chelsea" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHAT IS THE SCORE WITH A TIE NUMBER OF 13? ### Context: CREATE TABLE table_name_86 (score VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT score FROM table_name_86 WHERE tie_no = "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 ATTENDANCE WITH A READING AWAY TEAM? ### Context: CREATE TABLE table_name_24 (attendance VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_24 WHERE away_team = "reading" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 WITH A READING AWAY TEAM? ### Context: CREATE TABLE table_name_40 (attendance VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_40 WHERE away_team = "reading" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Builder when the wheels were 4-4-0 and the railway was GCR? ### Context: CREATE TABLE table_name_67 (builder VARCHAR, wheels VARCHAR, railway VARCHAR) [/INST] ### Response: SELECT builder FROM table_name_67 WHERE wheels = "4-4-0" AND railway = "gcr" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 railway was built in 1920? ### Context: CREATE TABLE table_name_69 (railway VARCHAR, built VARCHAR) [/INST] ### Response: SELECT railway FROM table_name_69 WHERE built = "1920" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 railway was built in 1909? ### Context: CREATE TABLE table_name_63 (railway VARCHAR, built VARCHAR) [/INST] ### Response: SELECT railway FROM table_name_63 WHERE built = "1909" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year was Stephenson the builder? ### Context: CREATE TABLE table_name_93 (built VARCHAR, builder VARCHAR) [/INST] ### Response: SELECT built FROM table_name_93 WHERE builder = "stephenson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Object Number for the item with wheels 4-4-0 and a location of Barrow Hill? ### Context: CREATE TABLE table_name_95 (objectnumber VARCHAR, location VARCHAR, wheels VARCHAR) [/INST] ### Response: SELECT objectnumber FROM table_name_95 WHERE location = "barrow hill" AND wheels = "4-4-0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the builder in 1920? ### Context: CREATE TABLE table_name_84 (builder VARCHAR, built VARCHAR) [/INST] ### Response: SELECT builder FROM table_name_84 WHERE built = "1920" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 played in the Darida venue? ### Context: CREATE TABLE table_name_26 (venue VARCHAR, team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_26 WHERE team = "darida" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Team Dnepr's position in 2006? ### Context: CREATE TABLE table_name_77 (position_in_2006 VARCHAR, team VARCHAR) [/INST] ### Response: SELECT position_in_2006 FROM table_name_77 WHERE team = "dnepr" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ICAO has a Province of heilongjiang, and a IATA of jmu? ### Context: CREATE TABLE table_name_34 (icao VARCHAR, province VARCHAR, iata VARCHAR) [/INST] ### Response: SELECT icao FROM table_name_34 WHERE province = "heilongjiang" AND iata = "jmu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Province has a ICAO of vmmc? ### Context: CREATE TABLE table_name_56 (province VARCHAR, icao VARCHAR) [/INST] ### Response: SELECT province FROM table_name_56 WHERE icao = "vmmc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Province has a City of hiroshima? ### Context: CREATE TABLE table_name_61 (province VARCHAR, city VARCHAR) [/INST] ### Response: SELECT province FROM table_name_61 WHERE city = "hiroshima" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Province has a IATA of aku? ### Context: CREATE TABLE table_name_62 (province VARCHAR, iata VARCHAR) [/INST] ### Response: SELECT province FROM table_name_62 WHERE iata = "aku" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 IATA with a City of budapest? ### Context: CREATE TABLE table_name_3 (iata VARCHAR, city VARCHAR) [/INST] ### Response: SELECT iata FROM table_name_3 WHERE city = "budapest" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Province with ICAO of zbcf? ### Context: CREATE TABLE table_name_60 (province VARCHAR, icao VARCHAR) [/INST] ### Response: SELECT province FROM table_name_60 WHERE icao = "zbcf" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the country with a 70-74-69=213 score? ### Context: CREATE TABLE table_name_65 (country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_65 WHERE score = 70 - 74 - 69 = 213 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest to par of player mark brooks, who has a t2 place? ### Context: CREATE TABLE table_name_19 (to_par INTEGER, place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT MAX(to_par) FROM table_name_19 WHERE place = "t2" AND player = "mark brooks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score of player craig stadler from the United States with a t8 place? ### Context: CREATE TABLE table_name_84 (score VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR) [/INST] ### Response: SELECT score FROM table_name_84 WHERE place = "t8" AND country = "united states" AND player = "craig stadler" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the country of player ian woosnam? ### Context: CREATE TABLE table_name_93 (country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_93 WHERE player = "ian woosnam" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 silver medals did the team that had 5 bronze and less than 16 gold have? ### Context: CREATE TABLE table_name_93 (silver INTEGER, bronze VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT SUM(silver) FROM table_name_93 WHERE bronze > 5 AND gold < 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the team website when the institution is indiana university of pennsylvania? ### Context: CREATE TABLE table_name_93 (team_website VARCHAR, institution VARCHAR) [/INST] ### Response: SELECT team_website FROM table_name_93 WHERE institution = "indiana university of pennsylvania" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the team nickname when joined tschl is 2010 and home arena is kettering rec center and the team website is dayton hockey? ### Context: CREATE TABLE table_name_68 (team_nickname VARCHAR, team_website VARCHAR, joined_tschl VARCHAR, home_arena VARCHAR) [/INST] ### Response: SELECT team_nickname FROM table_name_68 WHERE joined_tschl = 2010 AND home_arena = "kettering rec center" AND team_website = "dayton hockey" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the team nickname that joined tschl after 2010? ### Context: CREATE TABLE table_name_78 (team_nickname VARCHAR, joined_tschl INTEGER) [/INST] ### Response: SELECT team_nickname FROM table_name_78 WHERE joined_tschl > 2010 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 institution at akron, oh? ### Context: CREATE TABLE table_name_78 (institution VARCHAR, location VARCHAR) [/INST] ### Response: SELECT institution FROM table_name_78 WHERE location = "akron, oh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 arena that joined tschl in 2010 and the team nickname is bearcats? ### Context: CREATE TABLE table_name_59 (home_arena VARCHAR, joined_tschl VARCHAR, team_nickname VARCHAR) [/INST] ### Response: SELECT home_arena FROM table_name_59 WHERE joined_tschl = 2010 AND team_nickname = "bearcats" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Richard Crump picked after the 114 pick was drafted in what round? ### Context: CREATE TABLE table_name_99 (round VARCHAR, pick__number VARCHAR, player VARCHAR) [/INST] ### Response: SELECT round FROM table_name_99 WHERE pick__number > 114 AND player = "richard crump" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 grid smaller than 24, less than 61 laps, and a ferrari constructor? ### Context: CREATE TABLE table_name_74 (driver VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR) [/INST] ### Response: SELECT driver FROM table_name_74 WHERE grid < 24 AND laps < 61 AND constructor = "ferrari" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with 58 laps and a grid smaller than 21? ### Context: CREATE TABLE table_name_44 (driver VARCHAR, laps VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT driver FROM table_name_44 WHERE laps = 58 AND grid < 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 year did J. Jones, trearddur bay build a boat with a current status of tbsc? ### Context: CREATE TABLE table_name_54 (year_built VARCHAR, current_status VARCHAR, boat_builder VARCHAR) [/INST] ### Response: SELECT year_built FROM table_name_54 WHERE current_status = "tbsc" AND boat_builder = "j. jones, trearddur bay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 boat builder for a boat built in 1910/11 and a number of 39? ### Context: CREATE TABLE table_name_42 (boat_builder VARCHAR, year_built VARCHAR, number VARCHAR) [/INST] ### Response: SELECT boat_builder FROM table_name_42 WHERE year_built = "1910/11" AND number = 39 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 boat builder for a boat built in 1994 and a number greater than 93? ### Context: CREATE TABLE table_name_76 (boat_builder VARCHAR, number VARCHAR, year_built VARCHAR) [/INST] ### Response: SELECT boat_builder FROM table_name_76 WHERE number > 93 AND year_built = "1994" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year was the cormorant built in? ### Context: CREATE TABLE table_name_46 (year_built VARCHAR, name VARCHAR) [/INST] ### Response: SELECT year_built FROM table_name_46 WHERE name = "cormorant" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What boat builder built the valmai with a number less than 65? ### Context: CREATE TABLE table_name_28 (boat_builder VARCHAR, number VARCHAR, name VARCHAR) [/INST] ### Response: SELECT boat_builder FROM table_name_28 WHERE number < 65 AND name = "valmai" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sporting location is where Richmond plays? ### Context: CREATE TABLE table_name_69 (venue VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_69 WHERE home_team = "richmond" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When the Away team was essendon, what was the Venue they played at? ### Context: CREATE TABLE table_name_14 (venue VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_14 WHERE away_team = "essendon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What college or club team did Dale Mitchell play for? ### Context: CREATE TABLE table_name_48 (college_junior_club_team__league_ VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college_junior_club_team__league_ FROM table_name_48 WHERE player = "dale mitchell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 leading scorer for the game on March 22, 2008 with a visitor of Magic? ### Context: CREATE TABLE table_name_40 (leading_scorer VARCHAR, visitor VARCHAR, date VARCHAR) [/INST] ### Response: SELECT leading_scorer FROM table_name_40 WHERE visitor = "magic" AND date = "march 22, 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the home team on March 5, 2008? ### Context: CREATE TABLE table_name_40 (home VARCHAR, date VARCHAR) [/INST] ### Response: SELECT home FROM table_name_40 WHERE date = "march 5, 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score for the away team at Essendon? ### Context: CREATE TABLE table_name_19 (away_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_19 WHERE away_team = "essendon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 smallest crowd size for the home team at St Kilda? ### Context: CREATE TABLE table_name_80 (crowd INTEGER, home_team VARCHAR) [/INST] ### Response: SELECT MIN(crowd) FROM table_name_80 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: Name for me the tatsuhito takaiwa for Ryusuke Taguchi of taguchi (14:31) ### Context: CREATE TABLE table_name_50 (tatsuhito_takaiwa VARCHAR, ryusuke_taguchi VARCHAR) [/INST] ### Response: SELECT tatsuhito_takaiwa FROM table_name_50 WHERE ryusuke_taguchi = "taguchi (14: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: Name the ryusuke taguchi for Jushin Liger of liger (9:57) ### Context: CREATE TABLE table_name_53 (ryusuke_taguchi VARCHAR, jushin_liger VARCHAR) [/INST] ### Response: SELECT ryusuke_taguchi FROM table_name_53 WHERE jushin_liger = "liger (9: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: What were the most in attendance in Richmond? ### Context: CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR) [/INST] ### Response: SELECT MAX(crowd) FROM table_name_61 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 team played Essendon? ### Context: CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_90 WHERE away_team = "essendon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which game site has an Opponent of buffalo bills? ### Context: CREATE TABLE table_name_75 (game_site VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT game_site FROM table_name_75 WHERE opponent = "buffalo bills" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which opponent has a Result of l 6–3? ### Context: CREATE TABLE table_name_70 (opponent VARCHAR, result VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_70 WHERE result = "l 6–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: Which game site has a Week bigger than 13, and a Result of l 20–0? ### Context: CREATE TABLE table_name_76 (game_site VARCHAR, week VARCHAR, result VARCHAR) [/INST] ### Response: SELECT game_site FROM table_name_76 WHERE week > 13 AND result = "l 20–0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which date has a Week of 6? ### Context: CREATE TABLE table_name_44 (date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_name_44 WHERE week = 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: Who was the visiting team where the decision was Biron on October 4? ### Context: CREATE TABLE table_name_43 (visitor VARCHAR, decision VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_43 WHERE decision = "biron" AND date = "october 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 highest number of losses where a team scored more than 45 goals and had 32 against? ### Context: CREATE TABLE table_name_23 (losses INTEGER, goals_against VARCHAR, goals_for VARCHAR) [/INST] ### Response: SELECT MAX(losses) FROM table_name_23 WHERE goals_against = 32 AND goals_for > 45 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 location attendance of the game with Kobe Bryant (18) with the highest points on November 18? ### Context: CREATE TABLE table_name_83 (location_attendance VARCHAR, high_points VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_name_83 WHERE high_points = "kobe bryant (18)" AND date = "november 18" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had game 3? ### Context: CREATE TABLE table_name_73 (team VARCHAR, game VARCHAR) [/INST] ### Response: SELECT team FROM table_name_73 WHERE game = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the authority of the scientific name of O. Tricuspis? ### Context: CREATE TABLE table_name_50 (authority VARCHAR, scientic_name VARCHAR) [/INST] ### Response: SELECT authority FROM table_name_50 WHERE scientic_name = "o. tricuspis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 decile occur in Mount Roskill with Monte Cecilia school with a roll greater than 170? ### Context: CREATE TABLE table_name_33 (decile VARCHAR, roll VARCHAR, area VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(decile) FROM table_name_33 WHERE area = "mount roskill" AND name = "monte cecilia school" AND roll > 170 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For ranks over 2 with Golds over 6 and Silvers over 5 what would be the lowest qualifying Total? ### Context: CREATE TABLE table_name_4 (total INTEGER, silver VARCHAR, gold VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MIN(total) FROM table_name_4 WHERE gold > 6 AND rank > 2 AND silver > 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Playoffs during 2004-05? ### Context: CREATE TABLE table_name_82 (playoffs VARCHAR, year VARCHAR) [/INST] ### Response: SELECT playoffs FROM table_name_82 WHERE year = "2004-05" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the record of the game on July 3? ### Context: CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_44 WHERE date = "july 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 was the attendance at the game when the record was 35-46? ### Context: CREATE TABLE table_name_20 (attendance VARCHAR, record VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_20 WHERE record = "35-46" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the record was 35-47? ### Context: CREATE TABLE table_name_76 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_76 WHERE record = "35-47" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 took the loss against the California Angels when the attendance was 10,886? ### Context: CREATE TABLE table_name_90 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT loss FROM table_name_90 WHERE opponent = "california angels" AND attendance = "10,886" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were in the crowd for a game than had carlton as the visiting team? ### Context: CREATE TABLE table_name_31 (crowd VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT crowd FROM table_name_31 WHERE away_team = "carlton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total size of the crowd at a home game for north melbourne? ### Context: CREATE TABLE table_name_93 (crowd INTEGER, home_team VARCHAR) [/INST] ### Response: SELECT SUM(crowd) FROM table_name_93 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: When was the game played at glenferrie oval? ### Context: CREATE TABLE table_name_70 (date VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_70 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: When the crowd was bigger than 26,063, who was the Away team? ### Context: CREATE TABLE table_name_74 (away_team VARCHAR, crowd INTEGER) [/INST] ### Response: SELECT away_team FROM table_name_74 WHERE crowd > 26 OFFSET 063 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What did South Melbourne score when they were the Away team? ### Context: CREATE TABLE table_name_21 (away_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_21 WHERE away_team = "south 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 average rank of gol on airlines? ### Context: CREATE TABLE table_name_45 (rank INTEGER, airline VARCHAR) [/INST] ### Response: SELECT AVG(rank) FROM table_name_45 WHERE airline = "gol" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score when Home team is fitzroy? ### Context: CREATE TABLE table_name_6 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_6 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: Which date was corio oval the venue? ### Context: CREATE TABLE table_name_12 (date VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_12 WHERE 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: Which venue has St Kilda as the away team? ### Context: CREATE TABLE table_name_8 (venue VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_8 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 was the away team score at the game held on 17 August 1935? ### Context: CREATE TABLE table_name_65 (away_team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_65 WHERE date = "17 august 1935" </s>