text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many joined when the enrollment was 1150 in Sioux City, Iowa?
### Context:
CREATE TABLE table_262508_1 (joined VARCHAR, enrollment VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT joined FROM table_262508_1 WHERE enrollment = 1150 AND location = "Sioux City, Iowa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Briar Cliff University's nickname?
### Context:
CREATE TABLE table_262508_1 (nickname VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT nickname FROM table_262508_1 WHERE institution = "Briar Cliff 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:
What is the nickname of the institution from Concordia University, Nebraska?
### Context:
CREATE TABLE table_262508_1 (nickname VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT nickname FROM table_262508_1 WHERE institution = "Concordia University, Nebraska" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the week # is Top 12, what is the result?
### Context:
CREATE TABLE table_26250253_1 (result VARCHAR, week__number VARCHAR) [/INST]
### Response:
SELECT result FROM table_26250253_1 WHERE week__number = "Top 12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many results are there with the theme Group Round?
### Context:
CREATE TABLE table_26250253_1 (result VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT COUNT(result) FROM table_26250253_1 WHERE theme = "Group Round" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 themes are there where the order # is 9?
### Context:
CREATE TABLE table_26250253_1 (theme VARCHAR, order__number VARCHAR) [/INST]
### Response:
SELECT COUNT(theme) FROM table_26250253_1 WHERE order__number = "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:
The order # is what for the week # Top 10?
### Context:
CREATE TABLE table_26250253_1 (order__number VARCHAR, week__number VARCHAR) [/INST]
### Response:
SELECT order__number FROM table_26250253_1 WHERE week__number = "Top 10" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
The original artist The Temptations has what week #?
### Context:
CREATE TABLE table_26250253_1 (week__number VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT week__number FROM table_26250253_1 WHERE original_artist = "The Temptations" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 founded for public and 780 enrollment
### Context:
CREATE TABLE table_262505_1 (founded VARCHAR, type VARCHAR, enrollment VARCHAR) [/INST]
### Response:
SELECT COUNT(founded) FROM table_262505_1 WHERE type = "Public" AND enrollment = "780" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 founded for school closed in 2005
### Context:
CREATE TABLE table_262505_1 (founded VARCHAR, current_conference VARCHAR) [/INST]
### Response:
SELECT founded FROM table_262505_1 WHERE current_conference = "school closed in 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:
what is the nickname that joined 1902 1?
### Context:
CREATE TABLE table_262527_1 (nickname VARCHAR, joined VARCHAR) [/INST]
### Response:
SELECT nickname FROM table_262527_1 WHERE joined = "1902 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 type of institution is ottawa university?
### Context:
CREATE TABLE table_262527_1 (type VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT type FROM table_262527_1 WHERE institution = "Ottawa 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:
what is the total number of nicknames for southwestern college?
### Context:
CREATE TABLE table_262527_1 (nickname VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT COUNT(nickname) FROM table_262527_1 WHERE institution = "Southwestern 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:
what type was joined in 1902 5?
### Context:
CREATE TABLE table_262527_1 (type VARCHAR, joined VARCHAR) [/INST]
### Response:
SELECT type FROM table_262527_1 WHERE joined = "1902 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 institution located in north newton, kansas?
### Context:
CREATE TABLE table_262527_1 (institution VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT institution FROM table_262527_1 WHERE location = "North Newton, Kansas" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 place that was founded in 1920
### Context:
CREATE TABLE table_262560_1 (institution VARCHAR, founded VARCHAR) [/INST]
### Response:
SELECT institution FROM table_262560_1 WHERE founded = 1920 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that joined 2007
### Context:
CREATE TABLE table_262560_1 (type VARCHAR, joined VARCHAR) [/INST]
### Response:
SELECT type FROM table_262560_1 WHERE joined = 2007 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series had 6.55 u.s. viewers (million) and were directed by pete michels
### Context:
CREATE TABLE table_26259391_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_series) FROM table_26259391_1 WHERE us_viewers__million_ = "6.55" AND directed_by = "Pete Michels" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series have production code 8acx05
### Context:
CREATE TABLE table_26259391_1 (no_in_series VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT no_in_series FROM table_26259391_1 WHERE production_code = "8ACX05" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 u.s. viewers (million) have seen a production written by chris sheridan & danny smith
### Context:
CREATE TABLE table_26259391_1 (us_viewers__million_ VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT COUNT(us_viewers__million_) FROM table_26259391_1 WHERE written_by = "Chris Sheridan & Danny Smith" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production codes were written by andrew goldberg
### Context:
CREATE TABLE table_26259391_1 (production_code VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_26259391_1 WHERE written_by = "Andrew Goldberg" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production code had original air dated february20,2011
### Context:
CREATE TABLE table_26259391_1 (production_code VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_26259391_1 WHERE original_air_date = "February20,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 school joined the conference in 1996-97 and left it in 2011-12?
### Context:
CREATE TABLE table_262560_2 (institution VARCHAR, joined VARCHAR, left VARCHAR) [/INST]
### Response:
SELECT institution FROM table_262560_2 WHERE joined = "1996-97" AND left = "2011-12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What location has a school with enrollment of 850?
### Context:
CREATE TABLE table_262560_2 (location VARCHAR, enrollment VARCHAR) [/INST]
### Response:
SELECT location FROM table_262560_2 WHERE enrollment = 850 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 schools left in 2002-03?
### Context:
CREATE TABLE table_262560_2 (location VARCHAR, left VARCHAR) [/INST]
### Response:
SELECT COUNT(location) FROM table_262560_2 WHERE left = "2002-03" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which city has a school where the nickname is Pioneers?
### Context:
CREATE TABLE table_262560_2 (location VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT location FROM table_262560_2 WHERE nickname = "Pioneers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What type of school has the nickname the Oilers?
### Context:
CREATE TABLE table_262560_2 (type VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT type FROM table_262560_2 WHERE nickname = "Oilers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 locations have a school that is nicknamed the Panthers?
### Context:
CREATE TABLE table_262560_2 (location VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT COUNT(location) FROM table_262560_2 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 sprints classifications were associated with an overall winner of Joaquin Rodriguez?
### Context:
CREATE TABLE table_26257223_13 (sprints_classification VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT COUNT(sprints_classification) FROM table_26257223_13 WHERE winner = "Joaquin Rodriguez" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 led team classification during the stage whose winner was Chris Horner?
### Context:
CREATE TABLE table_26257223_13 (team_classification VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT team_classification FROM table_26257223_13 WHERE winner = "Chris Horner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 led sprints classification when Chris Horner led general classification?
### Context:
CREATE TABLE table_26257223_13 (sprints_classification VARCHAR, general_classification VARCHAR) [/INST]
### Response:
SELECT sprints_classification FROM table_26257223_13 WHERE general_classification = "Chris Horner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 report for the Belgian Grand Prix?
### Context:
CREATE TABLE table_26258348_4 (report VARCHAR, grand_prix VARCHAR) [/INST]
### Response:
SELECT report FROM table_26258348_4 WHERE grand_prix = "Belgian grand_prix" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many winning constructor catagories are there when Mark Webber had the fastest lap?
### Context:
CREATE TABLE table_26258348_4 (winning_constructor VARCHAR, fastest_lap VARCHAR) [/INST]
### Response:
SELECT COUNT(winning_constructor) FROM table_26258348_4 WHERE fastest_lap = "Mark Webber" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pole position in the Canadian Grand Prix?
### Context:
CREATE TABLE table_26258348_4 (pole_position VARCHAR, grand_prix VARCHAR) [/INST]
### Response:
SELECT pole_position FROM table_26258348_4 WHERE grand_prix = "Canadian grand_prix" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What year was the institution of St. Catharine College founded?
### Context:
CREATE TABLE table_262534_2 (founded INTEGER, institution VARCHAR) [/INST]
### Response:
SELECT MIN(founded) FROM table_262534_2 WHERE institution = "St. Catharine 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:
What is the enrollment for the institution that is located in Lebanon, Tennessee (20,235)?
### Context:
CREATE TABLE table_262534_2 (enrollment VARCHAR, location__population_ VARCHAR) [/INST]
### Response:
SELECT enrollment FROM table_262534_2 WHERE location__population_ = "Lebanon, Tennessee (20,235)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the location and population of the institution called Bluefield College?
### Context:
CREATE TABLE table_262534_2 (location__population_ VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT location__population_ FROM table_262534_2 WHERE institution = "Bluefield 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 times was the result is hired by serepisos?
### Context:
CREATE TABLE table_26263322_1 (hometown VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT COUNT(hometown) FROM table_26263322_1 WHERE result = "Hired by Serepisos" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 age when the result is fired in week 8
### Context:
CREATE TABLE table_26263322_1 (age INTEGER, result VARCHAR) [/INST]
### Response:
SELECT MIN(age) FROM table_26263322_1 WHERE result = "Fired in week 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:
What is the background of the candidate daniel phillips?
### Context:
CREATE TABLE table_26263322_1 (background VARCHAR, candidate VARCHAR) [/INST]
### Response:
SELECT background FROM table_26263322_1 WHERE candidate = "Daniel Phillips" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the background self-employed - media agency?
### Context:
CREATE TABLE table_26263322_1 (candidate VARCHAR, background VARCHAR) [/INST]
### Response:
SELECT COUNT(candidate) FROM table_26263322_1 WHERE background = "Self-employed - media agency" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the background university student?
### Context:
CREATE TABLE table_26263322_1 (result VARCHAR, background VARCHAR) [/INST]
### Response:
SELECT COUNT(result) FROM table_26263322_1 WHERE background = "University Student" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 candidate whose age is 27?
### Context:
CREATE TABLE table_26263322_1 (candidate VARCHAR, age VARCHAR) [/INST]
### Response:
SELECT candidate FROM table_26263322_1 WHERE age = 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:
In Round 6, who is the winning team?
### Context:
CREATE TABLE table_26267607_2 (winning_team VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT winning_team FROM table_26267607_2 WHERE round = "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:
On what date is the winning team Abt Sportsline and pole position Mattias Ekström in the Circuit Ricardo Tormo , Valencia?
### Context:
CREATE TABLE table_26267607_2 (date VARCHAR, circuit VARCHAR, winning_team VARCHAR, pole_position VARCHAR) [/INST]
### Response:
SELECT date FROM table_26267607_2 WHERE winning_team = "Abt Sportsline" AND pole_position = "Mattias Ekström" AND circuit = "circuit Ricardo Tormo , Valencia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Round 1 is in what circuit?
### Context:
CREATE TABLE table_26267607_2 (circuit VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT circuit FROM table_26267607_2 WHERE round = "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:
In the circuit Showevent Olympiastadion München, where the winning driver is Bruno Spengler, what is the pole position?
### Context:
CREATE TABLE table_26267607_2 (pole_position VARCHAR, winning_driver VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT pole_position FROM table_26267607_2 WHERE winning_driver = "Bruno Spengler" AND circuit = "Showevent Olympiastadion München" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the fastest lap is Mike Rockenfeller, who is the winning driver?
### Context:
CREATE TABLE table_26267607_2 (winning_driver VARCHAR, fastest_lap VARCHAR) [/INST]
### Response:
SELECT winning_driver FROM table_26267607_2 WHERE fastest_lap = "Mike Rockenfeller" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many dates are there in round 3?
### Context:
CREATE TABLE table_26267607_2 (date VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_26267607_2 WHERE round = "3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least series number written by brenda hampton and directed by burt brinckerhoff
### Context:
CREATE TABLE table_26261072_1 (series__number INTEGER, written_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT MIN(series__number) FROM table_26261072_1 WHERE written_by = "Brenda Hampton" AND directed_by = "Burt Brinckerhoff" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the original air date for series number 15
### Context:
CREATE TABLE table_26261072_1 (original_air_date VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_26261072_1 WHERE series__number = 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:
What team was Pearson on when his winnings were $5,200?
### Context:
CREATE TABLE table_2626564_2 (team_s_ VARCHAR, winnings VARCHAR) [/INST]
### Response:
SELECT team_s_ FROM table_2626564_2 WHERE winnings = "$5,200" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 starts did Pearson have when his winnings were $101,438?
### Context:
CREATE TABLE table_2626564_2 (starts VARCHAR, winnings VARCHAR) [/INST]
### Response:
SELECT starts FROM table_2626564_2 WHERE winnings = "$101,438" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 top 10's did Pearson have the year he was in 8th position?
### Context:
CREATE TABLE table_2626564_2 (top_10 INTEGER, position VARCHAR) [/INST]
### Response:
SELECT MIN(top_10) FROM table_2626564_2 WHERE position = "8th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title of the episode daphne field wrote?
### Context:
CREATE TABLE table_2626495_1 (title VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_2626495_1 WHERE written_by = "Daphne Field" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
who directed the episode james clavell wrote?
### Context:
CREATE TABLE table_2626495_1 (directed_by VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_2626495_1 WHERE written_by = "James Clavell" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the episode directed by maury geraghty originally aired?
### Context:
CREATE TABLE table_2626495_1 (originalairdate VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT COUNT(originalairdate) FROM table_2626495_1 WHERE directed_by = "Maury Geraghty" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Film Festival had participants/recipients of Isao Tomita?
### Context:
CREATE TABLE table_26282750_1 (film_festival VARCHAR, participants_recipients VARCHAR) [/INST]
### Response:
SELECT film_festival FROM table_26282750_1 WHERE participants_recipients = "Isao Tomita" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the participant or recipient for the Best Female Actor?
### Context:
CREATE TABLE table_26282750_1 (participants_recipients VARCHAR, category VARCHAR) [/INST]
### Response:
SELECT participants_recipients FROM table_26282750_1 WHERE category = "Best Female Actor" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date was the participant/recipient takakazu watanabe?
### Context:
CREATE TABLE table_26282750_1 (date_of_ceremony VARCHAR, participants_recipients VARCHAR) [/INST]
### Response:
SELECT date_of_ceremony FROM table_26282750_1 WHERE participants_recipients = "Takakazu Watanabe" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 film festival had the Best Male Actor?
### Context:
CREATE TABLE table_26282750_1 (film_festival VARCHAR, category VARCHAR) [/INST]
### Response:
SELECT film_festival FROM table_26282750_1 WHERE category = "Best Male Actor" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 category was the the participant/recipient otōto?
### Context:
CREATE TABLE table_26282750_1 (category VARCHAR, participants_recipients VARCHAR) [/INST]
### Response:
SELECT category FROM table_26282750_1 WHERE participants_recipients = "Otōto" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 performance order of the velasco brothers
### Context:
CREATE TABLE table_26267849_11 (performance_order VARCHAR, artist VARCHAR) [/INST]
### Response:
SELECT performance_order FROM table_26267849_11 WHERE artist = "Velasco Brothers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 semi final results for 12 performance order
### Context:
CREATE TABLE table_26267849_11 (semi_finals_result VARCHAR, performance_order VARCHAR) [/INST]
### Response:
SELECT COUNT(semi_finals_result) FROM table_26267849_11 WHERE performance_order = 12 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the performance order for 2.15%
### Context:
CREATE TABLE table_26267849_11 (performance_order VARCHAR, percentage_of_votes VARCHAR) [/INST]
### Response:
SELECT performance_order FROM table_26267849_11 WHERE percentage_of_votes = "2.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 the percentage of votes for 3rd finished
### Context:
CREATE TABLE table_26267849_11 (percentage_of_votes VARCHAR, finished VARCHAR) [/INST]
### Response:
SELECT percentage_of_votes FROM table_26267849_11 WHERE finished = "3rd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the percentage of votes for violinist
### Context:
CREATE TABLE table_26267849_11 (percentage_of_votes VARCHAR, act VARCHAR) [/INST]
### Response:
SELECT percentage_of_votes FROM table_26267849_11 WHERE act = "Violinist" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hometown where the average age is 16
### Context:
CREATE TABLE table_26267849_2 (hometown VARCHAR, age_s_ VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_26267849_2 WHERE age_s_ = "16" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the population in 2011 for the name Beaubassin East?
### Context:
CREATE TABLE table_26321719_1 (population__2011_ VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT population__2011_ FROM table_26321719_1 WHERE name = "Beaubassin East" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every population density if name is Beaubassin East?
### Context:
CREATE TABLE table_26321719_1 (population_density VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT population_density FROM table_26321719_1 WHERE name = "Beaubassin East" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every value for area for population density of 100.8?
### Context:
CREATE TABLE table_26321719_1 (area__km²_ VARCHAR, population_density VARCHAR) [/INST]
### Response:
SELECT area__km²_ FROM table_26321719_1 WHERE population_density = "100.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:
What is every value for change% for area of 1835.01?
### Context:
CREATE TABLE table_26321719_1 (change___percentage_ VARCHAR, area__km²_ VARCHAR) [/INST]
### Response:
SELECT change___percentage_ FROM table_26321719_1 WHERE area__km²_ = "1835.01" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 names correspond to an area of 8.12?
### Context:
CREATE TABLE table_26321719_1 (name VARCHAR, area__km²_ VARCHAR) [/INST]
### Response:
SELECT COUNT(name) FROM table_26321719_1 WHERE area__km²_ = "8.12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every value for area if change% is -3.6?
### Context:
CREATE TABLE table_26321719_1 (area__km²_ VARCHAR, change___percentage_ VARCHAR) [/INST]
### Response:
SELECT area__km²_ FROM table_26321719_1 WHERE change___percentage_ = "-3.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 hdi 2012 for dominica
### Context:
CREATE TABLE table_26313243_1 (hdi_2012 VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT hdi_2012 FROM table_26313243_1 WHERE country = "Dominica" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fsi 2012 for 42.7 cpi
### Context:
CREATE TABLE table_26313243_1 (fsi_2012 VARCHAR, cpi_2012 VARCHAR) [/INST]
### Response:
SELECT fsi_2012 FROM table_26313243_1 WHERE cpi_2012 = "42.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:
Name the gdp per capita for haiti
### Context:
CREATE TABLE table_26313243_1 (gdp__ppp__per_capita___intl_$___2011 VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT gdp__ppp__per_capita___intl_$___2011 FROM table_26313243_1 WHERE country = "Haiti" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lakpa tashi sherpa ( bhu ) w pts 12-5 in round of 32?
### Context:
CREATE TABLE table_26335424_86 (round_of_16 VARCHAR, round_of_32 VARCHAR) [/INST]
### Response:
SELECT COUNT(round_of_16) FROM table_26335424_86 WHERE round_of_32 = "Lakpa Tashi Sherpa ( BHU ) W PTS 12-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:
If the quarterfinals was nabil talal ( jor ) l pts 3-3, who was the athlete?
### Context:
CREATE TABLE table_26335424_86 (athlete VARCHAR, quarterfinals VARCHAR) [/INST]
### Response:
SELECT athlete FROM table_26335424_86 WHERE quarterfinals = "Nabil Talal ( JOR ) L PTS 3-3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the event was bantamweight (-63kg), and the quarterfinals did not advance, then who was in round of 32?
### Context:
CREATE TABLE table_26335424_86 (round_of_32 VARCHAR, quarterfinals VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT round_of_32 FROM table_26335424_86 WHERE quarterfinals = "Did not advance" AND event = "Bantamweight (-63kg)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round of 16 was yulius fernando ( ina ) l pts 5-6, what was the semifinals?
### Context:
CREATE TABLE table_26335424_86 (semifinals VARCHAR, round_of_16 VARCHAR) [/INST]
### Response:
SELECT semifinals FROM table_26335424_86 WHERE round_of_16 = "Yulius Fernando ( INA ) L PTS 5-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:
If round of 32 is sawatvilay phimmasone ( lao ) w pts 9-7, what was the event?
### Context:
CREATE TABLE table_26335424_86 (event VARCHAR, round_of_32 VARCHAR) [/INST]
### Response:
SELECT event FROM table_26335424_86 WHERE round_of_32 = "Sawatvilay Phimmasone ( LAO ) W PTS 9-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 date was the district incumbent Saxby Chambliss elected?
### Context:
CREATE TABLE table_26336739_1 (elected INTEGER, incumbent VARCHAR) [/INST]
### Response:
SELECT MAX(elected) FROM table_26336739_1 WHERE incumbent = "Saxby Chambliss" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the district with the incumbent Bob Barr?
### Context:
CREATE TABLE table_26336739_1 (status VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT status FROM table_26336739_1 WHERE incumbent = "Bob Barr" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 elected catagories are there for the district with Saxby Chambliss as the incumbent?
### Context:
CREATE TABLE table_26336739_1 (elected VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT COUNT(elected) FROM table_26336739_1 WHERE incumbent = "Saxby Chambliss" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result for the district with an election in 1986
### Context:
CREATE TABLE table_26336739_1 (result VARCHAR, elected VARCHAR) [/INST]
### Response:
SELECT result FROM table_26336739_1 WHERE 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:
how many party classifications are there for the incumbent Mac Collins?
### Context:
CREATE TABLE table_26336739_1 (party VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT COUNT(party) FROM table_26336739_1 WHERE incumbent = "Mac Collins" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the engine family MaxxForce 11, what is the years produced?
### Context:
CREATE TABLE table_26352332_4 (years_produced VARCHAR, engine_family VARCHAR) [/INST]
### Response:
SELECT years_produced FROM table_26352332_4 WHERE engine_family = "MaxxForce 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:
The cylinder layout v8 is produced in what years?
### Context:
CREATE TABLE table_26352332_4 (years_produced VARCHAR, cylinder_layout VARCHAR) [/INST]
### Response:
SELECT years_produced FROM table_26352332_4 WHERE cylinder_layout = "V8" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
The engine family MaxxForce 5 in the years produced 2007-current, have what cylinder layout?
### Context:
CREATE TABLE table_26352332_4 (cylinder_layout VARCHAR, years_produced VARCHAR, engine_family VARCHAR) [/INST]
### Response:
SELECT cylinder_layout FROM table_26352332_4 WHERE years_produced = "2007-current" AND engine_family = "MaxxForce 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:
Where the displacement(s) is 10.5L is, what is the engine family?
### Context:
CREATE TABLE table_26352332_4 (engine_family VARCHAR, displacement_s_ VARCHAR) [/INST]
### Response:
SELECT engine_family FROM table_26352332_4 WHERE displacement_s_ = "10.5L" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
The displacement(s) 466 cubic inches (7.6L), has what engine family?
### Context:
CREATE TABLE table_26352332_4 (engine_family VARCHAR, displacement_s_ VARCHAR) [/INST]
### Response:
SELECT engine_family FROM table_26352332_4 WHERE displacement_s_ = "466 cubic inches (7.6L)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 coinage metal for a KM number of S75?
### Context:
CREATE TABLE table_26336060_19 (coinage_metal VARCHAR, km_number VARCHAR) [/INST]
### Response:
SELECT coinage_metal FROM table_26336060_19 WHERE km_number = "S75" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date for a mintage of 150 and a KM number of S66?
### Context:
CREATE TABLE table_26336060_19 (date INTEGER, mintage VARCHAR, km_number VARCHAR) [/INST]
### Response:
SELECT MAX(date) FROM table_26336060_19 WHERE mintage = 150 AND km_number = "S66" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mintage for a location of Sion and a denomination of 00500 500 Francs?
### Context:
CREATE TABLE table_26336060_19 (mintage VARCHAR, location VARCHAR, denomination VARCHAR) [/INST]
### Response:
SELECT mintage FROM table_26336060_19 WHERE location = "Sion" AND denomination = "00500 500 francs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 coinage metal for KM numbers of S45?
### Context:
CREATE TABLE table_26336060_19 (coinage_metal VARCHAR, km_number VARCHAR) [/INST]
### Response:
SELECT coinage_metal FROM table_26336060_19 WHERE km_number = "S45" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 coinage metal for a location of Fribourg and denomination of 00005 5 Francs?
### Context:
CREATE TABLE table_26336060_19 (coinage_metal VARCHAR, location VARCHAR, denomination VARCHAR) [/INST]
### Response:
SELECT coinage_metal FROM table_26336060_19 WHERE location = "Fribourg" AND denomination = "00005 5 francs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 under-17 was Antonio Glez, who was the under-13?
### Context:
CREATE TABLE table_26368963_1 (under_13 VARCHAR, under_17 VARCHAR) [/INST]
### Response:
SELECT under_13 FROM table_26368963_1 WHERE under_17 = "Antonio Glez" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the year 2009 who was the under-13?
### Context:
CREATE TABLE table_26368963_1 (under_13 VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT under_13 FROM table_26368963_1 WHERE year = 2009 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When Julian Illingworth was the under-19, who was the under-15?
### Context:
CREATE TABLE table_26368963_1 (under_15 VARCHAR, under_19 VARCHAR) [/INST]
### Response:
SELECT under_15 FROM table_26368963_1 WHERE under_19 = "Julian Illingworth" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.