text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest choice?
### Context:
CREATE TABLE table_10361230_1 (choice INTEGER) [/INST]
### Response:
SELECT MAX(choice) FROM table_10361230_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 college did Bill Cappleman go to?
### Context:
CREATE TABLE table_10361230_1 (college VARCHAR, player_name VARCHAR) [/INST]
### Response:
SELECT college FROM table_10361230_1 WHERE player_name = "Bill Cappleman" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 headstamp id of h2, what was the color of the bullet tip?
### Context:
CREATE TABLE table_1036189_1 (bullet_tip_color VARCHAR, headstamp_id VARCHAR) [/INST]
### Response:
SELECT bullet_tip_color FROM table_1036189_1 WHERE headstamp_id = "H2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 functional type of light ball, what were the other features?
### Context:
CREATE TABLE table_1036189_1 (other_features VARCHAR, functional_type VARCHAR) [/INST]
### Response:
SELECT other_features FROM table_1036189_1 WHERE functional_type = "Light Ball" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 primers annulus colors were there when the color of the bullet tip was white?
### Context:
CREATE TABLE table_1036189_1 (primer_annulus_color VARCHAR, bullet_tip_color VARCHAR) [/INST]
### Response:
SELECT COUNT(primer_annulus_color) FROM table_1036189_1 WHERE bullet_tip_color = "White" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bullet tips colors had other features of a blue band on case base?
### Context:
CREATE TABLE table_1036189_1 (bullet_tip_color VARCHAR, other_features VARCHAR) [/INST]
### Response:
SELECT COUNT(bullet_tip_color) FROM table_1036189_1 WHERE other_features = "Blue band on case base" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 touchdowns were scored in the year with a completion percentage of 56.0?
### Context:
CREATE TABLE table_1037590_1 (touchdowns INTEGER, completion__percentage VARCHAR) [/INST]
### Response:
SELECT MIN(touchdowns) FROM table_1037590_1 WHERE completion__percentage = "56.0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many years were there with 348 attempts?
### Context:
CREATE TABLE table_1037590_1 (yards VARCHAR, attempts VARCHAR) [/INST]
### Response:
SELECT COUNT(yards) FROM table_1037590_1 WHERE attempts = 348 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 characters is by Babs Rubenstein?
### Context:
CREATE TABLE table_10402018_1 (london VARCHAR, us_tour VARCHAR) [/INST]
### Response:
SELECT COUNT(london) FROM table_10402018_1 WHERE us_tour = "Babs Rubenstein" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 person is in the tronto/broadway and has a uk tour of n/a
### Context:
CREATE TABLE table_10402018_1 (toronto___broadway VARCHAR, uk_tour VARCHAR) [/INST]
### Response:
SELECT toronto___broadway FROM table_10402018_1 WHERE uk_tour = "n/a" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many people play Frank in London?
### Context:
CREATE TABLE table_10402018_1 (london VARCHAR, character VARCHAR) [/INST]
### Response:
SELECT COUNT(london) FROM table_10402018_1 WHERE character = "Frank" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Class AAA during the school year of 2000-01?
### Context:
CREATE TABLE table_10399701_2 (class_aAA VARCHAR, school_year VARCHAR) [/INST]
### Response:
SELECT class_aAA FROM table_10399701_2 WHERE school_year = "2000-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:
Who was Class AAA during the same year that Class A was (tie) Apple Springs/Texline?
### Context:
CREATE TABLE table_10399701_2 (class_aAA VARCHAR, class_a VARCHAR) [/INST]
### Response:
SELECT class_aAA FROM table_10399701_2 WHERE class_a = "(tie) Apple Springs/Texline" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Class AAAAA during the school year of 1995-96?
### Context:
CREATE TABLE table_10399701_2 (class_aAAAA VARCHAR, school_year VARCHAR) [/INST]
### Response:
SELECT class_aAAAA FROM table_10399701_2 WHERE school_year = "1995-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 records are listed on Friday, May 25?
### Context:
CREATE TABLE table_10392906_2 (team_record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(team_record) FROM table_10392906_2 WHERE date = "Friday, May 25" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponents were played on Saturday, June 9?
### Context:
CREATE TABLE table_10392906_2 (opponent VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(opponent) FROM table_10392906_2 WHERE date = "Saturday, June 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:
In what week was the first game played at the Commerzbank-Arena?
### Context:
CREATE TABLE table_10392906_2 (week INTEGER, game_site VARCHAR) [/INST]
### Response:
SELECT MIN(week) FROM table_10392906_2 WHERE game_site = "Commerzbank-Arena" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the original air date of an episode set in 1544?
### Context:
CREATE TABLE table_10413597_5 (original_air_date VARCHAR, setting VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_10413597_5 WHERE setting = "1544" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 settings where there for episode 29 of the season?
### Context:
CREATE TABLE table_10413597_5 (setting VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT COUNT(setting) FROM table_10413597_5 WHERE no_in_series = 29 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wrote the episode that was set in winter 1541/february 13, 1542?
### Context:
CREATE TABLE table_10413597_5 (written_by VARCHAR, setting VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_10413597_5 WHERE setting = "Winter 1541/February 13, 1542" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 track that lasts 5:30?
### Context:
CREATE TABLE table_10416547_1 (track VARCHAR, duration VARCHAR) [/INST]
### Response:
SELECT track AS title FROM table_10416547_1 WHERE duration = "5:30" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the duration of the song where the major instrument is the piano and the date is 2004-02-03?
### Context:
CREATE TABLE table_10416547_1 (duration VARCHAR, major_instrument_s_ VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT duration FROM table_10416547_1 WHERE major_instrument_s_ = "Piano" AND date = "2004-02-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:
What is the total number of lyricist where the lyrics theme is romance and the song lasts 3:50?
### Context:
CREATE TABLE table_10416547_1 (lyricist VARCHAR, lyrics_theme_style VARCHAR, duration VARCHAR) [/INST]
### Response:
SELECT COUNT(lyricist) FROM table_10416547_1 WHERE lyrics_theme_style = "Romance" AND duration = "3:50" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 major instrument of the song that lasts 4:32?
### Context:
CREATE TABLE table_10416547_1 (major_instrument_s_ VARCHAR, duration VARCHAR) [/INST]
### Response:
SELECT major_instrument_s_ FROM table_10416547_1 WHERE duration = "4:32" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total number of music genre/style in which the lyrics are a detective story?
### Context:
CREATE TABLE table_10416547_1 (music_genre_style VARCHAR, lyrics_theme_style VARCHAR) [/INST]
### Response:
SELECT COUNT(music_genre_style) FROM table_10416547_1 WHERE lyrics_theme_style = "Detective story" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 playoffs for the usl pro select league?
### Context:
CREATE TABLE table_1046071_1 (playoffs VARCHAR, league VARCHAR) [/INST]
### Response:
SELECT playoffs FROM table_1046071_1 WHERE league = "USL Pro Select league" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 division for the 1st round?
### Context:
CREATE TABLE table_1046071_1 (division VARCHAR, open_cup VARCHAR) [/INST]
### Response:
SELECT COUNT(division) FROM table_1046071_1 WHERE open_cup = "1st 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:
What was the team where series is formula renault 2.0 nec?
### Context:
CREATE TABLE table_10420426_1 (team VARCHAR, series VARCHAR) [/INST]
### Response:
SELECT team FROM table_10420426_1 WHERE series = "Formula Renault 2.0 NEC" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 poles for arden international?
### Context:
CREATE TABLE table_10420426_1 (poles VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(poles) FROM table_10420426_1 WHERE team = "Arden International" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wins for gp2 series for racing engineering?
### Context:
CREATE TABLE table_10420426_1 (wins VARCHAR, series VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(wins) FROM table_10420426_1 WHERE series = "GP2 series" AND team = "Racing Engineering" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number of podiums for season 2010 for campionato italiano superstars.
### Context:
CREATE TABLE table_10420426_1 (podiums VARCHAR, season VARCHAR, series VARCHAR) [/INST]
### Response:
SELECT COUNT(podiums) FROM table_10420426_1 WHERE season = "2010" AND series = "Campionato Italiano Superstars" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 podium for 144 points?
### Context:
CREATE TABLE table_10420426_1 (podiums VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT podiums FROM table_10420426_1 WHERE points = 144 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 writers had an US air date of september 25, 1993?
### Context:
CREATE TABLE table_10470082_3 (writer VARCHAR, us_air_date VARCHAR) [/INST]
### Response:
SELECT COUNT(writer) FROM table_10470082_3 WHERE us_air_date = "September 25, 1993" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many villians were in No. 25?
### Context:
CREATE TABLE table_10470082_3 (villains VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT COUNT(villains) FROM table_10470082_3 WHERE no = 25 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 being the maximum year where regular season is 4th, northwest
### Context:
CREATE TABLE table_1046454_1 (year INTEGER, regular_season VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_1046454_1 WHERE regular_season = "4th, Northwest" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 playoffs where regular season is 6th, southwest
### Context:
CREATE TABLE table_1046454_1 (playoffs VARCHAR, regular_season VARCHAR) [/INST]
### Response:
SELECT COUNT(playoffs) FROM table_1046454_1 WHERE regular_season = "6th, Southwest" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 division
### Context:
CREATE TABLE table_1046454_1 (division INTEGER) [/INST]
### Response:
SELECT MAX(division) FROM table_1046454_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's the league where regular season is 2nd, northwest
### Context:
CREATE TABLE table_1046454_1 (league VARCHAR, regular_season VARCHAR) [/INST]
### Response:
SELECT league FROM table_1046454_1 WHERE regular_season = "2nd, Northwest" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 regular season where year is 2011
### Context:
CREATE TABLE table_1046454_1 (regular_season VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT regular_season FROM table_1046454_1 WHERE year = 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:
How many titles have the number 11
### Context:
CREATE TABLE table_10470082_5 (title VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT COUNT(title) FROM table_10470082_5 WHERE _number = 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:
How many have Mrs. briar as a villain
### Context:
CREATE TABLE table_10470082_5 (no VARCHAR, villains VARCHAR) [/INST]
### Response:
SELECT COUNT(no) FROM table_10470082_5 WHERE villains = "Mrs. Briar" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 have the number 8
### Context:
CREATE TABLE table_10470082_5 (no VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT COUNT(no) FROM table_10470082_5 WHERE _number = 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 name of the episode told by Kiki and directed by Will Dixon?
### Context:
CREATE TABLE table_10470082_6 (title VARCHAR, storyteller VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT title FROM table_10470082_6 WHERE storyteller = "Kiki" AND director = "Will Dixon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who wrote Episode #3?
### Context:
CREATE TABLE table_10470082_6 (writer VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT writer FROM table_10470082_6 WHERE _number = 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:
Who are the villains in the episodes where Megan is the storyteller and Lorette LeBlanc is the director?
### Context:
CREATE TABLE table_10470082_7 (villains VARCHAR, storyteller VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT villains FROM table_10470082_7 WHERE storyteller = "Megan" AND director = "Lorette LeBlanc" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the largest # for an episode that was written by Allison Lea Bingeman?
### Context:
CREATE TABLE table_10470082_7 (_number INTEGER, writer VARCHAR) [/INST]
### Response:
SELECT MAX(_number) FROM table_10470082_7 WHERE writer = "Allison Lea Bingeman" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 species when petal width is 2.0 and petal length is 4.9
### Context:
CREATE TABLE table_10477224_1 (species VARCHAR, petal_width VARCHAR, petal_length VARCHAR) [/INST]
### Response:
SELECT species FROM table_10477224_1 WHERE petal_width = "2.0" AND petal_length = "4.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 sepal width for i.virginica with petal length of 5.1
### Context:
CREATE TABLE table_10477224_1 (sepal_width VARCHAR, species VARCHAR, petal_length VARCHAR) [/INST]
### Response:
SELECT sepal_width FROM table_10477224_1 WHERE species = "I.virginica" AND petal_length = "5.1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of species with sepal width of 3.4 and sepal length of 5.4
### Context:
CREATE TABLE table_10477224_1 (species VARCHAR, sepal_width VARCHAR, sepal_length VARCHAR) [/INST]
### Response:
SELECT COUNT(species) FROM table_10477224_1 WHERE sepal_width = "3.4" AND sepal_length = "5.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 sepal length for sepal width of 2.8 and petal length of 5.1
### Context:
CREATE TABLE table_10477224_1 (sepal_length VARCHAR, sepal_width VARCHAR, petal_length VARCHAR) [/INST]
### Response:
SELECT sepal_length FROM table_10477224_1 WHERE sepal_width = "2.8" AND petal_length = "5.1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the sepal width when sepal length is 6.5 and petal width is 2.2
### Context:
CREATE TABLE table_10477224_1 (sepal_width VARCHAR, sepal_length VARCHAR, petal_width VARCHAR) [/INST]
### Response:
SELECT sepal_width FROM table_10477224_1 WHERE sepal_length = "6.5" AND petal_width = "2.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 sepal lengh when sepal width is 2.9 and petal width 1.3
### Context:
CREATE TABLE table_10477224_1 (sepal_length VARCHAR, sepal_width VARCHAR, petal_width VARCHAR) [/INST]
### Response:
SELECT sepal_length FROM table_10477224_1 WHERE sepal_width = "2.9" AND petal_width = "1.3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the director and what number is the episode for episode #1 of Are You Afraid of the Dark season 3?
### Context:
CREATE TABLE table_10470082_4 (director VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT COUNT(director) FROM table_10470082_4 WHERE _number = 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the director of the episode whom Scott Peters is the writer?
### Context:
CREATE TABLE table_10470082_4 (director VARCHAR, writer VARCHAR) [/INST]
### Response:
SELECT director FROM table_10470082_4 WHERE writer = "Scott Peters" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the villain in episode #7?
### Context:
CREATE TABLE table_10470082_4 (villains VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT villains FROM table_10470082_4 WHERE _number = 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:
Who wrote episode #1 in season 7?
### Context:
CREATE TABLE table_10470082_8 (writer VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT COUNT(writer) FROM table_10470082_8 WHERE _number = 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When did the episode written by Jim Morris air?
### Context:
CREATE TABLE table_10470082_8 (us_air_date VARCHAR, writer VARCHAR) [/INST]
### Response:
SELECT us_air_date FROM table_10470082_8 WHERE writer = "Jim Morris" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Datsun Twin 200's fastest lap?
### Context:
CREATE TABLE table_10527215_3 (fastest_lap VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT fastest_lap FROM table_10527215_3 WHERE name = "Datsun Twin 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:
What's the report for the True Value 500?
### Context:
CREATE TABLE table_10527215_3 (report VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT report FROM table_10527215_3 WHERE name = "True Value 500" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Johnny Rutherford's fastest lap while Al Unser was the pole position?
### Context:
CREATE TABLE table_10527215_3 (fastest_lap VARCHAR, winning_driver VARCHAR, pole_position VARCHAR) [/INST]
### Response:
SELECT fastest_lap FROM table_10527215_3 WHERE winning_driver = "Johnny Rutherford" AND pole_position = "Al Unser" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 report on Penske Racing winning while the pole position was Al Unser?
### Context:
CREATE TABLE table_10527215_3 (report VARCHAR, pole_position VARCHAR, winning_team VARCHAR) [/INST]
### Response:
SELECT COUNT(report) FROM table_10527215_3 WHERE pole_position = "Al Unser" AND winning_team = "Penske Racing" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 countries have a scouting organization that was founded in 1926, and joined WOSM in 1930?
### Context:
CREATE TABLE table_104858_1 (country VARCHAR, year_current_scouting_organization_joined_wosm VARCHAR, year_member_organization_was_founded VARCHAR) [/INST]
### Response:
SELECT country FROM table_104858_1 WHERE year_current_scouting_organization_joined_wosm = "1930" AND year_member_organization_was_founded = "1926" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Does Venezuela admit only boys, only girls, or both?
### Context:
CREATE TABLE table_104858_1 (admits_boys_girls VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT admits_boys_girls FROM table_104858_1 WHERE country = "Venezuela" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 organizations were founded in 1972, but became WOSM members until 1977?
### Context:
CREATE TABLE table_104858_1 (name_of_member_organization VARCHAR, year_member_organization_was_founded VARCHAR, year_current_scouting_organization_joined_wosm VARCHAR) [/INST]
### Response:
SELECT name_of_member_organization FROM table_104858_1 WHERE year_member_organization_was_founded = "1972" AND year_current_scouting_organization_joined_wosm = "1977" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Does the Scout Association of Hong Kong admit boys, girls, or both?
### Context:
CREATE TABLE table_104858_1 (admits_boys_girls VARCHAR, name_of_member_organization VARCHAR) [/INST]
### Response:
SELECT admits_boys_girls FROM table_104858_1 WHERE name_of_member_organization = "The Scout Association of Hong Kong" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Does the Ghana Scout Association (founded in 1912) admit boys, girls, or both?
### Context:
CREATE TABLE table_104858_1 (admits_boys_girls VARCHAR, year_member_organization_was_founded VARCHAR, name_of_member_organization VARCHAR) [/INST]
### Response:
SELECT admits_boys_girls FROM table_104858_1 WHERE year_member_organization_was_founded = "1912" AND name_of_member_organization = "The Ghana Scout Association" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 model number introduced May 1999?
### Context:
CREATE TABLE table_10528691_4 (model INTEGER, introduction VARCHAR) [/INST]
### Response:
SELECT MAX(model) FROM table_10528691_4 WHERE introduction = "May 1999" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 print resolution (FPI) for December 2002?
### Context:
CREATE TABLE table_10528691_4 (print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ VARCHAR, introduction VARCHAR) [/INST]
### Response:
SELECT print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ FROM table_10528691_4 WHERE introduction = "December 2002" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 memory for the model discontinued in November 2001?
### Context:
CREATE TABLE table_10528691_4 (maximum_memory VARCHAR, discontinued VARCHAR) [/INST]
### Response:
SELECT maximum_memory FROM table_10528691_4 WHERE discontinued = "November 2001" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 main presenters of La Granja?
### Context:
CREATE TABLE table_1053802_1 (main_presenters VARCHAR, local_title VARCHAR) [/INST]
### Response:
SELECT main_presenters FROM table_1053802_1 WHERE local_title = "La Granja" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 main presenter of bulgaria?
### Context:
CREATE TABLE table_1053802_1 (main_presenters VARCHAR, region_country VARCHAR) [/INST]
### Response:
SELECT main_presenters FROM table_1053802_1 WHERE region_country = "Bulgaria" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winners are there of farma?
### Context:
CREATE TABLE table_1053802_1 (winners VARCHAR, local_title VARCHAR) [/INST]
### Response:
SELECT COUNT(winners) FROM table_1053802_1 WHERE local_title = "Farma" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cup goals for seasson 1911-12?
### Context:
CREATE TABLE table_10556257_1 (cup_goals INTEGER, season VARCHAR) [/INST]
### Response:
SELECT MAX(cup_goals) FROM table_10556257_1 WHERE season = "1911-12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the league apps for season 1923-24?
### Context:
CREATE TABLE table_10556257_1 (league_apps VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT league_apps FROM table_10556257_1 WHERE season = "1923-24" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the team for season 1911-12?
### Context:
CREATE TABLE table_10556257_1 (team VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT team FROM table_10556257_1 WHERE season = "1911-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's the minimum attendance with score 10.16 (76) – 9.22 (76)
### Context:
CREATE TABLE table_10566855_1 (attendance INTEGER, score VARCHAR) [/INST]
### Response:
SELECT MIN(attendance) FROM table_10566855_1 WHERE score = "10.16 (76) – 9.22 (76)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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's the premier with in 1970
### Context:
CREATE TABLE table_10566855_1 (premier VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT premier FROM table_10566855_1 WHERE season = 1970 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
who are all the runner-up for premier in richmond
### Context:
CREATE TABLE table_10566855_1 (runner_up VARCHAR, premier VARCHAR) [/INST]
### Response:
SELECT runner_up FROM table_10566855_1 WHERE premier = "Richmond" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 minimum attendance with score 8.16 (64) – 8.12 (60)
### Context:
CREATE TABLE table_10566855_1 (attendance INTEGER, score VARCHAR) [/INST]
### Response:
SELECT MIN(attendance) FROM table_10566855_1 WHERE score = "8.16 (64) – 8.12 (60)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many mileposts are there on Anne Street?
### Context:
CREATE TABLE table_10568553_1 (milepost VARCHAR, street_names VARCHAR) [/INST]
### Response:
SELECT COUNT(milepost) FROM table_10568553_1 WHERE street_names = "Anne Street" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 street is 12.2 miles long?
### Context:
CREATE TABLE table_10568553_1 (street_names VARCHAR, milepost VARCHAR) [/INST]
### Response:
SELECT street_names FROM table_10568553_1 WHERE milepost = "12.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:
Where does Route 24 intersect?
### Context:
CREATE TABLE table_10568553_1 (location VARCHAR, roads_intersected VARCHAR) [/INST]
### Response:
SELECT location FROM table_10568553_1 WHERE roads_intersected = "Route 24" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where is milepost 12.8?
### Context:
CREATE TABLE table_10568553_1 (location VARCHAR, milepost VARCHAR) [/INST]
### Response:
SELECT location FROM table_10568553_1 WHERE milepost = "12.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 minimum amount for wool for 2001-02?
### Context:
CREATE TABLE table_1057262_1 (commodity VARCHAR) [/INST]
### Response:
SELECT MIN(2001 AS _02) FROM table_1057262_1 WHERE commodity = "Wool" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 operational owners during the construction date of April 1892?
### Context:
CREATE TABLE table_1057316_1 (operational_owner_s_ VARCHAR, build_date VARCHAR) [/INST]
### Response:
SELECT operational_owner_s_ FROM table_1057316_1 WHERE build_date = "April 1892" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 can you find Colorado and Southern Railway #9?
### Context:
CREATE TABLE table_1057316_1 (disposition VARCHAR, operational_owner_s_ VARCHAR) [/INST]
### Response:
SELECT disposition FROM table_1057316_1 WHERE operational_owner_s_ = "Colorado and Southern Railway #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:
What is the wheel arrangement for the train in Riverdale, Georgia?
### Context:
CREATE TABLE table_1057316_1 (wheel_arrangement___whyte_notation__ VARCHAR, disposition VARCHAR) [/INST]
### Response:
SELECT wheel_arrangement___whyte_notation__ FROM table_1057316_1 WHERE disposition = "Riverdale, Georgia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was the train 2053 built?
### Context:
CREATE TABLE table_1057316_1 (build_date VARCHAR, serial_number VARCHAR) [/INST]
### Response:
SELECT build_date FROM table_1057316_1 WHERE serial_number = "2053" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wheels does the train owned by Texas and New Orleans Railroad #319 have?
### Context:
CREATE TABLE table_1057316_1 (wheel_arrangement___whyte_notation__ VARCHAR, operational_owner_s_ VARCHAR) [/INST]
### Response:
SELECT COUNT(wheel_arrangement___whyte_notation__) FROM table_1057316_1 WHERE operational_owner_s_ = "Texas and New Orleans Railroad #319" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college has the men's nickname of the blazers?
### Context:
CREATE TABLE table_10577579_3 (institution VARCHAR, men’s_nickname VARCHAR) [/INST]
### Response:
SELECT institution FROM table_10577579_3 WHERE men’s_nickname = "Blazers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 joined for the wolfpack women's nickname
### Context:
CREATE TABLE table_10577579_3 (joined VARCHAR, women’s_nickname VARCHAR) [/INST]
### Response:
SELECT joined FROM table_10577579_3 WHERE women’s_nickname = "Wolfpack" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 left of the Lady Pilots.
### Context:
CREATE TABLE table_10577579_3 (left VARCHAR, women’s_nickname VARCHAR) [/INST]
### Response:
SELECT left FROM table_10577579_3 WHERE women’s_nickname = "Lady Pilots" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 women's nickname when the enrollment is 1500 in mobile, Alabama.
### Context:
CREATE TABLE table_10577579_3 (women’s_nickname VARCHAR, enrollment VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT women’s_nickname FROM table_10577579_3 WHERE enrollment = 1500 AND location = "Mobile, Alabama" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 conference is in Jackson, Mississippi?
### Context:
CREATE TABLE table_10577579_3 (current_conference VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT current_conference FROM table_10577579_3 WHERE location = "Jackson, Mississippi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 men's nickname at the school that has the lady wildcats women's nickname?
### Context:
CREATE TABLE table_10577579_3 (men’s_nickname VARCHAR, women’s_nickname VARCHAR) [/INST]
### Response:
SELECT men’s_nickname FROM table_10577579_3 WHERE women’s_nickname = "Lady Wildcats" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Mens Nickname for the member location of Jacksonville, florida?
### Context:
CREATE TABLE table_10577579_2 (mens_nickname VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT mens_nickname FROM table_10577579_2 WHERE location = "Jacksonville, Florida" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was founded in 1866 and is a private/(african methodist) type?
### Context:
CREATE TABLE table_10577579_2 (enrollment INTEGER, founded VARCHAR, type VARCHAR) [/INST]
### Response:
SELECT MAX(enrollment) FROM table_10577579_2 WHERE founded = 1866 AND type = "Private/(African Methodist)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
That is the year founded for the institution location of Nashville, Tennessee?
### Context:
CREATE TABLE table_10577579_2 (founded INTEGER, location VARCHAR) [/INST]
### Response:
SELECT MIN(founded) FROM table_10577579_2 WHERE location = "Nashville, Tennessee" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the year the institution Tougaloo College joined?
### Context:
CREATE TABLE table_10577579_2 (joined VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT joined FROM table_10577579_2 WHERE institution = "Tougaloo 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 date of vacancy when the date of appointment is 28 november 2007 and replaced by is alex mcleish?
### Context:
CREATE TABLE table_10592536_8 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR, replaced_by VARCHAR) [/INST]
### Response:
SELECT date_of_vacancy FROM table_10592536_8 WHERE date_of_appointment = "28 November 2007" AND replaced_by = "Alex McLeish" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.