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:
What is the LGA name where the 2006 census population is bigger than 425208.9417698913 and administrative capital is port harcourt?
### Context:
CREATE TABLE table_1966992_1 (lga_name VARCHAR, census_2006_population VARCHAR, administrative_capital VARCHAR) [/INST]
### Response:
SELECT lga_name FROM table_1966992_1 WHERE census_2006_population > 425208.9417698913 AND administrative_capital = "Port Harcourt" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 administrative capital of LGA name Akuku-Toru?
### Context:
CREATE TABLE table_1966992_1 (administrative_capital VARCHAR, lga_name VARCHAR) [/INST]
### Response:
SELECT administrative_capital FROM table_1966992_1 WHERE lga_name = "Akuku-Toru" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 administrative capital that has a 2006 census population of 249425?
### Context:
CREATE TABLE table_1966992_1 (administrative_capital VARCHAR, census_2006_population VARCHAR) [/INST]
### Response:
SELECT administrative_capital FROM table_1966992_1 WHERE census_2006_population = 249425 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the maximum 2006 census population of LGA name Opobo/Nkoro?
### Context:
CREATE TABLE table_1966992_1 (census_2006_population INTEGER, lga_name VARCHAR) [/INST]
### Response:
SELECT MAX(census_2006_population) FROM table_1966992_1 WHERE lga_name = "Opobo/Nkoro" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 minimal enrollment of any of the schools?
### Context:
CREATE TABLE table_1969577_3 (enrollment INTEGER) [/INST]
### Response:
SELECT MIN(enrollment) FROM table_1969577_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:
When was the school whose students are nicknamed Rams founded?
### Context:
CREATE TABLE table_1969577_3 (founded INTEGER, nickname VARCHAR) [/INST]
### Response:
SELECT MAX(founded) FROM table_1969577_3 WHERE nickname = "Rams" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 type of the school whose students are nicknamed Chargers?
### Context:
CREATE TABLE table_1969577_3 (type VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT type FROM table_1969577_3 WHERE nickname = "Chargers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was the school in Philadelphia, Pennsylvania founded?
### Context:
CREATE TABLE table_1969577_3 (founded VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT founded FROM table_1969577_3 WHERE location = "Philadelphia, Pennsylvania" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total number of votes in the 2005 elections?
### Context:
CREATE TABLE table_19698421_1 (total_votes INTEGER, year VARCHAR) [/INST]
### Response:
SELECT MIN(total_votes) FROM table_19698421_1 WHERE year = "2005" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 elections had 1423 average voters per candidate?
### Context:
CREATE TABLE table_19698421_1 (change__percentage_points_ VARCHAR, average_voters_per_candidate VARCHAR) [/INST]
### Response:
SELECT COUNT(change__percentage_points_) FROM table_19698421_1 WHERE average_voters_per_candidate = 1423 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 candidates were there in the year of 1987?
### Context:
CREATE TABLE table_19698421_1 (number_of_candidates VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT number_of_candidates FROM table_19698421_1 WHERE year = "1987" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 modified torque (lb/ft) when the standard hp n/a?
### Context:
CREATE TABLE table_19704392_1 (modified_torque__lb_ft_ VARCHAR, standard_hp VARCHAR) [/INST]
### Response:
SELECT COUNT(modified_torque__lb_ft_) FROM table_19704392_1 WHERE standard_hp = "n/a" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the standard speed (6th gear) is 114, what is the minimum rpm?
### Context:
CREATE TABLE table_19704392_1 (rpm INTEGER, standard_speed__6th_gear_ VARCHAR) [/INST]
### Response:
SELECT MIN(rpm) FROM table_19704392_1 WHERE standard_speed__6th_gear_ = "114" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 standard speed (6th gear) is 88, what is the rpm?
### Context:
CREATE TABLE table_19704392_1 (rpm VARCHAR, standard_speed__6th_gear_ VARCHAR) [/INST]
### Response:
SELECT rpm FROM table_19704392_1 WHERE standard_speed__6th_gear_ = "88" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 modified speed (6th gear) when standard torque (lb/ft) is 10.3 and modified torque (lb/ft) is 8.75?
### Context:
CREATE TABLE table_19704392_1 (modified_speed__6th_gear_ VARCHAR, standard_torque__lb_ft_ VARCHAR, modified_torque__lb_ft_ VARCHAR) [/INST]
### Response:
SELECT modified_speed__6th_gear_ FROM table_19704392_1 WHERE standard_torque__lb_ft_ = "10.3" AND modified_torque__lb_ft_ = "8.75" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the max speed for modified speed (6th gear) where standard speed (6th gear) is 98
### Context:
CREATE TABLE table_19704392_1 (modified_speed__6th_gear_ INTEGER, standard_speed__6th_gear_ VARCHAR) [/INST]
### Response:
SELECT MAX(modified_speed__6th_gear_) FROM table_19704392_1 WHERE standard_speed__6th_gear_ = "98" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the standard torque (lb/ft) is 11.53 how much does more is the modified hp?
### Context:
CREATE TABLE table_19704392_1 (modified_hp VARCHAR, standard_torque__lb_ft_ VARCHAR) [/INST]
### Response:
SELECT modified_hp FROM table_19704392_1 WHERE standard_torque__lb_ft_ = "11.53" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
how many assists did the player who played 195 minutes make
### Context:
CREATE TABLE table_19722233_5 (assists VARCHAR, minutes VARCHAR) [/INST]
### Response:
SELECT assists FROM table_19722233_5 WHERE minutes = 195 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the lowest number of blocks
### Context:
CREATE TABLE table_19722233_5 (blocks INTEGER) [/INST]
### Response:
SELECT MIN(blocks) FROM table_19722233_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 the lowest points scored by a player who blocked 21 times
### Context:
CREATE TABLE table_19722233_5 (points INTEGER, blocks VARCHAR) [/INST]
### Response:
SELECT MIN(points) FROM table_19722233_5 WHERE blocks = 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:
how many times did debbie black block
### Context:
CREATE TABLE table_19722233_5 (blocks VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT blocks FROM table_19722233_5 WHERE player = "Debbie Black" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of goals did the player with 27 asists score
### Context:
CREATE TABLE table_19722233_5 (field_goals INTEGER, assists VARCHAR) [/INST]
### Response:
SELECT MAX(field_goals) FROM table_19722233_5 WHERE assists = 27 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 assists did the player who scored 251 points make
### Context:
CREATE TABLE table_19722233_5 (assists VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT assists FROM table_19722233_5 WHERE points = 251 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production number of the episode filmed in aug/sept 1968?
### Context:
CREATE TABLE table_1971734_1 (prod__number VARCHAR, filmed VARCHAR) [/INST]
### Response:
SELECT prod__number FROM table_1971734_1 WHERE filmed = "Aug/Sept 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's the highest enrollment among the schools?
### Context:
CREATE TABLE table_1971074_1 (enrollment INTEGER) [/INST]
### Response:
SELECT MAX(enrollment) FROM table_1971074_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 did the school from Logan Township, Pennsylvania join the Conference?
### Context:
CREATE TABLE table_1971074_1 (joined VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT joined FROM table_1971074_1 WHERE location = "Logan Township, Pennsylvania" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was the private/non-sectarian school founded?
### Context:
CREATE TABLE table_1971074_1 (founded VARCHAR, type VARCHAR) [/INST]
### Response:
SELECT founded FROM table_1971074_1 WHERE type = "Private/Non-sectarian" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where is the school whose students are nicknamed Panthers located?
### Context:
CREATE TABLE table_1971074_1 (location VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT location FROM table_1971074_1 WHERE nickname = "Panthers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 enrollment numbers are there for the school whose students are nicknamed Barons?
### Context:
CREATE TABLE table_1971074_1 (enrollment VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT COUNT(enrollment) FROM table_1971074_1 WHERE nickname = "Barons" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 how many different years did schools located in Logan Township, Pennsylvania join the Conference?
### Context:
CREATE TABLE table_1971074_1 (joined VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(joined) FROM table_1971074_1 WHERE location = "Logan Township, Pennsylvania" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 isolation numbers does the Jack Mountain peak have?
### Context:
CREATE TABLE table_19716903_1 (isolation VARCHAR, mountain_peak VARCHAR) [/INST]
### Response:
SELECT COUNT(isolation) FROM table_19716903_1 WHERE mountain_peak = "Jack Mountain" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Nicole Levandusky make?
### Context:
CREATE TABLE table_19722664_5 (steals VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT steals FROM table_19722664_5 WHERE player = "Nicole Levandusky" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Rhonda Mapp make?
### Context:
CREATE TABLE table_19722664_5 (rebounds INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(rebounds) FROM table_19722664_5 WHERE player = "Rhonda Mapp" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the largest amount of assists that Nicole Levandusky made?
### Context:
CREATE TABLE table_19722664_5 (assists INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(assists) FROM table_19722664_5 WHERE player = "Nicole Levandusky" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the maximum number of blocks where rebounds equal 35?
### Context:
CREATE TABLE table_19722664_5 (blocks INTEGER, rebounds VARCHAR) [/INST]
### Response:
SELECT MAX(blocks) FROM table_19722664_5 WHERE rebounds = 35 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many assists did Delisha Milton-Jones make?
### Context:
CREATE TABLE table_19722664_5 (assists VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT assists FROM table_19722664_5 WHERE player = "DeLisha Milton-Jones" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 apps for eddie carr
### Context:
CREATE TABLE table_19730892_1 (total_apps INTEGER, name VARCHAR) [/INST]
### Response:
SELECT MAX(total_apps) FROM table_19730892_1 WHERE name = "Eddie Carr" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fa cup apps for arthur morton
### Context:
CREATE TABLE table_19730892_1 (fa_cup_apps VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT fa_cup_apps FROM table_19730892_1 WHERE name = "Arthur Morton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position for billy price
### Context:
CREATE TABLE table_19730892_1 (position VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT position FROM table_19730892_1 WHERE name = "Billy Price" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of position for don clegg
### Context:
CREATE TABLE table_19730892_1 (position VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_19730892_1 WHERE name = "Don Clegg" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nation where jeff barker is from
### Context:
CREATE TABLE table_19730892_1 (nation VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT nation FROM table_19730892_1 WHERE name = "Jeff Barker" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fa cup apps for george green
### Context:
CREATE TABLE table_19730892_1 (fa_cup_apps VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT fa_cup_apps FROM table_19730892_1 WHERE name = "George Green" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the school that was founded in 1950
### Context:
CREATE TABLE table_1973648_1 (institution VARCHAR, founded VARCHAR) [/INST]
### Response:
SELECT institution FROM table_1973648_1 WHERE founded = 1950 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 founded for sea gulls
### Context:
CREATE TABLE table_1973648_1 (founded INTEGER, nickname VARCHAR) [/INST]
### Response:
SELECT MAX(founded) FROM table_1973648_1 WHERE nickname = "Sea Gulls" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 eagles
### Context:
CREATE TABLE table_1973648_1 (location VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT location FROM table_1973648_1 WHERE nickname = "Eagles" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 enrollment for 2007-08
### Context:
CREATE TABLE table_1973648_1 (enrollment VARCHAR, joined VARCHAR) [/INST]
### Response:
SELECT enrollment FROM table_1973648_1 WHERE joined = "2007-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:
Name the least new points for steffi graf
### Context:
CREATE TABLE table_1973321_5 (new_points INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(new_points) FROM table_1973321_5 WHERE player = "Steffi Graf" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points for champion, won in the final against amélie mauresmo
### Context:
CREATE TABLE table_1973321_5 (points INTEGER, status VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_1973321_5 WHERE status = "Champion, won in the final against Amélie Mauresmo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 further cities for slovakia and west direction
### Context:
CREATE TABLE table_197286_4 (further_cities VARCHAR, country VARCHAR, direction VARCHAR) [/INST]
### Response:
SELECT further_cities FROM table_197286_4 WHERE country = "Slovakia" AND direction = "West" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 distance from north
### Context:
CREATE TABLE table_197286_4 (distance VARCHAR, direction VARCHAR) [/INST]
### Response:
SELECT distance FROM table_197286_4 WHERE direction = "North" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 further cities for east romania
### Context:
CREATE TABLE table_197286_4 (further_cities VARCHAR, direction VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT further_cities FROM table_197286_4 WHERE direction = "East" AND country = "Romania" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 direction for debrecen
### Context:
CREATE TABLE table_197286_4 (direction VARCHAR, further_cities VARCHAR) [/INST]
### Response:
SELECT COUNT(direction) FROM table_197286_4 WHERE further_cities = "Debrecen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nickname of the students of the school founded in 1933?
### Context:
CREATE TABLE table_1973816_1 (nickname VARCHAR, founded VARCHAR) [/INST]
### Response:
SELECT nickname FROM table_1973816_1 WHERE founded = 1933 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 locations is the Saint Joseph's College of Maine located?
### Context:
CREATE TABLE table_1973816_1 (location VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT COUNT(location) FROM table_1973816_1 WHERE institution = "Saint Joseph's College of Maine" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 different dates did schools from Chestnut Hill, Massachusetts join the conference?
### Context:
CREATE TABLE table_1973842_1 (joined VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(joined) FROM table_1973842_1 WHERE location = "Chestnut Hill, Massachusetts" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 type of the school whose students' nickname is tigers?
### Context:
CREATE TABLE table_1973842_1 (type VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT type FROM table_1973842_1 WHERE nickname = "Tigers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 type of the school whose students' name is spirits?
### Context:
CREATE TABLE table_1973842_1 (type VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT type FROM table_1973842_1 WHERE nickname = "Spirits" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What school is located in Chestnut Hill, Massachusetts?
### Context:
CREATE TABLE table_1973842_1 (institution VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT institution FROM table_1973842_1 WHERE location = "Chestnut Hill, Massachusetts" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the school located in Macon, Georgia?
### Context:
CREATE TABLE table_1973842_1 (type VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT type FROM table_1973842_1 WHERE location = "Macon, Georgia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nickname of the school in Maryville, Tennessee?
### Context:
CREATE TABLE table_1973842_2 (nickname VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT nickname FROM table_1973842_2 WHERE location = "Maryville, Tennessee" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where is the school with nickname Tigers located?
### Context:
CREATE TABLE table_1973842_2 (location VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT location FROM table_1973842_2 WHERE nickname = "Tigers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nickname of the students of the school that joined the Conference in 2010?
### Context:
CREATE TABLE table_1973842_2 (nickname VARCHAR, joined VARCHAR) [/INST]
### Response:
SELECT nickname FROM table_1973842_2 WHERE joined = 2010 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was Daniel Webster College founded?
### Context:
CREATE TABLE table_1973816_2 (founded VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT founded FROM table_1973816_2 WHERE institution = "Daniel Webster College" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where is Southern Vermont College located?
### Context:
CREATE TABLE table_1973816_2 (location VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT location FROM table_1973816_2 WHERE institution = "Southern Vermont College" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what year did the school with enrollment of 650 leave?
### Context:
CREATE TABLE table_1973816_2 (left VARCHAR, enrollment VARCHAR) [/INST]
### Response:
SELECT left FROM table_1973816_2 WHERE enrollment = 650 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the number of races in the season in which the team placed on the 14th position?
### Context:
CREATE TABLE table_19741316_1 (races INTEGER, position VARCHAR) [/INST]
### Response:
SELECT MIN(races) FROM table_19741316_1 WHERE position = "14th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest number of wins of a team?
### Context:
CREATE TABLE table_19741316_1 (wins INTEGER) [/INST]
### Response:
SELECT MIN(wins) FROM table_19741316_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 institution for statesmen
### Context:
CREATE TABLE table_1974482_1 (institution VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT institution FROM table_1974482_1 WHERE nickname = "Statesmen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 institution for yellowjackets
### Context:
CREATE TABLE table_1974482_1 (institution VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT institution FROM table_1974482_1 WHERE nickname = "Yellowjackets" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 type for hobart college
### Context:
CREATE TABLE table_1974482_1 (type VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT type FROM table_1974482_1 WHERE institution = "Hobart College" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1829
### Context:
CREATE TABLE table_1974482_1 (location VARCHAR, founded VARCHAR) [/INST]
### Response:
SELECT location FROM table_1974482_1 WHERE founded = 1829 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the location of statesmen
### Context:
CREATE TABLE table_1974482_1 (location VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT location FROM table_1974482_1 WHERE nickname = "Statesmen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location was the congressional service of which the term ended in January 3, 2011?
### Context:
CREATE TABLE table_197446_1 (location VARCHAR, term_ended VARCHAR) [/INST]
### Response:
SELECT location FROM table_197446_1 WHERE term_ended = "January 3, 2011" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 branch was involved when the term began in January 3, 1985?
### Context:
CREATE TABLE table_197446_1 (branch VARCHAR, term_began VARCHAR) [/INST]
### Response:
SELECT branch FROM table_197446_1 WHERE term_began = "January 3, 1985" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What year was the congressional service elected for a term beginning on January 3, 1989?
### Context:
CREATE TABLE table_197446_1 (elected VARCHAR, term_began VARCHAR) [/INST]
### Response:
SELECT elected FROM table_197446_1 WHERE term_began = "January 3, 1989" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What group was in office when the term ended in January 3, 1993?
### Context:
CREATE TABLE table_197446_1 (office VARCHAR, term_ended VARCHAR) [/INST]
### Response:
SELECT office FROM table_197446_1 WHERE term_ended = "January 3, 1993" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 terms began when the term ended in January 3, 1989?
### Context:
CREATE TABLE table_197446_1 (term_began VARCHAR, term_ended VARCHAR) [/INST]
### Response:
SELECT COUNT(term_began) FROM table_197446_1 WHERE term_ended = "January 3, 1989" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many different total points does the couple ranked at number 5 have?
### Context:
CREATE TABLE table_19744915_22 (total VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT COUNT(total) FROM table_19744915_22 WHERE rank = 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 couple had vote percentage of 21.843%?
### Context:
CREATE TABLE table_19744915_22 (couple VARCHAR, vote_percentage VARCHAR) [/INST]
### Response:
SELECT couple FROM table_19744915_22 WHERE vote_percentage = "21.843%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 judges points did the couple ranked at number 5 have?
### Context:
CREATE TABLE table_19744915_22 (judges INTEGER, rank VARCHAR) [/INST]
### Response:
SELECT MAX(judges) FROM table_19744915_22 WHERE rank = 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 couple had less than 2.0 points from the public?
### Context:
CREATE TABLE table_19744915_22 (couple VARCHAR, public INTEGER) [/INST]
### Response:
SELECT couple FROM table_19744915_22 WHERE public < 2.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 was the total result for couple Ellery and Frankie?
### Context:
CREATE TABLE table_19744915_17 (result VARCHAR, couple VARCHAR) [/INST]
### Response:
SELECT COUNT(result) FROM table_19744915_17 WHERE couple = "Ellery and Frankie" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vote percentage is 2.111%, what was the minimum rank?
### Context:
CREATE TABLE table_19744915_17 (rank INTEGER, vote_percentage VARCHAR) [/INST]
### Response:
SELECT MIN(rank) FROM table_19744915_17 WHERE vote_percentage = "2.111%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the total is 17, what was the maximum rank amount?
### Context:
CREATE TABLE table_19744915_17 (rank INTEGER, total VARCHAR) [/INST]
### Response:
SELECT MAX(rank) FROM table_19744915_17 WHERE total = 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:
For couple Todd and Susie, what was the vote percentage?
### Context:
CREATE TABLE table_19744915_17 (vote_percentage VARCHAR, couple VARCHAR) [/INST]
### Response:
SELECT vote_percentage FROM table_19744915_17 WHERE couple = "Todd and Susie" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 9 is the rank who are the couple?
### Context:
CREATE TABLE table_19744915_18 (couple VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT couple FROM table_19744915_18 WHERE rank = 9 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When roxanne and daniel are the couple what is the highest rank?
### Context:
CREATE TABLE table_19744915_18 (rank INTEGER, couple VARCHAR) [/INST]
### Response:
SELECT MAX(rank) FROM table_19744915_18 WHERE couple = "Roxanne and Daniel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ellery and frankie are the couple what is the highest total?
### Context:
CREATE TABLE table_19744915_18 (total INTEGER, couple VARCHAR) [/INST]
### Response:
SELECT MAX(total) FROM table_19744915_18 WHERE couple = "Ellery and Frankie" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 8 is the public what are the results?
### Context:
CREATE TABLE table_19744915_18 (result VARCHAR, public VARCHAR) [/INST]
### Response:
SELECT result FROM table_19744915_18 WHERE public = 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 8 is the public and the result is safe what is the highest rank?
### Context:
CREATE TABLE table_19744915_18 (rank INTEGER, result VARCHAR, public VARCHAR) [/INST]
### Response:
SELECT MAX(rank) FROM table_19744915_18 WHERE result = "Safe" AND public = 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:
Name the karen when nicky is 2.5
### Context:
CREATE TABLE table_19744915_4 (karen VARCHAR, nicky VARCHAR) [/INST]
### Response:
SELECT karen FROM table_19744915_4 WHERE nicky = "2.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 the capacity for the school that has the Owl Athletic Complex baseball stadium?
### Context:
CREATE TABLE table_1974545_3 (capacity VARCHAR, baseball_stadium VARCHAR) [/INST]
### Response:
SELECT capacity FROM table_1974545_3 WHERE baseball_stadium = "Owl Athletic Complex" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the softball stadium for the school that has Eastern Baseball Stadium?
### Context:
CREATE TABLE table_1974545_3 (softball_stadium VARCHAR, baseball_stadium VARCHAR) [/INST]
### Response:
SELECT softball_stadium FROM table_1974545_3 WHERE baseball_stadium = "Eastern Baseball Stadium" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of UMass Boston's softball stadium?
### Context:
CREATE TABLE table_1974545_3 (softball_stadium VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT softball_stadium FROM table_1974545_3 WHERE school = "UMass Boston" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of Rhode Island College's softball stadium?
### Context:
CREATE TABLE table_1974545_3 (softball_stadium VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT softball_stadium FROM table_1974545_3 WHERE school = "Rhode Island College" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 basketball arenas are there that belong to a school with a capacity of 3,000?
### Context:
CREATE TABLE table_1974545_3 (basketball_arena VARCHAR, capacity VARCHAR) [/INST]
### Response:
SELECT COUNT(basketball_arena) FROM table_1974545_3 WHERE capacity = "3,000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the baseball stadium for the school with the Murray Center basketball arena?
### Context:
CREATE TABLE table_1974545_3 (baseball_stadium VARCHAR, basketball_arena VARCHAR) [/INST]
### Response:
SELECT baseball_stadium FROM table_1974545_3 WHERE basketball_arena = "The Murray Center" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where is the Westfield State University located?
### Context:
CREATE TABLE table_1974545_2 (location VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT location FROM table_1974545_2 WHERE institution = "Westfield 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:
When was the school in Salem, Massachusetts located?
### Context:
CREATE TABLE table_1974545_2 (founded VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT founded FROM table_1974545_2 WHERE location = "Salem, Massachusetts" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nickname of Westfield State University's students?
### Context:
CREATE TABLE table_1974545_2 (nickname VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT nickname FROM table_1974545_2 WHERE institution = "Westfield State University" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.