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 solar eclipse during June 10-11 and march 27-29 is 149?
### Context:
CREATE TABLE table_25287007_2 (june_10_11 VARCHAR, march_27_29 VARCHAR) [/INST]
### Response:
SELECT june_10_11 FROM table_25287007_2 WHERE march_27_29 = "149" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 solar eclipse during august 21-22 and January 15-16 is 141?
### Context:
CREATE TABLE table_25287007_2 (august_21_22 VARCHAR, january_15_16 VARCHAR) [/INST]
### Response:
SELECT august_21_22 FROM table_25287007_2 WHERE january_15_16 = "141" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 solar eclipse during January 15-16 and august 21-22 on august 21, 2017?
### Context:
CREATE TABLE table_25287007_2 (january_15_16 VARCHAR, august_21_22 VARCHAR) [/INST]
### Response:
SELECT january_15_16 FROM table_25287007_2 WHERE august_21_22 = "August 21, 2017" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fastest lap for round 14
### Context:
CREATE TABLE table_25322130_3 (fastest_lap VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT COUNT(fastest_lap) FROM table_25322130_3 WHERE round = "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:
Name the winning driver for 20 april
### Context:
CREATE TABLE table_25322130_3 (winning_driver VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT winning_driver FROM table_25322130_3 WHERE date = "20 April" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 circuit for 13 july
### Context:
CREATE TABLE table_25322130_3 (circuit VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT circuit FROM table_25322130_3 WHERE date = "13 July" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fastest lap for round 3
### Context:
CREATE TABLE table_25322130_3 (fastest_lap VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT fastest_lap FROM table_25322130_3 WHERE 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:
Name the fastest lap for piquet sports and silverstone
### Context:
CREATE TABLE table_25322130_3 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT fastest_lap FROM table_25322130_3 WHERE winning_team = "Piquet Sports" AND circuit = "Silverstone" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 where the position is 10th and the races is smaller than 9.0?
### Context:
CREATE TABLE table_25318033_1 (f_laps VARCHAR, position VARCHAR, races VARCHAR) [/INST]
### Response:
SELECT COUNT(f_laps) FROM table_25318033_1 WHERE position = "10th" AND races < 9.0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest amount of races?
### Context:
CREATE TABLE table_25318033_1 (races INTEGER) [/INST]
### Response:
SELECT MIN(races) FROM table_25318033_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 races have 137 points?
### Context:
CREATE TABLE table_25318033_1 (races VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT races FROM table_25318033_1 WHERE points = "137" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What team has 137 points?
### Context:
CREATE TABLE table_25318033_1 (team VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT team FROM table_25318033_1 WHERE points = "137" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many points were scored when the podiums is 0 and position is 10th?
### Context:
CREATE TABLE table_25318033_1 (points VARCHAR, podiums VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT points FROM table_25318033_1 WHERE podiums = 0 AND position = "10th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rate limit when the desired rate change (%) is +40.4?
### Context:
CREATE TABLE table_25316812_1 (rate_limit__p_ VARCHAR, desired_rate_change___percentage_ VARCHAR) [/INST]
### Response:
SELECT rate_limit__p_ FROM table_25316812_1 WHERE desired_rate_change___percentage_ = "+40.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 rate limit when budget plans (£m) is limit agreed?
### Context:
CREATE TABLE table_25316812_1 (rate_limit__p_ VARCHAR, budget_plans__£m_ VARCHAR) [/INST]
### Response:
SELECT rate_limit__p_ FROM table_25316812_1 WHERE budget_plans__£m_ = "limit agreed" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rate limit when the desired rate (p) is 162?
### Context:
CREATE TABLE table_25316812_1 (rate_limit__p_ VARCHAR, desired_rate__p_ VARCHAR) [/INST]
### Response:
SELECT rate_limit__p_ FROM table_25316812_1 WHERE desired_rate__p_ = "162" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rate change % when the rate limit is 82.86?
### Context:
CREATE TABLE table_25316812_1 (rate_change___percentage_ VARCHAR, rate_limit__p_ VARCHAR) [/INST]
### Response:
SELECT rate_change___percentage_ FROM table_25316812_1 WHERE rate_limit__p_ = "82.86" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 desired rate when the rate limit (p) is 50.33?
### Context:
CREATE TABLE table_25316812_1 (desired_rate__p_ VARCHAR, rate_limit__p_ VARCHAR) [/INST]
### Response:
SELECT desired_rate__p_ FROM table_25316812_1 WHERE rate_limit__p_ = "50.33" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 authority who set the budget limit (£m) at 900?
### Context:
CREATE TABLE table_25316812_1 (authority VARCHAR, budget_limit__£m_ VARCHAR) [/INST]
### Response:
SELECT authority FROM table_25316812_1 WHERE budget_limit__£m_ = "900" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the highest share?
### Context:
CREATE TABLE table_25304789_1 (share INTEGER) [/INST]
### Response:
SELECT MAX(share) FROM table_25304789_1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the final score of the game with 7523 in attendance?
### Context:
CREATE TABLE table_25331766_3 (final_score VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT final_score FROM table_25331766_3 WHERE attendance = 7523 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attendance?
### Context:
CREATE TABLE table_25331766_3 (attendance INTEGER) [/INST]
### Response:
SELECT MIN(attendance) FROM table_25331766_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:
If the rebounds are at 87, what are the amount of steals?
### Context:
CREATE TABLE table_25342713_5 (steals VARCHAR, rebounds VARCHAR) [/INST]
### Response:
SELECT steals FROM table_25342713_5 WHERE rebounds = 87 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many players 89 points?
### Context:
CREATE TABLE table_25342713_5 (blocks VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(blocks) FROM table_25342713_5 WHERE points = 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:
If the Steals are 20, what are the blocks?
### Context:
CREATE TABLE table_25342713_5 (blocks INTEGER, steals VARCHAR) [/INST]
### Response:
SELECT MAX(blocks) FROM table_25342713_5 WHERE steals = 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:
How many millions of viewers did the episode directed by Jeffrey Blitz have?
### Context:
CREATE TABLE table_25341765_1 (us_viewers__million_ VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT us_viewers__million_ FROM table_25341765_1 WHERE directed_by = "Jeffrey Blitz" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed the episode that had 5.92 million viewers?
### Context:
CREATE TABLE table_25341765_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_25341765_1 WHERE us_viewers__million_ = "5.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 was the name of the episode Alan Yang wrote?
### Context:
CREATE TABLE table_25341765_1 (title VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_25341765_1 WHERE written_by = "Alan Yang" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed by Michael McCullers?
### Context:
CREATE TABLE table_25341765_1 (original_air_date VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT COUNT(original_air_date) FROM table_25341765_1 WHERE directed_by = "Michael McCullers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 3rd is the position what is the lowest amount of points?
### Context:
CREATE TABLE table_25352318_1 (points INTEGER, position VARCHAR) [/INST]
### Response:
SELECT MIN(points) FROM table_25352318_1 WHERE position = "3rd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When art grand prix is the team and 2010 is the season how many wins are there?
### Context:
CREATE TABLE table_25352318_1 (wins VARCHAR, season VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(wins) FROM table_25352318_1 WHERE season = 2010 AND team = "ART Grand Prix" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 7th is the position and 15 is the race who is the team?
### Context:
CREATE TABLE table_25352318_1 (team VARCHAR, races VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT team FROM table_25352318_1 WHERE races = 15 AND position = "7th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 overall amount of poles?
### Context:
CREATE TABLE table_25352318_1 (poles INTEGER) [/INST]
### Response:
SELECT MIN(poles) FROM table_25352318_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:
When racing engineering is the team and 2012 is the team what is the position?
### Context:
CREATE TABLE table_25352318_1 (position VARCHAR, season VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT position FROM table_25352318_1 WHERE season = 2012 AND team = "Racing Engineering" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Is the facility opened in 1968 a major facility?
### Context:
CREATE TABLE table_25346763_1 (Major VARCHAR, year_opened VARCHAR) [/INST]
### Response:
SELECT Major AS facility FROM table_25346763_1 WHERE year_opened = "1968" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the custody level of the facility in Shelton?
### Context:
CREATE TABLE table_25346763_1 (custody_level_s_ VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT custody_level_s_ FROM table_25346763_1 WHERE location = "Shelton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Is the Washington Corrections Center for Women (WCCW) a major facility?
### Context:
CREATE TABLE table_25346763_1 (Major VARCHAR, facility VARCHAR) [/INST]
### Response:
SELECT Major AS facility FROM table_25346763_1 WHERE facility = "Washington Corrections Center for Women (WCCW)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 capacity for a facility opened in 1956?
### Context:
CREATE TABLE table_25346763_1 (capacity VARCHAR, year_opened VARCHAR) [/INST]
### Response:
SELECT COUNT(capacity) FROM table_25346763_1 WHERE year_opened = "1956" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What facility opening in 1954?
### Context:
CREATE TABLE table_25346763_1 (facility VARCHAR, year_opened VARCHAR) [/INST]
### Response:
SELECT facility FROM table_25346763_1 WHERE year_opened = "1954" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which player had 6 assists?
### Context:
CREATE TABLE table_25353861_5 (player VARCHAR, assists VARCHAR) [/INST]
### Response:
SELECT player FROM table_25353861_5 WHERE assists = 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 fewest steals any player had?
### Context:
CREATE TABLE table_25353861_5 (steals INTEGER) [/INST]
### Response:
SELECT MIN(steals) FROM table_25353861_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 steals did Kelly Miller have?
### Context:
CREATE TABLE table_25353861_5 (steals INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(steals) FROM table_25353861_5 WHERE player = "Kelly Miller" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which player had 9 blocks?
### Context:
CREATE TABLE table_25353861_5 (player VARCHAR, blocks VARCHAR) [/INST]
### Response:
SELECT player FROM table_25353861_5 WHERE blocks = 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:
How many rebounds did Tammy Sutton-Brown have?
### Context:
CREATE TABLE table_25353861_5 (rebounds VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT rebounds FROM table_25353861_5 WHERE player = "Tammy Sutton-Brown" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 science score in the year there was a social studies score of 93.56?
### Context:
CREATE TABLE table_2534578_1 (science VARCHAR, social_studies VARCHAR) [/INST]
### Response:
SELECT science FROM table_2534578_1 WHERE social_studies = "93.56" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many years did the school have a mathetmatics score of 98.02?
### Context:
CREATE TABLE table_2534578_1 (science VARCHAR, mathematics VARCHAR) [/INST]
### Response:
SELECT COUNT(science) FROM table_2534578_1 WHERE mathematics = "98.02" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 reading score in the year the science score was 96.13?
### Context:
CREATE TABLE table_2534578_1 (reading VARCHAR, science VARCHAR) [/INST]
### Response:
SELECT reading FROM table_2534578_1 WHERE science = "96.13" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the language score when the reading score was 94.47?
### Context:
CREATE TABLE table_2534578_1 (language VARCHAR, reading VARCHAR) [/INST]
### Response:
SELECT language FROM table_2534578_1 WHERE reading = "94.47" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for points have Sophia Witherspoon as the player?
### Context:
CREATE TABLE table_25352324_5 (points VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(points) FROM table_25352324_5 WHERE player = "Sophia Witherspoon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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?
### Context:
CREATE TABLE table_25352324_5 (points INTEGER) [/INST]
### Response:
SELECT MAX(points) FROM table_25352324_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 every value for rebounds when steals is 19?
### Context:
CREATE TABLE table_25352324_5 (rebounds VARCHAR, steals VARCHAR) [/INST]
### Response:
SELECT rebounds FROM table_25352324_5 WHERE steals = 19 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every value for points if rebounds is 6 and blocks is 0?
### Context:
CREATE TABLE table_25352324_5 (points VARCHAR, rebounds VARCHAR, blocks VARCHAR) [/INST]
### Response:
SELECT points FROM table_25352324_5 WHERE rebounds = 6 AND blocks = 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every entry for assists if the player is Lynn Pride?
### Context:
CREATE TABLE table_25352324_5 (assists VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT assists FROM table_25352324_5 WHERE player = "Lynn Pride" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 air date of the episode written by Itamar Moses?
### Context:
CREATE TABLE table_25356350_3 (original_air_date VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_25356350_3 WHERE written_by = "Itamar Moses" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 june 10-11 when august 21-22 is august 21, 2017?
### Context:
CREATE TABLE table_25355392_2 (june_10_11 VARCHAR, august_21_22 VARCHAR) [/INST]
### Response:
SELECT june_10_11 FROM table_25355392_2 WHERE august_21_22 = "August 21, 2017" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
how many times is march 27-29 is 129?
### Context:
CREATE TABLE table_25355392_2 (november_3 VARCHAR, march_27_29 VARCHAR) [/INST]
### Response:
SELECT COUNT(november_3) FROM table_25355392_2 WHERE march_27_29 = "129" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 june 10-11 when march 27-29 is 149?
### Context:
CREATE TABLE table_25355392_2 (june_10_11 VARCHAR, march_27_29 VARCHAR) [/INST]
### Response:
SELECT june_10_11 FROM table_25355392_2 WHERE march_27_29 = "149" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 november 3 when june 10-11 is june 10, 1964?
### Context:
CREATE TABLE table_25355392_2 (november_3 VARCHAR, june_10_11 VARCHAR) [/INST]
### Response:
SELECT november_3 FROM table_25355392_2 WHERE june_10_11 = "June 10, 1964" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 march 27-29 when november 3 is 133?
### Context:
CREATE TABLE table_25355392_2 (march_27_29 VARCHAR, november_3 VARCHAR) [/INST]
### Response:
SELECT march_27_29 FROM table_25355392_2 WHERE november_3 = "133" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 january 15-16 when november 3 is 153?
### Context:
CREATE TABLE table_25355392_2 (january_15_16 VARCHAR, november_3 VARCHAR) [/INST]
### Response:
SELECT january_15_16 FROM table_25355392_2 WHERE november_3 = "153" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
january 15-16 when august 21-22 is august 22, 1979?
### Context:
CREATE TABLE table_25355501_2 (january_15_16 VARCHAR, august_21_22 VARCHAR) [/INST]
### Response:
SELECT january_15_16 FROM table_25355501_2 WHERE august_21_22 = "August 22, 1979" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 entries are shown for november 3 when january 15-16 is 141?
### Context:
CREATE TABLE table_25355501_2 (november_3 VARCHAR, january_15_16 VARCHAR) [/INST]
### Response:
SELECT COUNT(november_3) FROM table_25355501_2 WHERE january_15_16 = "141" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
march 27-29 where june 10-11 is 127?
### Context:
CREATE TABLE table_25355501_2 (march_27_29 VARCHAR, june_10_11 VARCHAR) [/INST]
### Response:
SELECT march_27_29 FROM table_25355501_2 WHERE june_10_11 = "127" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
june 10-11 when november 3 is 133?
### Context:
CREATE TABLE table_25355501_2 (june_10_11 VARCHAR, november_3 VARCHAR) [/INST]
### Response:
SELECT june_10_11 FROM table_25355501_2 WHERE november_3 = "133" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
june 10-11 when january 15-16 is january 15, 1991?
### Context:
CREATE TABLE table_25355501_2 (june_10_11 VARCHAR, january_15_16 VARCHAR) [/INST]
### Response:
SELECT june_10_11 FROM table_25355501_2 WHERE january_15_16 = "January 15, 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:
What is shown for november 3 when august 21-22 is august 22, 1998?
### Context:
CREATE TABLE table_25355501_2 (november_3 VARCHAR, august_21_22 VARCHAR) [/INST]
### Response:
SELECT november_3 FROM table_25355501_2 WHERE august_21_22 = "August 22, 1998" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of teams for 11th position september 10
### Context:
CREATE TABLE table_25361570_2 (team VARCHAR, position_in_table VARCHAR, date_of_appointment VARCHAR) [/INST]
### Response:
SELECT COUNT(team) FROM table_25361570_2 WHERE position_in_table = "11th" AND date_of_appointment = "September 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 the replaced by for august 9
### Context:
CREATE TABLE table_25361570_2 (replaced_by VARCHAR, date_of_vacancy VARCHAR, date_of_appointment VARCHAR) [/INST]
### Response:
SELECT replaced_by FROM table_25361570_2 WHERE date_of_vacancy = "August 9" AND date_of_appointment = "August 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:
Name the most number for charvez davis
### Context:
CREATE TABLE table_25360865_1 (_number INTEGER, name VARCHAR) [/INST]
### Response:
SELECT MAX(_number) FROM table_25360865_1 WHERE name = "Charvez Davis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 height
### Context:
CREATE TABLE table_25360865_1 (weight INTEGER) [/INST]
### Response:
SELECT MAX(weight) FROM table_25360865_1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of home town for number being 32
### Context:
CREATE TABLE table_25360865_1 (home_town VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT COUNT(home_town) FROM table_25360865_1 WHERE _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:
Name the total number of height for number 32
### Context:
CREATE TABLE table_25360865_1 (height VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT COUNT(height) FROM table_25360865_1 WHERE _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:
Name the number for florida air academy
### Context:
CREATE TABLE table_25360865_1 (_number VARCHAR, last_school VARCHAR) [/INST]
### Response:
SELECT _number FROM table_25360865_1 WHERE last_school = "Florida Air Academy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 height for demetrius jemison
### Context:
CREATE TABLE table_25360865_1 (height VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT height FROM table_25360865_1 WHERE name = "Demetrius Jemison" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wins did Canterbury Wizards have?
### Context:
CREATE TABLE table_25368177_1 (won INTEGER, team VARCHAR) [/INST]
### Response:
SELECT MAX(won) FROM table_25368177_1 WHERE team = "Canterbury Wizards" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 had a net run rate of 0.134?
### Context:
CREATE TABLE table_25368177_1 (team VARCHAR, net_run_rate VARCHAR) [/INST]
### Response:
SELECT team FROM table_25368177_1 WHERE net_run_rate = "0.134" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 largest number of abandoned games by any of the teams?
### Context:
CREATE TABLE table_25368177_1 (abandoned INTEGER) [/INST]
### Response:
SELECT MAX(abandoned) FROM table_25368177_1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many different net run rates did the team with 19 total points have?
### Context:
CREATE TABLE table_25368177_1 (net_run_rate VARCHAR, total_points VARCHAR) [/INST]
### Response:
SELECT COUNT(net_run_rate) FROM table_25368177_1 WHERE total_points = 19 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the team that scored 56 points?Qh
### Context:
CREATE TABLE table_25369796_1 (team VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT team FROM table_25369796_1 WHERE points = "56" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 earliest season where a team got a 29th position?
### Context:
CREATE TABLE table_25369796_1 (season INTEGER, position VARCHAR) [/INST]
### Response:
SELECT MIN(season) FROM table_25369796_1 WHERE position = "29th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 recorded flaps of HBR Motorsport team?
### Context:
CREATE TABLE table_25369796_1 (f_laps VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT f_laps FROM table_25369796_1 WHERE team = "HBR Motorsport" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 series where a team scored 56 points?
### Context:
CREATE TABLE table_25369796_1 (series VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT series FROM table_25369796_1 WHERE points = "56" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team position scored 56 points?
### Context:
CREATE TABLE table_25369796_1 (position VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_25369796_1 WHERE points = "56" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 dates was the final score of the game L 14–24?
### Context:
CREATE TABLE table_25380472_2 (date VARCHAR, final_score VARCHAR) [/INST]
### Response:
SELECT date FROM table_25380472_2 WHERE final_score = "L 14–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:
How many game sites are there where the team record is 1–7?
### Context:
CREATE TABLE table_25380472_2 (game_site VARCHAR, team_record VARCHAR) [/INST]
### Response:
SELECT COUNT(game_site) FROM table_25380472_2 WHERE team_record = "1–7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On week 7, what were the opponents?
### Context:
CREATE TABLE table_25380472_2 (opponent VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_25380472_2 WHERE week = 7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what game sites are there where the team record is 0–5?
### Context:
CREATE TABLE table_25380472_2 (game_site VARCHAR, team_record VARCHAR) [/INST]
### Response:
SELECT game_site FROM table_25380472_2 WHERE team_record = "0–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 game sites are where the team record is 1–6?
### Context:
CREATE TABLE table_25380472_2 (game_site VARCHAR, team_record VARCHAR) [/INST]
### Response:
SELECT game_site FROM table_25380472_2 WHERE team_record = "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:
In game site AOL Arena, who are all the opponents?
### Context:
CREATE TABLE table_25380472_2 (opponent VARCHAR, game_site VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_25380472_2 WHERE game_site = "AOL Arena" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What organization had the founding date of 1998-11-08?
### Context:
CREATE TABLE table_2538117_12 (organization VARCHAR, founding_date VARCHAR) [/INST]
### Response:
SELECT organization FROM table_2538117_12 WHERE founding_date = "1998-11-08" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 letters were given to the organization with a founding date of 1997-12-12?
### Context:
CREATE TABLE table_2538117_12 (letters VARCHAR, founding_date VARCHAR) [/INST]
### Response:
SELECT COUNT(letters) FROM table_2538117_12 WHERE founding_date = "1997-12-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 song choice where the original artist is Gino Paoli?
### Context:
CREATE TABLE table_25374338_1 (song_choice VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT COUNT(song_choice) FROM table_25374338_1 WHERE original_artist = "Gino Paoli" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 theme where the original artist is Noemi feat. Fiorella Mannoia?
### Context:
CREATE TABLE table_25374338_1 (theme VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT theme FROM table_25374338_1 WHERE original_artist = "Noemi feat. Fiorella Mannoia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 song choice where the episode is Live Show 1?
### Context:
CREATE TABLE table_25374338_1 (song_choice VARCHAR, episode VARCHAR) [/INST]
### Response:
SELECT song_choice FROM table_25374338_1 WHERE episode = "Live Show 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 result where the original artist is Prince and the Revolution?
### Context:
CREATE TABLE table_25374338_1 (result VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT result FROM table_25374338_1 WHERE original_artist = "Prince and The Revolution" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 theme where the original artist is AC/DC?
### Context:
CREATE TABLE table_25374338_1 (theme VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT theme FROM table_25374338_1 WHERE original_artist = "AC/DC" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what type of organization is sigma phi omega?
### Context:
CREATE TABLE table_2538117_2 (type VARCHAR, organization VARCHAR) [/INST]
### Response:
SELECT type FROM table_2538117_2 WHERE organization = "Sigma Phi Omega" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 types of organization were founded in san diego state university?
### Context:
CREATE TABLE table_2538117_2 (type VARCHAR, founding_university VARCHAR) [/INST]
### Response:
SELECT COUNT(type) FROM table_2538117_2 WHERE founding_university = "San Diego State University" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season for position 4th
### Context:
CREATE TABLE table_25375093_1 (season VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(season) FROM table_25375093_1 WHERE position = "4th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least f/laps
### Context:
CREATE TABLE table_25375093_1 (f_laps INTEGER) [/INST]
### Response:
SELECT MIN(f_laps) FROM table_25375093_1 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.