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:
Name the number of wheel arrangement when class is d14
### Context:
CREATE TABLE table_15608800_2 (wheel_arrangement VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT COUNT(wheel_arrangement) FROM table_15608800_2 WHERE class = "D14" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most number of pyewipe
### Context:
CREATE TABLE table_15608800_2 (number_at_pyewipe INTEGER) [/INST]
### Response:
SELECT MAX(number_at_pyewipe) FROM table_15608800_2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number at march when class is j66
### Context:
CREATE TABLE table_15608800_2 (number_at_march VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT number_at_march FROM table_15608800_2 WHERE class = "J66" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 railway when class is j19
### Context:
CREATE TABLE table_15608800_2 (railway VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT railway FROM table_15608800_2 WHERE class = "J19" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 railway when class is j15
### Context:
CREATE TABLE table_15608800_2 (railway VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT railway FROM table_15608800_2 WHERE class = "J15" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 years in orlando for penn state
### Context:
CREATE TABLE table_15621965_1 (years_in_orlando VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT years_in_orlando FROM table_15621965_1 WHERE school_club_team = "Penn State" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationality of number 9
### Context:
CREATE TABLE table_15621965_1 (nationality VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_15621965_1 WHERE no = 9 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the years in orlando for forward
### Context:
CREATE TABLE table_15621965_10 (years_in_orlando VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT years_in_orlando FROM table_15621965_10 WHERE position = "Forward" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players from arizona
### Context:
CREATE TABLE table_15621965_10 (player VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT COUNT(player) FROM table_15621965_10 WHERE school_club_team = "Arizona" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 years in orlando that the player from concord hs was in
### Context:
CREATE TABLE table_15621965_10 (years_in_orlando VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT years_in_orlando FROM table_15621965_10 WHERE school_club_team = "Concord HS" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players for louisiana state
### Context:
CREATE TABLE table_15621965_14 (player VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT COUNT(player) FROM table_15621965_14 WHERE school_club_team = "Louisiana State" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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/club team for kevin ollie
### Context:
CREATE TABLE table_15621965_14 (school_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_15621965_14 WHERE player = "Kevin Ollie" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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/club team for jawann oldham
### Context:
CREATE TABLE table_15621965_14 (school_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_15621965_14 WHERE player = "Jawann Oldham" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player for seattle
### Context:
CREATE TABLE table_15621965_14 (player VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT player FROM table_15621965_14 WHERE school_club_team = "Seattle" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationality of th player who's school is Clemson?
### Context:
CREATE TABLE table_15621965_16 (nationality VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_15621965_16 WHERE school_club_team = "Clemson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 years did the player who's school is Clemson spend in Orlando?
### Context:
CREATE TABLE table_15621965_16 (years_in_orlando VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT years_in_orlando FROM table_15621965_16 WHERE school_club_team = "Clemson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number of the player who attended Delta State?
### Context:
CREATE TABLE table_15621965_16 (no INTEGER, school_club_team VARCHAR) [/INST]
### Response:
SELECT MAX(no) FROM table_15621965_16 WHERE school_club_team = "Delta State" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 plays the position of forward-center?
### Context:
CREATE TABLE table_15621965_2 (player VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT player FROM table_15621965_2 WHERE position = "Forward-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:
During what years did Chris Corchiani play in Orlando?
### Context:
CREATE TABLE table_15621965_3 (years_in_orlando VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT years_in_orlando FROM table_15621965_3 WHERE player = "Chris Corchiani" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 face value is 42¢, what was the issue's date?
### Context:
CREATE TABLE table_15635768_1 (date_of_issue VARCHAR, face_value VARCHAR) [/INST]
### Response:
SELECT date_of_issue FROM table_15635768_1 WHERE face_value = "42¢" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location has the ecosystem of kelp forest?
### Context:
CREATE TABLE table_15635768_1 (place_of_issue VARCHAR, ecosystem VARCHAR) [/INST]
### Response:
SELECT place_of_issue FROM table_15635768_1 WHERE ecosystem = "Kelp Forest" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stamps have a face value of 37¢ and were printed in the banknote corporation of america?
### Context:
CREATE TABLE table_15635768_1 (no_stamps_in_sheet VARCHAR, face_value VARCHAR, printer VARCHAR) [/INST]
### Response:
SELECT COUNT(no_stamps_in_sheet) FROM table_15635768_1 WHERE face_value = "37¢" AND printer = "Banknote Corporation of America" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 printer of Estes Park, Colorado?
### Context:
CREATE TABLE table_15635768_1 (printer VARCHAR, place_of_issue VARCHAR) [/INST]
### Response:
SELECT printer FROM table_15635768_1 WHERE place_of_issue = "Estes Park, Colorado" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stamp was 39¢, who was the printer?
### Context:
CREATE TABLE table_15635768_1 (printer VARCHAR, face_value VARCHAR) [/INST]
### Response:
SELECT printer FROM table_15635768_1 WHERE face_value = "39¢" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 values of attendance for the El Paso, TX location?
### Context:
CREATE TABLE table_15647838_3 (attendance VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_15647838_3 WHERE location = "El Paso, TX" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many values for result correspond to attendance of 74,111?
### Context:
CREATE TABLE table_15647838_3 (result VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT COUNT(result) FROM table_15647838_3 WHERE attendance = "74,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:
How many locations have the Sun Life Stadium?
### Context:
CREATE TABLE table_15647838_3 (location VARCHAR, stadium VARCHAR) [/INST]
### Response:
SELECT COUNT(location) FROM table_15647838_3 WHERE stadium = "Sun Life 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 highest season for a bowl game of the 1993 Independence Bowl?
### Context:
CREATE TABLE table_15647838_3 (season INTEGER, bowl_game VARCHAR) [/INST]
### Response:
SELECT MAX(season) FROM table_15647838_3 WHERE bowl_game = "1993 Independence Bowl" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 # in Atlanta, GA with the Georgia Bulldogs as an opponent?
### Context:
CREATE TABLE table_15647838_3 (_number INTEGER, location VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT MIN(_number) FROM table_15647838_3 WHERE location = "Atlanta, GA" AND opponent = "Georgia Bulldogs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many values for attendance correspond to the 1986 Peach Bowl?
### Context:
CREATE TABLE table_15647838_3 (attendance VARCHAR, bowl_game VARCHAR) [/INST]
### Response:
SELECT COUNT(attendance) FROM table_15647838_3 WHERE bowl_game = "1986 Peach Bowl" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 interview subject in the 2-86 issue?
### Context:
CREATE TABLE table_1566848_7 (interview_subject VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT interview_subject FROM table_1566848_7 WHERE date = "2-86" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who were all the pictorials when the centerfold model was Rebekka Armstrong?
### Context:
CREATE TABLE table_1566848_7 (pictorials VARCHAR, centerfold_model VARCHAR) [/INST]
### Response:
SELECT COUNT(pictorials) FROM table_1566848_7 WHERE centerfold_model = "Rebekka Armstrong" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who were the pictorials when the centerfold model was Ava Fabian?
### Context:
CREATE TABLE table_1566848_7 (pictorials VARCHAR, centerfold_model VARCHAR) [/INST]
### Response:
SELECT pictorials FROM table_1566848_7 WHERE centerfold_model = "Ava Fabian" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 interview subject when the centerfold model was Sherry Arnett?
### Context:
CREATE TABLE table_1566848_7 (interview_subject VARCHAR, centerfold_model VARCHAR) [/INST]
### Response:
SELECT COUNT(interview_subject) FROM table_1566848_7 WHERE centerfold_model = "Sherry Arnett" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cover model in the 7-86 issue?
### Context:
CREATE TABLE table_1566848_7 (cover_model VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT cover_model FROM table_1566848_7 WHERE date = "7-86" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the date of the issue where the pictorials is of Female s disk jockey?
### Context:
CREATE TABLE table_1566848_7 (date VARCHAR, pictorials VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_1566848_7 WHERE pictorials = "Female s disk jockey" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 COVER MODEL OF PLAYBOY WHERE THE CENTERFOLD MODEL WAS SHALLAN MEIERS?
### Context:
CREATE TABLE table_1566852_3 (cover_model VARCHAR, centerfold_model VARCHAR) [/INST]
### Response:
SELECT cover_model FROM table_1566852_3 WHERE centerfold_model = "Shallan Meiers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ISSUE WHERE NICOLE NARAIN WAS THE CENTERFOLD MODEL, WHO WAS THE INTERVIEW SUBJECT?
### Context:
CREATE TABLE table_1566852_3 (interview_subject VARCHAR, centerfold_model VARCHAR) [/INST]
### Response:
SELECT interview_subject FROM table_1566852_3 WHERE centerfold_model = "Nicole Narain" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ISSUES WAS HARRISON FORD THE INTERVIEW SUBJECT?
### Context:
CREATE TABLE table_1566852_3 (date VARCHAR, interview_subject VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_1566852_3 WHERE interview_subject = "Harrison Ford" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 featured in 20 questions when the subject of the interview was Mike Piazza?
### Context:
CREATE TABLE table_1566852_4 (interview_subject VARCHAR) [/INST]
### Response:
SELECT 20 AS _questions FROM table_1566852_4 WHERE interview_subject = "Mike Piazza" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 featured in 20 questions on 4-03?
### Context:
CREATE TABLE table_1566852_4 (date VARCHAR) [/INST]
### Response:
SELECT 20 AS _questions FROM table_1566852_4 WHERE date = "4-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:
On what deate was the centerfold featured Luci Victoria?
### Context:
CREATE TABLE table_1566852_4 (date VARCHAR, centerfold_model VARCHAR) [/INST]
### Response:
SELECT date FROM table_1566852_4 WHERE centerfold_model = "Luci Victoria" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 centerfold models were there when the cover model was Torrie Wilson?
### Context:
CREATE TABLE table_1566852_4 (centerfold_model VARCHAR, cover_model VARCHAR) [/INST]
### Response:
SELECT COUNT(centerfold_model) FROM table_1566852_4 WHERE cover_model = "Torrie Wilson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pictorial in the 11-98 issue?
### Context:
CREATE TABLE table_1566850_9 (pictorials VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT pictorials FROM table_1566850_9 WHERE date = "11-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:
How many centerfolds were in the 9-98 issue?
### Context:
CREATE TABLE table_1566850_9 (centerfold_model VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(centerfold_model) FROM table_1566850_9 WHERE date = "9-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:
Who was interviewed in the 8-98 issue?
### Context:
CREATE TABLE table_1566850_9 (interview_subject VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT interview_subject FROM table_1566850_9 WHERE date = "8-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:
Who was asked 20 questions in the issue where the centerfold is Marliece Andrada?
### Context:
CREATE TABLE table_1566850_9 (centerfold_model VARCHAR) [/INST]
### Response:
SELECT 20 AS _questions FROM table_1566850_9 WHERE centerfold_model = "Marliece Andrada" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 asked 20 questions in the issue where the cover model is Linda Brava?
### Context:
CREATE TABLE table_1566850_9 (cover_model VARCHAR) [/INST]
### Response:
SELECT 20 AS _questions FROM table_1566850_9 WHERE cover_model = "Linda Brava" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Jillian Grace the centerfold model?
### Context:
CREATE TABLE table_1566852_6 (date VARCHAR, centerfold_model VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_1566852_6 WHERE centerfold_model = "Jillian Grace" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the interview subjects on those occasions where Bai Ling was the cover model?
### Context:
CREATE TABLE table_1566852_6 (interview_subject VARCHAR, cover_model VARCHAR) [/INST]
### Response:
SELECT interview_subject FROM table_1566852_6 WHERE cover_model = "Bai Ling" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total interview subjects wererthere when the centerfold model was Tamara Witmer?
### Context:
CREATE TABLE table_1566852_6 (interview_subject VARCHAR, centerfold_model VARCHAR) [/INST]
### Response:
SELECT COUNT(interview_subject) FROM table_1566852_6 WHERE centerfold_model = "Tamara Witmer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 subject of 20 questions in those issues where Jillian Grace is the centerfold model?
### Context:
CREATE TABLE table_1566852_6 (centerfold_model VARCHAR) [/INST]
### Response:
SELECT 20 AS _questions FROM table_1566852_6 WHERE centerfold_model = "Jillian Grace" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who were the cover model(s) on the 4-05 issue?
### Context:
CREATE TABLE table_1566852_6 (cover_model VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT cover_model FROM table_1566852_6 WHERE date = "4-05" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the date for oliver stone
### Context:
CREATE TABLE table_1566852_5 (date VARCHAR, interview_subject VARCHAR) [/INST]
### Response:
SELECT date FROM table_1566852_5 WHERE interview_subject = "Oliver Stone" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 20 questions for derek jeter
### Context:
CREATE TABLE table_1566852_5 (interview_subject VARCHAR) [/INST]
### Response:
SELECT 20 AS _questions FROM table_1566852_5 WHERE interview_subject = "Derek Jeter" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 20 questions for 8-04
### Context:
CREATE TABLE table_1566852_5 (date VARCHAR) [/INST]
### Response:
SELECT 20 AS _questions FROM table_1566852_5 WHERE date = "8-04" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 open cup for 2010
### Context:
CREATE TABLE table_15672920_1 (open_cup VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT open_cup FROM table_15672920_1 WHERE year = 2010 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
IN WHAT ISSUE OF PLAYBOY WAS SHEPARD SMITH INTERVIEWED?
### Context:
CREATE TABLE table_1566852_7 (date VARCHAR, interview_subject VARCHAR) [/INST]
### Response:
SELECT date FROM table_1566852_7 WHERE interview_subject = "Shepard 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:
HOW MANY MODELS WERE ON THE COVER OF THE ISSUE WHERE THE CENTERFOLD WAS STEPHANIE LARIMORE?
### Context:
CREATE TABLE table_1566852_7 (cover_model VARCHAR, centerfold_model VARCHAR) [/INST]
### Response:
SELECT COUNT(cover_model) FROM table_1566852_7 WHERE centerfold_model = "Stephanie Larimore" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ISSUE WITH KARA MONACO ON THE COVER, WHO WAS THE INTERVIEW SUBJECT?
### Context:
CREATE TABLE table_1566852_7 (interview_subject VARCHAR, cover_model VARCHAR) [/INST]
### Response:
SELECT interview_subject FROM table_1566852_7 WHERE cover_model = "Kara Monaco" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 LUDACRIS THE INTERVIEW SUBJECT FOR THE 20 QUESTIONS COLUMN?
### Context:
CREATE TABLE table_1566852_7 (interview_subject VARCHAR) [/INST]
### Response:
SELECT COUNT(20 AS _questions) FROM table_1566852_7 WHERE interview_subject = "Ludacris" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 arabic capital name wher the english capital name is manama?
### Context:
CREATE TABLE table_15694696_1 (arabic_capital_name VARCHAR, english_capital_name VARCHAR) [/INST]
### Response:
SELECT arabic_capital_name FROM table_15694696_1 WHERE english_capital_name = "Manama" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 arabic capital name where the english capital name is beirut?
### Context:
CREATE TABLE table_15694696_1 (arabic_capital_name VARCHAR, english_capital_name VARCHAR) [/INST]
### Response:
SELECT arabic_capital_name FROM table_15694696_1 WHERE english_capital_name = "Beirut" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank for the rating 4.4?
### Context:
CREATE TABLE table_15681686_4 (rank__night_ VARCHAR, rating VARCHAR) [/INST]
### Response:
SELECT rank__night_ FROM table_15681686_4 WHERE rating = "4.4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the rating where the rank is 48?
### Context:
CREATE TABLE table_15681686_4 (rating VARCHAR, rank__week_ VARCHAR) [/INST]
### Response:
SELECT rating / SHARE(18 - 49) FROM table_15681686_4 WHERE rank__week_ = "48" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank where the rank is 58?
### Context:
CREATE TABLE table_15681686_4 (rank__timeslot_ VARCHAR, rank__week_ VARCHAR) [/INST]
### Response:
SELECT COUNT(rank__timeslot_) FROM table_15681686_4 WHERE rank__week_ = "58" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank has viewers at 6.45?
### Context:
CREATE TABLE table_15681686_4 (rank__week_ VARCHAR, viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT rank__week_ FROM table_15681686_4 WHERE viewers__millions_ = "6.45" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank where viewers is 9.38?
### Context:
CREATE TABLE table_15681686_4 (rank__timeslot_ VARCHAR, viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT COUNT(rank__timeslot_) FROM table_15681686_4 WHERE viewers__millions_ = "9.38" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 service pattern sydenham then fast to norwood junction?
### Context:
CREATE TABLE table_1569516_1 (destination VARCHAR, service_pattern VARCHAR) [/INST]
### Response:
SELECT destination FROM table_1569516_1 WHERE service_pattern = "Sydenham then fast to Norwood Junction" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 platforms have a southern opertator and the pattern is all stations via clapham junction?
### Context:
CREATE TABLE table_1569516_1 (platform VARCHAR, operator VARCHAR, service_pattern VARCHAR) [/INST]
### Response:
SELECT COUNT(platform) FROM table_1569516_1 WHERE operator = "Southern" AND service_pattern = "All stations via Clapham Junction" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 London Bridge is the destination, what is the frequency?
### Context:
CREATE TABLE table_1569516_1 (frequency__per_hour_ VARCHAR, destination VARCHAR) [/INST]
### Response:
SELECT frequency__per_hour_ FROM table_1569516_1 WHERE destination = "London Bridge" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 London Bridge is the destination, how many lines are there?
### Context:
CREATE TABLE table_1569516_1 (line VARCHAR, destination VARCHAR) [/INST]
### Response:
SELECT COUNT(line) FROM table_1569516_1 WHERE destination = "London Bridge" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 playoff advancement during the year 1998?
### Context:
CREATE TABLE table_1570003_2 (playoffs VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT playoffs FROM table_1570003_2 WHERE year = 1998 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
During 2003 what was open cup qualifying status?
### Context:
CREATE TABLE table_1570003_2 (open_cup VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT open_cup FROM table_1570003_2 WHERE year = 2003 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the most recent year where team made it to 2nd round of the Open Cup?
### Context:
CREATE TABLE table_1570003_2 (year INTEGER, open_cup VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_1570003_2 WHERE open_cup = "2nd 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:
Name the margin of victory when the number is 15
### Context:
CREATE TABLE table_1569625_1 (margin_of_victory VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT margin_of_victory FROM table_1569625_1 WHERE no = 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 number of numbers for howard clark
### Context:
CREATE TABLE table_1569625_1 (no VARCHAR, runner_s__up VARCHAR) [/INST]
### Response:
SELECT COUNT(no) FROM table_1569625_1 WHERE runner_s__up = "Howard Clark" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 margin of victory when tournament is algarve open de portugal
### Context:
CREATE TABLE table_1569625_1 (margin_of_victory VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT margin_of_victory FROM table_1569625_1 WHERE tournament = "Algarve Open de Portugal" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournament when margin of victory is 3 strokes and winning score is 71-66-70-67=274
### Context:
CREATE TABLE table_1569625_1 (tournament VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_1569625_1 WHERE margin_of_victory = "3 strokes" AND winning_score = 71 - 66 - 70 - 67 = 274 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 runs conceded
### Context:
CREATE TABLE table_15700367_4 (runs_conceded INTEGER) [/INST]
### Response:
SELECT MAX(runs_conceded) FROM table_15700367_4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the wickets when overs bowled is 9
### Context:
CREATE TABLE table_15700367_4 (wickets VARCHAR, overs_bowled VARCHAR) [/INST]
### Response:
SELECT wickets FROM table_15700367_4 WHERE overs_bowled = "9" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most maidens when e.r. 5.11
### Context:
CREATE TABLE table_15700367_4 (maidens INTEGER, er VARCHAR) [/INST]
### Response:
SELECT MAX(maidens) FROM table_15700367_4 WHERE er = "5.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:
Name the least runs conceded for brett lee
### Context:
CREATE TABLE table_15700367_4 (runs_conceded INTEGER, name VARCHAR) [/INST]
### Response:
SELECT MIN(runs_conceded) FROM table_15700367_4 WHERE name = "Brett Lee" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 runs conceded when the earned runs was 4.96?
### Context:
CREATE TABLE table_15700367_6 (runs_conceded VARCHAR, er VARCHAR) [/INST]
### Response:
SELECT runs_conceded FROM table_15700367_6 WHERE er = "4.96" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many players named sanath jayasuriya?
### Context:
CREATE TABLE table_15700367_6 (runs_conceded VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT COUNT(runs_conceded) FROM table_15700367_6 WHERE name = "Sanath Jayasuriya" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 runs conceded for chaminda vaas?
### Context:
CREATE TABLE table_15700367_6 (runs_conceded VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT runs_conceded FROM table_15700367_6 WHERE name = "Chaminda Vaas" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overs bowled for muttiah muralitharan?
### Context:
CREATE TABLE table_15700367_6 (overs_bowled VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT COUNT(overs_bowled) FROM table_15700367_6 WHERE name = "Muttiah Muralitharan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ER average for the player that conceded 368 runs?
### Context:
CREATE TABLE table_15700367_6 (er VARCHAR, runs_conceded VARCHAR) [/INST]
### Response:
SELECT er FROM table_15700367_6 WHERE runs_conceded = 368 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wickets for farveez maharoof?
### Context:
CREATE TABLE table_15700367_6 (wickets INTEGER, name VARCHAR) [/INST]
### Response:
SELECT MIN(wickets) FROM table_15700367_6 WHERE name = "Farveez Maharoof" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 airdate when the story is listed as hugh leonard?
### Context:
CREATE TABLE table_15739098_2 (airdate VARCHAR, story VARCHAR) [/INST]
### Response:
SELECT airdate FROM table_15739098_2 WHERE story = "Hugh Leonard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won the kansas state game on 11/26/1988
### Context:
CREATE TABLE table_15740666_6 (kansas_state_vs VARCHAR, last_meeting VARCHAR) [/INST]
### Response:
SELECT kansas_state_vs FROM table_15740666_6 WHERE last_meeting = "11/26/1988" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
how many games has kansas state and depaul played against each other
### Context:
CREATE TABLE table_15740666_6 (games_played VARCHAR, kansas_state_vs VARCHAR) [/INST]
### Response:
SELECT COUNT(games_played) FROM table_15740666_6 WHERE kansas_state_vs = "DePaul" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 they played last on 12/5/1987 what is their record
### Context:
CREATE TABLE table_15740666_6 (current_streak VARCHAR, last_meeting VARCHAR) [/INST]
### Response:
SELECT current_streak FROM table_15740666_6 WHERE last_meeting = "12/5/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:
Name the high points for march 7
### Context:
CREATE TABLE table_15780049_8 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_15780049_8 WHERE date = "March 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 date for sacramento
### Context:
CREATE TABLE table_15780049_8 (date VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT date FROM table_15780049_8 WHERE team = "Sacramento" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the high rebounds for march 17
### Context:
CREATE TABLE table_15780049_8 (high_rebounds VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_15780049_8 WHERE date = "March 17" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the location attendance for philadelphia
### Context:
CREATE TABLE table_15780049_8 (location_attendance VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_15780049_8 WHERE team = "Philadelphia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scored the most assists in game 59?
### Context:
CREATE TABLE table_15780718_8 (high_assists VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_15780718_8 WHERE game = 59 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the record against Boston?
### Context:
CREATE TABLE table_15780718_8 (record VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT record FROM table_15780718_8 WHERE team = "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:
Name the poll winner for march 19, 2008
### Context:
CREATE TABLE table_15781170_2 (poll_winner VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT COUNT(poll_winner) FROM table_15781170_2 WHERE original_air_date = "March 19, 2008" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.