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:
How many schools are listed for the player who played the years for Jazz in 2010-11?
### Context:
CREATE TABLE table_11545282_5 (school_club_team VARCHAR, years_for_jazz VARCHAR) [/INST]
### Response:
SELECT COUNT(school_club_team) FROM table_11545282_5 WHERE years_for_jazz = "2010-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:
How many players were names Howard Eisley?
### Context:
CREATE TABLE table_11545282_5 (no VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(no) FROM table_11545282_5 WHERE player = "Howard Eisley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position for player Blue Edwards?
### Context:
CREATE TABLE table_11545282_5 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_11545282_5 WHERE player = "Blue Edwards" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which player played the years for Jazz in 1995-2000, 2004-05
### Context:
CREATE TABLE table_11545282_5 (player VARCHAR, years_for_jazz VARCHAR) [/INST]
### Response:
SELECT player FROM table_11545282_5 WHERE years_for_jazz = "1995-2000, 2004-05" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which player is no. 53?
### Context:
CREATE TABLE table_11545282_5 (player VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT player FROM table_11545282_5 WHERE no = "53" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
During which years did Jim Farmer play for Jazz?
### Context:
CREATE TABLE table_11545282_6 (years_for_jazz VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT years_for_jazz FROM table_11545282_6 WHERE player = "Jim Farmer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players have played for Jazz during 2006-2007?
### Context:
CREATE TABLE table_11545282_6 (player VARCHAR, years_for_jazz VARCHAR) [/INST]
### Response:
SELECT COUNT(player) FROM table_11545282_6 WHERE years_for_jazz = "2006-2007" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Jim Farmer's nationality?
### Context:
CREATE TABLE table_11545282_6 (nationality VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_11545282_6 WHERE player = "Jim Farmer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For how many players from UTEP can one calculate how many years they've played for Jazz?
### Context:
CREATE TABLE table_11545282_6 (years_for_jazz VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT COUNT(years_for_jazz) FROM table_11545282_6 WHERE school_club_team = "UTEP" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position does Jim Farmer play in?
### Context:
CREATE TABLE table_11545282_6 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_11545282_6 WHERE player = "Jim Farmer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What school or club did number 35 play for?
### Context:
CREATE TABLE table_11545282_7 (school_club_team VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_11545282_7 WHERE no = 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:
How many years did number 25 play for the Jazz?
### Context:
CREATE TABLE table_11545282_7 (years_for_jazz VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT years_for_jazz FROM table_11545282_7 WHERE no = 25 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many years did Paul Griffin play for the Jazz?
### Context:
CREATE TABLE table_11545282_7 (years_for_jazz VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(years_for_jazz) FROM table_11545282_7 WHERE player = "Paul Griffin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did Lamar Green play?
### Context:
CREATE TABLE table_11545282_7 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_11545282_7 WHERE player = "Lamar Green" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players only played for the Jazz in only 2010?
### Context:
CREATE TABLE table_11545282_7 (no VARCHAR, years_for_jazz VARCHAR) [/INST]
### Response:
SELECT COUNT(no) FROM table_11545282_7 WHERE years_for_jazz = "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 was the delivery date when s2 (lst) type, s2 (frigate) type, c1-m type was delivered?
### Context:
CREATE TABLE table_11552751_2 (ship_types_delivered VARCHAR) [/INST]
### Response:
SELECT 1 AS st_ship_delivery_date FROM table_11552751_2 WHERE ship_types_delivered = "S2 (LST) type, S2 (frigate) type, C1-M type" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was the delevery date when there were 12 ways of delivery?
### Context:
CREATE TABLE table_11552751_2 (total_number_of_ways VARCHAR) [/INST]
### Response:
SELECT 1 AS st_ship_delivery_date FROM table_11552751_2 WHERE total_number_of_ways = "12 ways" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode numbers where the episode features Jack & Locke?
### Context:
CREATE TABLE table_11562149_1 (no_in_series VARCHAR, featured_character_s_ VARCHAR) [/INST]
### Response:
SELECT no_in_series FROM table_11562149_1 WHERE featured_character_s_ = "Jack & Locke" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode numbers of episodes featuring Hurley?
### Context:
CREATE TABLE table_11562149_1 (no_in_series VARCHAR, featured_character_s_ VARCHAR) [/INST]
### Response:
SELECT no_in_series FROM table_11562149_1 WHERE featured_character_s_ = "Hurley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List the episode whose number in the series is 111.
### Context:
CREATE TABLE table_11562149_1 (no_in_season VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT no_in_season FROM table_11562149_1 WHERE no_in_series = "111" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date got 9.82 million viewers?
### Context:
CREATE TABLE table_11562143_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_11562143_1 WHERE us_viewers__million_ = "9.82" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What school took 3rd place in 2007?
### Context:
CREATE TABLE table_11577996_1 (year VARCHAR) [/INST]
### Response:
SELECT 3 AS rd_place FROM table_11577996_1 WHERE year = 2007 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What school took 4th place in 2002?
### Context:
CREATE TABLE table_11577996_1 (year VARCHAR) [/INST]
### Response:
SELECT 4 AS th_place FROM table_11577996_1 WHERE year = 2002 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What school took 4th place in 2001?
### Context:
CREATE TABLE table_11577996_1 (year VARCHAR) [/INST]
### Response:
SELECT 4 AS th_place FROM table_11577996_1 WHERE year = 2001 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who were the runner(s)-up when Tiger won by 11 strokes?
### Context:
CREATE TABLE table_11570261_2 (runner_s__up VARCHAR, margin_of_victory VARCHAR) [/INST]
### Response:
SELECT runner_s__up FROM table_11570261_2 WHERE margin_of_victory = "11 strokes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 margin of victory over Justin Leonard, phillip price?
### Context:
CREATE TABLE table_11570261_2 (margin_of_victory VARCHAR, runner_s__up VARCHAR) [/INST]
### Response:
SELECT COUNT(margin_of_victory) FROM table_11570261_2 WHERE runner_s__up = "Justin Leonard, Phillip Price" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
There were 68 worcs f-c matches played on Chester Road North Ground.
### Context:
CREATE TABLE table_1156428_2 (worcs_f_c_matches VARCHAR, name_of_ground VARCHAR) [/INST]
### Response:
SELECT worcs_f_c_matches FROM table_1156428_2 WHERE name_of_ground = "Chester Road North Ground" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Tiger get second in the year where there were 11 cuts?
### Context:
CREATE TABLE table_11570261_6 (cuts_made VARCHAR) [/INST]
### Response:
SELECT MAX(2 AS nd) FROM table_11570261_6 WHERE cuts_made = "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:
Which locomotives 12" x 17" are both ex-industrial and built by Manning Wardle?
### Context:
CREATE TABLE table_1157867_2 (name VARCHAR, notes VARCHAR, builder VARCHAR) [/INST]
### Response:
SELECT name FROM table_1157867_2 WHERE notes = "Ex-industrial" AND builder = "Manning Wardle" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 size of the cylinders built by Longbottom, Barnsley?
### Context:
CREATE TABLE table_1157867_2 (cylinders VARCHAR, builder VARCHAR) [/INST]
### Response:
SELECT cylinders FROM table_1157867_2 WHERE builder = "Longbottom, Barnsley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 builder of the locomotives with wheel arrangement of 2-4-2 T?
### Context:
CREATE TABLE table_1157867_2 (builder VARCHAR, wheel_arrangement VARCHAR) [/INST]
### Response:
SELECT builder FROM table_1157867_2 WHERE wheel_arrangement = "2-4-2 T" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what date did Hudswell Clarke build the locomotive with 0-6-0 ST wheel arrangements?
### Context:
CREATE TABLE table_1157867_2 (date_built VARCHAR, wheel_arrangement VARCHAR, builder VARCHAR) [/INST]
### Response:
SELECT date_built FROM table_1157867_2 WHERE wheel_arrangement = "0-6-0 ST" AND builder = "Hudswell Clarke" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What amount of times is the name, Bok De Korver listed?
### Context:
CREATE TABLE table_11585313_1 (number INTEGER, name VARCHAR) [/INST]
### Response:
SELECT MAX(number) FROM table_11585313_1 WHERE name = "Bok de Korver" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 goals on the debut date of 14-04-1907?
### Context:
CREATE TABLE table_11585313_1 (number_of_goals VARCHAR, date_of_debut VARCHAR) [/INST]
### Response:
SELECT COUNT(number_of_goals) FROM table_11585313_1 WHERE date_of_debut = "14-04-1907" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 debut that has a date of birth listed at 24-10-1887?
### Context:
CREATE TABLE table_11585313_1 (date_of_debut VARCHAR, date_of_birth VARCHAR) [/INST]
### Response:
SELECT date_of_debut FROM table_11585313_1 WHERE date_of_birth = "24-10-1887" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 person that scored 10 goals?
### Context:
CREATE TABLE table_11585313_1 (name VARCHAR, number_of_goals VARCHAR) [/INST]
### Response:
SELECT name FROM table_11585313_1 WHERE number_of_goals = 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 name of the person whose date of death is 01-04-1954?
### Context:
CREATE TABLE table_11585313_1 (name VARCHAR, date_of_death† VARCHAR) [/INST]
### Response:
SELECT name FROM table_11585313_1 WHERE date_of_death† = "01-04-1954" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 toatl number of caps where the name is Hans Blume?
### Context:
CREATE TABLE table_11585313_1 (number_of_caps VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT COUNT(number_of_caps) FROM table_11585313_1 WHERE name = "Hans Blume" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the date of Henk Hordijk's death?
### Context:
CREATE TABLE table_11585313_2 (date_of_death† VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT date_of_death† FROM table_11585313_2 WHERE name = "Henk Hordijk" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What frequency is the pentium dual-core t3200?
### Context:
CREATE TABLE table_11602313_4 (frequency VARCHAR, model_number VARCHAR) [/INST]
### Response:
SELECT frequency FROM table_11602313_4 WHERE model_number = "Pentium Dual-Core T3200" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the frequency of the model with part number lf80537gf0411m?
### Context:
CREATE TABLE table_11602313_4 (frequency VARCHAR, part_number_s_ VARCHAR) [/INST]
### Response:
SELECT frequency FROM table_11602313_4 WHERE part_number_s_ = "LF80537GF0411M" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 FSB of the model with part number lf80537gf0411m?
### Context:
CREATE TABLE table_11602313_4 (fsb VARCHAR, part_number_s_ VARCHAR) [/INST]
### Response:
SELECT fsb FROM table_11602313_4 WHERE part_number_s_ = "LF80537GF0411M" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 FSB of the model with part number lf80537ge0251mn?
### Context:
CREATE TABLE table_11602313_4 (fsb VARCHAR, part_number_s_ VARCHAR) [/INST]
### Response:
SELECT fsb FROM table_11602313_4 WHERE part_number_s_ = "LF80537GE0251MN" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 socket for the pentium dual-core t2410?
### Context:
CREATE TABLE table_11602313_4 (socket VARCHAR, model_number VARCHAR) [/INST]
### Response:
SELECT socket FROM table_11602313_4 WHERE model_number = "Pentium Dual-Core T2410" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the release date for the model with sspec number sla4h(m0)?
### Context:
CREATE TABLE table_11602313_4 (release_date VARCHAR, sspec_number VARCHAR) [/INST]
### Response:
SELECT release_date FROM table_11602313_4 WHERE sspec_number = "SLA4H(M0)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 different scores are there for the Verizon Classic?
### Context:
CREATE TABLE table_11603006_1 (score VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_11603006_1 WHERE tournament = "Verizon 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 was the score for the tournament in Michigan where the purse was smaller than 1813335.221493934?
### Context:
CREATE TABLE table_11603006_1 (score VARCHAR, location VARCHAR, purse__$__ VARCHAR) [/INST]
### Response:
SELECT score FROM table_11603006_1 WHERE location = "Michigan" AND purse__$__ < 1813335.221493934 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournaments were held in Maryland?
### Context:
CREATE TABLE table_11603006_1 (tournament VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(tournament) FROM table_11603006_1 WHERE location = "Maryland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 different locations have the score 207 (-10)?
### Context:
CREATE TABLE table_11603006_1 (location VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(location) FROM table_11603006_1 WHERE score = "207 (-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 founding of parsu cimmarons?
### Context:
CREATE TABLE table_11604804_5 (founded INTEGER, nickname VARCHAR) [/INST]
### Response:
SELECT MIN(founded) FROM table_11604804_5 WHERE nickname = "ParSU Cimmarons" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 founding of navy blue?
### Context:
CREATE TABLE table_11604804_5 (founded VARCHAR, color VARCHAR) [/INST]
### Response:
SELECT founded FROM table_11604804_5 WHERE color = "Navy Blue" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of nickname founded 1918?
### Context:
CREATE TABLE table_11604804_5 (nickname VARCHAR, founded VARCHAR) [/INST]
### Response:
SELECT COUNT(nickname) FROM table_11604804_5 WHERE founded = 1918 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of location of nickname cbsua formerly known cssac?
### Context:
CREATE TABLE table_11604804_5 (location VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT COUNT(location) FROM table_11604804_5 WHERE nickname = "CBSUA formerly known CSSAC" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournament for arizona
### Context:
CREATE TABLE table_11603267_1 (tournament VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_11603267_1 WHERE location = "Arizona" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 state and federal when property taxes is 17,199,210
### Context:
CREATE TABLE table_11608735_3 (state_ VARCHAR, _federal VARCHAR, property_taxes VARCHAR) [/INST]
### Response:
SELECT state_ & _federal FROM table_11608735_3 WHERE property_taxes = "17,199,210" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the local sources for property taxes of 11,631,227?
### Context:
CREATE TABLE table_11608735_3 (other_local_sources VARCHAR, property_taxes VARCHAR) [/INST]
### Response:
SELECT other_local_sources FROM table_11608735_3 WHERE property_taxes = "11,631,227" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number of local sources for state and federal 12,929,489
### Context:
CREATE TABLE table_11608735_3 (other_local_sources VARCHAR, state_ VARCHAR, _federal VARCHAR) [/INST]
### Response:
SELECT other_local_sources FROM table_11608735_3 WHERE state_ & _federal = "12,929,489" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What seat does плоцкая губерния hold?
### Context:
CREATE TABLE table_11614581_3 (seat VARCHAR, name_in_russian VARCHAR) [/INST]
### Response:
SELECT seat FROM table_11614581_3 WHERE name_in_russian = "Плоцкая губерния" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Whose name in Polish holds the Lublin seat?
### Context:
CREATE TABLE table_11614581_3 (name_in_polish VARCHAR, seat VARCHAR) [/INST]
### Response:
SELECT name_in_polish FROM table_11614581_3 WHERE seat = "Lublin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What seat does Gubernia Warszawska hold?
### Context:
CREATE TABLE table_11614581_3 (seat VARCHAR, name_in_polish VARCHAR) [/INST]
### Response:
SELECT seat FROM table_11614581_3 WHERE name_in_polish = "Gubernia warszawska" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What population (in thousands) is Lublin's seat?
### Context:
CREATE TABLE table_11614581_3 (population VARCHAR, _in_thousands VARCHAR, __1905__ VARCHAR, seat VARCHAR) [/INST]
### Response:
SELECT population, _in_thousands, __1905__ FROM table_11614581_3 WHERE seat = "Lublin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
плоцкая губерния governs an area with what area (in thousand km 2)?
### Context:
CREATE TABLE table_11614581_3 (area VARCHAR, _in_thousands_of_km_2 VARCHAR, name_in_russian VARCHAR) [/INST]
### Response:
SELECT area, _in_thousands_of_km_2 FROM table_11614581_3 WHERE name_in_russian = "Плоцкая губерния" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 up/down at the venue that hosted 7 games?
### Context:
CREATE TABLE table_1161065_28 (up_down VARCHAR, hosted VARCHAR) [/INST]
### Response:
SELECT up_down FROM table_1161065_28 WHERE hosted = 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 was the attendance last year at Manuka Oval?
### Context:
CREATE TABLE table_1161065_28 (last_year VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT last_year FROM table_1161065_28 WHERE venue = "Manuka Oval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the lowest attendance figure at Football Park?
### Context:
CREATE TABLE table_1161065_28 (lowest VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT lowest FROM table_1161065_28 WHERE venue = "Football Park" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total of port adelaide
### Context:
CREATE TABLE table_1161065_27 (total INTEGER, team VARCHAR) [/INST]
### Response:
SELECT MAX(total) FROM table_1161065_27 WHERE team = "Port Adelaide" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 maximum purse( $ ) with score value of 204 (-9)
### Context:
CREATE TABLE table_11621915_1 (purse__ INTEGER, score VARCHAR) [/INST]
### Response:
SELECT MAX(purse__) AS $__ FROM table_11621915_1 WHERE score = "204 (-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's the winner with purse( $ ) value of bigger than 964017.2297960471 and date value of may 28
### Context:
CREATE TABLE table_11621915_1 (winner VARCHAR, purse__$__ VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT winner FROM table_11621915_1 WHERE purse__$__ > 964017.2297960471 AND date = "May 28" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winner with tournament value of kroger senior classic
### Context:
CREATE TABLE table_11621915_1 (winner VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT winner FROM table_11621915_1 WHERE tournament = "Kroger Senior 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's the date with tournament value of ford senior players championship
### Context:
CREATE TABLE table_11621915_1 (date VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT date FROM table_11621915_1 WHERE tournament = "Ford Senior Players 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:
what's the location with tournament value of quicksilver classic
### Context:
CREATE TABLE table_11621915_1 (location VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT location FROM table_11621915_1 WHERE tournament = "Quicksilver 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's the score with date oct 1
### Context:
CREATE TABLE table_11621915_1 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_11621915_1 WHERE date = "Oct 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 the score for the Toshiba Senior Classic?
### Context:
CREATE TABLE table_11621799_1 (score VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT score FROM table_11621799_1 WHERE tournament = "Toshiba Senior 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:
Who was the winner when the score was 281 (-6)?
### Context:
CREATE TABLE table_11621799_1 (winner VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT winner FROM table_11621799_1 WHERE score = "281 (-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:
How many scores were at the Northville Long Island Classic?
### Context:
CREATE TABLE table_11621873_1 (score VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_11621873_1 WHERE tournament = "Northville Long Island 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's the tournament where winner is raymond floyd (1)
### Context:
CREATE TABLE table_11622255_1 (tournament VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_11622255_1 WHERE winner = "Raymond Floyd (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 total number of purse( $ ) where winner is jimmy powell (2)
### Context:
CREATE TABLE table_11622255_1 (purse__ VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT COUNT(purse__) AS $__ FROM table_11622255_1 WHERE winner = "Jimmy Powell (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's the date where location is illinois
### Context:
CREATE TABLE table_11622255_1 (date VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT date FROM table_11622255_1 WHERE location = "Illinois" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 minimum purse( $ ) where tournament is ko olina senior invitational
### Context:
CREATE TABLE table_11622255_1 (purse__ INTEGER, tournament VARCHAR) [/INST]
### Response:
SELECT MIN(purse__) AS $__ FROM table_11622255_1 WHERE tournament = "Ko Olina Senior Invitational" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what's the location where tournament is raley's senior gold rush
### Context:
CREATE TABLE table_11622255_1 (location VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT location FROM table_11622255_1 WHERE tournament = "Raley's Senior Gold Rush" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 maximum 1st prize( $ ) where score is 193 (-17)
### Context:
CREATE TABLE table_11622255_1 (score VARCHAR) [/INST]
### Response:
SELECT MAX(1 AS st_prize__) AS $__ FROM table_11622255_1 WHERE score = "193 (-17)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How much was the prize money for the 275000 purse?
### Context:
CREATE TABLE table_11622496_1 (purse__$__ VARCHAR) [/INST]
### Response:
SELECT 1 AS st_prize__$__ FROM table_11622496_1 WHERE purse__$__ = 275000 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 prize money for Virginia?
### Context:
CREATE TABLE table_11622496_1 (location VARCHAR) [/INST]
### Response:
SELECT 1 AS st_prize__$__ FROM table_11622496_1 WHERE location = "Virginia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournaments ended with a score of 204 (-12)?
### Context:
CREATE TABLE table_11622562_1 (tournament VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(tournament) FROM table_11622562_1 WHERE score = "204 (-12)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the winner of the Painewebber Invitational tournament?
### Context:
CREATE TABLE table_11622562_1 (winner VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT winner FROM table_11622562_1 WHERE tournament = "PaineWebber Invitational" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where was the GTE Suncoast Classic tournament held?
### Context:
CREATE TABLE table_11622562_1 (location VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT location FROM table_11622562_1 WHERE tournament = "GTE Suncoast 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 was the minimal amount ($) of the 1st prize in the tournaments in New Mexico?
### Context:
CREATE TABLE table_11622562_1 (location VARCHAR) [/INST]
### Response:
SELECT MIN(1 AS st_prize__) AS $__ FROM table_11622562_1 WHERE location = "New Mexico" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 all the dates with a score of 203 (-13)?
### Context:
CREATE TABLE table_11622829_1 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT date FROM table_11622829_1 WHERE score = "203 (-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:
For which tournaments was the score 135 (-7)?
### Context:
CREATE TABLE table_11622829_1 (tournament VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_11622829_1 WHERE score = "135 (-7)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many locations logged a score of 206 (-7)?
### Context:
CREATE TABLE table_11622840_1 (location VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(location) FROM table_11622840_1 WHERE score = "206 (-7)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many tournaments recorded a score of 206 (-7)?
### Context:
CREATE TABLE table_11622840_1 (tournament VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(tournament) FROM table_11622840_1 WHERE score = "206 (-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:
Name all the tournaments that took place in Rhode Island.
### Context:
CREATE TABLE table_11622840_1 (tournament VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_11622840_1 WHERE location = "Rhode Island" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 state that hosted a tournament with the score of 208 (-8)?
### Context:
CREATE TABLE table_11622840_1 (location VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT location FROM table_11622840_1 WHERE score = "208 (-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:
Where was the Fairfield Barnett classic tournament held?
### Context:
CREATE TABLE table_11622771_1 (location VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT location FROM table_11622771_1 WHERE tournament = "Fairfield Barnett 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:
How many purses were there for the mar 16?
### Context:
CREATE TABLE table_11622771_1 (purse__ VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(purse__) AS $__ FROM table_11622771_1 WHERE date = "Mar 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:
When did the series number 23 air?
### Context:
CREATE TABLE table_11630008_3 (original_air_date VARCHAR, series_no VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_11630008_3 WHERE series_no = 23 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the airdate of 21 series number?
### Context:
CREATE TABLE table_11630008_3 (original_air_date VARCHAR, series_no VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_11630008_3 WHERE series_no = 21 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who won the Suntree Seniors Classic?
### Context:
CREATE TABLE table_11622924_1 (winner VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT winner FROM table_11622924_1 WHERE tournament = "Suntree Seniors 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:
How much was the prize in the tournament where the winning score was 289 (9)?
### Context:
CREATE TABLE table_11622924_1 (purse__$__ VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT purse__$__ FROM table_11622924_1 WHERE score = "289 (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:
When was the tournament that was won with a score of 204 (-6) played?
### Context:
CREATE TABLE table_11622924_1 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT date FROM table_11622924_1 WHERE score = "204 (-6)" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.