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 times were high rebounds mehmet okur , paul millsap (6)
### Context:
CREATE TABLE table_17355716_10 (score VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_17355716_10 WHERE high_rebounds = "Mehmet Okur , Paul Millsap (6)" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the score of the match with high points carlos boozer (20)
### Context:
CREATE TABLE table_17355716_10 (score VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT score FROM table_17355716_10 WHERE high_points = "Carlos Boozer (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 is the high rebounds stat on april 11
### Context:
CREATE TABLE table_17355716_10 (high_rebounds VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_17355716_10 WHERE date = "April 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:
Who wrote season 10
### Context:
CREATE TABLE table_17355743_1 (written_by VARCHAR, season__number VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_17355743_1 WHERE season__number = 10 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name who directed the episode by joe sachs and david zabel
### Context:
CREATE TABLE table_17355743_1 (directed_by VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_17355743_1 WHERE written_by = "Joe Sachs and David Zabel" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 every value for Points 2 when the value of won is 30?
### Context:
CREATE TABLE table_17359181_1 (points_2 VARCHAR, won VARCHAR) [/INST]
### Response:
SELECT points_2 FROM table_17359181_1 WHERE won = 30 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value of Points 2 when the goal average is 1.50?
### Context:
CREATE TABLE table_17359181_1 (points_2 INTEGER, goal_average_1 VARCHAR) [/INST]
### Response:
SELECT MIN(points_2) FROM table_17359181_1 WHERE goal_average_1 = "1.50" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many values of goal average 1 occur when the value of goals against is 92?
### Context:
CREATE TABLE table_17359181_1 (goal_average_1 VARCHAR, goals_against VARCHAR) [/INST]
### Response:
SELECT COUNT(goal_average_1) FROM table_17359181_1 WHERE goals_against = 92 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value for Points 2 when the goal average 1 is 0.65?
### Context:
CREATE TABLE table_17359181_1 (points_2 INTEGER, goal_average_1 VARCHAR) [/INST]
### Response:
SELECT MAX(points_2) FROM table_17359181_1 WHERE goal_average_1 = "0.65" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many dates had a final score of w 118-112?
### Context:
CREATE TABLE table_17382360_9 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_17382360_9 WHERE score = "W 118-112" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 location and attendance at the game where the final score is w 118-112?
### Context:
CREATE TABLE table_17382360_9 (location_attendance VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17382360_9 WHERE score = "W 118-112" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rebounds in the game with a final score of w 140-108?
### Context:
CREATE TABLE table_17382360_9 (high_rebounds VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_17382360_9 WHERE score = "W 140-108" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date was aired the first broacast of the episode 1x02
### Context:
CREATE TABLE table_17413485_1 (first_broadcast VARCHAR, episode VARCHAR) [/INST]
### Response:
SELECT first_broadcast FROM table_17413485_1 WHERE episode = "1x02" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 jeremy guest for the episode 1x01
### Context:
CREATE TABLE table_17413485_1 (jeremys_guest VARCHAR, episode VARCHAR) [/INST]
### Response:
SELECT jeremys_guest FROM table_17413485_1 WHERE episode = "1x01" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the episode where maria mcerlane where gramer guest
### Context:
CREATE TABLE table_17413485_1 (episode VARCHAR, graemes_guest VARCHAR) [/INST]
### Response:
SELECT episode FROM table_17413485_1 WHERE graemes_guest = "Maria McErlane" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 graemest guest of episode 1x03
### Context:
CREATE TABLE table_17413485_1 (graemes_guest VARCHAR, episode VARCHAR) [/INST]
### Response:
SELECT graemes_guest FROM table_17413485_1 WHERE episode = "1x03" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the largest city where the population is 6620100?
### Context:
CREATE TABLE table_17416221_1 (largest_city VARCHAR, population__2013_ VARCHAR) [/INST]
### Response:
SELECT largest_city FROM table_17416221_1 WHERE population__2013_ = 6620100 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the largest city where the province is eastern cape?
### Context:
CREATE TABLE table_17416221_1 (largest_city VARCHAR, province VARCHAR) [/INST]
### Response:
SELECT largest_city FROM table_17416221_1 WHERE province = "Eastern Cape" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 minimum area where the largest city is bloemfontein?
### Context:
CREATE TABLE table_17416221_1 (area__km_2__ INTEGER, largest_city VARCHAR) [/INST]
### Response:
SELECT MIN(area__km_2__) FROM table_17416221_1 WHERE largest_city = "Bloemfontein" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 numbe of provincial captial where the population is 1162900?
### Context:
CREATE TABLE table_17416221_1 (provincial_capital VARCHAR, population__2013_ VARCHAR) [/INST]
### Response:
SELECT COUNT(provincial_capital) FROM table_17416221_1 WHERE population__2013_ = 1162900 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 provincial captial where the province is northern cape?
### Context:
CREATE TABLE table_17416221_1 (provincial_capital VARCHAR, province VARCHAR) [/INST]
### Response:
SELECT COUNT(provincial_capital) FROM table_17416221_1 WHERE province = "Northern Cape" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 airport with the IATA MEL?
### Context:
CREATE TABLE table_17419587_1 (airport VARCHAR, iata VARCHAR) [/INST]
### Response:
SELECT COUNT(airport) FROM table_17419587_1 WHERE iata = "MEL" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If unknown is larger than 1.0, what is the maximum two year amount?
### Context:
CREATE TABLE table_174266_6 (two_years INTEGER, unknown INTEGER) [/INST]
### Response:
SELECT MAX(two_years) FROM table_174266_6 WHERE unknown > 1.0 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If two years is 159, what is the amount for one year?
### Context:
CREATE TABLE table_174266_6 (one_year INTEGER, two_years VARCHAR) [/INST]
### Response:
SELECT MIN(one_year) FROM table_174266_6 WHERE two_years = 159 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the year is 2010, what is the minimum amount of years 5-9?
### Context:
CREATE TABLE table_174266_6 (year VARCHAR) [/INST]
### Response:
SELECT MIN(5 AS _9_years) FROM table_174266_6 WHERE year = 2010 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When debra j. fisher & erica messer are the writers and the director is patrick norris what is the series number?
### Context:
CREATE TABLE table_17467147_1 (series__number VARCHAR, directed_by VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT series__number FROM table_17467147_1 WHERE directed_by = "Patrick Norris" AND written_by = "Debra J. Fisher & Erica Messer" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 there are 12.70 million u.s. viewers who is the director?
### Context:
CREATE TABLE table_17467147_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_17467147_1 WHERE us_viewers__million_ = "12.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:
Which is the number of the episode "rook gave" "rūku dīo" (デ デ ィ オ ー ル) which aired on July 14, 2003
### Context:
CREATE TABLE table_17481974_1 (episode__number INTEGER, original_airdate VARCHAR) [/INST]
### Response:
SELECT MIN(episode__number) FROM table_17481974_1 WHERE original_airdate = "July 14, 2003" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the numbers of episodes that were broadcast on September 1, 2003
### Context:
CREATE TABLE table_17481974_1 (episode__number VARCHAR, original_airdate VARCHAR) [/INST]
### Response:
SELECT episode__number FROM table_17481974_1 WHERE original_airdate = "September 1, 2003" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many viewers did Episode #5 have?
### Context:
CREATE TABLE table_17525955_2 (viewers__millions_ VARCHAR, episode__number VARCHAR) [/INST]
### Response:
SELECT viewers__millions_ FROM table_17525955_2 WHERE episode__number = 5 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many share values are listed for the episode with a rating/share value of 2.6/8?
### Context:
CREATE TABLE table_17525955_2 (share VARCHAR, rating VARCHAR) [/INST]
### Response:
SELECT COUNT(share) FROM table_17525955_2 WHERE rating / SHARE(18 AS –49) = 2.6 / 8 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many episodes were originally aired Saturday, May 30, 2009?
### Context:
CREATE TABLE table_17525955_2 (episode__number VARCHAR, us_air_date VARCHAR) [/INST]
### Response:
SELECT COUNT(episode__number) FROM table_17525955_2 WHERE us_air_date = "Saturday, May 30, 2009" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rating of the episode with a rating/share of 0.9/4?
### Context:
CREATE TABLE table_17525955_2 (rating VARCHAR) [/INST]
### Response:
SELECT rating FROM table_17525955_2 WHERE rating / SHARE(18 AS –49) = 0.9 / 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:
How many episodes aired Saturday, July 11, 2009
### Context:
CREATE TABLE table_17525955_2 (episode__number VARCHAR, us_air_date VARCHAR) [/INST]
### Response:
SELECT COUNT(episode__number) FROM table_17525955_2 WHERE us_air_date = "Saturday, July 11, 2009" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rating/share values does the episode aired on Saturday, May 9, 2009?
### Context:
CREATE TABLE table_17525955_2 (rating VARCHAR, us_air_date VARCHAR) [/INST]
### Response:
SELECT COUNT(rating) / SHARE(18 AS –49) FROM table_17525955_2 WHERE us_air_date = "Saturday, May 9, 2009" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 subsidiaries of Postermobile Limited?
### Context:
CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR) [/INST]
### Response:
SELECT subsidiaries FROM table_1756264_2 WHERE company_name = "POSTERMOBILE LIMITED" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What activities does Clear Channel Entertainment Facilitation Limited engage in?
### Context:
CREATE TABLE table_1756264_2 (description_of_activities VARCHAR, company_name VARCHAR) [/INST]
### Response:
SELECT description_of_activities FROM table_1756264_2 WHERE company_name = "CLEAR CHANNEL ENTERTAINMENT FACILITATION LIMITED" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 subsidiaries of company F M Media Limited?
### Context:
CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR) [/INST]
### Response:
SELECT subsidiaries FROM table_1756264_2 WHERE company_name = "F M MEDIA LIMITED" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 subsidiaries are there of Postermobile Advertising Limited?
### Context:
CREATE TABLE table_1756264_2 (subsidiaries INTEGER, company_name VARCHAR) [/INST]
### Response:
SELECT MIN(subsidiaries) FROM table_1756264_2 WHERE company_name = "POSTERMOBILE ADVERTISING LIMITED" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the largest number of holding companies?
### Context:
CREATE TABLE table_1756264_2 (holding_companies INTEGER) [/INST]
### Response:
SELECT MAX(holding_companies) FROM table_1756264_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:
How many companies have Postermobile Limited as a parent company?
### Context:
CREATE TABLE table_1756264_2 (company_name VARCHAR, parent__holding__company VARCHAR) [/INST]
### Response:
SELECT COUNT(company_name) FROM table_1756264_2 WHERE parent__holding__company = "POSTERMOBILE LIMITED" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of league cup for mark roberts
### Context:
CREATE TABLE table_17598822_11 (league VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(league) AS Cup FROM table_17598822_11 WHERE player = "Mark Roberts" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of league for 5
### Context:
CREATE TABLE table_17598822_11 (league VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT COUNT(league) FROM table_17598822_11 WHERE total = 5 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the maximum leagure for 0 scottish cup
### Context:
CREATE TABLE table_17598822_11 (league INTEGER, scottish_cup VARCHAR) [/INST]
### Response:
SELECT MAX(league) FROM table_17598822_11 WHERE scottish_cup = 0 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most challenge cup for damon gray
### Context:
CREATE TABLE table_17598822_11 (challenge_cup INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(challenge_cup) FROM table_17598822_11 WHERE player = "Damon Gray" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for paul paton
### Context:
CREATE TABLE table_17598822_11 (league VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT league FROM table_17598822_11 WHERE player = "Paul Paton" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the original air date of this episode that was written by Debbie Sarjeant?
### Context:
CREATE TABLE table_17623902_1 (original_air_date VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_17623902_1 WHERE written_by = "Debbie Sarjeant" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episodes did Julie Martin wrote for the show If every episode has its own production code?
### Context:
CREATE TABLE table_17623902_1 (production_code VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT COUNT(production_code) FROM table_17623902_1 WHERE written_by = "Julie 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:
Name the total number of series for april 26
### Context:
CREATE TABLE table_17621978_11 (series VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(series) FROM table_17621978_11 WHERE date = "April 26" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of high rebounds for april 21
### Context:
CREATE TABLE table_17621978_11 (high_rebounds VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(high_rebounds) FROM table_17621978_11 WHERE date = "April 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:
Name the number of location attendance for april 24
### Context:
CREATE TABLE table_17621978_11 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(location_attendance) FROM table_17621978_11 WHERE date = "April 24" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is listed in p when the type is listed as free agent 1?
### Context:
CREATE TABLE table_17634290_7 (p VARCHAR, type VARCHAR) [/INST]
### Response:
SELECT p FROM table_17634290_7 WHERE type = "Free agent 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 end when moving from is listed as cary clarets?
### Context:
CREATE TABLE table_17634290_7 (ends VARCHAR, moving_from VARCHAR) [/INST]
### Response:
SELECT ends FROM table_17634290_7 WHERE moving_from = "Cary Clarets" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 country where moving from is listed as bristol city?
### Context:
CREATE TABLE table_17634290_7 (country VARCHAR, moving_from VARCHAR) [/INST]
### Response:
SELECT country FROM table_17634290_7 WHERE moving_from = "Bristol City" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of duration for viewership of 5.46 million
### Context:
CREATE TABLE table_17641206_6 (duration VARCHAR, viewership VARCHAR) [/INST]
### Response:
SELECT COUNT(duration) FROM table_17641206_6 WHERE viewership = "5.46 million" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of episodes written by david cantor
### Context:
CREATE TABLE table_17641206_6 (episode VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT COUNT(episode) FROM table_17641206_6 WHERE written_by = "David Cantor" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of original titles written by john sullivan and keith lindsay
### Context:
CREATE TABLE table_17641206_6 (original_title VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT COUNT(original_title) FROM table_17641206_6 WHERE written_by = "John Sullivan and Keith Lindsay" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original title for 6.05 million viewership
### Context:
CREATE TABLE table_17641206_6 (original_title VARCHAR, viewership VARCHAR) [/INST]
### Response:
SELECT original_title FROM table_17641206_6 WHERE viewership = "6.05 million" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who took third-place when there were 4 total wins?
### Context:
CREATE TABLE table_17632217_2 (third_place VARCHAR, total_wins VARCHAR) [/INST]
### Response:
SELECT third_place FROM table_17632217_2 WHERE total_wins = 4 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total number of clubs when the runner-up was Liaoning Fushun?
### Context:
CREATE TABLE table_17632217_2 (number_of_clubs VARCHAR, runners_up VARCHAR) [/INST]
### Response:
SELECT COUNT(number_of_clubs) FROM table_17632217_2 WHERE runners_up = "Liaoning Fushun" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 placed fourth when third was Beijing Guoan and the winner was Dalian Wanda and wins total was 4?
### Context:
CREATE TABLE table_17632217_2 (fourth_placed VARCHAR, total_wins VARCHAR, third_place VARCHAR, winners VARCHAR) [/INST]
### Response:
SELECT fourth_placed FROM table_17632217_2 WHERE third_place = "Beijing Guoan" AND winners = "Dalian Wanda" AND total_wins = 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:
Who was placed third when the ruuner up was Guangzhou Apollo?
### Context:
CREATE TABLE table_17632217_2 (third_place VARCHAR, runners_up VARCHAR) [/INST]
### Response:
SELECT third_place FROM table_17632217_2 WHERE runners_up = "Guangzhou Apollo" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 placed third in 2001?
### Context:
CREATE TABLE table_17632217_2 (third_place VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT third_place FROM table_17632217_2 WHERE season = 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:
What is the census ranking for the Perth parish?
### Context:
CREATE TABLE table_176524_2 (census_ranking VARCHAR, official_name VARCHAR) [/INST]
### Response:
SELECT census_ranking FROM table_176524_2 WHERE official_name = "Perth" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 population of the parish with a 750.51 km area?
### Context:
CREATE TABLE table_176524_2 (population INTEGER, area_km_2 VARCHAR) [/INST]
### Response:
SELECT MIN(population) FROM table_176524_2 WHERE area_km_2 = "750.51" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
with the amount of tries at 89, how many win's were there?
### Context:
CREATE TABLE table_17675675_2 (won VARCHAR, tries_against VARCHAR) [/INST]
### Response:
SELECT won FROM table_17675675_2 WHERE tries_against = "89" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 club Swansea Uplands RFC, what is the amount of tries against?
### Context:
CREATE TABLE table_17675675_2 (tries_against VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT tries_against FROM table_17675675_2 WHERE club = "Swansea Uplands RFC" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 amount of points when the given won is 9?
### Context:
CREATE TABLE table_17675675_2 (points VARCHAR, won VARCHAR) [/INST]
### Response:
SELECT points FROM table_17675675_2 WHERE won = "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:
With the given points of 51, what was the total number of the try bonus?
### Context:
CREATE TABLE table_17675675_2 (try_bonus VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(try_bonus) FROM table_17675675_2 WHERE points = "51" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
With the given loss of 4, what was the number of tries?
### Context:
CREATE TABLE table_17675675_2 (tries_for VARCHAR, lost VARCHAR) [/INST]
### Response:
SELECT COUNT(tries_for) FROM table_17675675_2 WHERE lost = "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:
With the given points of 667, what was the number of tries against?
### Context:
CREATE TABLE table_17675675_2 (tries_against VARCHAR, points_for VARCHAR) [/INST]
### Response:
SELECT tries_against FROM table_17675675_2 WHERE points_for = "667" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the largest number of episodes for a 1989 season dvd release?
### Context:
CREATE TABLE table_17697980_1 (no_of_episodes INTEGER, year VARCHAR) [/INST]
### Response:
SELECT MAX(no_of_episodes) FROM table_17697980_1 WHERE year = "1989" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 dvd titled "series 5" were released having a release date or a non available date in region 2?
### Context:
CREATE TABLE table_17697980_1 (region_2 VARCHAR, dvd_title VARCHAR) [/INST]
### Response:
SELECT COUNT(region_2) FROM table_17697980_1 WHERE dvd_title = "Series 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:
Who are all the stage winners where the team classification is Caisse D'epargne?
### Context:
CREATE TABLE table_17672500_19 (stage__winner_ VARCHAR, team_classification VARCHAR) [/INST]
### Response:
SELECT stage__winner_ FROM table_17672500_19 WHERE team_classification = "Caisse d'Epargne" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air dates have U.S. Views (millions) of 19.49?
### Context:
CREATE TABLE table_17758010_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT COUNT(original_air_date) FROM table_17758010_2 WHERE us_viewers__millions_ = "19.49" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 no. in series?
### Context:
CREATE TABLE table_17758010_2 (no_in_series INTEGER) [/INST]
### Response:
SELECT MIN(no_in_series) FROM table_17758010_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:
The opponent was the New York Jets on what week?
### Context:
CREATE TABLE table_17781886_1 (week VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT week FROM table_17781886_1 WHERE opponent = "New York Jets" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 December 12, 1965 game?
### Context:
CREATE TABLE table_17781886_1 (game_site VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT game_site FROM table_17781886_1 WHERE date = "December 12, 1965" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attended game(s) against the boston patriots?
### Context:
CREATE TABLE table_17779448_1 (attendance VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_17779448_1 WHERE opponent = "Boston Patriots" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 examples are pronounced ɪs in american
### Context:
CREATE TABLE table_17798093_20 (examples VARCHAR, american VARCHAR) [/INST]
### Response:
SELECT examples FROM table_17798093_20 WHERE american = "ɪs" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 examples are pronounced et in australian
### Context:
CREATE TABLE table_17798093_20 (examples VARCHAR, australian VARCHAR) [/INST]
### Response:
SELECT examples FROM table_17798093_20 WHERE australian = "et" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 endings have american pronounciation əs
### Context:
CREATE TABLE table_17798093_20 (australian VARCHAR, american VARCHAR) [/INST]
### Response:
SELECT COUNT(australian) FROM table_17798093_20 WHERE american = "əs" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 endings of examples achilles, appendices, fæces
### Context:
CREATE TABLE table_17798093_20 (ending VARCHAR, examples VARCHAR) [/INST]
### Response:
SELECT ending FROM table_17798093_20 WHERE examples = "Achilles, appendices, fæces" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 callsign for the Cebu station?
### Context:
CREATE TABLE table_17822401_1 (callsign VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT callsign FROM table_17822401_1 WHERE location = "Cebu" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 brand where the power is 5kw?
### Context:
CREATE TABLE table_17822401_1 (branding VARCHAR, power__kw_ VARCHAR) [/INST]
### Response:
SELECT COUNT(branding) FROM table_17822401_1 WHERE power__kw_ = "5kW" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 power of the Baguio station?
### Context:
CREATE TABLE table_17822401_1 (power__kw_ VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT power__kw_ FROM table_17822401_1 WHERE location = "Baguio" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stations are called radyo5 101.9 news fm?
### Context:
CREATE TABLE table_17822401_1 (location VARCHAR, branding VARCHAR) [/INST]
### Response:
SELECT COUNT(location) FROM table_17822401_1 WHERE branding = "Radyo5 101.9 News FM" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 church name for the church located in Kyrkjebø?
### Context:
CREATE TABLE table_178389_1 (church_name VARCHAR, location_of_the_church VARCHAR) [/INST]
### Response:
SELECT church_name FROM table_178389_1 WHERE location_of_the_church = "Kyrkjebø" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sub-parish for the church names Høyanger Kyrkje?
### Context:
CREATE TABLE table_178389_1 (sub_parish__sogn_ VARCHAR, church_name VARCHAR) [/INST]
### Response:
SELECT sub_parish__sogn_ FROM table_178389_1 WHERE church_name = "Høyanger kyrkje" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 churches built in 1916?
### Context:
CREATE TABLE table_178389_1 (location_of_the_church VARCHAR, year_built VARCHAR) [/INST]
### Response:
SELECT COUNT(location_of_the_church) FROM table_178389_1 WHERE year_built = 1916 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 churches named Høyanger Kyrkje?
### Context:
CREATE TABLE table_178389_1 (sub_parish__sogn_ VARCHAR, church_name VARCHAR) [/INST]
### Response:
SELECT COUNT(sub_parish__sogn_) FROM table_178389_1 WHERE church_name = "Høyanger kyrkje" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 church name located in Høyanger?
### Context:
CREATE TABLE table_178389_1 (church_name VARCHAR, location_of_the_church VARCHAR) [/INST]
### Response:
SELECT church_name FROM table_178389_1 WHERE location_of_the_church = "Høyanger" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the church when the church name is Ortnevik Kyrkje?
### Context:
CREATE TABLE table_178389_1 (location_of_the_church VARCHAR, church_name VARCHAR) [/INST]
### Response:
SELECT location_of_the_church FROM table_178389_1 WHERE church_name = "Ortnevik kyrkje" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number for sub parish sokn for 1865
### Context:
CREATE TABLE table_178408_1 (sub_parish__sokn_ VARCHAR, year_built VARCHAR) [/INST]
### Response:
SELECT COUNT(sub_parish__sokn_) FROM table_178408_1 WHERE year_built = 1865 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location of the church for berle kyrkje
### Context:
CREATE TABLE table_178408_1 (location_of_the_church VARCHAR, church_name VARCHAR) [/INST]
### Response:
SELECT location_of_the_church FROM table_178408_1 WHERE church_name = "Berle kyrkje" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location of the church for bremanger
### Context:
CREATE TABLE table_178408_1 (location_of_the_church VARCHAR, sub_parish__sokn_ VARCHAR) [/INST]
### Response:
SELECT location_of_the_church FROM table_178408_1 WHERE sub_parish__sokn_ = "Bremanger" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most year built for davik kyrkje
### Context:
CREATE TABLE table_178408_1 (year_built INTEGER, church_name VARCHAR) [/INST]
### Response:
SELECT MAX(year_built) FROM table_178408_1 WHERE church_name = "Davik Kyrkje" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode writer when the viewers reached 3.03 million in the US?
### Context:
CREATE TABLE table_17861265_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_17861265_1 WHERE us_viewers__million_ = "3.03" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wrote the last episode (episode 15) of season 3?
### Context:
CREATE TABLE table_17861265_1 (written_by VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_17861265_1 WHERE no_in_season = 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:
How many episodes did Cliff Bole directed in season 3?
### Context:
CREATE TABLE table_17861265_1 (title VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT COUNT(title) FROM table_17861265_1 WHERE directed_by = "Cliff Bole" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.