instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
What is the date of the match where Jeriome Robertson lost?
|
CREATE TABLE table_name_86 (date VARCHAR, loss VARCHAR)
|
SELECT date FROM table_name_86 WHERE loss = "jeriome robertson"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (date VARCHAR, loss VARCHAR) Question: What is the date of the match where Jeriome Robertson lost? [/INST] SELECT date FROM table_name_86 WHERE loss = "jeriome robertson" </s>
|
What is the score of the match with a save postponed rescheduled for June 24?
|
CREATE TABLE table_name_97 (score VARCHAR, save VARCHAR)
|
SELECT score FROM table_name_97 WHERE save = "postponed rescheduled for june 24"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (score VARCHAR, save VARCHAR) Question: What is the score of the match with a save postponed rescheduled for June 24? [/INST] SELECT score FROM table_name_97 WHERE save = "postponed rescheduled for june 24" </s>
|
What is the date of the match with Brother Elephants as the opponent and a save of ||4,117?
|
CREATE TABLE table_name_49 (date VARCHAR, opponent VARCHAR, save VARCHAR)
|
SELECT date FROM table_name_49 WHERE opponent = "brother elephants" AND save = "||4,117"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (date VARCHAR, opponent VARCHAR, save VARCHAR) Question: What is the date of the match with Brother Elephants as the opponent and a save of ||4,117? [/INST] SELECT date FROM table_name_49 WHERE opponent = "brother elephants" AND save = "||4,117" </s>
|
What is the least round number for Jon Olinger, who was picked before pick # 24?
|
CREATE TABLE table_name_3 (round INTEGER, name VARCHAR, pick__number VARCHAR)
|
SELECT MIN(round) FROM table_name_3 WHERE name = "jon olinger" AND pick__number < 24
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (round INTEGER, name VARCHAR, pick__number VARCHAR) Question: What is the least round number for Jon Olinger, who was picked before pick # 24? [/INST] SELECT MIN(round) FROM table_name_3 WHERE name = "jon olinger" AND pick__number < 24 </s>
|
Before round 7, what is the greatest Pick # for a player that plays defensive tackle?
|
CREATE TABLE table_name_5 (pick__number INTEGER, position VARCHAR, round VARCHAR)
|
SELECT MAX(pick__number) FROM table_name_5 WHERE position = "defensive tackle" AND round < 7
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (pick__number INTEGER, position VARCHAR, round VARCHAR) Question: Before round 7, what is the greatest Pick # for a player that plays defensive tackle? [/INST] SELECT MAX(pick__number) FROM table_name_5 WHERE position = "defensive tackle" AND round < 7 </s>
|
What was the record on december 8 when the boston bruins visited?
|
CREATE TABLE table_name_49 (record VARCHAR, visitor VARCHAR, date VARCHAR)
|
SELECT record FROM table_name_49 WHERE visitor = "boston bruins" AND date = "december 8"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (record VARCHAR, visitor VARCHAR, date VARCHAR) Question: What was the record on december 8 when the boston bruins visited? [/INST] SELECT record FROM table_name_49 WHERE visitor = "boston bruins" AND date = "december 8" </s>
|
what was the score on november 3?
|
CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR)
|
SELECT score FROM table_name_39 WHERE date = "november 3"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR) Question: what was the score on november 3? [/INST] SELECT score FROM table_name_39 WHERE date = "november 3" </s>
|
who visited on november 17?
|
CREATE TABLE table_name_29 (visitor VARCHAR, date VARCHAR)
|
SELECT visitor FROM table_name_29 WHERE date = "november 17"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (visitor VARCHAR, date VARCHAR) Question: who visited on november 17? [/INST] SELECT visitor FROM table_name_29 WHERE date = "november 17" </s>
|
What is the name of the head coach of 1974?
|
CREATE TABLE table_name_96 (name VARCHAR, years VARCHAR)
|
SELECT name FROM table_name_96 WHERE years = "1974"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (name VARCHAR, years VARCHAR) Question: What is the name of the head coach of 1974? [/INST] SELECT name FROM table_name_96 WHERE years = "1974" </s>
|
What is the average number of seasons for Terri Drake who lost less than 9?
|
CREATE TABLE table_name_65 (seasons INTEGER, name VARCHAR, lost VARCHAR)
|
SELECT AVG(seasons) FROM table_name_65 WHERE name = "terri drake" AND lost < 9
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (seasons INTEGER, name VARCHAR, lost VARCHAR) Question: What is the average number of seasons for Terri Drake who lost less than 9? [/INST] SELECT AVG(seasons) FROM table_name_65 WHERE name = "terri drake" AND lost < 9 </s>
|
What is the lowest number of seasons that the head coach of 1982 had with larger than 9 losses?
|
CREATE TABLE table_name_36 (seasons INTEGER, years VARCHAR, lost VARCHAR)
|
SELECT MIN(seasons) FROM table_name_36 WHERE years = "1982" AND lost > 9
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (seasons INTEGER, years VARCHAR, lost VARCHAR) Question: What is the lowest number of seasons that the head coach of 1982 had with larger than 9 losses? [/INST] SELECT MIN(seasons) FROM table_name_36 WHERE years = "1982" AND lost > 9 </s>
|
Which webcast was in Spanish contemporary on xhnoe.com?
|
CREATE TABLE table_name_86 (webcast VARCHAR, format VARCHAR, website VARCHAR)
|
SELECT webcast FROM table_name_86 WHERE format = "spanish contemporary" AND website = "xhnoe.com"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (webcast VARCHAR, format VARCHAR, website VARCHAR) Question: Which webcast was in Spanish contemporary on xhnoe.com? [/INST] SELECT webcast FROM table_name_86 WHERE format = "spanish contemporary" AND website = "xhnoe.com" </s>
|
What is the highest frequency from uncionfeypoder.com?
|
CREATE TABLE table_name_79 (frequency INTEGER, website VARCHAR)
|
SELECT MAX(frequency) FROM table_name_79 WHERE website = "uncionfeypoder.com"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (frequency INTEGER, website VARCHAR) Question: What is the highest frequency from uncionfeypoder.com? [/INST] SELECT MAX(frequency) FROM table_name_79 WHERE website = "uncionfeypoder.com" </s>
|
What is the format for Digital 94.9?
|
CREATE TABLE table_name_73 (format VARCHAR, brand VARCHAR)
|
SELECT format FROM table_name_73 WHERE brand = "digital 94.9"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (format VARCHAR, brand VARCHAR) Question: What is the format for Digital 94.9? [/INST] SELECT format FROM table_name_73 WHERE brand = "digital 94.9" </s>
|
What is the population for Deed number of 21352021?
|
CREATE TABLE table_name_51 (population VARCHAR, deed_number VARCHAR)
|
SELECT population FROM table_name_51 WHERE deed_number = "21352021"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (population VARCHAR, deed_number VARCHAR) Question: What is the population for Deed number of 21352021? [/INST] SELECT population FROM table_name_51 WHERE deed_number = "21352021" </s>
|
What is the average Area (km²) that shows Excised from shire of cook and a Population smaller than 463 for the community of wujal wujal (bloomfield river)?
|
CREATE TABLE table_name_30 (area__km²_ INTEGER, name_of_community VARCHAR, excised_from VARCHAR, population VARCHAR)
|
SELECT AVG(area__km²_) FROM table_name_30 WHERE excised_from = "shire of cook" AND population < 463 AND name_of_community = "wujal wujal (bloomfield river)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (area__km²_ INTEGER, name_of_community VARCHAR, excised_from VARCHAR, population VARCHAR) Question: What is the average Area (km²) that shows Excised from shire of cook and a Population smaller than 463 for the community of wujal wujal (bloomfield river)? [/INST] SELECT AVG(area__km²_) FROM table_name_30 WHERE excised_from = "shire of cook" AND population < 463 AND name_of_community = "wujal wujal (bloomfield river)" </s>
|
What was the deed number with a population of more than 869 in the woorabinda community?
|
CREATE TABLE table_name_24 (deed_number VARCHAR, population VARCHAR, name_of_community VARCHAR)
|
SELECT deed_number FROM table_name_24 WHERE population > 869 AND name_of_community = "woorabinda"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (deed_number VARCHAR, population VARCHAR, name_of_community VARCHAR) Question: What was the deed number with a population of more than 869 in the woorabinda community? [/INST] SELECT deed_number FROM table_name_24 WHERE population > 869 AND name_of_community = "woorabinda" </s>
|
What is the smallest population with an Area (km²) of 1115.4?
|
CREATE TABLE table_name_72 (population INTEGER, area__km²_ VARCHAR)
|
SELECT MIN(population) FROM table_name_72 WHERE area__km²_ = 1115.4
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (population INTEGER, area__km²_ VARCHAR) Question: What is the smallest population with an Area (km²) of 1115.4? [/INST] SELECT MIN(population) FROM table_name_72 WHERE area__km²_ = 1115.4 </s>
|
What is the largest Area (km²) for Deed number of 21352022 with a Population of more than 184?
|
CREATE TABLE table_name_29 (area__km²_ INTEGER, deed_number VARCHAR, population VARCHAR)
|
SELECT MAX(area__km²_) FROM table_name_29 WHERE deed_number = "21352022" AND population > 184
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (area__km²_ INTEGER, deed_number VARCHAR, population VARCHAR) Question: What is the largest Area (km²) for Deed number of 21352022 with a Population of more than 184? [/INST] SELECT MAX(area__km²_) FROM table_name_29 WHERE deed_number = "21352022" AND population > 184 </s>
|
What is the result of the match on 16 October 2012 with less than 4 goals?
|
CREATE TABLE table_name_84 (result VARCHAR, goal VARCHAR, date VARCHAR)
|
SELECT result FROM table_name_84 WHERE goal < 4 AND date = "16 october 2012"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (result VARCHAR, goal VARCHAR, date VARCHAR) Question: What is the result of the match on 16 October 2012 with less than 4 goals? [/INST] SELECT result FROM table_name_84 WHERE goal < 4 AND date = "16 october 2012" </s>
|
Which Opposition has a Year smaller than 1977, and a City of manchester?
|
CREATE TABLE table_name_53 (opposition VARCHAR, year VARCHAR, city VARCHAR)
|
SELECT opposition FROM table_name_53 WHERE year < 1977 AND city = "manchester"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (opposition VARCHAR, year VARCHAR, city VARCHAR) Question: Which Opposition has a Year smaller than 1977, and a City of manchester? [/INST] SELECT opposition FROM table_name_53 WHERE year < 1977 AND city = "manchester" </s>
|
Which Score is the lowest one that has a Year of 1868?
|
CREATE TABLE table_name_75 (score INTEGER, year VARCHAR)
|
SELECT MIN(score) FROM table_name_75 WHERE year = 1868
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (score INTEGER, year VARCHAR) Question: Which Score is the lowest one that has a Year of 1868? [/INST] SELECT MIN(score) FROM table_name_75 WHERE year = 1868 </s>
|
Which Venue has a Year larger than 1868, and an Opposition of derbyshire?
|
CREATE TABLE table_name_97 (venue VARCHAR, year VARCHAR, opposition VARCHAR)
|
SELECT venue FROM table_name_97 WHERE year > 1868 AND opposition = "derbyshire"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (venue VARCHAR, year VARCHAR, opposition VARCHAR) Question: Which Venue has a Year larger than 1868, and an Opposition of derbyshire? [/INST] SELECT venue FROM table_name_97 WHERE year > 1868 AND opposition = "derbyshire" </s>
|
Which City has a Score smaller than 30, and a Venue of aigburth?
|
CREATE TABLE table_name_85 (city VARCHAR, score VARCHAR, venue VARCHAR)
|
SELECT city FROM table_name_85 WHERE score < 30 AND venue = "aigburth"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (city VARCHAR, score VARCHAR, venue VARCHAR) Question: Which City has a Score smaller than 30, and a Venue of aigburth? [/INST] SELECT city FROM table_name_85 WHERE score < 30 AND venue = "aigburth" </s>
|
What is the Position of the player with a Height off 188cm?
|
CREATE TABLE table_name_7 (position VARCHAR, height VARCHAR)
|
SELECT position FROM table_name_7 WHERE height = "188cm"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (position VARCHAR, height VARCHAR) Question: What is the Position of the player with a Height off 188cm? [/INST] SELECT position FROM table_name_7 WHERE height = "188cm" </s>
|
What is Alexander Wronski's Position?
|
CREATE TABLE table_name_31 (position VARCHAR, name VARCHAR)
|
SELECT position FROM table_name_31 WHERE name = "alexander wronski"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (position VARCHAR, name VARCHAR) Question: What is Alexander Wronski's Position? [/INST] SELECT position FROM table_name_31 WHERE name = "alexander wronski" </s>
|
What is Senyi N'Diaye's Position?
|
CREATE TABLE table_name_35 (position VARCHAR, name VARCHAR)
|
SELECT position FROM table_name_35 WHERE name = "senyi n'diaye"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (position VARCHAR, name VARCHAR) Question: What is Senyi N'Diaye's Position? [/INST] SELECT position FROM table_name_35 WHERE name = "senyi n'diaye" </s>
|
What was the date of the friendly competition with a score of 4-0?
|
CREATE TABLE table_name_31 (date VARCHAR, competition VARCHAR, score VARCHAR)
|
SELECT date FROM table_name_31 WHERE competition = "friendly" AND score = "4-0"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (date VARCHAR, competition VARCHAR, score VARCHAR) Question: What was the date of the friendly competition with a score of 4-0? [/INST] SELECT date FROM table_name_31 WHERE competition = "friendly" AND score = "4-0" </s>
|
Where did the competition take place at on August 3, 2005 with a score of 5-0?
|
CREATE TABLE table_name_21 (venue VARCHAR, score VARCHAR, date VARCHAR)
|
SELECT venue FROM table_name_21 WHERE score = "5-0" AND date = "august 3, 2005"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (venue VARCHAR, score VARCHAR, date VARCHAR) Question: Where did the competition take place at on August 3, 2005 with a score of 5-0? [/INST] SELECT venue FROM table_name_21 WHERE score = "5-0" AND date = "august 3, 2005" </s>
|
What was the result of the 2007 gulf cup of nations?
|
CREATE TABLE table_name_39 (result VARCHAR, competition VARCHAR)
|
SELECT result FROM table_name_39 WHERE competition = "2007 gulf cup of nations"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (result VARCHAR, competition VARCHAR) Question: What was the result of the 2007 gulf cup of nations? [/INST] SELECT result FROM table_name_39 WHERE competition = "2007 gulf cup of nations" </s>
|
What was the result of the competition that had a score of 4-0?
|
CREATE TABLE table_name_95 (result VARCHAR, score VARCHAR)
|
SELECT result FROM table_name_95 WHERE score = "4-0"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (result VARCHAR, score VARCHAR) Question: What was the result of the competition that had a score of 4-0? [/INST] SELECT result FROM table_name_95 WHERE score = "4-0" </s>
|
What is the English title for season 6?
|
CREATE TABLE table_name_91 (title__english_ VARCHAR, number_of_season VARCHAR)
|
SELECT title__english_ FROM table_name_91 WHERE number_of_season = 6
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (title__english_ VARCHAR, number_of_season VARCHAR) Question: What is the English title for season 6? [/INST] SELECT title__english_ FROM table_name_91 WHERE number_of_season = 6 </s>
|
What is the highest season wth a Win of 1 and a Position that is 8th?
|
CREATE TABLE table_name_3 (season INTEGER, wins VARCHAR, position VARCHAR)
|
SELECT MAX(season) FROM table_name_3 WHERE wins = 1 AND position = "8th"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (season INTEGER, wins VARCHAR, position VARCHAR) Question: What is the highest season wth a Win of 1 and a Position that is 8th? [/INST] SELECT MAX(season) FROM table_name_3 WHERE wins = 1 AND position = "8th" </s>
|
What is the total number of Races with a Pole that is larger than 0?
|
CREATE TABLE table_name_70 (races VARCHAR, poles INTEGER)
|
SELECT COUNT(races) FROM table_name_70 WHERE poles > 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (races VARCHAR, poles INTEGER) Question: What is the total number of Races with a Pole that is larger than 0? [/INST] SELECT COUNT(races) FROM table_name_70 WHERE poles > 0 </s>
|
What is the lowest Poles with a Season that is larger than 2009?
|
CREATE TABLE table_name_60 (poles INTEGER, season INTEGER)
|
SELECT MIN(poles) FROM table_name_60 WHERE season > 2009
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (poles INTEGER, season INTEGER) Question: What is the lowest Poles with a Season that is larger than 2009? [/INST] SELECT MIN(poles) FROM table_name_60 WHERE season > 2009 </s>
|
Which team has a location attendance of Air Canada Centre 19,800 with a record of 41–33?
|
CREATE TABLE table_name_53 (team VARCHAR, location_attendance VARCHAR, record VARCHAR)
|
SELECT team FROM table_name_53 WHERE location_attendance = "air canada centre 19,800" AND record = "41–33"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (team VARCHAR, location_attendance VARCHAR, record VARCHAR) Question: Which team has a location attendance of Air Canada Centre 19,800 with a record of 41–33? [/INST] SELECT team FROM table_name_53 WHERE location_attendance = "air canada centre 19,800" AND record = "41–33" </s>
|
Which December has a Record of 21–8–4, and a Game larger than 33?
|
CREATE TABLE table_name_38 (december INTEGER, record VARCHAR, game VARCHAR)
|
SELECT AVG(december) FROM table_name_38 WHERE record = "21–8–4" AND game > 33
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (december INTEGER, record VARCHAR, game VARCHAR) Question: Which December has a Record of 21–8–4, and a Game larger than 33? [/INST] SELECT AVG(december) FROM table_name_38 WHERE record = "21–8–4" AND game > 33 </s>
|
Which Opponent has a Score of 4–5 ot?
|
CREATE TABLE table_name_96 (opponent VARCHAR, score VARCHAR)
|
SELECT opponent FROM table_name_96 WHERE score = "4–5 ot"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (opponent VARCHAR, score VARCHAR) Question: Which Opponent has a Score of 4–5 ot? [/INST] SELECT opponent FROM table_name_96 WHERE score = "4–5 ot" </s>
|
Which Game is the highest one that has an Opponent of new york islanders, and a December larger than 10?
|
CREATE TABLE table_name_35 (game INTEGER, opponent VARCHAR, december VARCHAR)
|
SELECT MAX(game) FROM table_name_35 WHERE opponent = "new york islanders" AND december > 10
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (game INTEGER, opponent VARCHAR, december VARCHAR) Question: Which Game is the highest one that has an Opponent of new york islanders, and a December larger than 10? [/INST] SELECT MAX(game) FROM table_name_35 WHERE opponent = "new york islanders" AND december > 10 </s>
|
What tournament was located in Colorado?
|
CREATE TABLE table_name_5 (tournament VARCHAR, location VARCHAR)
|
SELECT tournament FROM table_name_5 WHERE location = "colorado"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (tournament VARCHAR, location VARCHAR) Question: What tournament was located in Colorado? [/INST] SELECT tournament FROM table_name_5 WHERE location = "colorado" </s>
|
On what date was the game in Week 9 played?
|
CREATE TABLE table_name_70 (date VARCHAR, week VARCHAR)
|
SELECT date FROM table_name_70 WHERE week = 9
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (date VARCHAR, week VARCHAR) Question: On what date was the game in Week 9 played? [/INST] SELECT date FROM table_name_70 WHERE week = 9 </s>
|
What was the record of the game after Week 6 with an attendance larger than 52,560?
|
CREATE TABLE table_name_21 (record VARCHAR, week VARCHAR, attendance VARCHAR)
|
SELECT record FROM table_name_21 WHERE week > 6 AND attendance > 52 OFFSET 560 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (record VARCHAR, week VARCHAR, attendance VARCHAR) Question: What was the record of the game after Week 6 with an attendance larger than 52,560? [/INST] SELECT record FROM table_name_21 WHERE week > 6 AND attendance > 52 OFFSET 560 ROWS </s>
|
What is the highest attendance rate at Milwaukee County Stadium?
|
CREATE TABLE table_name_61 (attendance INTEGER, game_site VARCHAR)
|
SELECT MAX(attendance) FROM table_name_61 WHERE game_site = "milwaukee county stadium"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (attendance INTEGER, game_site VARCHAR) Question: What is the highest attendance rate at Milwaukee County Stadium? [/INST] SELECT MAX(attendance) FROM table_name_61 WHERE game_site = "milwaukee county stadium" </s>
|
What's Ontario's highest Ends Lost?
|
CREATE TABLE table_name_11 (ends_lost INTEGER, locale VARCHAR)
|
SELECT MAX(ends_lost) FROM table_name_11 WHERE locale = "ontario"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (ends_lost INTEGER, locale VARCHAR) Question: What's Ontario's highest Ends Lost? [/INST] SELECT MAX(ends_lost) FROM table_name_11 WHERE locale = "ontario" </s>
|
What is the shot % with a 44+ Ends Lost, skip Cathy King, and smaller than 13 Black Ends?
|
CREATE TABLE table_name_36 (shot_pct INTEGER, blank_ends VARCHAR, ends_lost VARCHAR, skip VARCHAR)
|
SELECT MAX(shot_pct) FROM table_name_36 WHERE ends_lost > 44 AND skip = "cathy king" AND blank_ends < 13
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (shot_pct INTEGER, blank_ends VARCHAR, ends_lost VARCHAR, skip VARCHAR) Question: What is the shot % with a 44+ Ends Lost, skip Cathy King, and smaller than 13 Black Ends? [/INST] SELECT MAX(shot_pct) FROM table_name_36 WHERE ends_lost > 44 AND skip = "cathy king" AND blank_ends < 13 </s>
|
What's the highest Ends Lost with a shot % greater than 77, 11 blank ends, 7 stolen ends, and more than 44 ends one?
|
CREATE TABLE table_name_2 (ends_lost INTEGER, ends_won VARCHAR, stolen_ends VARCHAR, shot_pct VARCHAR, blank_ends VARCHAR)
|
SELECT MAX(ends_lost) FROM table_name_2 WHERE shot_pct > 77 AND blank_ends = 11 AND stolen_ends = 7 AND ends_won > 44
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (ends_lost INTEGER, ends_won VARCHAR, stolen_ends VARCHAR, shot_pct VARCHAR, blank_ends VARCHAR) Question: What's the highest Ends Lost with a shot % greater than 77, 11 blank ends, 7 stolen ends, and more than 44 ends one? [/INST] SELECT MAX(ends_lost) FROM table_name_2 WHERE shot_pct > 77 AND blank_ends = 11 AND stolen_ends = 7 AND ends_won > 44 </s>
|
Which Segment C that has an Episode lower than 230, and a Segment A consisting of wax figures?
|
CREATE TABLE table_name_79 (segment_c VARCHAR, episode VARCHAR, segment_a VARCHAR)
|
SELECT segment_c FROM table_name_79 WHERE episode < 230 AND segment_a = "wax figures"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (segment_c VARCHAR, episode VARCHAR, segment_a VARCHAR) Question: Which Segment C that has an Episode lower than 230, and a Segment A consisting of wax figures? [/INST] SELECT segment_c FROM table_name_79 WHERE episode < 230 AND segment_a = "wax figures" </s>
|
Which Segment A has a Segment B of s awning?
|
CREATE TABLE table_name_61 (segment_a VARCHAR, segment_b VARCHAR)
|
SELECT segment_a FROM table_name_61 WHERE segment_b = "s awning"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (segment_a VARCHAR, segment_b VARCHAR) Question: Which Segment A has a Segment B of s awning? [/INST] SELECT segment_a FROM table_name_61 WHERE segment_b = "s awning" </s>
|
Which church had a Split off/Continuation in 1836?
|
CREATE TABLE table_name_40 (split_off___continuation_of VARCHAR, date VARCHAR)
|
SELECT split_off___continuation_of FROM table_name_40 WHERE date = "1836"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (split_off___continuation_of VARCHAR, date VARCHAR) Question: Which church had a Split off/Continuation in 1836? [/INST] SELECT split_off___continuation_of FROM table_name_40 WHERE date = "1836" </s>
|
Which church was organized by George M. Hinkle?
|
CREATE TABLE table_name_50 (church_name VARCHAR, organized_by VARCHAR)
|
SELECT church_name FROM table_name_50 WHERE organized_by = "george m. hinkle"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (church_name VARCHAR, organized_by VARCHAR) Question: Which church was organized by George M. Hinkle? [/INST] SELECT church_name FROM table_name_50 WHERE organized_by = "george m. hinkle" </s>
|
What was the Pure Church of Christ's Split off/ Continuation?
|
CREATE TABLE table_name_40 (split_off___continuation_of VARCHAR, church_name VARCHAR)
|
SELECT split_off___continuation_of FROM table_name_40 WHERE church_name = "pure church of christ"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (split_off___continuation_of VARCHAR, church_name VARCHAR) Question: What was the Pure Church of Christ's Split off/ Continuation? [/INST] SELECT split_off___continuation_of FROM table_name_40 WHERE church_name = "pure church of christ" </s>
|
What was the Independent Church's Split off/ Continuation?
|
CREATE TABLE table_name_44 (split_off___continuation_of VARCHAR, church_name VARCHAR)
|
SELECT split_off___continuation_of FROM table_name_44 WHERE church_name = "independent church"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (split_off___continuation_of VARCHAR, church_name VARCHAR) Question: What was the Independent Church's Split off/ Continuation? [/INST] SELECT split_off___continuation_of FROM table_name_44 WHERE church_name = "independent church" </s>
|
Who organized Alston Church?
|
CREATE TABLE table_name_68 (organized_by VARCHAR, church_name VARCHAR)
|
SELECT organized_by FROM table_name_68 WHERE church_name = "alston church"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (organized_by VARCHAR, church_name VARCHAR) Question: Who organized Alston Church? [/INST] SELECT organized_by FROM table_name_68 WHERE church_name = "alston church" </s>
|
what is the name of the netherlands head quarters
|
CREATE TABLE table_name_68 (name VARCHAR, headquarters VARCHAR)
|
SELECT name FROM table_name_68 WHERE headquarters = "the netherlands"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (name VARCHAR, headquarters VARCHAR) Question: what is the name of the netherlands head quarters [/INST] SELECT name FROM table_name_68 WHERE headquarters = "the netherlands" </s>
|
what person was in rank 10
|
CREATE TABLE table_name_10 (rider VARCHAR, rank VARCHAR)
|
SELECT rider FROM table_name_10 WHERE rank = 10
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (rider VARCHAR, rank VARCHAR) Question: what person was in rank 10 [/INST] SELECT rider FROM table_name_10 WHERE rank = 10 </s>
|
Which driver has 210 as entries?
|
CREATE TABLE table_name_40 (driver VARCHAR, entries VARCHAR)
|
SELECT driver FROM table_name_40 WHERE entries = 210
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (driver VARCHAR, entries VARCHAR) Question: Which driver has 210 as entries? [/INST] SELECT driver FROM table_name_40 WHERE entries = 210 </s>
|
Which seasons have fernando alonso as the driver?
|
CREATE TABLE table_name_24 (seasons VARCHAR, driver VARCHAR)
|
SELECT seasons FROM table_name_24 WHERE driver = "fernando alonso"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (seasons VARCHAR, driver VARCHAR) Question: Which seasons have fernando alonso as the driver? [/INST] SELECT seasons FROM table_name_24 WHERE driver = "fernando alonso" </s>
|
What club had 0 goals?
|
CREATE TABLE table_name_4 (club VARCHAR, goals VARCHAR)
|
SELECT club FROM table_name_4 WHERE goals = 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (club VARCHAR, goals VARCHAR) Question: What club had 0 goals? [/INST] SELECT club FROM table_name_4 WHERE goals = 0 </s>
|
What club had over 0 goals in 2011?
|
CREATE TABLE table_name_40 (club VARCHAR, goals VARCHAR, season VARCHAR)
|
SELECT club FROM table_name_40 WHERE goals > 0 AND season = "2011"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (club VARCHAR, goals VARCHAR, season VARCHAR) Question: What club had over 0 goals in 2011? [/INST] SELECT club FROM table_name_40 WHERE goals > 0 AND season = "2011" </s>
|
What team drove a Dodge vehicle?
|
CREATE TABLE table_name_27 (team VARCHAR, make VARCHAR)
|
SELECT team FROM table_name_27 WHERE make = "dodge"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (team VARCHAR, make VARCHAR) Question: What team drove a Dodge vehicle? [/INST] SELECT team FROM table_name_27 WHERE make = "dodge" </s>
|
What was Stacy Compton's position?
|
CREATE TABLE table_name_31 (pos VARCHAR, driver VARCHAR)
|
SELECT pos FROM table_name_31 WHERE driver = "stacy compton"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (pos VARCHAR, driver VARCHAR) Question: What was Stacy Compton's position? [/INST] SELECT pos FROM table_name_31 WHERE driver = "stacy compton" </s>
|
What was the average position of car number 59?
|
CREATE TABLE table_name_82 (pos INTEGER, car__number VARCHAR)
|
SELECT AVG(pos) FROM table_name_82 WHERE car__number = 59
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (pos INTEGER, car__number VARCHAR) Question: What was the average position of car number 59? [/INST] SELECT AVG(pos) FROM table_name_82 WHERE car__number = 59 </s>
|
How much was the loss of April 25?
|
CREATE TABLE table_name_51 (loss VARCHAR, date VARCHAR)
|
SELECT loss FROM table_name_51 WHERE date = "april 25"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (loss VARCHAR, date VARCHAR) Question: How much was the loss of April 25? [/INST] SELECT loss FROM table_name_51 WHERE date = "april 25" </s>
|
What is the average total with less than 8 bronze, 3 silver, and a Rank smaller than 2?
|
CREATE TABLE table_name_76 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR)
|
SELECT AVG(total) FROM table_name_76 WHERE bronze < 8 AND silver = 3 AND rank < 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR) Question: What is the average total with less than 8 bronze, 3 silver, and a Rank smaller than 2? [/INST] SELECT AVG(total) FROM table_name_76 WHERE bronze < 8 AND silver = 3 AND rank < 2 </s>
|
What is the average Total with a Rank greater than 1, and a Bronze larger than 8?
|
CREATE TABLE table_name_3 (total INTEGER, rank VARCHAR, bronze VARCHAR)
|
SELECT AVG(total) FROM table_name_3 WHERE rank > 1 AND bronze > 8
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (total INTEGER, rank VARCHAR, bronze VARCHAR) Question: What is the average Total with a Rank greater than 1, and a Bronze larger than 8? [/INST] SELECT AVG(total) FROM table_name_3 WHERE rank > 1 AND bronze > 8 </s>
|
What is the smallest silver from Vietnam?
|
CREATE TABLE table_name_7 (silver INTEGER, nation VARCHAR)
|
SELECT MIN(silver) FROM table_name_7 WHERE nation = "vietnam"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (silver INTEGER, nation VARCHAR) Question: What is the smallest silver from Vietnam? [/INST] SELECT MIN(silver) FROM table_name_7 WHERE nation = "vietnam" </s>
|
What is the largest silver from Malaysia with a Total smaller than 23?
|
CREATE TABLE table_name_34 (silver INTEGER, nation VARCHAR, total VARCHAR)
|
SELECT MAX(silver) FROM table_name_34 WHERE nation = "malaysia" AND total < 23
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (silver INTEGER, nation VARCHAR, total VARCHAR) Question: What is the largest silver from Malaysia with a Total smaller than 23? [/INST] SELECT MAX(silver) FROM table_name_34 WHERE nation = "malaysia" AND total < 23 </s>
|
What is the largest bronze with a Rank of 2, and a Gold smaller than 8?
|
CREATE TABLE table_name_86 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
|
SELECT MAX(bronze) FROM table_name_86 WHERE rank = 2 AND gold < 8
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (bronze INTEGER, rank VARCHAR, gold VARCHAR) Question: What is the largest bronze with a Rank of 2, and a Gold smaller than 8? [/INST] SELECT MAX(bronze) FROM table_name_86 WHERE rank = 2 AND gold < 8 </s>
|
How many ranks have a Bronze smaller than 8, and a Total smaller than 7, and a Gold smaller than 1?
|
CREATE TABLE table_name_1 (rank VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR)
|
SELECT COUNT(rank) FROM table_name_1 WHERE bronze < 8 AND total < 7 AND gold < 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (rank VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR) Question: How many ranks have a Bronze smaller than 8, and a Total smaller than 7, and a Gold smaller than 1? [/INST] SELECT COUNT(rank) FROM table_name_1 WHERE bronze < 8 AND total < 7 AND gold < 1 </s>
|
Voivodeship or city of nowogródzkie has what capital?
|
CREATE TABLE table_name_75 (capital VARCHAR, voivodeship_or_city VARCHAR)
|
SELECT capital FROM table_name_75 WHERE voivodeship_or_city = "nowogródzkie"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (capital VARCHAR, voivodeship_or_city VARCHAR) Question: Voivodeship or city of nowogródzkie has what capital? [/INST] SELECT capital FROM table_name_75 WHERE voivodeship_or_city = "nowogródzkie" </s>
|
Capital of brześć nad bugiem has what area (1930) in 1000skm?
|
CREATE TABLE table_name_72 (area__1930__in_1 VARCHAR, capital VARCHAR)
|
SELECT area__1930__in_1, 000 AS skm_2 FROM table_name_72 WHERE capital = "brześć nad bugiem"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (area__1930__in_1 VARCHAR, capital VARCHAR) Question: Capital of brześć nad bugiem has what area (1930) in 1000skm? [/INST] SELECT area__1930__in_1, 000 AS skm_2 FROM table_name_72 WHERE capital = "brześć nad bugiem" </s>
|
Capital of brześć nad bugiem has what population (1931) in 1,000s?
|
CREATE TABLE table_name_88 (population__1931__in_1 VARCHAR, capital VARCHAR)
|
SELECT population__1931__in_1, 000 AS s FROM table_name_88 WHERE capital = "brześć nad bugiem"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (population__1931__in_1 VARCHAR, capital VARCHAR) Question: Capital of brześć nad bugiem has what population (1931) in 1,000s? [/INST] SELECT population__1931__in_1, 000 AS s FROM table_name_88 WHERE capital = "brześć nad bugiem" </s>
|
Which Poles has a Wins larger than 0, and a Podiums smaller than 17?
|
CREATE TABLE table_name_94 (poles VARCHAR, fastest_laps VARCHAR, wins VARCHAR, podiums VARCHAR)
|
SELECT poles FROM table_name_94 WHERE wins > 0 AND podiums < 17 AND fastest_laps = 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (poles VARCHAR, fastest_laps VARCHAR, wins VARCHAR, podiums VARCHAR) Question: Which Poles has a Wins larger than 0, and a Podiums smaller than 17? [/INST] SELECT poles FROM table_name_94 WHERE wins > 0 AND podiums < 17 AND fastest_laps = 0 </s>
|
which Poles has a Fastest Laps of 0, and a Races of 17, and a Wins larger than 0, and a Podiums smaller than 2?
|
CREATE TABLE table_name_74 (poles INTEGER, podiums VARCHAR, wins VARCHAR, fastest_laps VARCHAR, races VARCHAR)
|
SELECT MAX(poles) FROM table_name_74 WHERE fastest_laps = 0 AND races = 17 AND wins > 0 AND podiums < 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (poles INTEGER, podiums VARCHAR, wins VARCHAR, fastest_laps VARCHAR, races VARCHAR) Question: which Poles has a Fastest Laps of 0, and a Races of 17, and a Wins larger than 0, and a Podiums smaller than 2? [/INST] SELECT MAX(poles) FROM table_name_74 WHERE fastest_laps = 0 AND races = 17 AND wins > 0 AND podiums < 2 </s>
|
How many Fastest Laps have Poles of 4, and Races larger than 178?
|
CREATE TABLE table_name_81 (fastest_laps INTEGER, poles VARCHAR, races VARCHAR)
|
SELECT SUM(fastest_laps) FROM table_name_81 WHERE poles = 4 AND races > 178
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (fastest_laps INTEGER, poles VARCHAR, races VARCHAR) Question: How many Fastest Laps have Poles of 4, and Races larger than 178? [/INST] SELECT SUM(fastest_laps) FROM table_name_81 WHERE poles = 4 AND races > 178 </s>
|
Which the Fastest Lap has a Season of 2009 and Poles smaller than 0?
|
CREATE TABLE table_name_65 (fastest_laps INTEGER, season VARCHAR, poles VARCHAR)
|
SELECT MAX(fastest_laps) FROM table_name_65 WHERE season = "2009" AND poles < 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (fastest_laps INTEGER, season VARCHAR, poles VARCHAR) Question: Which the Fastest Lap has a Season of 2009 and Poles smaller than 0? [/INST] SELECT MAX(fastest_laps) FROM table_name_65 WHERE season = "2009" AND poles < 0 </s>
|
Which the Fastest Laps that have Poles of 0, and a Season of 2002, and a Podiums smaller than 0?
|
CREATE TABLE table_name_8 (fastest_laps INTEGER, podiums VARCHAR, poles VARCHAR, season VARCHAR)
|
SELECT AVG(fastest_laps) FROM table_name_8 WHERE poles = 0 AND season = "2002" AND podiums < 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (fastest_laps INTEGER, podiums VARCHAR, poles VARCHAR, season VARCHAR) Question: Which the Fastest Laps that have Poles of 0, and a Season of 2002, and a Podiums smaller than 0? [/INST] SELECT AVG(fastest_laps) FROM table_name_8 WHERE poles = 0 AND season = "2002" AND podiums < 0 </s>
|
What Variant has a Launch site that is white sands?
|
CREATE TABLE table_name_68 (variant VARCHAR, launch_site VARCHAR)
|
SELECT variant FROM table_name_68 WHERE launch_site = "white sands"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (variant VARCHAR, launch_site VARCHAR) Question: What Variant has a Launch site that is white sands? [/INST] SELECT variant FROM table_name_68 WHERE launch_site = "white sands" </s>
|
what was the score in 1990
|
CREATE TABLE table_name_85 (score VARCHAR, year VARCHAR)
|
SELECT score FROM table_name_85 WHERE year = 1990
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (score VARCHAR, year VARCHAR) Question: what was the score in 1990 [/INST] SELECT score FROM table_name_85 WHERE year = 1990 </s>
|
In 1950 what is the average rank?
|
CREATE TABLE table_name_40 (rank INTEGER, year VARCHAR)
|
SELECT AVG(rank) FROM table_name_40 WHERE year = 1950
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (rank INTEGER, year VARCHAR) Question: In 1950 what is the average rank? [/INST] SELECT AVG(rank) FROM table_name_40 WHERE year = 1950 </s>
|
What is the building's name that is 617 / 188 in height and ranked less than 6?
|
CREATE TABLE table_name_47 (name VARCHAR, rank VARCHAR, height_feet___m VARCHAR)
|
SELECT name FROM table_name_47 WHERE rank < 6 AND height_feet___m = "617 / 188"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (name VARCHAR, rank VARCHAR, height_feet___m VARCHAR) Question: What is the building's name that is 617 / 188 in height and ranked less than 6? [/INST] SELECT name FROM table_name_47 WHERE rank < 6 AND height_feet___m = "617 / 188" </s>
|
What is the number of rounds that took place for the fight that lasted 6:21?
|
CREATE TABLE table_name_1 (round VARCHAR, time VARCHAR)
|
SELECT COUNT(round) FROM table_name_1 WHERE time = "6:21"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (round VARCHAR, time VARCHAR) Question: What is the number of rounds that took place for the fight that lasted 6:21? [/INST] SELECT COUNT(round) FROM table_name_1 WHERE time = "6:21" </s>
|
What is the average year of the most recent appearance of the Boston Crusaders, who had their first appearance after 1976?
|
CREATE TABLE table_name_27 (year_of_most_recent_appearance INTEGER, year_of_first_appearance VARCHAR, corps_name VARCHAR)
|
SELECT AVG(year_of_most_recent_appearance) FROM table_name_27 WHERE year_of_first_appearance > 1976 AND corps_name = "boston crusaders"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (year_of_most_recent_appearance INTEGER, year_of_first_appearance VARCHAR, corps_name VARCHAR) Question: What is the average year of the most recent appearance of the Boston Crusaders, who had their first appearance after 1976? [/INST] SELECT AVG(year_of_most_recent_appearance) FROM table_name_27 WHERE year_of_first_appearance > 1976 AND corps_name = "boston crusaders" </s>
|
What is the year of most recent appearance of the Suncoast sound, who had more than 7 finals appearances?
|
CREATE TABLE table_name_95 (year_of_most_recent_appearance VARCHAR, corps_name VARCHAR, number_of_finals_appearances VARCHAR)
|
SELECT COUNT(year_of_most_recent_appearance) FROM table_name_95 WHERE corps_name = "suncoast sound" AND number_of_finals_appearances > 7
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (year_of_most_recent_appearance VARCHAR, corps_name VARCHAR, number_of_finals_appearances VARCHAR) Question: What is the year of most recent appearance of the Suncoast sound, who had more than 7 finals appearances? [/INST] SELECT COUNT(year_of_most_recent_appearance) FROM table_name_95 WHERE corps_name = "suncoast sound" AND number_of_finals_appearances > 7 </s>
|
What is the year of the first appearance of the Black Knights, who had less than 1 finals appearances?
|
CREATE TABLE table_name_38 (year_of_first_appearance VARCHAR, corps_name VARCHAR, number_of_finals_appearances VARCHAR)
|
SELECT COUNT(year_of_first_appearance) FROM table_name_38 WHERE corps_name = "black knights" AND number_of_finals_appearances < 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (year_of_first_appearance VARCHAR, corps_name VARCHAR, number_of_finals_appearances VARCHAR) Question: What is the year of the first appearance of the Black Knights, who had less than 1 finals appearances? [/INST] SELECT COUNT(year_of_first_appearance) FROM table_name_38 WHERE corps_name = "black knights" AND number_of_finals_appearances < 1 </s>
|
What is the Pick # of the player with an Overall less than 203 from West Virginia?
|
CREATE TABLE table_name_37 (pick__number VARCHAR, college VARCHAR, overall VARCHAR)
|
SELECT COUNT(pick__number) FROM table_name_37 WHERE college = "west virginia" AND overall < 203
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (pick__number VARCHAR, college VARCHAR, overall VARCHAR) Question: What is the Pick # of the player with an Overall less than 203 from West Virginia? [/INST] SELECT COUNT(pick__number) FROM table_name_37 WHERE college = "west virginia" AND overall < 203 </s>
|
In what Round was the draft pick from Florida with an Overall less than 166?
|
CREATE TABLE table_name_93 (round INTEGER, college VARCHAR, overall VARCHAR)
|
SELECT AVG(round) FROM table_name_93 WHERE college = "florida" AND overall < 166
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (round INTEGER, college VARCHAR, overall VARCHAR) Question: In what Round was the draft pick from Florida with an Overall less than 166? [/INST] SELECT AVG(round) FROM table_name_93 WHERE college = "florida" AND overall < 166 </s>
|
What is the highest number of silver when there is 1 bronze and less than 4 golds?
|
CREATE TABLE table_name_38 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
|
SELECT MAX(silver) FROM table_name_38 WHERE bronze = 1 AND gold < 4
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (silver INTEGER, bronze VARCHAR, gold VARCHAR) Question: What is the highest number of silver when there is 1 bronze and less than 4 golds? [/INST] SELECT MAX(silver) FROM table_name_38 WHERE bronze = 1 AND gold < 4 </s>
|
How many bronze medals are there when there are fewer than 3 silver medals and 7 medals total?
|
CREATE TABLE table_name_69 (bronze VARCHAR, silver VARCHAR, total VARCHAR)
|
SELECT bronze FROM table_name_69 WHERE silver < 3 AND total = 7
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (bronze VARCHAR, silver VARCHAR, total VARCHAR) Question: How many bronze medals are there when there are fewer than 3 silver medals and 7 medals total? [/INST] SELECT bronze FROM table_name_69 WHERE silver < 3 AND total = 7 </s>
|
What team has rank 3?
|
CREATE TABLE table_name_73 (team VARCHAR, rank VARCHAR)
|
SELECT team FROM table_name_73 WHERE rank = 3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (team VARCHAR, rank VARCHAR) Question: What team has rank 3? [/INST] SELECT team FROM table_name_73 WHERE rank = 3 </s>
|
Which Playing For has a # 100 larger than 36, and a Score of 122?
|
CREATE TABLE table_name_27 (playing_for VARCHAR, _number_100 VARCHAR, score VARCHAR)
|
SELECT playing_for FROM table_name_27 WHERE _number_100 > 36 AND score = "122"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (playing_for VARCHAR, _number_100 VARCHAR, score VARCHAR) Question: Which Playing For has a # 100 larger than 36, and a Score of 122? [/INST] SELECT playing_for FROM table_name_27 WHERE _number_100 > 36 AND score = "122" </s>
|
Which # 100 has a Season of 1991, and an Against of surrey?
|
CREATE TABLE table_name_87 (_number_100 INTEGER, season VARCHAR, against VARCHAR)
|
SELECT MAX(_number_100) FROM table_name_87 WHERE season = "1991" AND against = "surrey"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (_number_100 INTEGER, season VARCHAR, against VARCHAR) Question: Which # 100 has a Season of 1991, and an Against of surrey? [/INST] SELECT MAX(_number_100) FROM table_name_87 WHERE season = "1991" AND against = "surrey" </s>
|
Which sum of # 100 has a Season of 1990, and an Against of warwickshire?
|
CREATE TABLE table_name_33 (_number_100 INTEGER, season VARCHAR, against VARCHAR)
|
SELECT SUM(_number_100) FROM table_name_33 WHERE season = "1990" AND against = "warwickshire"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (_number_100 INTEGER, season VARCHAR, against VARCHAR) Question: Which sum of # 100 has a Season of 1990, and an Against of warwickshire? [/INST] SELECT SUM(_number_100) FROM table_name_33 WHERE season = "1990" AND against = "warwickshire" </s>
|
Which Against has a Season of 1987/88, and a # 100 larger than 13, and a Score of 139?
|
CREATE TABLE table_name_98 (against VARCHAR, score VARCHAR, season VARCHAR, _number_100 VARCHAR)
|
SELECT against FROM table_name_98 WHERE season = "1987/88" AND _number_100 > 13 AND score = "139"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (against VARCHAR, score VARCHAR, season VARCHAR, _number_100 VARCHAR) Question: Which Against has a Season of 1987/88, and a # 100 larger than 13, and a Score of 139? [/INST] SELECT against FROM table_name_98 WHERE season = "1987/88" AND _number_100 > 13 AND score = "139" </s>
|
What is the highest earnings for the golfer who has more than 37 wins?
|
CREATE TABLE table_name_90 (earnings___ INTEGER, wins INTEGER)
|
SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE wins > 37
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (earnings___ INTEGER, wins INTEGER) Question: What is the highest earnings for the golfer who has more than 37 wins? [/INST] SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE wins > 37 </s>
|
What Tejano webcast has a callsign of KBDR?
|
CREATE TABLE table_name_2 (webcast VARCHAR, format VARCHAR, callsign VARCHAR)
|
SELECT webcast FROM table_name_2 WHERE format = "tejano" AND callsign = "kbdr"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (webcast VARCHAR, format VARCHAR, callsign VARCHAR) Question: What Tejano webcast has a callsign of KBDR? [/INST] SELECT webcast FROM table_name_2 WHERE format = "tejano" AND callsign = "kbdr" </s>
|
What's the highest frequency of the KBDR callsign?
|
CREATE TABLE table_name_4 (frequency INTEGER, callsign VARCHAR)
|
SELECT MAX(frequency) FROM table_name_4 WHERE callsign = "kbdr"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (frequency INTEGER, callsign VARCHAR) Question: What's the highest frequency of the KBDR callsign? [/INST] SELECT MAX(frequency) FROM table_name_4 WHERE callsign = "kbdr" </s>
|
What's the website for the Listen Live webcast on the 99.3 frequency?
|
CREATE TABLE table_name_81 (website VARCHAR, webcast VARCHAR, frequency VARCHAR)
|
SELECT website FROM table_name_81 WHERE webcast = "listen live" AND frequency = 99.3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (website VARCHAR, webcast VARCHAR, frequency VARCHAR) Question: What's the website for the Listen Live webcast on the 99.3 frequency? [/INST] SELECT website FROM table_name_81 WHERE webcast = "listen live" AND frequency = 99.3 </s>
|
Which Webcast has the digital1073.com website?
|
CREATE TABLE table_name_46 (webcast VARCHAR, website VARCHAR)
|
SELECT webcast FROM table_name_46 WHERE website = "digital1073.com"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (webcast VARCHAR, website VARCHAR) Question: Which Webcast has the digital1073.com website? [/INST] SELECT webcast FROM table_name_46 WHERE website = "digital1073.com" </s>
|
Which Date has a Tournament of at&t pebble beach national pro-am, and a Margin of victory of 1 stroke, and a To par of –11?
|
CREATE TABLE table_name_14 (date VARCHAR, to_par VARCHAR, tournament VARCHAR, margin_of_victory VARCHAR)
|
SELECT date FROM table_name_14 WHERE tournament = "at&t pebble beach national pro-am" AND margin_of_victory = "1 stroke" AND to_par = "–11"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (date VARCHAR, to_par VARCHAR, tournament VARCHAR, margin_of_victory VARCHAR) Question: Which Date has a Tournament of at&t pebble beach national pro-am, and a Margin of victory of 1 stroke, and a To par of –11? [/INST] SELECT date FROM table_name_14 WHERE tournament = "at&t pebble beach national pro-am" AND margin_of_victory = "1 stroke" AND to_par = "–11" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.