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 total of televote for the artist Pokeris when the place was less than 10?
### Context:
CREATE TABLE table_name_44 (televote INTEGER, artist VARCHAR, place VARCHAR) [/INST]
### Response:
SELECT SUM(televote) FROM table_name_44 WHERE artist = "pokeris" AND place < 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:
With a draw greater than 11 and the place smaller than 4 what was the televote?
### Context:
CREATE TABLE table_name_96 (televote VARCHAR, draw VARCHAR, place VARCHAR) [/INST]
### Response:
SELECT televote FROM table_name_96 WHERE draw > 11 AND place < 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 was the aggregate total for the match against Koper?
### Context:
CREATE TABLE table_name_49 (agg VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT agg FROM table_name_49 WHERE opponent = "koper" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Canadian Championship had CONCACAF Champions League of semifinals?
### Context:
CREATE TABLE table_name_6 (canadian_championship VARCHAR, concacaf_champions_league VARCHAR) [/INST]
### Response:
SELECT canadian_championship FROM table_name_6 WHERE concacaf_champions_league = "semifinals" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 regular season had the playoffs of 0 mls cups?
### Context:
CREATE TABLE table_name_87 (regular_season VARCHAR, playoffs VARCHAR) [/INST]
### Response:
SELECT regular_season FROM table_name_87 WHERE playoffs = "0 mls cups" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 with a goal of 16?
### Context:
CREATE TABLE table_name_93 (score VARCHAR, goal VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_93 WHERE goal = 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 Super G, when Season is later than 1996?
### Context:
CREATE TABLE table_name_46 (super_g INTEGER, season INTEGER) [/INST]
### Response:
SELECT MAX(super_g) FROM table_name_46 WHERE season > 1996 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Combined, when Super G is less than 10, and when Overall is less than 4?
### Context:
CREATE TABLE table_name_46 (combined VARCHAR, super_g VARCHAR, overall VARCHAR) [/INST]
### Response:
SELECT combined FROM table_name_46 WHERE super_g < 10 AND overall < 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest Season, when Super G is 19?
### Context:
CREATE TABLE table_name_63 (season INTEGER, super_g VARCHAR) [/INST]
### Response:
SELECT MAX(season) FROM table_name_63 WHERE super_g = 19 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What outlet has and in-state area of 055 1,497km 2 578mi 2?
### Context:
CREATE TABLE table_name_68 (outlet VARCHAR, in_state_area VARCHAR) [/INST]
### Response:
SELECT outlet FROM table_name_68 WHERE in_state_area = "055 1,497km 2 578mi 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 area of the Arkansas River outlet with a % in-state of a021 100%?
### Context:
CREATE TABLE table_name_61 (total_area VARCHAR, outlet VARCHAR, _percentage_in_state VARCHAR) [/INST]
### Response:
SELECT total_area FROM table_name_61 WHERE outlet = "arkansas river" AND _percentage_in_state = "a021 100%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 an outlet of Colorado River and a % instate of a038 84.8% what is in-state area?
### Context:
CREATE TABLE table_name_30 (in_state_area VARCHAR, outlet VARCHAR, _percentage_in_state VARCHAR) [/INST]
### Response:
SELECT in_state_area FROM table_name_30 WHERE outlet = "colorado river" AND _percentage_in_state = "a038 84.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 in-state area with an outlet of South Platte River and Big Thompson river as the basin?
### Context:
CREATE TABLE table_name_81 (in_state_area VARCHAR, outlet VARCHAR, basin VARCHAR) [/INST]
### Response:
SELECT in_state_area FROM table_name_81 WHERE outlet = "south platte river" AND basin = "big thompson river" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 an in-state area of 053 1,654km 2 639mi 2, what is the total area?
### Context:
CREATE TABLE table_name_7 (total_area VARCHAR, in_state_area VARCHAR) [/INST]
### Response:
SELECT total_area FROM table_name_7 WHERE in_state_area = "053 1,654km 2 639mi 2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the basin with an in-state area of 071 238km 2 92mi 2?
### Context:
CREATE TABLE table_name_66 (basin VARCHAR, in_state_area VARCHAR) [/INST]
### Response:
SELECT basin FROM table_name_66 WHERE in_state_area = "071 238km 2 92mi 2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the transfer fee for the player ending in 2011 and moving from Thrasyvoulos?
### Context:
CREATE TABLE table_name_97 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR) [/INST]
### Response:
SELECT transfer_fee FROM table_name_97 WHERE ends = 2011 AND moving_from = "thrasyvoulos" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 transfer fee for the player moving in the winter window and ending in a year after 2010?
### Context:
CREATE TABLE table_name_33 (transfer_fee VARCHAR, ends VARCHAR, transfer_window VARCHAR) [/INST]
### Response:
SELECT transfer_fee FROM table_name_33 WHERE ends > 2010 AND transfer_window = "winter" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest Week that has the Attendance smaller than 34,336?
### Context:
CREATE TABLE table_name_60 (week INTEGER, attendance INTEGER) [/INST]
### Response:
SELECT MIN(week) FROM table_name_60 WHERE attendance < 34 OFFSET 336 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponents in the final that was played on April 16, 2006 and the outcome was runner-up?
### Context:
CREATE TABLE table_name_9 (opponents_in_final VARCHAR, outcome VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponents_in_final FROM table_name_9 WHERE outcome = "runner-up" AND date = "april 16, 2006" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who were the opponents in the final when the game was played on hard surface and the score of the final was 6–1, 1–6, 7–6(4)?
### Context:
CREATE TABLE table_name_22 (opponents_in_final VARCHAR, surface VARCHAR, score_in_final VARCHAR) [/INST]
### Response:
SELECT opponents_in_final FROM table_name_22 WHERE surface = "hard" AND score_in_final = "6–1, 1–6, 7–6(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 date's margin of victory was 3 and 2?
### Context:
CREATE TABLE table_name_45 (date VARCHAR, margin_of_victory VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_45 WHERE margin_of_victory = "3 and 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 to par when the winning score was 67-68-70-66=271?
### Context:
CREATE TABLE table_name_76 (to_par VARCHAR, winning_score VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_76 WHERE winning_score = 67 - 68 - 70 - 66 = 271 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 to par when the tournament involved was the Transitions Championship?
### Context:
CREATE TABLE table_name_45 (to_par VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_45 WHERE tournament = "transitions championship" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what date was the Transitions Championship?
### Context:
CREATE TABLE table_name_46 (date VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_46 WHERE tournament = "transitions championship" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 runner-up on Jul 14, 1968?
### Context:
CREATE TABLE table_name_64 (runner_s__up VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT runner_s__up FROM table_name_64 WHERE date = "jul 14, 1968" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the tournament with Charles Coody as the runner-up?
### Context:
CREATE TABLE table_name_91 (winning_score VARCHAR, runner_s__up VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_name_91 WHERE runner_s__up = "charles coody" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2011 value of the French Open, which has a 2006 value of A?
### Context:
CREATE TABLE table_name_2 (tournament VARCHAR) [/INST]
### Response:
SELECT 2011 FROM table_name_2 WHERE 2006 = "a" AND tournament = "french open" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the tournament with a 2006 value of A and a 2011 value of 1r?
### Context:
CREATE TABLE table_name_13 (tournament VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_13 WHERE 2006 = "a" AND 2011 = "1r" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2007 value of the US Open?
### Context:
CREATE TABLE table_name_16 (tournament VARCHAR) [/INST]
### Response:
SELECT 2007 FROM table_name_16 WHERE tournament = "us open" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the tournament with a 2006 value of A and a 2011 value of 3r?
### Context:
CREATE TABLE table_name_59 (tournament VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_59 WHERE 2006 = "a" AND 2011 = "3r" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Catalog was released in Germany?
### Context:
CREATE TABLE table_name_47 (catalog VARCHAR, region VARCHAR) [/INST]
### Response:
SELECT catalog FROM table_name_47 WHERE region = "germany" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Region was the Catalog magik muzik 805-5 released in?
### Context:
CREATE TABLE table_name_5 (region VARCHAR, catalog VARCHAR) [/INST]
### Response:
SELECT region FROM table_name_5 WHERE catalog = "magik muzik 805-5" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total number of Dates during which the Catalog nebbc003 was given?
### Context:
CREATE TABLE table_name_71 (date INTEGER, catalog VARCHAR) [/INST]
### Response:
SELECT SUM(date) FROM table_name_71 WHERE catalog = "nebbc003" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Population per km² (2009) that is in western province, with an Area (km²) larger than 5,475?
### Context:
CREATE TABLE table_name_33 (population_per_km²__2009_ INTEGER, province VARCHAR, area__km²_ VARCHAR) [/INST]
### Response:
SELECT MAX(population_per_km²__2009_) FROM table_name_33 WHERE province = "western province" AND area__km²_ > 5 OFFSET 475 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Population per km² (2009) that has a Solomon Islands province, with an Area (km²) smaller than 28,400?
### Context:
CREATE TABLE table_name_21 (population_per_km²__2009_ INTEGER, province VARCHAR, area__km²_ VARCHAR) [/INST]
### Response:
SELECT MIN(population_per_km²__2009_) FROM table_name_21 WHERE province = "solomon islands" AND area__km²_ < 28 OFFSET 400 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Team was in 2005?
### Context:
CREATE TABLE table_name_92 (team VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_92 WHERE year = 2005 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Before 2008, if the Manufacturer is dodge and the start is under 9, what's the highest finish time?
### Context:
CREATE TABLE table_name_17 (finish INTEGER, year VARCHAR, manufacturer VARCHAR, start VARCHAR) [/INST]
### Response:
SELECT MAX(finish) FROM table_name_17 WHERE manufacturer = "dodge" AND start < 9 AND year < 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:
When the team is penske and they start under 9, what's the average finish time?
### Context:
CREATE TABLE table_name_80 (finish INTEGER, team VARCHAR, start VARCHAR) [/INST]
### Response:
SELECT AVG(finish) FROM table_name_80 WHERE team = "penske" AND start < 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 is the sum of Gold, when Total is greater than 2, when Bronze is greater than 1, and when Silver is less than 1?
### Context:
CREATE TABLE table_name_70 (gold INTEGER, silver VARCHAR, total VARCHAR, bronze VARCHAR) [/INST]
### Response:
SELECT SUM(gold) FROM table_name_70 WHERE total > 2 AND bronze > 1 AND silver < 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 sum of Gold, when Total is less than 1?
### Context:
CREATE TABLE table_name_14 (gold INTEGER, total INTEGER) [/INST]
### Response:
SELECT SUM(gold) FROM table_name_14 WHERE total < 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 average Total, when Gold is 0, and when Nation is Iran?
### Context:
CREATE TABLE table_name_71 (total INTEGER, gold VARCHAR, nation VARCHAR) [/INST]
### Response:
SELECT AVG(total) FROM table_name_71 WHERE gold = 0 AND nation = "iran" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the sum of Total, when Nation is West Germany, and when Gold is greater than 2?
### Context:
CREATE TABLE table_name_45 (total INTEGER, nation VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT SUM(total) FROM table_name_45 WHERE nation = "west germany" AND gold > 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 average Total, when Gold is less than 0?
### Context:
CREATE TABLE table_name_12 (total INTEGER, gold INTEGER) [/INST]
### Response:
SELECT AVG(total) FROM table_name_12 WHERE gold < 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the content of the Television service of Vesti?
### Context:
CREATE TABLE table_name_58 (content VARCHAR, television_service VARCHAR) [/INST]
### Response:
SELECT content FROM table_name_58 WHERE television_service = "vesti" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Television service has a Content of general television?
### Context:
CREATE TABLE table_name_49 (television_service VARCHAR, content VARCHAR) [/INST]
### Response:
SELECT television_service FROM table_name_49 WHERE content = "general television" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Administrative district has a Pre-1009 province of gwannae -do and a Post-1009 province of seohae -do?
### Context:
CREATE TABLE table_name_76 (administrative_district VARCHAR, pre_1009_province VARCHAR, post_1009_province VARCHAR) [/INST]
### Response:
SELECT administrative_district FROM table_name_76 WHERE pre_1009_province = "gwannae -do" AND post_1009_province = "seohae -do" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What kind of Modern equivalent that has a Pre-1009 province of sakbang -do, and a Province of Silla of sakju?
### Context:
CREATE TABLE table_name_15 (modern_equivalent VARCHAR, pre_1009_province VARCHAR, province_of_silla VARCHAR) [/INST]
### Response:
SELECT modern_equivalent FROM table_name_15 WHERE pre_1009_province = "sakbang -do" AND province_of_silla = "sakju" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What kind of Modern equivalent has a Post-1009 province of gyeongsang -do, and a Administrative district of jinju -mok, and a Province of Silla of gangju?
### Context:
CREATE TABLE table_name_88 (modern_equivalent VARCHAR, province_of_silla VARCHAR, post_1009_province VARCHAR, administrative_district VARCHAR) [/INST]
### Response:
SELECT modern_equivalent FROM table_name_88 WHERE post_1009_province = "gyeongsang -do" AND administrative_district = "jinju -mok" AND province_of_silla = "gangju" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHat kind of Province of Silla has a Modern equivalent of pyeongan?
### Context:
CREATE TABLE table_name_25 (province_of_silla VARCHAR, modern_equivalent VARCHAR) [/INST]
### Response:
SELECT province_of_silla FROM table_name_25 WHERE modern_equivalent = "pyeongan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Pre-1009 province has a Post-1009 province of donggye?
### Context:
CREATE TABLE table_name_36 (pre_1009_province VARCHAR, post_1009_province VARCHAR) [/INST]
### Response:
SELECT pre_1009_province FROM table_name_36 WHERE post_1009_province = "donggye" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHich Province of Silla has a Modern equivalent of south jeolla, and a Administrative district of seungju?
### Context:
CREATE TABLE table_name_33 (province_of_silla VARCHAR, modern_equivalent VARCHAR, administrative_district VARCHAR) [/INST]
### Response:
SELECT province_of_silla FROM table_name_33 WHERE modern_equivalent = "south jeolla" AND administrative_district = "seungju" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the lowest year that a player from midfield won first team honors?
### Context:
CREATE TABLE table_name_12 (year INTEGER, team VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_name_12 WHERE team = "first team" AND position = "midfield" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 munich, germany tournament?
### Context:
CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_52 WHERE tournament = "munich, germany" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What tournament is on October 27, 2003?
### Context:
CREATE TABLE table_name_84 (tournament VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_84 WHERE date = "october 27, 2003" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the opponent in the final of the tournament on May 22, 2006?
### Context:
CREATE TABLE table_name_88 (opponent_in_final VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent_in_final FROM table_name_88 WHERE date = "may 22, 2006" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the surface of the tournament with david nalbandian as the opponent in the final?
### Context:
CREATE TABLE table_name_53 (surface VARCHAR, opponent_in_final VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_53 WHERE opponent_in_final = "david nalbandian" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player from the United States with a score of 70-70-71=211?
### Context:
CREATE TABLE table_name_66 (player VARCHAR, country VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_66 WHERE country = "united states" AND score = 70 - 70 - 71 = 211 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What place was Dave Stockton when he had a to par of +1?
### Context:
CREATE TABLE table_name_10 (place VARCHAR, to_par VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT place FROM table_name_10 WHERE to_par = "+1" AND player = "dave stockton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a to par of +2 and a score of 78-69-68=215?
### Context:
CREATE TABLE table_name_22 (player VARCHAR, to_par VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_22 WHERE to_par = "+2" AND score = 78 - 69 - 68 = 215 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tom Kite's to par?
### Context:
CREATE TABLE table_name_63 (to_par VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_63 WHERE player = "tom kite" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score of T3 place?
### Context:
CREATE TABLE table_name_67 (score VARCHAR, place VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_67 WHERE place = "t3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Leading scorer during the game of 68-79?
### Context:
CREATE TABLE table_name_45 (Leading VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT Leading AS scorer FROM table_name_45 WHERE score = "68-79" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 from Milwaukee?
### Context:
CREATE TABLE table_name_27 (runner_up VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT runner_up FROM table_name_27 WHERE city = "milwaukee" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 oil pattern for runner-up Pete Weber?
### Context:
CREATE TABLE table_name_26 (oil_pattern VARCHAR, runner_up VARCHAR) [/INST]
### Response:
SELECT oil_pattern FROM table_name_26 WHERE runner_up = "pete weber" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What city was the Dick Weber Open in?
### Context:
CREATE TABLE table_name_22 (city VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT city FROM table_name_22 WHERE event = "dick weber open" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What city had the chameleon oil pattern at the Go RV'ing Classic?
### Context:
CREATE TABLE table_name_21 (city VARCHAR, oil_pattern VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT city FROM table_name_21 WHERE oil_pattern = "chameleon" AND event = "go rv'ing classic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What notes are for years earlier than 2010?
### Context:
CREATE TABLE table_name_50 (notes VARCHAR, year INTEGER) [/INST]
### Response:
SELECT notes FROM table_name_50 WHERE year < 2010 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What competition took place in a year later than 2009 with team notes?
### Context:
CREATE TABLE table_name_8 (competition VARCHAR, year VARCHAR, notes VARCHAR) [/INST]
### Response:
SELECT competition FROM table_name_8 WHERE year > 2009 AND notes = "team" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position in 2010 with team notes?
### Context:
CREATE TABLE table_name_90 (position VARCHAR, year VARCHAR, notes VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_90 WHERE year = 2010 AND notes = "team" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Year, when Tournament is "Beijing"?
### Context:
CREATE TABLE table_name_51 (year INTEGER, tournament VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_name_51 WHERE tournament = "beijing" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Winner, when Year is 2013?
### Context:
CREATE TABLE table_name_11 (winner VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT winner FROM table_name_11 WHERE year = 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 is Round, when Tournament is "Paris"?
### Context:
CREATE TABLE table_name_61 (round VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT round FROM table_name_61 WHERE tournament = "paris" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Round, when Winner is "Ivanovic", when Year is less than 2008, and when Tournament is "Paris"?
### Context:
CREATE TABLE table_name_60 (round VARCHAR, tournament VARCHAR, winner VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT round FROM table_name_60 WHERE winner = "ivanovic" AND year < 2008 AND tournament = "paris" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Score, when Year is before 2007, and when Tournament is "Sydney"?
### Context:
CREATE TABLE table_name_88 (score VARCHAR, year VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_88 WHERE year < 2007 AND tournament = "sydney" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest crowd of the west coast home team?
### Context:
CREATE TABLE table_name_86 (crowd INTEGER, home_team VARCHAR) [/INST]
### Response:
SELECT MIN(crowd) FROM table_name_86 WHERE home_team = "west coast" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ground of the Geelong Away team?
### Context:
CREATE TABLE table_name_74 (ground VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT ground FROM table_name_74 WHERE away_team = "geelong" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What team has more than 49 laps and a grid of 8?
### Context:
CREATE TABLE table_name_63 (team VARCHAR, laps VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_63 WHERE laps > 49 AND grid = 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 grid sum with more than 50 laps?
### Context:
CREATE TABLE table_name_16 (grid INTEGER, laps INTEGER) [/INST]
### Response:
SELECT SUM(grid) FROM table_name_16 WHERE laps > 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:
What's the track for 1978?
### Context:
CREATE TABLE table_name_47 (track VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT track FROM table_name_47 WHERE year = 1978 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 track for 1982?
### Context:
CREATE TABLE table_name_18 (track VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT track FROM table_name_18 WHERE year = 1982 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest long with less than 7 losses and an Avg/G smaller than 25.1?
### Context:
CREATE TABLE table_name_3 (long INTEGER, loss VARCHAR, avg_g VARCHAR) [/INST]
### Response:
SELECT MAX(long) FROM table_name_3 WHERE loss < 7 AND avg_g < 25.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 was Rock Cartwright's highest long with more than 11 losses?
### Context:
CREATE TABLE table_name_44 (long INTEGER, name VARCHAR, loss VARCHAR) [/INST]
### Response:
SELECT AVG(long) FROM table_name_44 WHERE name = "rock cartwright" AND loss > 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 Company Name, when the Accreditation Level is Joyn Hot Fixes, and when the Accreditation Status is Approved (Awarded 17.05.13)?
### Context:
CREATE TABLE table_name_13 (company_name VARCHAR, accreditation_level VARCHAR, accreditation_status VARCHAR) [/INST]
### Response:
SELECT company_name FROM table_name_13 WHERE accreditation_level = "joyn hot fixes" AND accreditation_status = "approved (awarded 17.05.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 Accreditation Type, when the Accreditation Level is Joyn, and when the Hardware Model is Nokia 700?
### Context:
CREATE TABLE table_name_72 (accreditation_type VARCHAR, accreditation_level VARCHAR, hardware_model VARCHAR) [/INST]
### Response:
SELECT accreditation_type FROM table_name_72 WHERE accreditation_level = "joyn" AND hardware_model = "nokia 700" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Accreditation Status, when the Product Name is LG RCS-e Client?
### Context:
CREATE TABLE table_name_83 (accreditation_status VARCHAR, product_name VARCHAR) [/INST]
### Response:
SELECT accreditation_status FROM table_name_83 WHERE product_name = "lg rcs-e client" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Company Name, when the Accreditation Status is Approved (Valid Until 03.07.13)?
### Context:
CREATE TABLE table_name_76 (company_name VARCHAR, accreditation_status VARCHAR) [/INST]
### Response:
SELECT company_name FROM table_name_76 WHERE accreditation_status = "approved (valid until 03.07.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 Accreditation Level, when the Hardware Model is GT-I9100?
### Context:
CREATE TABLE table_name_7 (accreditation_level VARCHAR, hardware_model VARCHAR) [/INST]
### Response:
SELECT accreditation_level FROM table_name_7 WHERE hardware_model = "gt-i9100" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Product Name, when the Company Name is HTC Corporation?
### Context:
CREATE TABLE table_name_63 (product_name VARCHAR, company_name VARCHAR) [/INST]
### Response:
SELECT product_name FROM table_name_63 WHERE company_name = "htc corporation" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 most recent year the venue was Barcelona, Spain?
### Context:
CREATE TABLE table_name_37 (year INTEGER, venue VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_name_37 WHERE venue = "barcelona, spain" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Wat was the result for the 20 km after 2008 when the venue was Metz, France?
### Context:
CREATE TABLE table_name_13 (result VARCHAR, venue VARCHAR, year VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_13 WHERE year > 2008 AND event = "20 km" AND venue = "metz, france" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 match with sheffield wednesday as the away team?
### Context:
CREATE TABLE table_name_62 (date VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_62 WHERE away_team = "sheffield wednesday" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 swimsuit score when the interview score is 8.626 (5)?
### Context:
CREATE TABLE table_name_19 (swimsuit VARCHAR, interview VARCHAR) [/INST]
### Response:
SELECT swimsuit FROM table_name_19 WHERE interview = "8.626 (5)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the swimsuit score when the semifinal average score is 8.367 (10)?
### Context:
CREATE TABLE table_name_86 (swimsuit VARCHAR, semifinal_average VARCHAR) [/INST]
### Response:
SELECT swimsuit FROM table_name_86 WHERE semifinal_average = "8.367 (10)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the preliminary average score when the evening gown score is 8.774 (6)?
### Context:
CREATE TABLE table_name_58 (preliminary_average VARCHAR, evening_gown VARCHAR) [/INST]
### Response:
SELECT preliminary_average FROM table_name_58 WHERE evening_gown = "8.774 (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 preliminary average score when the interview score is 8.600 (6)?
### Context:
CREATE TABLE table_name_78 (preliminary_average VARCHAR, interview VARCHAR) [/INST]
### Response:
SELECT preliminary_average FROM table_name_78 WHERE interview = "8.600 (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 swimsuit score when evening gown score is 9.165 (3)?
### Context:
CREATE TABLE table_name_13 (swimsuit VARCHAR, evening_gown VARCHAR) [/INST]
### Response:
SELECT swimsuit FROM table_name_13 WHERE evening_gown = "9.165 (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 interview score when the preliminary average is 8.529 (6)?
### Context:
CREATE TABLE table_name_53 (interview VARCHAR, preliminary_average VARCHAR) [/INST]
### Response:
SELECT interview FROM table_name_53 WHERE preliminary_average = "8.529 (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 average wins with 5 cuts and 1 in the top-10?
### Context:
CREATE TABLE table_name_91 (wins INTEGER, cuts_made VARCHAR, top_10 VARCHAR) [/INST]
### Response:
SELECT AVG(wins) FROM table_name_91 WHERE cuts_made = 5 AND top_10 = 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 sum of top-10 values for the Open Championship and less than 3 in the top-25?
### Context:
CREATE TABLE table_name_61 (top_10 INTEGER, tournament VARCHAR, top_25 VARCHAR) [/INST]
### Response:
SELECT SUM(top_10) FROM table_name_61 WHERE tournament = "the open championship" AND top_25 < 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 smallest number of events with 24 cuts and less than 11 in the top-25?
### Context:
CREATE TABLE table_name_34 (events INTEGER, cuts_made VARCHAR, top_25 VARCHAR) [/INST]
### Response:
SELECT MIN(events) FROM table_name_34 WHERE cuts_made = 24 AND top_25 < 11 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.