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 was the result of the bout that led to a 4-4 record? ### Context: CREATE TABLE table_name_1 (res VARCHAR, record VARCHAR) [/INST] ### Response: SELECT res FROM table_name_1 WHERE record = "4-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: Which location held the bout that led to a 4-3 record? ### Context: CREATE TABLE table_name_19 (location VARCHAR, record VARCHAR) [/INST] ### Response: SELECT location FROM table_name_19 WHERE record = "4-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 discs has a region 1 release date of January 22, 2008? ### Context: CREATE TABLE table_name_90 (discs VARCHAR, region_1_release VARCHAR) [/INST] ### Response: SELECT discs FROM table_name_90 WHERE region_1_release = "january 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: What is the lowest rank of Citigroup? ### Context: CREATE TABLE table_name_67 (rank INTEGER, name VARCHAR) [/INST] ### Response: SELECT MIN(rank) FROM table_name_67 WHERE name = "citigroup" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 market value of the automotive industry? ### Context: CREATE TABLE table_name_10 (market_value___usd_million_ VARCHAR, industry VARCHAR) [/INST] ### Response: SELECT COUNT(market_value___usd_million_) FROM table_name_10 WHERE industry = "automotive" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance with result of t 14-14 ### Context: CREATE TABLE table_name_92 (attendance VARCHAR, result VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_92 WHERE result = "t 14-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: Name the total number of attendance for october 20, 1946 with week less than 4 ### Context: CREATE TABLE table_name_43 (attendance VARCHAR, date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT COUNT(attendance) FROM table_name_43 WHERE date = "october 20, 1946" AND week < 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: Name the most attendance for november 17, 1946 and week more than 8 ### Context: CREATE TABLE table_name_21 (attendance INTEGER, date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_21 WHERE date = "november 17, 1946" AND week > 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 sum of the points for the player who was a rank of 61t? ### Context: CREATE TABLE table_name_92 (points INTEGER, rank VARCHAR) [/INST] ### Response: SELECT SUM(points) FROM table_name_92 WHERE rank = "61t" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 who had more than 1,052 points? ### Context: CREATE TABLE table_name_87 (player VARCHAR, points INTEGER) [/INST] ### Response: SELECT player FROM table_name_87 WHERE points > 1 OFFSET 052 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the highest points that Emmitt Smith had? ### Context: CREATE TABLE table_name_96 (points INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_name_96 WHERE player = "emmitt 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: Record of 6–8 had what attendance? ### Context: CREATE TABLE table_name_33 (attendance VARCHAR, record VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_33 WHERE record = "6–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: Result of l 17–20 had what attendance? ### Context: CREATE TABLE table_name_31 (attendance VARCHAR, result VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_31 WHERE result = "l 17–20" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Game Site of hoosier dome, and a Result of l 7–31 involved what attendance? ### Context: CREATE TABLE table_name_29 (attendance VARCHAR, game_site VARCHAR, result VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_29 WHERE game_site = "hoosier dome" AND result = "l 7–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: Which Year is the highest one that has a Venue of blackwolf run, composite course, and a Score of 281? ### Context: CREATE TABLE table_name_48 (year INTEGER, venue VARCHAR, score VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_48 WHERE venue = "blackwolf run, composite course" AND score = "281" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Champion has a Venue of old waverly golf club? ### Context: CREATE TABLE table_name_35 (champion VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT champion FROM table_name_35 WHERE venue = "old waverly golf club" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 world rankings are after Aug 5, 1980 ? ### Context: CREATE TABLE table_name_80 (world_ranking INTEGER, date VARCHAR, year VARCHAR) [/INST] ### Response: SELECT SUM(world_ranking) FROM table_name_80 WHERE date = "aug 5" AND year > 1980 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On which date is there a performance of more than 8.22.72? ### Context: CREATE TABLE table_name_9 (date VARCHAR, performance VARCHAR) [/INST] ### Response: SELECT date FROM table_name_9 WHERE performance = "8.22.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: The venue of Rome has which date? ### Context: CREATE TABLE table_name_84 (date VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_84 WHERE venue = "rome" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1st leg of the match that had an aggregate of 4-3? ### Context: CREATE TABLE table_name_11 (agg VARCHAR) [/INST] ### Response: SELECT 1 AS st_leg FROM table_name_11 WHERE agg = "4-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: When was the last final lost of the club with 7 wins? ### Context: CREATE TABLE table_name_49 (last_final_lost VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT last_final_lost FROM table_name_49 WHERE wins = "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: How many runners-up did the club with the last final lost in 1985 have? ### Context: CREATE TABLE table_name_39 (runners_up VARCHAR, last_final_lost VARCHAR) [/INST] ### Response: SELECT runners_up FROM table_name_39 WHERE last_final_lost = "1985" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 last final lost of the club with a last win in 1959? ### Context: CREATE TABLE table_name_70 (last_final_lost VARCHAR, last_win VARCHAR) [/INST] ### Response: SELECT last_final_lost FROM table_name_70 WHERE last_win = "1959" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 last win of Celtic? ### Context: CREATE TABLE table_name_89 (last_win VARCHAR, club VARCHAR) [/INST] ### Response: SELECT last_win FROM table_name_89 WHERE club = "celtic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 club had 13 runners-up? ### Context: CREATE TABLE table_name_27 (club VARCHAR, runners_up VARCHAR) [/INST] ### Response: SELECT club FROM table_name_27 WHERE runners_up = "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: Who is the visitor in Philadelphia on March 6? ### Context: CREATE TABLE table_name_41 (visitor VARCHAR, home VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_41 WHERE home = "philadelphia" AND date = "march 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 date were they playing in hawthorn ### Context: CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_17 WHERE away_team = "hawthorn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what report was in geelong ### Context: CREATE TABLE table_name_48 (report VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT report FROM table_name_48 WHERE home_team = "geelong" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what Town/City is Nana Museum of The Arctic located? ### Context: CREATE TABLE table_name_45 (town_city VARCHAR, name VARCHAR) [/INST] ### Response: SELECT town_city FROM table_name_45 WHERE name = "nana museum of the arctic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Multiple Type museum in Anchorage? ### Context: CREATE TABLE table_name_54 (name VARCHAR, town_city VARCHAR, type VARCHAR) [/INST] ### Response: SELECT name FROM table_name_54 WHERE town_city = "anchorage" AND type = "multiple" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Borough is the Anchorage museum of Natural History? ### Context: CREATE TABLE table_name_31 (name VARCHAR, borough VARCHAR, type VARCHAR) [/INST] ### Response: SELECT name FROM table_name_31 WHERE borough = "anchorage" AND type = "natural history" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Region is the Native American museum in Anchorage? ### Context: CREATE TABLE table_name_8 (region VARCHAR, type VARCHAR, town_city VARCHAR) [/INST] ### Response: SELECT region FROM table_name_8 WHERE type = "native american" AND town_city = "anchorage" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Type of museum is the Valdez museum? ### Context: CREATE TABLE table_name_73 (type VARCHAR, name VARCHAR) [/INST] ### Response: SELECT type FROM table_name_73 WHERE name = "valdez museum" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Borough is the History Type Fairbanks Community Museum? ### Context: CREATE TABLE table_name_82 (borough VARCHAR, type VARCHAR, name VARCHAR) [/INST] ### Response: SELECT borough FROM table_name_82 WHERE type = "history" AND name = "fairbanks community museum" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 zip code of boonville ### Context: CREATE TABLE table_name_39 (zip_code_prefix_es_ VARCHAR, county_seat VARCHAR) [/INST] ### Response: SELECT zip_code_prefix_es_ FROM table_name_39 WHERE county_seat = "boonville" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournament was held on 9 Jun 2002? ### Context: CREATE TABLE table_name_57 (tournament VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_57 WHERE date = "9 jun 2002" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the winning score with a margin of victory of 4 strokes for the NEC Invitational tournament? ### Context: CREATE TABLE table_name_93 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT winning_score FROM table_name_93 WHERE margin_of_victory = "4 strokes" AND tournament = "nec invitational" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 runner-up where the winning score is –8 (71-69-67-73=280)? ### Context: CREATE TABLE table_name_45 (runner_s__up VARCHAR, winning_score VARCHAR) [/INST] ### Response: SELECT runner_s__up FROM table_name_45 WHERE winning_score = –8(71 - 69 - 67 - 73 = 280) </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning score for Tournament of linde german masters with a margin of victory of 1 stroke? ### Context: CREATE TABLE table_name_67 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT winning_score FROM table_name_67 WHERE margin_of_victory = "1 stroke" AND tournament = "linde german masters" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 runner-up where the winning score is –6 (65-70-70-69=274) and the margin of victory is 3 strokes? ### Context: CREATE TABLE table_name_19 (runner_s__up VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR) [/INST] ### Response: SELECT runner_s__up FROM table_name_19 WHERE margin_of_victory = "3 strokes" AND winning_score = –6(65 - 70 - 70 - 69 = 274) </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning score where the runner-up is Robert-Jan Derksen and the margin of victory is 1 stroke? ### Context: CREATE TABLE table_name_27 (winning_score VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR) [/INST] ### Response: SELECT winning_score FROM table_name_27 WHERE margin_of_victory = "1 stroke" AND runner_s__up = "robert-jan derksen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the high rebounds of team @ Charlotte? ### Context: CREATE TABLE table_name_17 (high_rebounds VARCHAR, team VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_name_17 WHERE team = "@ charlotte" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 high rebounds of game 68? ### Context: CREATE TABLE table_name_46 (high_rebounds VARCHAR, game VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_name_46 WHERE game = 68 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score of New York team before game 61? ### Context: CREATE TABLE table_name_63 (score VARCHAR, game VARCHAR, team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_63 WHERE game < 61 AND team = "new york" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 David McNamara was the opponent in the final, what was the tier? ### Context: CREATE TABLE table_name_59 (tier VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT tier FROM table_name_59 WHERE opponent_in_the_final = "david mcnamara" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2011, how many tourists visited the country that had 23.4 million tourists in 2012? ### Context: CREATE TABLE table_name_6 (international_tourist_arrivals__2011_ VARCHAR, international_tourist_arrivals__2012_ VARCHAR) [/INST] ### Response: SELECT international_tourist_arrivals__2011_ FROM table_name_6 WHERE international_tourist_arrivals__2012_ = "23.4 million" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tourists visited the country that had 2.5 million tourists in 2011? ### Context: CREATE TABLE table_name_38 (international_tourist_arrivals__2012_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR) [/INST] ### Response: SELECT international_tourist_arrivals__2012_ FROM table_name_38 WHERE international_tourist_arrivals__2011_ = "2.5 million" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 far Venue of seoul, south korea is? ### Context: CREATE TABLE table_name_6 (distance VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT distance FROM table_name_6 WHERE venue = "seoul, south korea" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tournament of olympic games with a Result of 4th? ### Context: CREATE TABLE table_name_33 (venue VARCHAR, tournament VARCHAR, result VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_33 WHERE tournament = "olympic games" AND result = "4th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Venue of edmonton, canada? ### Context: CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT result FROM table_name_54 WHERE venue = "edmonton, canada" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1st leg of Team 2 PSV Eindhoven? ### Context: CREATE TABLE table_name_21 (team_2 VARCHAR) [/INST] ### Response: SELECT 1 AS st_leg FROM table_name_21 WHERE team_2 = "psv eindhoven" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was played at Forbes Field after week 4? ### Context: CREATE TABLE table_name_76 (opponent VARCHAR, game_site VARCHAR, week VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_76 WHERE game_site = "forbes field" AND week > 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: Which opponent was played on week 9? ### Context: CREATE TABLE table_name_46 (opponent VARCHAR, week VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_46 WHERE week = 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: What was the date of the game played at Fenway Park? ### Context: CREATE TABLE table_name_28 (date VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT date FROM table_name_28 WHERE game_site = "fenway park" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Opponents have a Year of 1998–99, and a Team of aston villa? ### Context: CREATE TABLE table_name_23 (opponents VARCHAR, year VARCHAR, team VARCHAR) [/INST] ### Response: SELECT opponents FROM table_name_23 WHERE year = "1998–99" AND team = "aston villa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Opponents of valencia, and a Year of 2011–12? ### Context: CREATE TABLE table_name_21 (score VARCHAR, opponents VARCHAR, year VARCHAR) [/INST] ### Response: SELECT score FROM table_name_21 WHERE opponents = "valencia" AND year = "2011–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: Which Opponents have a Team of arsenal, and a Year of 1963–64? ### Context: CREATE TABLE table_name_49 (opponents VARCHAR, team VARCHAR, year VARCHAR) [/INST] ### Response: SELECT opponents FROM table_name_49 WHERE team = "arsenal" AND year = "1963–64" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Opponents have a Year of 1999–2000, and a Team of leeds united? ### Context: CREATE TABLE table_name_78 (opponents VARCHAR, year VARCHAR, team VARCHAR) [/INST] ### Response: SELECT opponents FROM table_name_78 WHERE year = "1999–2000" AND team = "leeds united" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Opponents have a Score of 1–2, and a Team of arsenal, and Progress of first round? ### Context: CREATE TABLE table_name_82 (opponents VARCHAR, progress VARCHAR, score VARCHAR, team VARCHAR) [/INST] ### Response: SELECT opponents FROM table_name_82 WHERE score = "1–2" AND team = "arsenal" AND progress = "first round" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 much Rank has Points larger than 282.5? ### Context: CREATE TABLE table_name_11 (rank VARCHAR, points INTEGER) [/INST] ### Response: SELECT COUNT(rank) FROM table_name_11 WHERE points > 282.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: Which Rank is the highest one that has Points smaller than 256.6? ### Context: CREATE TABLE table_name_98 (rank INTEGER, points INTEGER) [/INST] ### Response: SELECT MAX(rank) FROM table_name_98 WHERE points < 256.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: Which 2nd (m) is the highest one that has a Nationality of sui, and a Rank smaller than 3? ### Context: CREATE TABLE table_name_78 (nationality VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MAX(2 AS nd__m_) FROM table_name_78 WHERE nationality = "sui" AND rank < 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 UK broadcast date of the episode where Chris Bonington was the presenter? ### Context: CREATE TABLE table_name_72 (uk_broadcast_date VARCHAR, presenter VARCHAR) [/INST] ### Response: SELECT uk_broadcast_date FROM table_name_72 WHERE presenter = "chris bonington" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode title of the episode with Ben Okri as the presenter? ### Context: CREATE TABLE table_name_74 (episode_title VARCHAR, presenter VARCHAR) [/INST] ### Response: SELECT episode_title FROM table_name_74 WHERE presenter = "ben okri" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 presenter of the episode broadcast in the UK on 1996-09-25? ### Context: CREATE TABLE table_name_45 (presenter VARCHAR, uk_broadcast_date VARCHAR) [/INST] ### Response: SELECT presenter FROM table_name_45 WHERE uk_broadcast_date = "1996-09-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 UK broadcast date of the episode with Ben Okri as the presenter? ### Context: CREATE TABLE table_name_87 (uk_broadcast_date VARCHAR, presenter VARCHAR) [/INST] ### Response: SELECT uk_broadcast_date FROM table_name_87 WHERE presenter = "ben okri" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the team played at the bobcats? ### Context: CREATE TABLE table_name_92 (score VARCHAR, home VARCHAR) [/INST] ### Response: SELECT score FROM table_name_92 WHERE home = "bobcats" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the Spurs' record was 43-13? ### Context: CREATE TABLE table_name_72 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_72 WHERE record = "43-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 country's name with a numeric code less than 246 and a Latin 3-letter code of slv? ### Context: CREATE TABLE table_name_63 (country_name VARCHAR, numeric_code VARCHAR, latin_3_letter_code VARCHAR) [/INST] ### Response: SELECT country_name FROM table_name_63 WHERE numeric_code < 246 AND latin_3_letter_code = "slv" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Russian name with lbr as the Latin 3-letter code? ### Context: CREATE TABLE table_name_86 (russian_name VARCHAR, latin_3_letter_code VARCHAR) [/INST] ### Response: SELECT russian_name FROM table_name_86 WHERE latin_3_letter_code = "lbr" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 name with a numeric code less than 580 and a dk Latin 2-letter code? ### Context: CREATE TABLE table_name_4 (country_name VARCHAR, numeric_code VARCHAR, latin_2_letter_code VARCHAR) [/INST] ### Response: SELECT country_name FROM table_name_4 WHERE numeric_code < 580 AND latin_2_letter_code = "dk" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Cyrillic code with a cu Latin 2-letter code? ### Context: CREATE TABLE table_name_68 (cyrillic_code VARCHAR, latin_2_letter_code VARCHAR) [/INST] ### Response: SELECT cyrillic_code FROM table_name_68 WHERE latin_2_letter_code = "cu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least place for draw more than 3 and points of 8 ### Context: CREATE TABLE table_name_47 (place INTEGER, draw VARCHAR, points VARCHAR) [/INST] ### Response: SELECT MIN(place) FROM table_name_47 WHERE draw > 3 AND points = 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: Name the song for points less than 16 and draw less than 3 ### Context: CREATE TABLE table_name_99 (song VARCHAR, points VARCHAR, draw VARCHAR) [/INST] ### Response: SELECT song FROM table_name_99 WHERE points < 16 AND draw < 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 single of the queen ### Context: CREATE TABLE table_name_67 (single VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT single FROM table_name_67 WHERE artist = "queen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what artist won in 1953 ### Context: CREATE TABLE table_name_41 (artist VARCHAR, year VARCHAR) [/INST] ### Response: SELECT artist FROM table_name_41 WHERE year = "1953" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 david whitfield win ### Context: CREATE TABLE table_name_14 (year VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT year FROM table_name_14 WHERE artist = "david whitfield" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Roman Koudelka, who has less than 274.4 points? ### Context: CREATE TABLE table_name_41 (rank INTEGER, points VARCHAR, name VARCHAR) [/INST] ### Response: SELECT AVG(rank) FROM table_name_41 WHERE points < 274.4 AND name = "roman koudelka" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many points was before game 14? ### Context: CREATE TABLE table_name_82 (points INTEGER, game INTEGER) [/INST] ### Response: SELECT SUM(points) FROM table_name_82 WHERE game < 14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average points on November 6? ### Context: CREATE TABLE table_name_8 (points INTEGER, november VARCHAR) [/INST] ### Response: SELECT AVG(points) FROM table_name_8 WHERE november = 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: Which average's against score has 2 as a difference and a lost of 5? ### Context: CREATE TABLE table_name_34 (against INTEGER, difference VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT AVG(against) FROM table_name_34 WHERE difference = "2" AND lost = 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: How many positions had a difference of - 4 and an against of less than 24? ### Context: CREATE TABLE table_name_75 (position VARCHAR, difference VARCHAR, against VARCHAR) [/INST] ### Response: SELECT COUNT(position) FROM table_name_75 WHERE difference = "- 4" AND against < 24 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest lost when position is larger than 6, drawn is 7, and the points stat is less than 15? ### Context: CREATE TABLE table_name_85 (lost INTEGER, points VARCHAR, position VARCHAR, drawn VARCHAR) [/INST] ### Response: SELECT MIN(lost) FROM table_name_85 WHERE position > 6 AND drawn = 7 AND points < 15 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the largest played number when the difference is - 8 and position is more than 8? ### Context: CREATE TABLE table_name_42 (played INTEGER, difference VARCHAR, position VARCHAR) [/INST] ### Response: SELECT MAX(played) FROM table_name_42 WHERE difference = "- 8" AND position > 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 mean drawn when the difference is 0 and the against stat is more than 31? ### Context: CREATE TABLE table_name_34 (drawn INTEGER, difference VARCHAR, against VARCHAR) [/INST] ### Response: SELECT AVG(drawn) FROM table_name_34 WHERE difference = "0" AND against > 31 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the winner of meridiana ### Context: CREATE TABLE table_name_35 (owner VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT owner FROM table_name_35 WHERE winner = "meridiana" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Number of 13 that has what highest weight? ### Context: CREATE TABLE table_name_44 (weight INTEGER, number VARCHAR) [/INST] ### Response: SELECT MAX(weight) FROM table_name_44 WHERE number = 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: Weight of 220 has what class? ### Context: CREATE TABLE table_name_5 (class VARCHAR, weight VARCHAR) [/INST] ### Response: SELECT class FROM table_name_5 WHERE weight = 220 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of byron geis, and a Weight smaller than 195 involves what average number? ### Context: CREATE TABLE table_name_63 (number INTEGER, name VARCHAR, weight VARCHAR) [/INST] ### Response: SELECT AVG(number) FROM table_name_63 WHERE name = "byron geis" AND weight < 195 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 on March 22? ### Context: CREATE TABLE table_name_58 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_58 WHERE date = "march 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 day in february was game 53? ### Context: CREATE TABLE table_name_96 (february INTEGER, game VARCHAR) [/INST] ### Response: SELECT AVG(february) FROM table_name_96 WHERE game = 53 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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's record on februrary 23? ### Context: CREATE TABLE table_name_29 (record VARCHAR, february VARCHAR) [/INST] ### Response: SELECT record FROM table_name_29 WHERE february = 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: Which Place is the lowest one that has a Total smaller than 24, and a Draw larger than 7? ### Context: CREATE TABLE table_name_94 (place INTEGER, total VARCHAR, draw VARCHAR) [/INST] ### Response: SELECT MIN(place) FROM table_name_94 WHERE total < 24 AND draw > 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: with lola t86/50 chassis and less than 7 points what is the entrant? ### Context: CREATE TABLE table_name_87 (entrant VARCHAR, points VARCHAR, chassis VARCHAR) [/INST] ### Response: SELECT entrant FROM table_name_87 WHERE points < 7 AND chassis = "lola t86/50" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: after 1987 and entrant of first racing what is the highest points? ### Context: CREATE TABLE table_name_69 (points INTEGER, entrant VARCHAR, year VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_name_69 WHERE entrant = "first racing" AND year > 1987 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: with year greater than 1988 what is the total number of points? ### Context: CREATE TABLE table_name_62 (points VARCHAR, year INTEGER) [/INST] ### Response: SELECT COUNT(points) FROM table_name_62 WHERE year > 1988 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total for forti corse? ### Context: CREATE TABLE table_name_49 (points INTEGER, entrant VARCHAR) [/INST] ### Response: SELECT SUM(points) FROM table_name_49 WHERE entrant = "forti corse" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Parts-per example of 2Γ—10 βˆ’6? ### Context: CREATE TABLE table_name_75 (parts_per_example VARCHAR, value_of_quantity VARCHAR) [/INST] ### Response: SELECT parts_per_example FROM table_name_75 WHERE value_of_quantity = "2Γ—10 βˆ’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 is the Coefficient of 2 ppt? ### Context: CREATE TABLE table_name_16 (coefficient VARCHAR, parts_per_example VARCHAR) [/INST] ### Response: SELECT coefficient FROM table_name_16 WHERE parts_per_example = "2 ppt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 format of catalog 865 821-1? ### Context: CREATE TABLE table_name_25 (format VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT format FROM table_name_25 WHERE catalog = "865 821-1" </s>