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 average Heat Points, when Result is "Loss", when Game is greater than 72, and when Date is "April 21"? ### Context: CREATE TABLE table_name_83 (heat_points INTEGER, date VARCHAR, result VARCHAR, game VARCHAR) [/INST] ### Response: SELECT AVG(heat_points) FROM table_name_83 WHERE result = "loss" AND game > 72 AND date = "april 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 was the attendance for week 2? ### Context: CREATE TABLE table_name_39 (attendance VARCHAR, week VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_39 WHERE week = 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the attendance when the Cincinnati Bengals were the opponents? ### Context: CREATE TABLE table_name_79 (attendance VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_79 WHERE opponent = "cincinnati bengals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 had a paste publication in 2009? ### Context: CREATE TABLE table_name_9 (country VARCHAR, year VARCHAR, publication VARCHAR) [/INST] ### Response: SELECT country FROM table_name_9 WHERE year = 2009 AND publication = "paste" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rank after 2009 with an accolade of 125 best albums of the past 25 years? ### Context: CREATE TABLE table_name_79 (rank INTEGER, year VARCHAR, accolade VARCHAR) [/INST] ### Response: SELECT MIN(rank) FROM table_name_79 WHERE year > 2009 AND accolade = "125 best albums of the past 25 years" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tom Gillis' score? ### Context: CREATE TABLE table_name_33 (score VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_33 WHERE player = "tom gillis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player is T3? ### Context: CREATE TABLE table_name_70 (player VARCHAR, place VARCHAR) [/INST] ### Response: SELECT player FROM table_name_70 WHERE place = "t3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is Len Mattiace in T10 place? ### Context: CREATE TABLE table_name_54 (country VARCHAR, place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_54 WHERE place = "t10" AND player = "len mattiace" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score for the player who is T5 in the United States? ### Context: CREATE TABLE table_name_60 (score INTEGER, place VARCHAR, country VARCHAR) [/INST] ### Response: SELECT AVG(score) FROM table_name_60 WHERE place = "t5" AND country = "united states" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1976 when 1980 is 2.0? ### Context: CREATE TABLE table_name_46 (Id VARCHAR) [/INST] ### Response: SELECT 1976 FROM table_name_46 WHERE 1980 = "2.0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is 1980 when 1979 is 951? ### Context: CREATE TABLE table_name_9 (Id VARCHAR) [/INST] ### Response: SELECT 1980 FROM table_name_9 WHERE 1979 = "951" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1977 when 1980 is chile? ### Context: CREATE TABLE table_name_65 (Id VARCHAR) [/INST] ### Response: SELECT 1977 FROM table_name_65 WHERE 1980 = "chile" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1976 when 1977 is 3.5? ### Context: CREATE TABLE table_name_96 (Id VARCHAR) [/INST] ### Response: SELECT 1976 FROM table_name_96 WHERE 1977 = "3.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 1977 when 1978 is 4.1? ### Context: CREATE TABLE table_name_84 (Id VARCHAR) [/INST] ### Response: SELECT 1977 FROM table_name_84 WHERE 1978 = "4.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 1980 when 1978 is 2.3? ### Context: CREATE TABLE table_name_22 (Id VARCHAR) [/INST] ### Response: SELECT 1980 FROM table_name_22 WHERE 1978 = "2.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 Frequency for Model Number c7 1.0? ### Context: CREATE TABLE table_name_54 (frequency VARCHAR, model_number VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_54 WHERE model_number = "c7 1.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 Release Date for Model Number c7 1.8? ### Context: CREATE TABLE table_name_62 (release_date VARCHAR, model_number VARCHAR) [/INST] ### Response: SELECT release_date FROM table_name_62 WHERE model_number = "c7 1.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 is the Front Side Bus for Model Number c7 1.5? ### Context: CREATE TABLE table_name_68 (front_side_bus VARCHAR, model_number VARCHAR) [/INST] ### Response: SELECT front_side_bus FROM table_name_68 WHERE model_number = "c7 1.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 to par is located in the united states and has the player by the name of hale irwin? ### Context: CREATE TABLE table_name_87 (to_par VARCHAR, country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_87 WHERE country = "united states" AND player = "hale irwin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the score og 66-70-69-71=276? ### Context: CREATE TABLE table_name_63 (country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_63 WHERE score = 66 - 70 - 69 - 71 = 276 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ON APRIL 25? ### Context: CREATE TABLE table_name_52 (home_team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_52 WHERE date = "april 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 DATE WITH BOSTON ROAD TEAM AND 126-105 RESULT? ### Context: CREATE TABLE table_name_86 (date VARCHAR, road_team VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date FROM table_name_86 WHERE road_team = "boston" AND result = "126-105" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHAT GAME HAD A SCORE OF 99-112? ### Context: CREATE TABLE table_name_30 (game VARCHAR, result VARCHAR) [/INST] ### Response: SELECT game FROM table_name_30 WHERE result = "99-112" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHAT IS THE RESULT OF THE GAME ON APRIL 23? ### Context: CREATE TABLE table_name_60 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_60 WHERE date = "april 23" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHAT IS THE RESULT WITH THE BOSTON ROAD TEAM, ON APRIL 23? ### Context: CREATE TABLE table_name_68 (result VARCHAR, road_team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_68 WHERE road_team = "boston" AND date = "april 23" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHAT IS THE HOME TEAM, RESULT 99-112? ### Context: CREATE TABLE table_name_21 (home_team VARCHAR, result VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_21 WHERE result = "99-112" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Brown's transfer window? ### Context: CREATE TABLE table_name_52 (transfer_window VARCHAR, name VARCHAR) [/INST] ### Response: SELECT transfer_window FROM table_name_52 WHERE name = "brown" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 transfer window with a status of transfer from the country of Wal? ### Context: CREATE TABLE table_name_65 (transfer_window VARCHAR, status VARCHAR, country VARCHAR) [/INST] ### Response: SELECT transfer_window FROM table_name_65 WHERE status = "transfer" AND country = "wal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 status of the Eng Country from the Maynard name? ### Context: CREATE TABLE table_name_28 (status VARCHAR, country VARCHAR, name VARCHAR) [/INST] ### Response: SELECT status FROM table_name_28 WHERE country = "eng" AND name = "maynard" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 free transfer fee with a transfer status and an ENG country? ### Context: CREATE TABLE table_name_31 (name VARCHAR, country VARCHAR, transfer_fee VARCHAR, status VARCHAR) [/INST] ### Response: SELECT name FROM table_name_31 WHERE transfer_fee = "free" AND status = "transfer" AND country = "eng" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 status of the ENG Country with the name of Farquharson? ### Context: CREATE TABLE table_name_79 (status VARCHAR, country VARCHAR, name VARCHAR) [/INST] ### Response: SELECT status FROM table_name_79 WHERE country = "eng" AND name = "farquharson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Left Office, when Took Office is 2006? ### Context: CREATE TABLE table_name_82 (left_office VARCHAR, took_office VARCHAR) [/INST] ### Response: SELECT left_office FROM table_name_82 WHERE took_office = "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: What is Left Office, when Party is Vacant (1999-2001)? ### Context: CREATE TABLE table_name_83 (left_office VARCHAR, party VARCHAR) [/INST] ### Response: SELECT left_office FROM table_name_83 WHERE party = "vacant (1999-2001)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Name, when President is Khamtai Siphandon, and when Left Office is 1999? ### Context: CREATE TABLE table_name_66 (name VARCHAR, president VARCHAR, left_office VARCHAR) [/INST] ### Response: SELECT name FROM table_name_66 WHERE president = "khamtai siphandon" AND left_office = "1999" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Party, when Name is Oudom Khattigna? ### Context: CREATE TABLE table_name_8 (party VARCHAR, name VARCHAR) [/INST] ### Response: SELECT party FROM table_name_8 WHERE name = "oudom khattigna" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Party, when Took Office is 1998? ### Context: CREATE TABLE table_name_14 (party VARCHAR, took_office VARCHAR) [/INST] ### Response: SELECT party FROM table_name_14 WHERE took_office = "1998" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Left Office, when Took Office is 1998? ### Context: CREATE TABLE table_name_25 (left_office VARCHAR, took_office VARCHAR) [/INST] ### Response: SELECT left_office FROM table_name_25 WHERE took_office = "1998" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away team geelong? ### Context: CREATE TABLE table_name_13 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_13 WHERE away_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 was the ground for away team essendon? ### Context: CREATE TABLE table_name_19 (ground VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT ground 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 ground for away team sydney? ### Context: CREATE TABLE table_name_59 (ground VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT ground FROM table_name_59 WHERE away_team = "sydney" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date was the week 6 game played on? ### Context: CREATE TABLE table_name_80 (date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_name_80 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: What week was the game played at Mile High Stadium? ### Context: CREATE TABLE table_name_85 (week VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT week FROM table_name_85 WHERE venue = "mile high stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the losing bonus when drawn was 0, and there were 101 points? ### Context: CREATE TABLE table_name_53 (losing_bonus VARCHAR, drawn VARCHAR, points VARCHAR) [/INST] ### Response: SELECT losing_bonus FROM table_name_53 WHERE drawn = "0" AND points = "101" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the points when the lost was 11? ### Context: CREATE TABLE table_name_29 (points_for VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT points_for FROM table_name_29 WHERE lost = "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 lost when the club was Barry RFC? ### Context: CREATE TABLE table_name_60 (lost VARCHAR, club VARCHAR) [/INST] ### Response: SELECT lost FROM table_name_60 WHERE club = "barry rfc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the played number when tries against is 84, and drawn is 2? ### Context: CREATE TABLE table_name_13 (played VARCHAR, tries_against VARCHAR, drawn VARCHAR) [/INST] ### Response: SELECT played FROM table_name_13 WHERE tries_against = "84" AND drawn = "2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the club with 22 points? ### Context: CREATE TABLE table_name_2 (club VARCHAR, points VARCHAR) [/INST] ### Response: SELECT club FROM table_name_2 WHERE points = "22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the club when the played number is 22, and the try bonus was 0? ### Context: CREATE TABLE table_name_62 (club VARCHAR, played VARCHAR, try_bonus VARCHAR) [/INST] ### Response: SELECT club FROM table_name_62 WHERE played = "22" AND try_bonus = "0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the nationality of the players with a position of g? ### Context: CREATE TABLE table_name_77 (nationality VARCHAR, position VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_77 WHERE position = "g" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Team, when High Assists is "Rashard Lewis (4)"? ### Context: CREATE TABLE table_name_15 (team VARCHAR, high_assists VARCHAR) [/INST] ### Response: SELECT team FROM table_name_15 WHERE high_assists = "rashard lewis (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 High Points, when High Rebounds is "Dwight Howard (16)"? ### Context: CREATE TABLE table_name_8 (high_points VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT high_points FROM table_name_8 WHERE high_rebounds = "dwight howard (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 Series, when Date is "June 7"? ### Context: CREATE TABLE table_name_74 (series VARCHAR, date VARCHAR) [/INST] ### Response: SELECT series FROM table_name_74 WHERE date = "june 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 High Assists, when High Rebounds is "Dwight Howard , Rashard Lewis (10)"? ### Context: CREATE TABLE table_name_80 (high_assists VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_80 WHERE high_rebounds = "dwight howard , rashard lewis (10)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest Game, when High Assists is "Hedo Türkoğlu (7)"? ### Context: CREATE TABLE table_name_86 (game INTEGER, high_assists VARCHAR) [/INST] ### Response: SELECT MAX(game) FROM table_name_86 WHERE high_assists = "hedo türkoğlu (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 Game had a Score of 101–92? ### Context: CREATE TABLE table_name_71 (game INTEGER, score VARCHAR) [/INST] ### Response: SELECT AVG(game) FROM table_name_71 WHERE score = "101–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: What is the Score of the Game with a Record of 13–12? ### Context: CREATE TABLE table_name_43 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_43 WHERE record = "13–12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Streak on December 30? ### Context: CREATE TABLE table_name_65 (streak VARCHAR, date VARCHAR) [/INST] ### Response: SELECT streak FROM table_name_65 WHERE date = "december 30" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of game 9? ### Context: CREATE TABLE table_name_61 (date VARCHAR, game VARCHAR) [/INST] ### Response: SELECT date FROM table_name_61 WHERE game = 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who had the most assists in the game that led to a 3-7 record? ### Context: CREATE TABLE table_name_63 (high_assists VARCHAR, record VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_63 WHERE record = "3-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 location of the game with a 6-11-8 record? ### Context: CREATE TABLE table_name_71 (location VARCHAR, record VARCHAR) [/INST] ### Response: SELECT location FROM table_name_71 WHERE record = "6-11-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 game has a 6-12-8 record? ### Context: CREATE TABLE table_name_65 (game VARCHAR, record VARCHAR) [/INST] ### Response: SELECT game FROM table_name_65 WHERE record = "6-12-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 is Points, when Points For is "562"? ### Context: CREATE TABLE table_name_25 (points VARCHAR, points_for VARCHAR) [/INST] ### Response: SELECT points FROM table_name_25 WHERE points_for = "562" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Drawn, when Played is "Correct as of 2006-06-10"? ### Context: CREATE TABLE table_name_59 (drawn VARCHAR, played VARCHAR) [/INST] ### Response: SELECT drawn FROM table_name_59 WHERE played = "correct as of 2006-06-10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Drawn, when Points Against is "686"? ### Context: CREATE TABLE table_name_34 (drawn VARCHAR, points_against VARCHAR) [/INST] ### Response: SELECT drawn FROM table_name_34 WHERE points_against = "686" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Points Against, when Drawn is "2", and when Points Of is "32"? ### Context: CREATE TABLE table_name_80 (points_against VARCHAR, drawn VARCHAR, points VARCHAR) [/INST] ### Response: SELECT points_against FROM table_name_80 WHERE drawn = "2" AND points = "32" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Lost, when Drawn is "2", and when Points is "36"? ### Context: CREATE TABLE table_name_94 (lost VARCHAR, drawn VARCHAR, points VARCHAR) [/INST] ### Response: SELECT lost FROM table_name_94 WHERE drawn = "2" AND points = "36" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Points For, when Points is "63"? ### Context: CREATE TABLE table_name_8 (points_for VARCHAR, points VARCHAR) [/INST] ### Response: SELECT points_for FROM table_name_8 WHERE points = "63" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game number that was played on November 15? ### Context: CREATE TABLE table_name_82 (game INTEGER, date VARCHAR) [/INST] ### Response: SELECT MIN(game) FROM table_name_82 WHERE date = "november 15" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest attendance when the h/A is H in the Semi-Finals Second Leg? ### Context: CREATE TABLE table_name_73 (attendance INTEGER, h___a VARCHAR, round VARCHAR) [/INST] ### Response: SELECT MIN(attendance) FROM table_name_73 WHERE h___a = "h" AND round = "semi-finals second leg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number in the final round? ### Context: CREATE TABLE table_name_29 (attendance INTEGER, round VARCHAR) [/INST] ### Response: SELECT SUM(attendance) FROM table_name_29 WHERE round = "final" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What bridge in Sheridan county was built in 1915? ### Context: CREATE TABLE table_name_30 (name VARCHAR, county VARCHAR, built VARCHAR) [/INST] ### Response: SELECT name FROM table_name_30 WHERE county = "sheridan" AND built = "1915" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 listed for the bridge at Daniel in Sublette county? ### Context: CREATE TABLE table_name_86 (listed VARCHAR, county VARCHAR, location VARCHAR) [/INST] ### Response: SELECT listed FROM table_name_86 WHERE county = "sublette" AND location = "daniel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what year was the bridge in Lovell built? ### Context: CREATE TABLE table_name_71 (built VARCHAR, location VARCHAR) [/INST] ### Response: SELECT built FROM table_name_71 WHERE location = "lovell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 county of the bridge in Boulder? ### Context: CREATE TABLE table_name_62 (county VARCHAR, location VARCHAR) [/INST] ### Response: SELECT county FROM table_name_62 WHERE location = "boulder" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which opponent has a score of 84-88 (ot)? ### Context: CREATE TABLE table_name_79 (opponent VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_79 WHERE score = "84-88 (ot)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many games have a score of 85-92? ### Context: CREATE TABLE table_name_36 (game VARCHAR, score VARCHAR) [/INST] ### Response: SELECT COUNT(game) FROM table_name_36 WHERE score = "85-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: What is the earliest game with a score of 99-89? ### Context: CREATE TABLE table_name_81 (game INTEGER, score VARCHAR) [/INST] ### Response: SELECT MIN(game) FROM table_name_81 WHERE score = "99-89" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What game has a score of 89-91? ### Context: CREATE TABLE table_name_27 (game INTEGER, score VARCHAR) [/INST] ### Response: SELECT AVG(game) FROM table_name_27 WHERE score = "89-91" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what date did a game higher than 10 have a score of 99-89? ### Context: CREATE TABLE table_name_26 (date VARCHAR, game VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_26 WHERE game > 10 AND score = "99-89" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what date did Fleetcenter have a game lower than 9 with a score of 104-94? ### Context: CREATE TABLE table_name_59 (date VARCHAR, score VARCHAR, location VARCHAR, game VARCHAR) [/INST] ### Response: SELECT date FROM table_name_59 WHERE location = "fleetcenter" AND game < 9 AND score = "104-94" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Place, when Score is less than 70? ### Context: CREATE TABLE table_name_44 (place VARCHAR, score INTEGER) [/INST] ### Response: SELECT place FROM table_name_44 WHERE score < 70 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 To Par, when Country is "United States", when Place is "T4", and when Player is "Frank Boynton"? ### Context: CREATE TABLE table_name_80 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_80 WHERE country = "united states" AND place = "t4" AND player = "frank boynton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 To Par, when Country is "United States", when Place is "T4", and when Player is "Arnold Palmer"? ### Context: CREATE TABLE table_name_96 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_96 WHERE country = "united states" AND place = "t4" AND player = "arnold palmer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Depart de la main gauche of the do Mode? ### Context: CREATE TABLE table_name_26 (départ_de_la_main_gauche VARCHAR, mode VARCHAR) [/INST] ### Response: SELECT départ_de_la_main_gauche FROM table_name_26 WHERE mode = "do" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Rank has a Name of john curry, and Points larger than 338.43? ### Context: CREATE TABLE table_name_8 (rank INTEGER, name VARCHAR, points VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_8 WHERE name = "john curry" AND points > 338.43 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Placings have Points smaller than 330.84, and a Name of silvo svajger? ### Context: CREATE TABLE table_name_1 (placings VARCHAR, points VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(placings) FROM table_name_1 WHERE points < 330.84 AND name = "silvo svajger" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Placings have a Nation of west germany, and Points larger than 303.72? ### Context: CREATE TABLE table_name_31 (placings INTEGER, nation VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(placings) FROM table_name_31 WHERE nation = "west germany" AND points > 303.72 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Nation has Points of 300.38? ### Context: CREATE TABLE table_name_90 (nation VARCHAR, points VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_90 WHERE points = 300.38 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player finished at +10? ### Context: CREATE TABLE table_name_57 (player VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT player FROM table_name_57 WHERE to_par = "+10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the opponent before game 5 with a 0-1-0 record? ### Context: CREATE TABLE table_name_31 (opponent VARCHAR, game VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_31 WHERE game < 5 AND record = "0-1-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 score for the opponent Vancouver Canucks? ### Context: CREATE TABLE table_name_23 (score VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT score FROM table_name_23 WHERE opponent = "vancouver canucks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date is the record 4-3-0? ### Context: CREATE TABLE table_name_94 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_94 WHERE record = "4-3-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 fleet number with a 4-6-0 wheel arrangement made in 1890? ### Context: CREATE TABLE table_name_94 (fleet_number_s_ VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR) [/INST] ### Response: SELECT fleet_number_s_ FROM table_name_94 WHERE wheel_arrangement = "4-6-0" AND year_made = "1890" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 wheel arrangement made in 1890? ### Context: CREATE TABLE table_name_99 (wheel_arrangement VARCHAR, year_made VARCHAR) [/INST] ### Response: SELECT wheel_arrangement FROM table_name_99 WHERE year_made = "1890" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 quantity preserved of the e-1 class? ### Context: CREATE TABLE table_name_17 (quantity_preserved VARCHAR, class VARCHAR) [/INST] ### Response: SELECT quantity_preserved FROM table_name_17 WHERE class = "e-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 wheel arrangement with 1 quantity preserved? ### Context: CREATE TABLE table_name_1 (wheel_arrangement VARCHAR, quantity_preserved VARCHAR) [/INST] ### Response: SELECT wheel_arrangement FROM table_name_1 WHERE quantity_preserved = "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 quantity made of the e-22 class, which has a quantity preserved of 0? ### Context: CREATE TABLE table_name_36 (quantity_made VARCHAR, quantity_preserved VARCHAR, class VARCHAR) [/INST] ### Response: SELECT quantity_made FROM table_name_36 WHERE quantity_preserved = "0" AND class = "e-22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of Total, when Rank is 8, and when Bronze is less than 1? ### Context: CREATE TABLE table_name_95 (total INTEGER, rank VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT SUM(total) FROM table_name_95 WHERE rank = "8" AND bronze < 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest Bronze, when Gold is less than 0? ### Context: CREATE TABLE table_name_58 (bronze INTEGER, gold INTEGER) [/INST] ### Response: SELECT MIN(bronze) FROM table_name_58 WHERE gold < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average Bronze, when Total is 7, and when Silver is greater than 1? ### Context: CREATE TABLE table_name_23 (bronze INTEGER, total VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT AVG(bronze) FROM table_name_23 WHERE total = 7 AND silver > 1 </s>