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:
Who was in 4th when in 6th is Air Traffic?
### Context:
CREATE TABLE table_17111812_1 (fourth VARCHAR, sixth VARCHAR) [/INST]
### Response:
SELECT fourth FROM table_17111812_1 WHERE sixth = "Air Traffic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Kubb is in 9th, who is in 10th?
### Context:
CREATE TABLE table_17111812_1 (tenth VARCHAR, ninth VARCHAR) [/INST]
### Response:
SELECT tenth FROM table_17111812_1 WHERE ninth = "Kubb" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Interpol is in 6th, who is in 7th?
### Context:
CREATE TABLE table_17111812_1 (seventh VARCHAR, sixth VARCHAR) [/INST]
### Response:
SELECT COUNT(seventh) FROM table_17111812_1 WHERE sixth = "Interpol" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was Plan B 4th place?
### Context:
CREATE TABLE table_17111812_1 (winner VARCHAR, fourth VARCHAR) [/INST]
### Response:
SELECT COUNT(winner) FROM table_17111812_1 WHERE fourth = "Plan B" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 dizzee rascal is 5th, who was the winner?
### Context:
CREATE TABLE table_17111812_1 (winner VARCHAR, fifth VARCHAR) [/INST]
### Response:
SELECT winner FROM table_17111812_1 WHERE fifth = "Dizzee Rascal" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for game 60?
### Context:
CREATE TABLE table_17121262_9 (location_attendance VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17121262_9 WHERE game = 60 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 highest assists on March 18?
### Context:
CREATE TABLE table_17121262_9 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17121262_9 WHERE date = "March 18" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rebound total on january 6?
### Context:
CREATE TABLE table_17140608_7 (high_rebounds VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_17140608_7 WHERE date = "January 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:
Name the total number of opponent of record 9-2
### Context:
CREATE TABLE table_17186229_4 (opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(opponent) FROM table_17186229_4 WHERE record = "9-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:
name the date where score time is w 74-63
### Context:
CREATE TABLE table_17186229_4 (date VARCHAR, score_time VARCHAR) [/INST]
### Response:
SELECT date FROM table_17186229_4 WHERE score_time = "W 74-63" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What episode aired on 11july1964?
### Context:
CREATE TABLE table_1723080_1 (episode VARCHAR, broadcast_date VARCHAR) [/INST]
### Response:
SELECT episode FROM table_1723080_1 WHERE broadcast_date = "11July1964" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were there on 1august1964?
### Context:
CREATE TABLE table_1723080_1 (viewers__in_millions_ VARCHAR, broadcast_date VARCHAR) [/INST]
### Response:
SELECT viewers__in_millions_ FROM table_1723080_1 WHERE broadcast_date = "1August1964" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 run time when there were 7.4 million viewers?
### Context:
CREATE TABLE table_1723080_1 (run_time VARCHAR, viewers__in_millions_ VARCHAR) [/INST]
### Response:
SELECT run_time FROM table_1723080_1 WHERE viewers__in_millions_ = "7.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:
If the equation is (10 times 8) + 4, what would be the 2nd throw?
### Context:
CREATE TABLE table_17265535_6 (equation VARCHAR) [/INST]
### Response:
SELECT MAX(2 AS nd_throw) FROM table_17265535_6 WHERE equation = "(10 times 8) + 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:
If the equation is all equal, what is the 3rd throw?
### Context:
CREATE TABLE table_17265535_6 (equation VARCHAR) [/INST]
### Response:
SELECT 3 AS rd_throw FROM table_17265535_6 WHERE equation = "all equal" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 equation is (10 times 1) + 3, what is the 2nd throw?
### Context:
CREATE TABLE table_17265535_6 (equation VARCHAR) [/INST]
### Response:
SELECT MAX(2 AS nd_throw) FROM table_17265535_6 WHERE equation = "(10 times 1) + 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 total number of grid for 30
### Context:
CREATE TABLE table_17271495_1 (grid VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(grid) FROM table_17271495_1 WHERE points = "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:
Name the laps for 18 pointss
### Context:
CREATE TABLE table_17271495_1 (laps VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT laps FROM table_17271495_1 WHERE points = "18" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 drive for points being 13
### Context:
CREATE TABLE table_17271495_1 (driver VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT driver FROM table_17271495_1 WHERE points = "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:
Name the team for scott dixon
### Context:
CREATE TABLE table_17271495_1 (team VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT team FROM table_17271495_1 WHERE driver = "Scott Dixon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team of darren manning
### Context:
CREATE TABLE table_17271495_1 (team VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT team FROM table_17271495_1 WHERE driver = "Darren Manning" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record for score of l 93–104 (ot)
### Context:
CREATE TABLE table_17288825_8 (record VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT record FROM table_17288825_8 WHERE score = "L 93–104 (OT)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what date did the Rockets play Memphis?
### Context:
CREATE TABLE table_17288825_9 (date VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT date FROM table_17288825_9 WHERE team = "Memphis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 most poinst in game 72?
### Context:
CREATE TABLE table_17288825_9 (high_points VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_17288825_9 WHERE game = 72 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tracy mcgrady (8) is leading in assists what is the date?
### Context:
CREATE TABLE table_17288825_6 (date VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT date FROM table_17288825_6 WHERE high_assists = "Tracy McGrady (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:
When @ new orleans is the team who has the highest amount of rebounds?
### Context:
CREATE TABLE table_17288825_6 (high_rebounds VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_17288825_6 WHERE team = "@ New Orleans" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 aaron brooks (6) had the highest amount of assists what is the date?
### Context:
CREATE TABLE table_17288825_6 (date VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT date FROM table_17288825_6 WHERE high_assists = "Aaron Brooks (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 was the record on November 1?
### Context:
CREATE TABLE table_17288869_5 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_17288869_5 WHERE date = "November 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 record on November 7?
### Context:
CREATE TABLE table_17288869_5 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(record) FROM table_17288869_5 WHERE date = "November 7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the grid for the driver who earned 14 points?
### Context:
CREATE TABLE table_17304504_1 (grid VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT grid FROM table_17304504_1 WHERE points = "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 total number of cars for panther racing and grid of 9
### Context:
CREATE TABLE table_17304308_1 (car_no VARCHAR, team VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT COUNT(car_no) FROM table_17304308_1 WHERE team = "Panther Racing" AND grid = 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 least grid for 17 points
### Context:
CREATE TABLE table_17304308_1 (grid INTEGER, points VARCHAR) [/INST]
### Response:
SELECT MIN(grid) FROM table_17304308_1 WHERE points = "17" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of fin pos for 12 points of accident
### Context:
CREATE TABLE table_17304308_1 (fin_pos VARCHAR, points VARCHAR, time_retired VARCHAR) [/INST]
### Response:
SELECT COUNT(fin_pos) FROM table_17304308_1 WHERE points = "12" AND time_retired = "Accident" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 driver for fin pos of 19
### Context:
CREATE TABLE table_17304308_1 (driver VARCHAR, fin_pos VARCHAR) [/INST]
### Response:
SELECT COUNT(driver) FROM table_17304308_1 WHERE fin_pos = 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:
how many high assists stats were maade on february 4
### Context:
CREATE TABLE table_17311759_7 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(high_assists) FROM table_17311759_7 WHERE date = "February 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 made high assists on february 4
### Context:
CREATE TABLE table_17311759_7 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17311759_7 WHERE date = "February 4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score in game 81?
### Context:
CREATE TABLE table_17311797_10 (score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT score FROM table_17311797_10 WHERE game = 81 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the highest points in game 79?
### Context:
CREATE TABLE table_17311797_10 (high_points VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_17311797_10 WHERE game = 79 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What team(s) did they play on march 9?
### Context:
CREATE TABLE table_17311783_9 (team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT team FROM table_17311783_9 WHERE date = "March 9" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had the high point total against cleveland?
### Context:
CREATE TABLE table_17311783_9 (high_points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_17311783_9 WHERE team = "Cleveland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When did they play Miami?
### Context:
CREATE TABLE table_17323042_8 (date VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT date FROM table_17323042_8 WHERE team = "Miami" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score for staples center 13,266
### Context:
CREATE TABLE table_17323529_5 (score VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_17323529_5 WHERE location_attendance = "Staples Center 13,266" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 high points for the date of november 24
### Context:
CREATE TABLE table_17323529_5 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_17323529_5 WHERE date = "November 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:
Name the high assists for l 98–103 (ot)
### Context:
CREATE TABLE table_17323529_5 (high_assists VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17323529_5 WHERE score = "L 98–103 (OT)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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's score on April 1?
### Context:
CREATE TABLE table_17340355_10 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_17340355_10 WHERE date = "April 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:
Who did the most assists when Matt Barnes (11) got the most rebounds?
### Context:
CREATE TABLE table_17340355_10 (high_assists VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17340355_10 WHERE high_rebounds = "Matt Barnes (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:
Steve Nash (24) got high points for how many teams?
### Context:
CREATE TABLE table_17340355_10 (team VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT COUNT(team) FROM table_17340355_10 WHERE high_points = "Steve Nash (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:
After the March 15 game, what was the team's record?
### Context:
CREATE TABLE table_17340355_9 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_17340355_9 WHERE date = "March 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:
Name who wrote the episode directed by arthur albert
### Context:
CREATE TABLE table_17356042_1 (written_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_17356042_1 WHERE directed_by = "Arthur Albert" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title that was written by r. scott gemmill
### Context:
CREATE TABLE table_17356042_1 (title VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_17356042_1 WHERE written_by = "R. Scott Gemmill" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the series number 236
### Context:
CREATE TABLE table_17356042_1 (directed_by VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_17356042_1 WHERE series__number = 236 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 games did the team who scored 60 goals win?
### Context:
CREATE TABLE table_17358515_1 (won INTEGER, goals_for VARCHAR) [/INST]
### Response:
SELECT MIN(won) FROM table_17358515_1 WHERE goals_for = 60 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many points did Goole Town accumulate?
### Context:
CREATE TABLE table_17358515_1 (points_2 VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(points_2) FROM table_17358515_1 WHERE team = "Goole Town" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List all losses with average goals of 1.21.
### Context:
CREATE TABLE table_17366952_1 (lost VARCHAR, goal_average_1 VARCHAR) [/INST]
### Response:
SELECT lost FROM table_17366952_1 WHERE goal_average_1 = "1.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:
Which team had goal averages of 1.34?
### Context:
CREATE TABLE table_17366952_1 (team VARCHAR, goal_average_1 VARCHAR) [/INST]
### Response:
SELECT team FROM table_17366952_1 WHERE goal_average_1 = "1.34" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position of the Bangor City team?
### Context:
CREATE TABLE table_17366952_1 (position INTEGER, team VARCHAR) [/INST]
### Response:
SELECT MAX(position) FROM table_17366952_1 WHERE team = "Bangor 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:
How many times did the Lancaster City team play?
### Context:
CREATE TABLE table_17366952_1 (played VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(played) FROM table_17366952_1 WHERE team = "Lancaster 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:
Which athlete competed in the flyweight division?
### Context:
CREATE TABLE table_1745820_5 (athlete VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT athlete FROM table_1745820_5 WHERE event = "Flyweight" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was a bye in the round of 32, what was the result in the round of 16?
### Context:
CREATE TABLE table_1745820_5 (semifinals VARCHAR, round_of_32 VARCHAR) [/INST]
### Response:
SELECT semifinals FROM table_1745820_5 WHERE round_of_32 = "Bye" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 part 4 when part 1 is "lesan"?
### Context:
CREATE TABLE table_1745843_8 (part_4 VARCHAR, part_1 VARCHAR) [/INST]
### Response:
SELECT part_4 FROM table_1745843_8 WHERE part_1 = "lesan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the verb meaning of the word with part 3 "sufun"?
### Context:
CREATE TABLE table_1745843_8 (verb_meaning VARCHAR, part_3 VARCHAR) [/INST]
### Response:
SELECT verb_meaning FROM table_1745843_8 WHERE part_3 = "sufun" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What class in the word with part 4 "giheizan"?
### Context:
CREATE TABLE table_1745843_8 (class VARCHAR, part_4 VARCHAR) [/INST]
### Response:
SELECT class FROM table_1745843_8 WHERE part_4 = "giheizan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 part 4 of the word with the part 1 "heizan"?
### Context:
CREATE TABLE table_1745843_8 (part_4 VARCHAR, part_1 VARCHAR) [/INST]
### Response:
SELECT part_4 FROM table_1745843_8 WHERE part_1 = "heizan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 part 3 of the word in class 7a?
### Context:
CREATE TABLE table_1745843_8 (part_3 VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT part_3 FROM table_1745843_8 WHERE class = "7a" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the verb meaning of the word with part 2 "bant"?
### Context:
CREATE TABLE table_1745843_8 (verb_meaning VARCHAR, part_2 VARCHAR) [/INST]
### Response:
SELECT verb_meaning FROM table_1745843_8 WHERE part_2 = "bant" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 swimsuit score for the country with the average score of 8.848?
### Context:
CREATE TABLE table_17521433_1 (swimsuit VARCHAR, average VARCHAR) [/INST]
### Response:
SELECT swimsuit FROM table_17521433_1 WHERE average = "8.848" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What country had a swimsuit score of 8.788?
### Context:
CREATE TABLE table_17521433_1 (country VARCHAR, swimsuit VARCHAR) [/INST]
### Response:
SELECT country FROM table_17521433_1 WHERE swimsuit = "8.788" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 swimsuit score for Illinois?
### Context:
CREATE TABLE table_17521433_1 (swimsuit VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT swimsuit FROM table_17521433_1 WHERE country = "Illinois" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the average score for the country with the evening gown score of 9.100?
### Context:
CREATE TABLE table_17521433_1 (average VARCHAR, evening_gown VARCHAR) [/INST]
### Response:
SELECT COUNT(average) FROM table_17521433_1 WHERE evening_gown = "9.100" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the swuinsuit for oregon
### Context:
CREATE TABLE table_17516967_1 (swimsuit VARCHAR, state VARCHAR) [/INST]
### Response:
SELECT swimsuit FROM table_17516967_1 WHERE state = "Oregon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 preliminary for north carolina
### Context:
CREATE TABLE table_17516967_1 (preliminary VARCHAR, state VARCHAR) [/INST]
### Response:
SELECT preliminary FROM table_17516967_1 WHERE state = "North Carolina" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 census ranking(s) of maugerville?
### Context:
CREATE TABLE table_176521_2 (census_ranking VARCHAR, official_name VARCHAR) [/INST]
### Response:
SELECT census_ranking FROM table_176521_2 WHERE official_name = "Maugerville" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 status(es) of the place with an area of 304.06 km2?
### Context:
CREATE TABLE table_176521_2 (status VARCHAR, area_km_2 VARCHAR) [/INST]
### Response:
SELECT status FROM table_176521_2 WHERE area_km_2 = "304.06" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 official name(s) of places with an area of 304.06 km2?
### Context:
CREATE TABLE table_176521_2 (official_name VARCHAR, area_km_2 VARCHAR) [/INST]
### Response:
SELECT official_name FROM table_176521_2 WHERE area_km_2 = "304.06" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for school eckstein
### Context:
CREATE TABLE table_17641314_3 (location_denotes_location_of_school_by_seattle_neighborhood VARCHAR, _does_not_necessary_correspond_with_attendance_area VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT location_denotes_location_of_school_by_seattle_neighborhood, _does_not_necessary_correspond_with_attendance_area FROM table_17641314_3 WHERE school = "Eckstein" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 minimum 11-12 enrollment for washington school
### Context:
CREATE TABLE table_17641314_3 (school VARCHAR) [/INST]
### Response:
SELECT MIN(11 AS _12_enrollment) FROM table_17641314_3 WHERE school = "Washington" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 length of the model with 500 E body style?
### Context:
CREATE TABLE table_1773707_2 (length VARCHAR, body_style VARCHAR) [/INST]
### Response:
SELECT length FROM table_1773707_2 WHERE body_style = "500 E" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 length of the model with Sedan body style?
### Context:
CREATE TABLE table_1773707_2 (length VARCHAR, body_style VARCHAR) [/INST]
### Response:
SELECT length FROM table_1773707_2 WHERE body_style = "Sedan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lengths of the models that are mm (in) tall?
### Context:
CREATE TABLE table_1773707_2 (length VARCHAR, height VARCHAR) [/INST]
### Response:
SELECT length FROM table_1773707_2 WHERE height = "mm (in)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 providers are there where the resale category is yes and bandwith is up is 1024?
### Context:
CREATE TABLE table_1773908_3 (provider VARCHAR, resale VARCHAR, up__up_to_kbit_s_ VARCHAR) [/INST]
### Response:
SELECT COUNT(provider) FROM table_1773908_3 WHERE resale = "yes" AND up__up_to_kbit_s_ = 1024 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 download bandwith where the provider is deutsche telekom ag?
### Context:
CREATE TABLE table_1773908_3 (down__up_to_kbit_s_ INTEGER, provider VARCHAR) [/INST]
### Response:
SELECT MAX(down__up_to_kbit_s_) FROM table_1773908_3 WHERE provider = "Deutsche Telekom AG" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the telecom providers for which the upload rate is 1024 kbits and the resale category is yes?
### Context:
CREATE TABLE table_1773908_3 (provider VARCHAR, up__up_to_kbit_s_ VARCHAR, resale VARCHAR) [/INST]
### Response:
SELECT provider FROM table_1773908_3 WHERE up__up_to_kbit_s_ = 1024 AND resale = "yes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are all the dsl type offered by the M-Net telecom company?
### Context:
CREATE TABLE table_1773908_3 (dsl_type VARCHAR, provider VARCHAR) [/INST]
### Response:
SELECT dsl_type FROM table_1773908_3 WHERE provider = "M-net" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 resale category for the provider NetCologne?
### Context:
CREATE TABLE table_1773908_3 (resale VARCHAR, provider VARCHAR) [/INST]
### Response:
SELECT resale FROM table_1773908_3 WHERE provider = "Netcologne" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 results are listed for week 13?
### Context:
CREATE TABLE table_17782308_1 (result VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT COUNT(result) FROM table_17782308_1 WHERE week = 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:
On October 16, 1966, what was the game site?
### Context:
CREATE TABLE table_17782308_1 (game_site VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT game_site FROM table_17782308_1 WHERE date = "October 16, 1966" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the date of the game when the opponent was the Miami Dolphins?
### Context:
CREATE TABLE table_17782308_1 (date VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT date FROM table_17782308_1 WHERE opponent = "Miami Dolphins" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 how many dates was the complete 4th series released?
### Context:
CREATE TABLE table_17798548_4 (date_released VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT COUNT(date_released) FROM table_17798548_4 WHERE season = "The Complete 4th Series" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 discs for the complete 4th series?
### Context:
CREATE TABLE table_17798548_4 (_number_of_discs INTEGER, season VARCHAR) [/INST]
### Response:
SELECT MAX(_number_of_discs) FROM table_17798548_4 WHERE season = "The Complete 4th Series" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What day was the complete 2nd series: volume one released?
### Context:
CREATE TABLE table_17798548_4 (date_released VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT date_released FROM table_17798548_4 WHERE season = "The Complete 2nd Series: Volume One" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 US air date had 4.4 million viewers?
### Context:
CREATE TABLE table_17901155_4 (original_us_air_date VARCHAR, viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT original_us_air_date FROM table_17901155_4 WHERE viewers__millions_ = "4.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 million viewers watched episode 6?
### Context:
CREATE TABLE table_17901155_4 (viewers__millions_ VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT viewers__millions_ FROM table_17901155_4 WHERE no_in_season = 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:
Name the most wickets for best is 4/22
### Context:
CREATE TABLE table_17900317_5 (wickets INTEGER, best VARCHAR) [/INST]
### Response:
SELECT MAX(wickets) FROM table_17900317_5 WHERE best = "4/22" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least matches for runs being 276
### Context:
CREATE TABLE table_17900317_5 (matches INTEGER, runs VARCHAR) [/INST]
### Response:
SELECT MIN(matches) FROM table_17900317_5 WHERE runs = 276 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 matches for wickets 17
### Context:
CREATE TABLE table_17900317_5 (matches VARCHAR, wickets VARCHAR) [/INST]
### Response:
SELECT matches FROM table_17900317_5 WHERE wickets = 17 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most 4/inns
### Context:
CREATE TABLE table_17900317_5 (Id VARCHAR) [/INST]
### Response:
SELECT MAX(4 AS _inns) FROM table_17900317_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 was the date of the week 4 game?
### Context:
CREATE TABLE table_17927935_1 (date VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT date FROM table_17927935_1 WHERE week = 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the week number when the opponent was the New York Jets?
### Context:
CREATE TABLE table_17927935_1 (week INTEGER, opponent VARCHAR) [/INST]
### Response:
SELECT MAX(week) FROM table_17927935_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:
What is the district when the first elected was in 1986?
### Context:
CREATE TABLE table_1805191_14 (district VARCHAR, first_elected VARCHAR) [/INST]
### Response:
SELECT district FROM table_1805191_14 WHERE first_elected = 1986 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who were the candidates when the first elected was a republican in 1998?
### Context:
CREATE TABLE table_1805191_14 (candidates VARCHAR, first_elected VARCHAR, party VARCHAR) [/INST]
### Response:
SELECT candidates FROM table_1805191_14 WHERE first_elected = 1998 AND party = "Republican" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.