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 points did Joe O'Meara have?
### Context:
CREATE TABLE table_name_93 (points VARCHAR, artist VARCHAR) [/INST]
### Response:
SELECT COUNT(points) FROM table_name_93 WHERE artist = "joe o'meara" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many points did Linda Martin have?
### Context:
CREATE TABLE table_name_89 (points VARCHAR, artist VARCHAR) [/INST]
### Response:
SELECT COUNT(points) FROM table_name_89 WHERE artist = "linda martin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHAT IS THE SCORE WITH A WEEK LARGER THAN 13, AND VISITOR TEAM MONTREAL ALOUETTES?
### Context:
CREATE TABLE table_name_39 (score VARCHAR, week VARCHAR, visitor VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_39 WHERE week > 13 AND visitor = "montreal alouettes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 WEEK WITH A DATE OF JULY 25?
### Context:
CREATE TABLE table_name_5 (week INTEGER, date VARCHAR) [/INST]
### Response:
SELECT AVG(week) FROM table_name_5 WHERE date = "july 25" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the tie for the Crystal Palace team?
### Context:
CREATE TABLE table_name_42 (tie_no VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT tie_no FROM table_name_42 WHERE home_team = "crystal palace" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the attendance for No. 15 tie?
### Context:
CREATE TABLE table_name_72 (attendance VARCHAR, tie_no VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_72 WHERE tie_no = "15" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHich Open Cup has a Division larger than 4?
### Context:
CREATE TABLE table_name_30 (open_cup VARCHAR, division INTEGER) [/INST]
### Response:
SELECT open_cup FROM table_name_30 WHERE division > 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the League which has a Regular Season of 3rd, atlantic?
### Context:
CREATE TABLE table_name_86 (league VARCHAR, regular_season VARCHAR) [/INST]
### Response:
SELECT league FROM table_name_86 WHERE regular_season = "3rd, atlantic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Division of 4?
### Context:
CREATE TABLE table_name_19 (regular_season VARCHAR, division VARCHAR) [/INST]
### Response:
SELECT regular_season FROM table_name_19 WHERE division = 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 Regular Season has a League of npsl, and a Year of 2008?
### Context:
CREATE TABLE table_name_64 (regular_season VARCHAR, league VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT regular_season FROM table_name_64 WHERE league = "npsl" 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:
NAME THE Playoffs that HAVE a League of npsl, and a Open Cup of did not enter, and a Year of 2013?
### Context:
CREATE TABLE table_name_8 (playoffs VARCHAR, year VARCHAR, league VARCHAR, open_cup VARCHAR) [/INST]
### Response:
SELECT playoffs FROM table_name_8 WHERE league = "npsl" AND open_cup = "did not enter" AND 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 the average February that has 18-26-10 as the record, with a game less than 54?
### Context:
CREATE TABLE table_name_11 (february INTEGER, record VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT AVG(february) FROM table_name_11 WHERE record = "18-26-10" AND game < 54 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Februarys have montreal canadiens as the opponent, and 18-25-10 as the record, with a game greater than 53?
### Context:
CREATE TABLE table_name_32 (february VARCHAR, game VARCHAR, opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(february) FROM table_name_32 WHERE opponent = "montreal canadiens" AND record = "18-25-10" AND game > 53 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the surface when the opponent is selma babic?
### Context:
CREATE TABLE table_name_31 (surface VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_31 WHERE opponent = "selma babic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the round is gii play-offs and the edition is 2009 fed cup europe/africa group ii?
### Context:
CREATE TABLE table_name_65 (surface VARCHAR, round VARCHAR, edition VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_65 WHERE round = "gii play-offs" AND edition = "2009 fed cup europe/africa group ii" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the surface is clay and the result is 6–7 (4–7) , 1–6?
### Context:
CREATE TABLE table_name_99 (date VARCHAR, surface VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_99 WHERE surface = "clay" AND result = "6–7 (4–7) , 1–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:
who is the opponent when norway is against?
### Context:
CREATE TABLE table_name_67 (opponent VARCHAR, against VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_67 WHERE against = "norway" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Postion, when Weight is greater than 220, and when Player is "Travis Knight"?
### Context:
CREATE TABLE table_name_28 (position VARCHAR, weight VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_28 WHERE weight > 220 AND player = "travis knight" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest Number, when College is "University of Alabama"?
### Context:
CREATE TABLE table_name_48 (number INTEGER, college VARCHAR) [/INST]
### Response:
SELECT MIN(number) FROM table_name_48 WHERE college = "university of alabama" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Weight, when Position is "Forward/Center", when Player is "Othella Harrington", and when Number is less than 32?
### Context:
CREATE TABLE table_name_90 (weight VARCHAR, number VARCHAR, position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(weight) FROM table_name_90 WHERE position = "forward/center" AND player = "othella harrington" AND number < 32 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Years Exp, when Height is "7-2"?
### Context:
CREATE TABLE table_name_94 (years_exp VARCHAR, height VARCHAR) [/INST]
### Response:
SELECT years_exp FROM table_name_94 WHERE height = "7-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 Position, when Weight is greater than 200, when Number is less than 44, when Years Exp is 9, and when College is "University of New Mexico"?
### Context:
CREATE TABLE table_name_68 (position VARCHAR, college VARCHAR, years_exp VARCHAR, weight VARCHAR, number VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_68 WHERE weight > 200 AND number < 44 AND years_exp = "9" AND college = "university of 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 was the release price of the Atom Z510PT processor?
### Context:
CREATE TABLE table_name_53 (release_price___usd__ VARCHAR, model_number VARCHAR) [/INST]
### Response:
SELECT release_price___usd__ FROM table_name_53 WHERE model_number = "atom z510pt" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 part number was used for the Atom Z500 processor?
### Context:
CREATE TABLE table_name_51 (part_number_s_ VARCHAR, model_number VARCHAR) [/INST]
### Response:
SELECT part_number_s_ FROM table_name_51 WHERE model_number = "atom z500" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 multiplier of the processor with sSpec number of SLGPR(C0) and a release price of N/A?
### Context:
CREATE TABLE table_name_35 (mult VARCHAR, release_price___usd__ VARCHAR, sspec_number VARCHAR) [/INST]
### Response:
SELECT mult FROM table_name_35 WHERE release_price___usd__ = "n/a" AND sspec_number = "slgpr(c0)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 at the Chicago challenge?
### Context:
CREATE TABLE table_name_68 (runner_s__up VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT runner_s__up FROM table_name_68 WHERE tournament = "chicago challenge" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of Atlantic city classic?
### Context:
CREATE TABLE table_name_42 (runner_s__up VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT runner_s__up FROM table_name_42 WHERE tournament = "atlantic city 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 is the date of the U.S. Women's open?
### Context:
CREATE TABLE table_name_61 (date VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_61 WHERE tournament = "u.s. women's 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 margin of victory of the gna/glendale federal classic?
### Context:
CREATE TABLE table_name_8 (margin_of_victory VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT margin_of_victory FROM table_name_8 WHERE tournament = "gna/glendale federal 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:
Which class has *buranaz as Part 4?
### Context:
CREATE TABLE table_name_34 (class VARCHAR, part_4 VARCHAR) [/INST]
### Response:
SELECT class FROM table_name_34 WHERE part_4 = "*buranaz" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 verb meaning for *bar as Part 2?
### Context:
CREATE TABLE table_name_88 (verb_meaning VARCHAR, part_2 VARCHAR) [/INST]
### Response:
SELECT verb_meaning FROM table_name_88 WHERE part_2 = "*bar" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class has *alanaz as Part 4?
### Context:
CREATE TABLE table_name_62 (class VARCHAR, part_4 VARCHAR) [/INST]
### Response:
SELECT class FROM table_name_62 WHERE part_4 = "*alanaz" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class has *fraus as Part 2?
### Context:
CREATE TABLE table_name_59 (class VARCHAR, part_2 VARCHAR) [/INST]
### Response:
SELECT class FROM table_name_59 WHERE part_2 = "*fraus" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the transfer fee for evilasio?
### Context:
CREATE TABLE table_name_60 (transfer_fee VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT transfer_fee FROM table_name_60 WHERE name = "evilasio" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did James Vanderberg belong to when the Completions had a status of redshirt?
### Context:
CREATE TABLE table_name_21 (team VARCHAR, completions VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_21 WHERE completions = "redshirt" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What were the number of completions for James Vanderberg on Iowa when his yards were 45?
### Context:
CREATE TABLE table_name_72 (completions VARCHAR, team VARCHAR, yards VARCHAR) [/INST]
### Response:
SELECT completions FROM table_name_72 WHERE team = "iowa" AND yards = "45" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team Vanderberg belonged to when there was 42 completions?
### Context:
CREATE TABLE table_name_19 (team VARCHAR, completions VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_19 WHERE completions = "42" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What number of attempts were recorded when the completions were 223?
### Context:
CREATE TABLE table_name_17 (attempts VARCHAR, completions VARCHAR) [/INST]
### Response:
SELECT attempts FROM table_name_17 WHERE completions = "223" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what year was the number of attempts 888?
### Context:
CREATE TABLE table_name_96 (year VARCHAR, attempts VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_96 WHERE attempts = "888" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attempts for Vanderberg on Iowa when the recorded yards were 2,249?
### Context:
CREATE TABLE table_name_42 (attempts VARCHAR, team VARCHAR, yards VARCHAR) [/INST]
### Response:
SELECT attempts FROM table_name_42 WHERE team = "iowa" AND yards = "2,249" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Leading Scorer has an Opponent of @ indiana?
### Context:
CREATE TABLE table_name_10 (Leading VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT Leading AS scorer FROM table_name_10 WHERE opponent = "@ indiana" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Leading Scorer has a Record of 3-3?
### Context:
CREATE TABLE table_name_70 (Leading VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT Leading AS scorer FROM table_name_70 WHERE record = "3-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 date when tie number is 6?
### Context:
CREATE TABLE table_name_98 (date VARCHAR, tie_no VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_98 WHERE tie_no = "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:
Who is the home team with tie number 9?
### Context:
CREATE TABLE table_name_93 (home_team VARCHAR, tie_no VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_93 WHERE tie_no = "9" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the home team when Sheffield United is the away team?
### Context:
CREATE TABLE table_name_38 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_38 WHERE away_team = "sheffield united" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the date when Aston Villa is the away team?
### Context:
CREATE TABLE table_name_98 (date VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_98 WHERE away_team = "aston villa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the home team on 31 January 1951 when away team was Sheffield United?
### Context:
CREATE TABLE table_name_75 (home_team VARCHAR, date VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_75 WHERE date = "31 january 1951" AND away_team = "sheffield united" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the attendance during the match that took place after week 11 against the washington redskins?
### Context:
CREATE TABLE table_name_62 (attendance INTEGER, week VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT MAX(attendance) FROM table_name_62 WHERE week > 11 AND opponent = "washington redskins" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHAT IS THE TO PAR FOR GEOFF OGILVY WITH A PLACE OF T3?
### Context:
CREATE TABLE table_name_94 (to_par VARCHAR, place VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_94 WHERE place = "t3" AND player = "geoff ogilvy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What year has the ride flight deck and a rating of less than 5?
### Context:
CREATE TABLE table_name_47 (year_opened VARCHAR, ride VARCHAR, rating VARCHAR) [/INST]
### Response:
SELECT COUNT(year_opened) FROM table_name_47 WHERE ride = "flight deck" AND rating < 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 other names when death is may 23, 1821?
### Context:
CREATE TABLE table_name_36 (other_names VARCHAR, death VARCHAR) [/INST]
### Response:
SELECT other_names FROM table_name_36 WHERE death = "may 23, 1821" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when death is november 10, 1842?
### Context:
CREATE TABLE table_name_80 (name VARCHAR, death VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_80 WHERE death = "november 10, 1842" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Internet Plan, when Price is "22 EUR"?
### Context:
CREATE TABLE table_name_48 (internet_plan VARCHAR, price VARCHAR) [/INST]
### Response:
SELECT internet_plan FROM table_name_48 WHERE price = "22 eur" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Downstream, when Upstream is "384 kbit"?
### Context:
CREATE TABLE table_name_88 (downstream VARCHAR, upstream VARCHAR) [/INST]
### Response:
SELECT downstream FROM table_name_88 WHERE upstream = "384 kbit" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Bandwidth Included, when Price is "50 EUR"?
### Context:
CREATE TABLE table_name_45 (bandwidth_included VARCHAR, price VARCHAR) [/INST]
### Response:
SELECT bandwidth_included FROM table_name_45 WHERE price = "50 eur" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Upstream, when Price is "14 EUR"?
### Context:
CREATE TABLE table_name_25 (upstream VARCHAR, price VARCHAR) [/INST]
### Response:
SELECT upstream FROM table_name_25 WHERE price = "14 eur" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Bandwidth Included, when Internet Plan is "8mb"?
### Context:
CREATE TABLE table_name_85 (bandwidth_included VARCHAR, internet_plan VARCHAR) [/INST]
### Response:
SELECT bandwidth_included FROM table_name_85 WHERE internet_plan = "8mb" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Price, when Upstream is "256 kbit"?
### Context:
CREATE TABLE table_name_64 (price VARCHAR, upstream VARCHAR) [/INST]
### Response:
SELECT price FROM table_name_64 WHERE upstream = "256 kbit" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Semifinalists has a Finalist of andre agassi?
### Context:
CREATE TABLE table_name_23 (semifinalists VARCHAR, finalist VARCHAR) [/INST]
### Response:
SELECT semifinalists FROM table_name_23 WHERE finalist = "andre agassi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHich Tournament has a Finalist of gustavo kuerten (4)?
### Context:
CREATE TABLE table_name_31 (tournament VARCHAR, finalist VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_31 WHERE finalist = "gustavo kuerten (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 finalist has Semifinalists of andre agassi (1) lleyton hewitt (14)?
### Context:
CREATE TABLE table_name_3 (finalist VARCHAR, semifinalists VARCHAR) [/INST]
### Response:
SELECT finalist FROM table_name_3 WHERE semifinalists = "andre agassi (1) lleyton hewitt (14)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Finalist has a Tournament of monte carlo?
### Context:
CREATE TABLE table_name_20 (finalist VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT finalist FROM table_name_20 WHERE tournament = "monte carlo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Winner of andre agassi Finalist?
### Context:
CREATE TABLE table_name_97 (winner VARCHAR, finalist VARCHAR) [/INST]
### Response:
SELECT winner FROM table_name_97 WHERE finalist = "andre agassi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHich Tournament has a Finalist of marat safin (12)?
### Context:
CREATE TABLE table_name_47 (tournament VARCHAR, finalist VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_47 WHERE finalist = "marat safin (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 was the date for the Sepang International circuit, round 3?
### Context:
CREATE TABLE table_name_40 (date VARCHAR, circuit VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_40 WHERE circuit = "sepang international circuit" AND round = "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:
Which round had a winning driver of Uwe Alzen, at the Sepang International circuit?
### Context:
CREATE TABLE table_name_80 (round VARCHAR, winning_driver VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT round FROM table_name_80 WHERE winning_driver = "uwe alzen" AND circuit = "sepang international circuit" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round number for March 22?
### Context:
CREATE TABLE table_name_92 (round VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT round FROM table_name_92 WHERE date = "march 22" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had the high points in the game @ Charlotte?
### Context:
CREATE TABLE table_name_98 (high_points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_name_98 WHERE team = "@ charlotte" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the record of Game 70?
### Context:
CREATE TABLE table_name_77 (record VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_77 WHERE game = 70 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had the high points when they played in Philips Arena 14,413?
### Context:
CREATE TABLE table_name_48 (high_points VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_name_48 WHERE location_attendance = "philips arena 14,413" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the date of the game that took place at the Resch Center?
### Context:
CREATE TABLE table_name_41 (date VARCHAR, game_site VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_41 WHERE game_site = "resch center" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 network returns april 3, and a Show of shop 'til you drop?
### Context:
CREATE TABLE table_name_35 (new_returning_same_network VARCHAR, returning VARCHAR, show VARCHAR) [/INST]
### Response:
SELECT new_returning_same_network FROM table_name_35 WHERE returning = "april 3" AND show = "shop 'til you drop" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 retitled network has a Show of supermarket sweep?
### Context:
CREATE TABLE table_name_92 (retitled_as_same VARCHAR, show VARCHAR) [/INST]
### Response:
SELECT retitled_as_same FROM table_name_92 WHERE show = "supermarket sweep" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 show returns april 3 with a Previous Network of lifetime?
### Context:
CREATE TABLE table_name_44 (retitled_as_same VARCHAR, returning VARCHAR, previous_network VARCHAR) [/INST]
### Response:
SELECT retitled_as_same FROM table_name_44 WHERE returning = "april 3" AND previous_network = "lifetime" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 grid number for Yamaha?
### Context:
CREATE TABLE table_name_3 (grid INTEGER, manufacturer VARCHAR) [/INST]
### Response:
SELECT MIN(grid) FROM table_name_3 WHERE manufacturer = "yamaha" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 laps had a grid over 16 and a Time of +1:35.890?
### Context:
CREATE TABLE table_name_79 (laps VARCHAR, grid VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT laps FROM table_name_79 WHERE grid > 16 AND time = "+1:35.890" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lab for Gilera with a grid less than 12?
### Context:
CREATE TABLE table_name_81 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT MIN(laps) FROM table_name_81 WHERE manufacturer = "gilera" AND grid < 12 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest Grid with a time of +1:19.905, and less than 20 laps?
### Context:
CREATE TABLE table_name_22 (grid INTEGER, time VARCHAR, laps VARCHAR) [/INST]
### Response:
SELECT MAX(grid) FROM table_name_22 WHERE time = "+1:19.905" AND laps < 20 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Rider has a Grid of 21?
### Context:
CREATE TABLE table_name_91 (rider VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT rider FROM table_name_91 WHERE grid = 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 is the away captain when the game resulted in [[|]] by 7 wickets?
### Context:
CREATE TABLE table_name_68 (away_captain VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT away_captain FROM table_name_68 WHERE result = "[[|]] by 7 wickets" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home captain of the match that resulted [[|]] by 151 runs?
### Context:
CREATE TABLE table_name_70 (home_captain VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT home_captain FROM table_name_70 WHERE result = "[[|]] by 151 runs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 totals have a To par of –1?
### Context:
CREATE TABLE table_name_98 (total INTEGER, to_par VARCHAR) [/INST]
### Response:
SELECT SUM(total) FROM table_name_98 WHERE to_par = "–1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Year(s) won has a Total smaller than 285, and a Player of tom watson?
### Context:
CREATE TABLE table_name_51 (year_s__won VARCHAR, total VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT year_s__won FROM table_name_51 WHERE total < 285 AND player = "tom watson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Finish has a Total of 288?
### Context:
CREATE TABLE table_name_12 (finish VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT finish FROM table_name_12 WHERE total = 288 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in 1991?
### Context:
CREATE TABLE table_name_89 (player VARCHAR, year_s__won VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_89 WHERE year_s__won = "1991" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 picked before 149 in round 9?
### Context:
CREATE TABLE table_name_64 (player VARCHAR, pick VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_64 WHERE pick < 149 AND round = 9 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was pick 16 and before round 10?
### Context:
CREATE TABLE table_name_30 (player VARCHAR, round VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_30 WHERE round < 10 AND pick = 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 Affiliation, when Nickname is Bulldogs?
### Context:
CREATE TABLE table_name_4 (affiliation VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT affiliation FROM table_name_4 WHERE nickname = "bulldogs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Founded, when Enrollment is 4,000?
### Context:
CREATE TABLE table_name_68 (founded INTEGER, enrollment VARCHAR) [/INST]
### Response:
SELECT AVG(founded) FROM table_name_68 WHERE enrollment = 4 OFFSET 000 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which team raced at Amaroo Park?
### Context:
CREATE TABLE table_name_65 (team VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_65 WHERE circuit = "amaroo 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:
On what date did Dick Johnson with at Calder?
### Context:
CREATE TABLE table_name_10 (date VARCHAR, winner VARCHAR, race_title VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_10 WHERE winner = "dick johnson" AND race_title = "calder" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 race in Melbourne, Victoria?
### Context:
CREATE TABLE table_name_42 (date VARCHAR, city___state VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_42 WHERE city___state = "melbourne, victoria" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city or state contains Calder Park Raceway?
### Context:
CREATE TABLE table_name_80 (city___state VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT city___state FROM table_name_80 WHERE circuit = "calder park raceway" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 most reduced Margin that has a St Kilda Saints of 11.13 (79)?
### Context:
CREATE TABLE table_name_79 (margin INTEGER, st_kilda_saints VARCHAR) [/INST]
### Response:
SELECT MIN(margin) FROM table_name_79 WHERE st_kilda_saints = "11.13 (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:
What is the average Margin that has a Round of 13. (h)?
### Context:
CREATE TABLE table_name_3 (margin INTEGER, round VARCHAR) [/INST]
### Response:
SELECT AVG(margin) FROM table_name_3 WHERE round = "13. (h)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the location of South Adelaide?
### Context:
CREATE TABLE table_name_46 (location VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_46 WHERE team = "south 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:
Which team has an unknown coach and location of Athelstone?
### Context:
CREATE TABLE table_name_98 (team VARCHAR, coach VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_98 WHERE coach = "unknown" AND location = "athelstone" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team that plays at Athelstone founded?
### Context:
CREATE TABLE table_name_59 (founded VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT founded FROM table_name_59 WHERE location = "athelstone" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 coach of the team from Port Pirie?
### Context:
CREATE TABLE table_name_6 (coach VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT coach FROM table_name_6 WHERE location = "port pirie" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 coach of the team with home ground at Club Cove?
### Context:
CREATE TABLE table_name_25 (coach VARCHAR, home_ground VARCHAR) [/INST]
### Response:
SELECT coach FROM table_name_25 WHERE home_ground = "club cove" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.