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 Population of the Town with a Census Ranking of 1,379 of 5,008 and an Area km 2 smaller than 8.35? ### Context: CREATE TABLE table_name_70 (population INTEGER, area_km_2 VARCHAR, status VARCHAR, census_ranking VARCHAR) [/INST] ### Response: SELECT MAX(population) FROM table_name_70 WHERE status = "town" AND census_ranking = "1,379 of 5,008" AND area_km_2 < 8.35 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Official Name of the Community with an Area km 2 of 16.13? ### Context: CREATE TABLE table_name_50 (official_name VARCHAR, area_km_2 VARCHAR) [/INST] ### Response: SELECT official_name FROM table_name_50 WHERE area_km_2 = 16.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 Country, when To Par is "–2", and when Player is "Tsuneyuki Nakajima"? ### Context: CREATE TABLE table_name_48 (country VARCHAR, to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_48 WHERE to_par = "–2" AND player = "tsuneyuki nakajima" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Country, when Score is "72-65=137"? ### Context: CREATE TABLE table_name_40 (country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_40 WHERE score = 72 - 65 = 137 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Country, when Place is "T3", and when Player is "Jim Thorpe"? ### Context: CREATE TABLE table_name_44 (country VARCHAR, place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_44 WHERE place = "t3" AND player = "jim thorpe" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the team for game 34? ### Context: CREATE TABLE table_name_79 (team VARCHAR, game VARCHAR) [/INST] ### Response: SELECT team FROM table_name_79 WHERE game = 34 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many goals for had a drawn more than 12 for the Goole Town team, as well as more than 60 goals against? ### Context: CREATE TABLE table_name_45 (goals_for INTEGER, goals_against VARCHAR, drawn VARCHAR, team VARCHAR) [/INST] ### Response: SELECT SUM(goals_for) FROM table_name_45 WHERE drawn > 12 AND team = "goole town" AND goals_against > 60 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the average goals for with a drawn higher than 7 and goals against less than 86, as well as more than 11 losses and more than 42 games played? ### Context: CREATE TABLE table_name_19 (goals_for INTEGER, played VARCHAR, lost VARCHAR, drawn VARCHAR, goals_against VARCHAR) [/INST] ### Response: SELECT AVG(goals_for) FROM table_name_19 WHERE drawn > 7 AND goals_against < 86 AND lost > 11 AND played > 42 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lost with a drawn more than 11, a position lower than 17 and more than 61 goals? ### Context: CREATE TABLE table_name_75 (lost INTEGER, goals_for VARCHAR, drawn VARCHAR, position VARCHAR) [/INST] ### Response: SELECT MAX(lost) FROM table_name_75 WHERE drawn > 11 AND position < 17 AND goals_for > 61 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 held the title of Ruler? ### Context: CREATE TABLE table_name_31 (name VARCHAR, title VARCHAR) [/INST] ### Response: SELECT name FROM table_name_31 WHERE title = "ruler" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 state did the ruler have a title? ### Context: CREATE TABLE table_name_54 (type VARCHAR, title VARCHAR) [/INST] ### Response: SELECT type FROM table_name_54 WHERE title = "ruler" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 state did Jing have the title of Marquis? ### Context: CREATE TABLE table_name_2 (state VARCHAR, title VARCHAR, name VARCHAR) [/INST] ### Response: SELECT state FROM table_name_2 WHERE title = "marquis" AND name = "jing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Gongbo's title? ### Context: CREATE TABLE table_name_37 (title VARCHAR, name VARCHAR) [/INST] ### Response: SELECT title FROM table_name_37 WHERE name = "gongbo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Yi's state? ### Context: CREATE TABLE table_name_49 (state VARCHAR, name VARCHAR) [/INST] ### Response: SELECT state FROM table_name_49 WHERE name = "yi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Devices per channel where the Name is sata revision 3.0? ### Context: CREATE TABLE table_name_19 (devices_per_channel VARCHAR, name VARCHAR) [/INST] ### Response: SELECT devices_per_channel FROM table_name_19 WHERE name = "sata revision 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 Raw bandwidth (Mbit/s) for the SAS 300? ### Context: CREATE TABLE table_name_8 (raw_bandwidth__mbit_s_ VARCHAR, name VARCHAR) [/INST] ### Response: SELECT raw_bandwidth__mbit_s_ FROM table_name_8 WHERE name = "sas 300" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Away team score which has an Away team of st kilda, and a Crowd of 8157? ### Context: CREATE TABLE table_name_3 (away_team VARCHAR, crowd VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_3 WHERE away_team = "st kilda" AND crowd = 8157 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Away team which have a Ground of colonial stadium on friday, 2 march? ### Context: CREATE TABLE table_name_83 (away_team VARCHAR, ground VARCHAR, date VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_83 WHERE ground = "colonial stadium" AND date = "friday, 2 march" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which team has 71 Points and F/Laps of 4? ### Context: CREATE TABLE table_name_85 (team VARCHAR, points VARCHAR, f_laps VARCHAR) [/INST] ### Response: SELECT team FROM table_name_85 WHERE points = "71" AND f_laps = "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 Poles do Team jva have? ### Context: CREATE TABLE table_name_2 (poles VARCHAR, team VARCHAR) [/INST] ### Response: SELECT poles FROM table_name_2 WHERE team = "team jva" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the Season is later than 2008 and Races is 11, what ate the Points? ### Context: CREATE TABLE table_name_64 (points VARCHAR, races VARCHAR, season VARCHAR) [/INST] ### Response: SELECT points FROM table_name_64 WHERE races = "11" AND season > 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 Position is Team Sahara Force india f1 team with 46 Points? ### Context: CREATE TABLE table_name_38 (position VARCHAR, team VARCHAR, points VARCHAR) [/INST] ### Response: SELECT position FROM table_name_38 WHERE team = "sahara force india f1 team" AND points = "46" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Poles have a position of 4th? ### Context: CREATE TABLE table_name_63 (poles VARCHAR, position VARCHAR) [/INST] ### Response: SELECT poles FROM table_name_63 WHERE position = "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: Which F/Laps have 27 Points? ### Context: CREATE TABLE table_name_77 (f_laps VARCHAR, points VARCHAR) [/INST] ### Response: SELECT f_laps FROM table_name_77 WHERE points = "27" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 SBA Towers Tower Hayneville? ### Context: CREATE TABLE table_name_71 (country VARCHAR, name VARCHAR) [/INST] ### Response: SELECT country FROM table_name_71 WHERE name = "sba towers tower hayneville" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 structure is there at the American Tower Christmas? ### Context: CREATE TABLE table_name_17 (structure_type VARCHAR, name VARCHAR) [/INST] ### Response: SELECT structure_type FROM table_name_17 WHERE name = "american tower christmas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the name of the structure at Egypt, Arkansas? ### Context: CREATE TABLE table_name_53 (name VARCHAR, town VARCHAR) [/INST] ### Response: SELECT name FROM table_name_53 WHERE town = "egypt, arkansas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the woman from who was born 1976-07-23 and became a grandmaster in 1991? ### Context: CREATE TABLE table_name_83 (country VARCHAR, date VARCHAR, birth_date VARCHAR) [/INST] ### Response: SELECT country FROM table_name_83 WHERE date = 1991 AND birth_date = "1976-07-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: Name the Points which has a Team of sportivo luqueño, and Wins larger than 1? ### Context: CREATE TABLE table_name_41 (points INTEGER, team VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT MIN(points) FROM table_name_41 WHERE team = "sportivo luqueño" AND wins > 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the Wins which has Points smaller than 10, Losses smaller than 3, and a Scored of 11? ### Context: CREATE TABLE table_name_80 (wins INTEGER, scored VARCHAR, points VARCHAR, losses VARCHAR) [/INST] ### Response: SELECT MIN(wins) FROM table_name_80 WHERE points < 10 AND losses < 3 AND scored = 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: Please name the highest Conceded which has a Played smaller than 5? ### Context: CREATE TABLE table_name_4 (conceded INTEGER, played INTEGER) [/INST] ### Response: SELECT MAX(conceded) FROM table_name_4 WHERE played < 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: Please name the Losses that has a Played smaller than 5? ### Context: CREATE TABLE table_name_57 (losses INTEGER, played INTEGER) [/INST] ### Response: SELECT MAX(losses) FROM table_name_57 WHERE played < 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the Scored which has a Position larger than 6? ### Context: CREATE TABLE table_name_28 (scored VARCHAR, position INTEGER) [/INST] ### Response: SELECT COUNT(scored) FROM table_name_28 WHERE position > 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 earliest week with an opponent of cincinnati bengals? ### Context: CREATE TABLE table_name_15 (week INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT MIN(week) FROM table_name_15 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 is the sum for the week with the date october 30, 1994? ### Context: CREATE TABLE table_name_55 (week INTEGER, date VARCHAR) [/INST] ### Response: SELECT SUM(week) FROM table_name_55 WHERE date = "october 30, 1994" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date for a week before 9, and a opponent of dallas cowboys? ### Context: CREATE TABLE table_name_18 (date VARCHAR, week VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_18 WHERE week < 9 AND opponent = "dallas cowboys" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 biggest week with an opponent of washington redskins? ### Context: CREATE TABLE table_name_18 (week INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT MAX(week) FROM table_name_18 WHERE opponent = "washington redskins" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a week larger than 3, and an opponent of philadelphia eagles? ### Context: CREATE TABLE table_name_58 (attendance VARCHAR, week VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_58 WHERE week > 3 AND opponent = "philadelphia eagles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 match with Jeff Monson as opponent? ### Context: CREATE TABLE table_name_96 (res VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT res FROM table_name_96 WHERE opponent = "jeff monson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rounds was the match against Jason Fairn? ### Context: CREATE TABLE table_name_78 (round VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT round FROM table_name_78 WHERE opponent = "jason fairn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 method of the match where there was a loss to Carlos Newton in round 1? ### Context: CREATE TABLE table_name_61 (method VARCHAR, opponent VARCHAR, round VARCHAR, res VARCHAR) [/INST] ### Response: SELECT method FROM table_name_61 WHERE round = "1" AND res = "loss" AND opponent = "carlos newton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points in games over 59? ### Context: CREATE TABLE table_name_12 (high_points VARCHAR, game INTEGER) [/INST] ### Response: SELECT high_points FROM table_name_12 WHERE game > 59 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score for the game against San Antonio? ### Context: CREATE TABLE table_name_97 (score VARCHAR, team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_97 WHERE team = "san antonio" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 against Indiana? ### Context: CREATE TABLE table_name_57 (high_assists VARCHAR, team VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_57 WHERE team = "indiana" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Railway with an ObjectNumber of 1975-7023? ### Context: CREATE TABLE table_name_16 (railway VARCHAR, objectnumber VARCHAR) [/INST] ### Response: SELECT railway FROM table_name_16 WHERE objectnumber = "1975-7023" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the manager that was positioned 11th in table and resigned in departure? ### Context: CREATE TABLE table_name_30 (replaced_by VARCHAR, position_in_table VARCHAR, manner_of_departure VARCHAR) [/INST] ### Response: SELECT replaced_by FROM table_name_30 WHERE position_in_table = "11th" AND manner_of_departure = "resigned" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 least tournaments played when the year is 1998? ### Context: CREATE TABLE table_name_62 (tournaments_played INTEGER, year VARCHAR) [/INST] ### Response: SELECT MIN(tournaments_played) FROM table_name_62 WHERE year = 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 the year when tournaments played is less than 2, cuts made is 1 and earnings ($) is less than 10,547? ### Context: CREATE TABLE table_name_89 (year INTEGER, earnings___$__ VARCHAR, tournaments_played VARCHAR, cuts_made VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_89 WHERE tournaments_played < 2 AND cuts_made = 1 AND earnings___$__ < 10 OFFSET 547 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 best finish when money list rank is n/a, earnings ($) is more than 0 and cuts made is more than 1? ### Context: CREATE TABLE table_name_41 (best_finish VARCHAR, cuts_made VARCHAR, money_list_rank VARCHAR, earnings___$__ VARCHAR) [/INST] ### Response: SELECT best_finish FROM table_name_41 WHERE money_list_rank = "n/a" AND earnings___$__ > 0 AND cuts_made > 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: how many times is the money list rank 221 and cuts more than 2? ### Context: CREATE TABLE table_name_97 (tournaments_played VARCHAR, money_list_rank VARCHAR, cuts_made VARCHAR) [/INST] ### Response: SELECT COUNT(tournaments_played) FROM table_name_97 WHERE money_list_rank = "221" AND cuts_made > 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 earliest year with the best finish t-65? ### Context: CREATE TABLE table_name_82 (year INTEGER, best_finish VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_82 WHERE best_finish = "t-65" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournaments played when cuts made is 14? ### Context: CREATE TABLE table_name_63 (tournaments_played INTEGER, cuts_made VARCHAR) [/INST] ### Response: SELECT AVG(tournaments_played) FROM table_name_63 WHERE cuts_made = 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 earliest date of taking office for district 22? ### Context: CREATE TABLE table_name_2 (took_office INTEGER, district VARCHAR) [/INST] ### Response: SELECT MIN(took_office) FROM table_name_2 WHERE district = 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 district has a democratic leader from Roby? ### Context: CREATE TABLE table_name_37 (district INTEGER, party VARCHAR, home_town VARCHAR) [/INST] ### Response: SELECT SUM(district) FROM table_name_37 WHERE party = "democratic" AND home_town = "roby" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 district where Steve Carriker is the Democratic Senator and he took office later than 1988? ### Context: CREATE TABLE table_name_72 (district INTEGER, took_office VARCHAR, party VARCHAR, senator VARCHAR) [/INST] ### Response: SELECT MAX(district) FROM table_name_72 WHERE party = "democratic" AND senator = "steve carriker" AND took_office > 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: How many series originally aired before 1999 with more than 7 episodes and a DVD Region 1 release date of 16 april 2013? ### Context: CREATE TABLE table_name_24 (series_number VARCHAR, dvd_region_1_release_date VARCHAR, original_air_date VARCHAR, number_of_episodes VARCHAR) [/INST] ### Response: SELECT COUNT(series_number) FROM table_name_24 WHERE original_air_date < 1999 AND number_of_episodes > 7 AND dvd_region_1_release_date = "16 april 2013" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the latest original air date with more than 10 episodes and a DVD Region 2 release date of 23 april 2012? ### Context: CREATE TABLE table_name_17 (original_air_date INTEGER, dvd_region_2_release_date VARCHAR, number_of_episodes VARCHAR) [/INST] ### Response: SELECT MAX(original_air_date) FROM table_name_17 WHERE dvd_region_2_release_date = "23 april 2012" AND number_of_episodes > 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 was the original air date of series number 10? ### Context: CREATE TABLE table_name_20 (original_air_date INTEGER, series_number VARCHAR) [/INST] ### Response: SELECT AVG(original_air_date) FROM table_name_20 WHERE series_number = 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's the sum of the number of episodes that originally aired after 1991 with a series number smaller than 21 and a DVD Region 2 release date of 26 march 2012? ### Context: CREATE TABLE table_name_99 (number_of_episodes INTEGER, dvd_region_2_release_date VARCHAR, original_air_date VARCHAR, series_number VARCHAR) [/INST] ### Response: SELECT SUM(number_of_episodes) FROM table_name_99 WHERE original_air_date > 1991 AND series_number < 21 AND dvd_region_2_release_date = "26 march 2012" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the lowest series number that originally aired before 2009 with more than 7 episodes and had a DVD Region 2 release date of 26 july 2004? ### Context: CREATE TABLE table_name_69 (series_number INTEGER, number_of_episodes VARCHAR, original_air_date VARCHAR, dvd_region_2_release_date VARCHAR) [/INST] ### Response: SELECT MIN(series_number) FROM table_name_69 WHERE original_air_date < 2009 AND dvd_region_2_release_date = "26 july 2004" AND number_of_episodes > 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 total of bronze that has more silvers than 2? ### Context: CREATE TABLE table_name_15 (bronze VARCHAR, silver INTEGER) [/INST] ### Response: SELECT COUNT(bronze) FROM table_name_15 WHERE silver > 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total of Golds with more bronzes than 1 and totaled larger than 4? ### Context: CREATE TABLE table_name_64 (gold VARCHAR, bronze VARCHAR, total VARCHAR) [/INST] ### Response: SELECT COUNT(gold) FROM table_name_64 WHERE bronze > 1 AND total > 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the least total that had more Bronzes than 1 and more silvers than 2? ### Context: CREATE TABLE table_name_82 (total INTEGER, bronze VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT MIN(total) FROM table_name_82 WHERE bronze > 1 AND silver > 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the least total that has fewer golds than 2, a higher rank than 4 and fewer bronzes than 1? ### Context: CREATE TABLE table_name_81 (total INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MIN(total) FROM table_name_81 WHERE gold < 2 AND rank = 4 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 lest amount of bronzes that ranked 2 and has less silvers than 0? ### Context: CREATE TABLE table_name_79 (bronze INTEGER, rank VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT MIN(bronze) FROM table_name_79 WHERE rank = 2 AND silver < 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: How many Total(s) are there, when the number of Bronze is greater than 13, when the Rank is 8, and when the number of Silver is less than 11? ### Context: CREATE TABLE table_name_48 (total VARCHAR, silver VARCHAR, bronze VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_name_48 WHERE bronze > 13 AND rank = "8" AND silver < 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 Nation, when the number of Bronze is less than 17, and when the number of Gold is less than 16? ### Context: CREATE TABLE table_name_26 (nation VARCHAR, bronze VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_26 WHERE bronze < 17 AND gold < 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest number of Silver, when the Nation is Japan (JPN), and when the Total is greater than 37? ### Context: CREATE TABLE table_name_50 (silver INTEGER, nation VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MAX(silver) FROM table_name_50 WHERE nation = "japan (jpn)" AND total > 37 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest number of Gold, when the number of Bronze is less than 36, when the Rank is 2, and when Silver is less than 37? ### Context: CREATE TABLE table_name_97 (gold INTEGER, silver VARCHAR, bronze VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MIN(gold) FROM table_name_97 WHERE bronze < 36 AND rank = "2" AND silver < 37 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Res., when Event is "FT 6 - Full Throttle 6"? ### Context: CREATE TABLE table_name_83 (res VARCHAR, event VARCHAR) [/INST] ### Response: SELECT res FROM table_name_83 WHERE event = "ft 6 - full throttle 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 Opponent, when Event is "ISCF - Southeast Championships"? ### Context: CREATE TABLE table_name_17 (opponent VARCHAR, event VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_17 WHERE event = "iscf - southeast championships" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Event, when Record is "3-0"? ### Context: CREATE TABLE table_name_13 (event VARCHAR, record VARCHAR) [/INST] ### Response: SELECT event FROM table_name_13 WHERE record = "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 date of the game against Chelsea when the league position is 14th? ### Context: CREATE TABLE table_name_42 (date VARCHAR, opponents VARCHAR, league_position VARCHAR) [/INST] ### Response: SELECT date FROM table_name_42 WHERE opponents = "chelsea" AND league_position = "14th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 method had a time of 0:46? ### Context: CREATE TABLE table_name_85 (method VARCHAR, time VARCHAR) [/INST] ### Response: SELECT method FROM table_name_85 WHERE time = "0:46" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In the fight against Brandon Bledsoe, how many rounds did the fight last? ### Context: CREATE TABLE table_name_91 (round VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT round FROM table_name_91 WHERE opponent = "brandon bledsoe" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What methos did Keith Wisniewski use in the ufc fight night: teixeira vs. bader? ### Context: CREATE TABLE table_name_99 (method VARCHAR, event VARCHAR) [/INST] ### Response: SELECT method FROM table_name_99 WHERE event = "ufc fight night: teixeira vs. bader" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 maximum speed of the car with 1.556 cc capacity? ### Context: CREATE TABLE table_name_45 (vmax VARCHAR, capacity VARCHAR) [/INST] ### Response: SELECT vmax FROM table_name_45 WHERE capacity = "1.556 cc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 maximum speed for straight-4, 1.466 cc Type r 150? ### Context: CREATE TABLE table_name_60 (vmax VARCHAR, type VARCHAR, cylinder VARCHAR, capacity VARCHAR) [/INST] ### Response: SELECT vmax FROM table_name_60 WHERE cylinder = "straight-4" AND capacity = "1.466 cc" AND type = "r 150" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 maximum speed for the P4-1 (24/36 ps)? ### Context: CREATE TABLE table_name_78 (vmax VARCHAR, type VARCHAR) [/INST] ### Response: SELECT vmax FROM table_name_78 WHERE type = "p4-1 (24/36 ps)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What country is Jack Nicklaus from? ### Context: CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_17 WHERE player = "jack nicklaus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 To par for bill britton when he placed t7? ### Context: CREATE TABLE table_name_37 (to_par VARCHAR, place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_37 WHERE place = "t7" AND player = "bill britton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 To par of Jack Nicklaus? ### Context: CREATE TABLE table_name_71 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_71 WHERE player = "jack nicklaus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the golfer from who had a money amount of 45,000? ### Context: CREATE TABLE table_name_39 (country VARCHAR, money___$__ VARCHAR) [/INST] ### Response: SELECT country FROM table_name_39 WHERE money___$__ = "45,000" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the To par for United States golfer fred couples? ### Context: CREATE TABLE table_name_17 (to_par VARCHAR, country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_17 WHERE country = "united states" AND player = "fred couples" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fate when the nationality is french and the ship is pierre lott? ### Context: CREATE TABLE table_name_97 (fate VARCHAR, nationality VARCHAR, ship VARCHAR) [/INST] ### Response: SELECT fate FROM table_name_97 WHERE nationality = "french" AND ship = "pierre lott" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ship with the date of 28.1.1915? ### Context: CREATE TABLE table_name_87 (ship VARCHAR, date VARCHAR) [/INST] ### Response: SELECT ship FROM table_name_87 WHERE date = "28.1.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 nationality when the ship is willerby? ### Context: CREATE TABLE table_name_64 (nationality VARCHAR, ship VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_64 WHERE ship = "willerby" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 least tonnage grt when the nationality is british and the ship is kidalton? ### Context: CREATE TABLE table_name_84 (tonnage_grt INTEGER, nationality VARCHAR, ship VARCHAR) [/INST] ### Response: SELECT MIN(tonnage_grt) FROM table_name_84 WHERE nationality = "british" AND ship = "kidalton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the Season that has the Team 2 of hanoi acb? ### Context: CREATE TABLE table_name_99 (season VARCHAR, team_2 VARCHAR) [/INST] ### Response: SELECT season FROM table_name_99 WHERE team_2 = "hanoi acb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the Team 2 that has the Venue of binh duong stadium, vietnam? ### Context: CREATE TABLE table_name_27 (team_2 VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT team_2 FROM table_name_27 WHERE venue = "binh duong stadium, vietnam" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the total number of Season that has the Team 2 of chonburi, and the Score of 0:1? ### Context: CREATE TABLE table_name_27 (season VARCHAR, team_2 VARCHAR, score VARCHAR) [/INST] ### Response: SELECT COUNT(season) FROM table_name_27 WHERE team_2 = "chonburi" AND score = "0: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: Which Score has a Place of t6, and a Player of raymond floyd? ### Context: CREATE TABLE table_name_43 (score VARCHAR, place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_43 WHERE place = "t6" AND player = "raymond floyd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 To par has a Place of t1, and a Score of 70-70-71-71=282? ### Context: CREATE TABLE table_name_47 (to_par VARCHAR, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT COUNT(to_par) FROM table_name_47 WHERE place = "t1" AND score = 70 - 70 - 71 - 71 = 282 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tony lema's to par? ### Context: CREATE TABLE table_name_56 (to_par INTEGER, player VARCHAR) [/INST] ### Response: SELECT SUM(to_par) FROM table_name_56 WHERE player = "tony lema" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 gary player's score? ### Context: CREATE TABLE table_name_25 (score VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_25 WHERE player = "gary player" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the total number for the PIW Class' The Adventures Of... and had a score bigger than 94.6? ### Context: CREATE TABLE table_name_56 (year VARCHAR, score VARCHAR, class VARCHAR, program_title VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_56 WHERE class = "piw" AND program_title = "the adventures of..." AND score > 94.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 class had a score of 95.1? ### Context: CREATE TABLE table_name_33 (class VARCHAR, score VARCHAR) [/INST] ### Response: SELECT class FROM table_name_33 WHERE score = 95.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 score for a year before 2008 and had 3rd place? ### Context: CREATE TABLE table_name_89 (score INTEGER, year VARCHAR, placement VARCHAR) [/INST] ### Response: SELECT MIN(score) FROM table_name_89 WHERE year < 2008 AND placement = "3rd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 latest year placement for Taboo with a score smaller than 96.125? ### Context: CREATE TABLE table_name_50 (year INTEGER, program_title VARCHAR, score VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_50 WHERE program_title = "taboo" AND score < 96.125 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 before 1959, with runner-up Jackie Pung? ### Context: CREATE TABLE table_name_87 (winning_score VARCHAR, year VARCHAR, runner_s__up VARCHAR) [/INST] ### Response: SELECT winning_score FROM table_name_87 WHERE year < 1959 AND runner_s__up = "jackie pung" </s>