instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
What is the result for an H/A of H and a round value of R6 replay?
|
CREATE TABLE table_name_29 (result VARCHAR, h___a VARCHAR, round VARCHAR)
|
SELECT result FROM table_name_29 WHERE h___a = "h" AND round = "r6 replay"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (result VARCHAR, h___a VARCHAR, round VARCHAR) Question: What is the result for an H/A of H and a round value of R6 replay? [/INST] SELECT result FROM table_name_29 WHERE h___a = "h" AND round = "r6 replay" </s>
|
What was the kickoff date for the round value of R4?
|
CREATE TABLE table_name_23 (kick_off VARCHAR, round VARCHAR)
|
SELECT kick_off FROM table_name_23 WHERE round = "r4"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (kick_off VARCHAR, round VARCHAR) Question: What was the kickoff date for the round value of R4? [/INST] SELECT kick_off FROM table_name_23 WHERE round = "r4" </s>
|
What country was Henry Picard from?
|
CREATE TABLE table_name_22 (country VARCHAR, player VARCHAR)
|
SELECT country FROM table_name_22 WHERE player = "henry picard"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (country VARCHAR, player VARCHAR) Question: What country was Henry Picard from? [/INST] SELECT country FROM table_name_22 WHERE player = "henry picard" </s>
|
Name the sum of inversions for opened of april 20, 2002
|
CREATE TABLE table_name_89 (inversions INTEGER, opened VARCHAR)
|
SELECT SUM(inversions) FROM table_name_89 WHERE opened = "april 20, 2002"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (inversions INTEGER, opened VARCHAR) Question: Name the sum of inversions for opened of april 20, 2002 [/INST] SELECT SUM(inversions) FROM table_name_89 WHERE opened = "april 20, 2002" </s>
|
Name the opened for spain
|
CREATE TABLE table_name_59 (opened VARCHAR, country VARCHAR)
|
SELECT opened FROM table_name_59 WHERE country = "spain"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (opened VARCHAR, country VARCHAR) Question: Name the opened for spain [/INST] SELECT opened FROM table_name_59 WHERE country = "spain" </s>
|
Name the status for six flags new england
|
CREATE TABLE table_name_29 (status VARCHAR, park VARCHAR)
|
SELECT status FROM table_name_29 WHERE park = "six flags new england"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (status VARCHAR, park VARCHAR) Question: Name the status for six flags new england [/INST] SELECT status FROM table_name_29 WHERE park = "six flags new england" </s>
|
Name the to par with money of 200,000 for australia
|
CREATE TABLE table_name_30 (to_par VARCHAR, money___£__ VARCHAR, country VARCHAR)
|
SELECT to_par FROM table_name_30 WHERE money___£__ = "200,000" AND country = "australia"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (to_par VARCHAR, money___£__ VARCHAR, country VARCHAR) Question: Name the to par with money of 200,000 for australia [/INST] SELECT to_par FROM table_name_30 WHERE money___£__ = "200,000" AND country = "australia" </s>
|
Name the money for ireland
|
CREATE TABLE table_name_73 (money___£__ VARCHAR, country VARCHAR)
|
SELECT money___£__ FROM table_name_73 WHERE country = "ireland"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (money___£__ VARCHAR, country VARCHAR) Question: Name the money for ireland [/INST] SELECT money___£__ FROM table_name_73 WHERE country = "ireland" </s>
|
Name the money for pádraig harrington
|
CREATE TABLE table_name_56 (money___£__ VARCHAR, player VARCHAR)
|
SELECT money___£__ FROM table_name_56 WHERE player = "pádraig harrington"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (money___£__ VARCHAR, player VARCHAR) Question: Name the money for pádraig harrington [/INST] SELECT money___£__ FROM table_name_56 WHERE player = "pádraig harrington" </s>
|
Name the to par for score of 69-73-68-70=280
|
CREATE TABLE table_name_84 (to_par VARCHAR, score VARCHAR)
|
SELECT to_par FROM table_name_84 WHERE score = 69 - 73 - 68 - 70 = 280
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (to_par VARCHAR, score VARCHAR) Question: Name the to par for score of 69-73-68-70=280 [/INST] SELECT to_par FROM table_name_84 WHERE score = 69 - 73 - 68 - 70 = 280 </s>
|
Name the money for the to par of -6
|
CREATE TABLE table_name_49 (money___£__ VARCHAR, to_par VARCHAR)
|
SELECT money___£__ FROM table_name_49 WHERE to_par = "-6"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (money___£__ VARCHAR, to_par VARCHAR) Question: Name the money for the to par of -6 [/INST] SELECT money___£__ FROM table_name_49 WHERE to_par = "-6" </s>
|
On what date or dates did the term with the Centre Party end?
|
CREATE TABLE table_name_85 (term_end VARCHAR, party VARCHAR)
|
SELECT term_end FROM table_name_85 WHERE party = "centre party"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (term_end VARCHAR, party VARCHAR) Question: On what date or dates did the term with the Centre Party end? [/INST] SELECT term_end FROM table_name_85 WHERE party = "centre party" </s>
|
When did the term end for the term that had government 27 and Minister Tzachi Hanegbi?
|
CREATE TABLE table_name_72 (term_end VARCHAR, governments VARCHAR, minister VARCHAR)
|
SELECT term_end FROM table_name_72 WHERE governments = "27" AND minister = "tzachi hanegbi"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (term_end VARCHAR, governments VARCHAR, minister VARCHAR) Question: When did the term end for the term that had government 27 and Minister Tzachi Hanegbi? [/INST] SELECT term_end FROM table_name_72 WHERE governments = "27" AND minister = "tzachi hanegbi" </s>
|
What is the location/state of the race on the Wanneroo raceway?
|
CREATE TABLE table_name_5 (location___state VARCHAR, circuit VARCHAR)
|
SELECT location___state FROM table_name_5 WHERE circuit = "wanneroo raceway"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (location___state VARCHAR, circuit VARCHAR) Question: What is the location/state of the race on the Wanneroo raceway? [/INST] SELECT location___state FROM table_name_5 WHERE circuit = "wanneroo raceway" </s>
|
What is the location/state of the Launceston race?
|
CREATE TABLE table_name_60 (location___state VARCHAR, race_title VARCHAR)
|
SELECT location___state FROM table_name_60 WHERE race_title = "launceston"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (location___state VARCHAR, race_title VARCHAR) Question: What is the location/state of the Launceston race? [/INST] SELECT location___state FROM table_name_60 WHERE race_title = "launceston" </s>
|
What is the team of winner Dick Johnson?
|
CREATE TABLE table_name_55 (team VARCHAR, winner VARCHAR)
|
SELECT team FROM table_name_55 WHERE winner = "dick johnson"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (team VARCHAR, winner VARCHAR) Question: What is the team of winner Dick Johnson? [/INST] SELECT team FROM table_name_55 WHERE winner = "dick johnson" </s>
|
What is the race title of the Oran Park raceway circuit with team jps team bmw?
|
CREATE TABLE table_name_8 (race_title VARCHAR, team VARCHAR, circuit VARCHAR)
|
SELECT race_title FROM table_name_8 WHERE team = "jps team bmw" AND circuit = "oran park raceway"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (race_title VARCHAR, team VARCHAR, circuit VARCHAR) Question: What is the race title of the Oran Park raceway circuit with team jps team bmw? [/INST] SELECT race_title FROM table_name_8 WHERE team = "jps team bmw" AND circuit = "oran park raceway" </s>
|
Name the total number of population hervey bay with population woocoo less than 640 and population of maryborough less than 19,257
|
CREATE TABLE table_name_94 (population__hervey_bay_ VARCHAR, population__woocoo_ VARCHAR, population__maryborough_ VARCHAR)
|
SELECT COUNT(population__hervey_bay_) FROM table_name_94 WHERE population__woocoo_ < 640 AND population__maryborough_ < 19 OFFSET 257 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (population__hervey_bay_ VARCHAR, population__woocoo_ VARCHAR, population__maryborough_ VARCHAR) Question: Name the total number of population hervey bay with population woocoo less than 640 and population of maryborough less than 19,257 [/INST] SELECT COUNT(population__hervey_bay_) FROM table_name_94 WHERE population__woocoo_ < 640 AND population__maryborough_ < 19 OFFSET 257 ROWS </s>
|
Which manufacturer made Shoya Tomizawa's motorcycle?
|
CREATE TABLE table_name_20 (manufacturer VARCHAR, rider VARCHAR)
|
SELECT manufacturer FROM table_name_20 WHERE rider = "shoya tomizawa"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (manufacturer VARCHAR, rider VARCHAR) Question: Which manufacturer made Shoya Tomizawa's motorcycle? [/INST] SELECT manufacturer FROM table_name_20 WHERE rider = "shoya tomizawa" </s>
|
How many laps were ridden in the race that had a Time/Retired of +37.351?
|
CREATE TABLE table_name_24 (laps VARCHAR, time_retired VARCHAR)
|
SELECT COUNT(laps) FROM table_name_24 WHERE time_retired = "+37.351"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (laps VARCHAR, time_retired VARCHAR) Question: How many laps were ridden in the race that had a Time/Retired of +37.351? [/INST] SELECT COUNT(laps) FROM table_name_24 WHERE time_retired = "+37.351" </s>
|
How many laps did Mattia Pasini ride?
|
CREATE TABLE table_name_16 (laps INTEGER, rider VARCHAR)
|
SELECT MIN(laps) FROM table_name_16 WHERE rider = "mattia pasini"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (laps INTEGER, rider VARCHAR) Question: How many laps did Mattia Pasini ride? [/INST] SELECT MIN(laps) FROM table_name_16 WHERE rider = "mattia pasini" </s>
|
What position does the player who has made 244 appearances with a Leeds career of 1981–1989 play?
|
CREATE TABLE table_name_58 (position VARCHAR, appearances VARCHAR, leeds_career VARCHAR)
|
SELECT position FROM table_name_58 WHERE appearances = 244 AND leeds_career = "1981–1989"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (position VARCHAR, appearances VARCHAR, leeds_career VARCHAR) Question: What position does the player who has made 244 appearances with a Leeds career of 1981–1989 play? [/INST] SELECT position FROM table_name_58 WHERE appearances = 244 AND leeds_career = "1981–1989" </s>
|
What position does the Wales player who made more than 167 appearances, had more than 0 goals, and had a Leeds career from 1977–1982 play?
|
CREATE TABLE table_name_56 (position VARCHAR, leeds_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR)
|
SELECT position FROM table_name_56 WHERE appearances > 167 AND nationality = "wales" AND goals > 0 AND leeds_career = "1977–1982"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (position VARCHAR, leeds_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR) Question: What position does the Wales player who made more than 167 appearances, had more than 0 goals, and had a Leeds career from 1977–1982 play? [/INST] SELECT position FROM table_name_56 WHERE appearances > 167 AND nationality = "wales" AND goals > 0 AND leeds_career = "1977–1982" </s>
|
What is the average number of goals for a player who had a Leeds career from 1960–1964 and made fewer than 120 appearances?
|
CREATE TABLE table_name_68 (goals INTEGER, leeds_career VARCHAR, appearances VARCHAR)
|
SELECT AVG(goals) FROM table_name_68 WHERE leeds_career = "1960–1964" AND appearances < 120
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (goals INTEGER, leeds_career VARCHAR, appearances VARCHAR) Question: What is the average number of goals for a player who had a Leeds career from 1960–1964 and made fewer than 120 appearances? [/INST] SELECT AVG(goals) FROM table_name_68 WHERE leeds_career = "1960–1964" AND appearances < 120 </s>
|
Who attended the school in 2008, that Deandria Hill attended in 2005?
|
CREATE TABLE table_name_15 (Id VARCHAR)
|
SELECT 2008 FROM table_name_15 WHERE 2005 = "deandria hill"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (Id VARCHAR) Question: Who attended the school in 2008, that Deandria Hill attended in 2005? [/INST] SELECT 2008 FROM table_name_15 WHERE 2005 = "deandria hill" </s>
|
Who attended the school in 2006, that Jasmine Wilson attended in 2005?
|
CREATE TABLE table_name_70 (Id VARCHAR)
|
SELECT 2006 FROM table_name_70 WHERE 2005 = "jasmine wilson"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (Id VARCHAR) Question: Who attended the school in 2006, that Jasmine Wilson attended in 2005? [/INST] SELECT 2006 FROM table_name_70 WHERE 2005 = "jasmine wilson" </s>
|
Who attended the school in 2009, that Lakita Hall attended in 2007?
|
CREATE TABLE table_name_60 (Id VARCHAR)
|
SELECT 2009 FROM table_name_60 WHERE 2007 = "lakita hall"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (Id VARCHAR) Question: Who attended the school in 2009, that Lakita Hall attended in 2007? [/INST] SELECT 2009 FROM table_name_60 WHERE 2007 = "lakita hall" </s>
|
Who attended the school in 2007, that Kiara Spivey attended in 2008?
|
CREATE TABLE table_name_20 (Id VARCHAR)
|
SELECT 2007 FROM table_name_20 WHERE 2008 = "kiara spivey"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (Id VARCHAR) Question: Who attended the school in 2007, that Kiara Spivey attended in 2008? [/INST] SELECT 2007 FROM table_name_20 WHERE 2008 = "kiara spivey" </s>
|
Who attended the school in 2006, that Whitney Powell attended in 2007?
|
CREATE TABLE table_name_32 (Id VARCHAR)
|
SELECT 2006 FROM table_name_32 WHERE 2007 = "whitney powell"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (Id VARCHAR) Question: Who attended the school in 2006, that Whitney Powell attended in 2007? [/INST] SELECT 2006 FROM table_name_32 WHERE 2007 = "whitney powell" </s>
|
Who attended the school in 2008, that Brikajdri Wilson attended in 2006?
|
CREATE TABLE table_name_42 (Id VARCHAR)
|
SELECT 2008 FROM table_name_42 WHERE 2006 = "brikajdri wilson"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (Id VARCHAR) Question: Who attended the school in 2008, that Brikajdri Wilson attended in 2006? [/INST] SELECT 2008 FROM table_name_42 WHERE 2006 = "brikajdri wilson" </s>
|
What is the lowest rank of a swimmer named Elizabeth Van Welie with a lane larger than 5?
|
CREATE TABLE table_name_85 (rank INTEGER, lane VARCHAR, name VARCHAR)
|
SELECT MIN(rank) FROM table_name_85 WHERE lane > 5 AND name = "elizabeth van welie"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (rank INTEGER, lane VARCHAR, name VARCHAR) Question: What is the lowest rank of a swimmer named Elizabeth Van Welie with a lane larger than 5? [/INST] SELECT MIN(rank) FROM table_name_85 WHERE lane > 5 AND name = "elizabeth van welie" </s>
|
What is the rank of the swimmer with a time of 2:11.83?
|
CREATE TABLE table_name_35 (rank VARCHAR, time VARCHAR)
|
SELECT rank FROM table_name_35 WHERE time = "2:11.83"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (rank VARCHAR, time VARCHAR) Question: What is the rank of the swimmer with a time of 2:11.83? [/INST] SELECT rank FROM table_name_35 WHERE time = "2:11.83" </s>
|
What is the lowest lane of a swimmer with a time of 2:07.57 and a rank larger than 1?
|
CREATE TABLE table_name_17 (lane INTEGER, time VARCHAR, rank VARCHAR)
|
SELECT MIN(lane) FROM table_name_17 WHERE time = "2:07.57" AND rank > 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (lane INTEGER, time VARCHAR, rank VARCHAR) Question: What is the lowest lane of a swimmer with a time of 2:07.57 and a rank larger than 1? [/INST] SELECT MIN(lane) FROM table_name_17 WHERE time = "2:07.57" AND rank > 1 </s>
|
What is the rank of the swimmer named Petria Thomas?
|
CREATE TABLE table_name_34 (rank VARCHAR, name VARCHAR)
|
SELECT rank FROM table_name_34 WHERE name = "petria thomas"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (rank VARCHAR, name VARCHAR) Question: What is the rank of the swimmer named Petria Thomas? [/INST] SELECT rank FROM table_name_34 WHERE name = "petria thomas" </s>
|
How many people were in attendance when the group position was 3rd?
|
CREATE TABLE table_name_56 (attendance VARCHAR, group_position VARCHAR)
|
SELECT attendance FROM table_name_56 WHERE group_position = "3rd"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (attendance VARCHAR, group_position VARCHAR) Question: How many people were in attendance when the group position was 3rd? [/INST] SELECT attendance FROM table_name_56 WHERE group_position = "3rd" </s>
|
What was the final score agains Dynamo Kyiv, when the group position was 1st?
|
CREATE TABLE table_name_39 (result_f___a VARCHAR, group_position VARCHAR, opponents VARCHAR)
|
SELECT result_f___a FROM table_name_39 WHERE group_position = "1st" AND opponents = "dynamo kyiv"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (result_f___a VARCHAR, group_position VARCHAR, opponents VARCHAR) Question: What was the final score agains Dynamo Kyiv, when the group position was 1st? [/INST] SELECT result_f___a FROM table_name_39 WHERE group_position = "1st" AND opponents = "dynamo kyiv" </s>
|
What was the average attendance on 18 October 2000?
|
CREATE TABLE table_name_51 (attendance INTEGER, date VARCHAR)
|
SELECT AVG(attendance) FROM table_name_51 WHERE date = "18 october 2000"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (attendance INTEGER, date VARCHAR) Question: What was the average attendance on 18 October 2000? [/INST] SELECT AVG(attendance) FROM table_name_51 WHERE date = "18 october 2000" </s>
|
In 2007, what player won player of the year?
|
CREATE TABLE table_name_35 (player VARCHAR, year_s__won VARCHAR)
|
SELECT player FROM table_name_35 WHERE year_s__won = "2007"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (player VARCHAR, year_s__won VARCHAR) Question: In 2007, what player won player of the year? [/INST] SELECT player FROM table_name_35 WHERE year_s__won = "2007" </s>
|
What year(s) did Mike Weir win player of the year?
|
CREATE TABLE table_name_45 (year_s__won VARCHAR, player VARCHAR)
|
SELECT year_s__won FROM table_name_45 WHERE player = "mike weir"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (year_s__won VARCHAR, player VARCHAR) Question: What year(s) did Mike Weir win player of the year? [/INST] SELECT year_s__won FROM table_name_45 WHERE player = "mike weir" </s>
|
The To par of +14 was won in what year(s)?
|
CREATE TABLE table_name_17 (year_s__won VARCHAR, to_par VARCHAR)
|
SELECT year_s__won FROM table_name_17 WHERE to_par = "+14"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (year_s__won VARCHAR, to_par VARCHAR) Question: The To par of +14 was won in what year(s)? [/INST] SELECT year_s__won FROM table_name_17 WHERE to_par = "+14" </s>
|
What is the result when the competition is 1982 president's cup?
|
CREATE TABLE table_name_5 (result VARCHAR, competition VARCHAR)
|
SELECT result FROM table_name_5 WHERE competition = "1982 president's cup"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (result VARCHAR, competition VARCHAR) Question: What is the result when the competition is 1982 president's cup? [/INST] SELECT result FROM table_name_5 WHERE competition = "1982 president's cup" </s>
|
What is the score when the date is December 14, 1985?
|
CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR)
|
SELECT score FROM table_name_98 WHERE date = "december 14, 1985"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR) Question: What is the score when the date is December 14, 1985? [/INST] SELECT score FROM table_name_98 WHERE date = "december 14, 1985" </s>
|
What is the venue when the date is September 24, 1980?
|
CREATE TABLE table_name_32 (venue VARCHAR, date VARCHAR)
|
SELECT venue FROM table_name_32 WHERE date = "september 24, 1980"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (venue VARCHAR, date VARCHAR) Question: What is the venue when the date is September 24, 1980? [/INST] SELECT venue FROM table_name_32 WHERE date = "september 24, 1980" </s>
|
What is the venue when the result is 2-0, and the score is 1 goal, and the competition is 1980 afc asian cup?
|
CREATE TABLE table_name_60 (venue VARCHAR, competition VARCHAR, result VARCHAR, score VARCHAR)
|
SELECT venue FROM table_name_60 WHERE result = "2-0" AND score = "1 goal" AND competition = "1980 afc asian cup"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (venue VARCHAR, competition VARCHAR, result VARCHAR, score VARCHAR) Question: What is the venue when the result is 2-0, and the score is 1 goal, and the competition is 1980 afc asian cup? [/INST] SELECT venue FROM table_name_60 WHERE result = "2-0" AND score = "1 goal" AND competition = "1980 afc asian cup" </s>
|
What is the venue when the score is 1 goal, and the date is August 27, 1980?
|
CREATE TABLE table_name_94 (venue VARCHAR, score VARCHAR, date VARCHAR)
|
SELECT venue FROM table_name_94 WHERE score = "1 goal" AND date = "august 27, 1980"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (venue VARCHAR, score VARCHAR, date VARCHAR) Question: What is the venue when the score is 1 goal, and the date is August 27, 1980? [/INST] SELECT venue FROM table_name_94 WHERE score = "1 goal" AND date = "august 27, 1980" </s>
|
What is the result when the date is August 27, 1980?
|
CREATE TABLE table_name_11 (result VARCHAR, date VARCHAR)
|
SELECT result FROM table_name_11 WHERE date = "august 27, 1980"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (result VARCHAR, date VARCHAR) Question: What is the result when the date is August 27, 1980? [/INST] SELECT result FROM table_name_11 WHERE date = "august 27, 1980" </s>
|
What year shows the Entrant of bmw motorsport?
|
CREATE TABLE table_name_15 (year INTEGER, entrant VARCHAR)
|
SELECT SUM(year) FROM table_name_15 WHERE entrant = "bmw motorsport"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (year INTEGER, entrant VARCHAR) Question: What year shows the Entrant of bmw motorsport? [/INST] SELECT SUM(year) FROM table_name_15 WHERE entrant = "bmw motorsport" </s>
|
Which Entrant of stp march engineering scored the lowest points?
|
CREATE TABLE table_name_78 (points INTEGER, entrant VARCHAR)
|
SELECT MIN(points) FROM table_name_78 WHERE entrant = "stp march engineering"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (points INTEGER, entrant VARCHAR) Question: Which Entrant of stp march engineering scored the lowest points? [/INST] SELECT MIN(points) FROM table_name_78 WHERE entrant = "stp march engineering" </s>
|
What year had the Chassis of march 762 and more than 0 points?
|
CREATE TABLE table_name_64 (year VARCHAR, chassis VARCHAR, points VARCHAR)
|
SELECT COUNT(year) FROM table_name_64 WHERE chassis = "march 762" AND points > 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (year VARCHAR, chassis VARCHAR, points VARCHAR) Question: What year had the Chassis of march 762 and more than 0 points? [/INST] SELECT COUNT(year) FROM table_name_64 WHERE chassis = "march 762" AND points > 0 </s>
|
Which engine of bmw had the lowest points and chassis of march 792 that is newer than 1979?
|
CREATE TABLE table_name_85 (points INTEGER, year VARCHAR, engine VARCHAR, chassis VARCHAR)
|
SELECT MIN(points) FROM table_name_85 WHERE engine = "bmw" AND chassis = "march 792" AND year > 1979
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (points INTEGER, year VARCHAR, engine VARCHAR, chassis VARCHAR) Question: Which engine of bmw had the lowest points and chassis of march 792 that is newer than 1979? [/INST] SELECT MIN(points) FROM table_name_85 WHERE engine = "bmw" AND chassis = "march 792" AND year > 1979 </s>
|
Which Conference has a City of boca raton, and a School of florida atlantic university?
|
CREATE TABLE table_name_74 (conference VARCHAR, city VARCHAR, school VARCHAR)
|
SELECT conference FROM table_name_74 WHERE city = "boca raton" AND school = "florida atlantic university"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (conference VARCHAR, city VARCHAR, school VARCHAR) Question: Which Conference has a City of boca raton, and a School of florida atlantic university? [/INST] SELECT conference FROM table_name_74 WHERE city = "boca raton" AND school = "florida atlantic university" </s>
|
Which School has a National Championships of 2, and a City of orlando?
|
CREATE TABLE table_name_27 (school VARCHAR, national_championships VARCHAR, city VARCHAR)
|
SELECT school FROM table_name_27 WHERE national_championships = 2 AND city = "orlando"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (school VARCHAR, national_championships VARCHAR, city VARCHAR) Question: Which School has a National Championships of 2, and a City of orlando? [/INST] SELECT school FROM table_name_27 WHERE national_championships = 2 AND city = "orlando" </s>
|
Which school has National Championships smaller than 2, and a Nickname of lions?
|
CREATE TABLE table_name_21 (school VARCHAR, national_championships VARCHAR, nickname VARCHAR)
|
SELECT school FROM table_name_21 WHERE national_championships < 2 AND nickname = "lions"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (school VARCHAR, national_championships VARCHAR, nickname VARCHAR) Question: Which school has National Championships smaller than 2, and a Nickname of lions? [/INST] SELECT school FROM table_name_21 WHERE national_championships < 2 AND nickname = "lions" </s>
|
What is the win percentage when 2011 shows 1r in the Paris tournament?
|
CREATE TABLE table_name_95 (win__percentage VARCHAR, tournament VARCHAR)
|
SELECT win__percentage FROM table_name_95 WHERE 2011 = "1r" AND tournament = "paris"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (win__percentage VARCHAR, tournament VARCHAR) Question: What is the win percentage when 2011 shows 1r in the Paris tournament? [/INST] SELECT win__percentage FROM table_name_95 WHERE 2011 = "1r" AND tournament = "paris" </s>
|
What shows for 2009 when 25 shows for 2011?
|
CREATE TABLE table_name_32 (Id VARCHAR)
|
SELECT 2009 FROM table_name_32 WHERE 2011 = "25"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (Id VARCHAR) Question: What shows for 2009 when 25 shows for 2011? [/INST] SELECT 2009 FROM table_name_32 WHERE 2011 = "25" </s>
|
What shows for 2010 when 2011 is 1r at the US Open tournament?
|
CREATE TABLE table_name_35 (tournament VARCHAR)
|
SELECT 2010 FROM table_name_35 WHERE 2011 = "1r" AND tournament = "us open"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (tournament VARCHAR) Question: What shows for 2010 when 2011 is 1r at the US Open tournament? [/INST] SELECT 2010 FROM table_name_35 WHERE 2011 = "1r" AND tournament = "us open" </s>
|
What is the win percentage when 2010 was 98?
|
CREATE TABLE table_name_74 (win__percentage VARCHAR)
|
SELECT win__percentage FROM table_name_74 WHERE 2010 = "98"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (win__percentage VARCHAR) Question: What is the win percentage when 2010 was 98? [/INST] SELECT win__percentage FROM table_name_74 WHERE 2010 = "98" </s>
|
What shows for 2008 at the Shanghai tournament?
|
CREATE TABLE table_name_22 (tournament VARCHAR)
|
SELECT 2008 FROM table_name_22 WHERE tournament = "shanghai"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (tournament VARCHAR) Question: What shows for 2008 at the Shanghai tournament? [/INST] SELECT 2008 FROM table_name_22 WHERE tournament = "shanghai" </s>
|
What is the win percentage for the 2012 of olympic games?
|
CREATE TABLE table_name_19 (win__percentage VARCHAR)
|
SELECT win__percentage FROM table_name_19 WHERE 2012 = "olympic games"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (win__percentage VARCHAR) Question: What is the win percentage for the 2012 of olympic games? [/INST] SELECT win__percentage FROM table_name_19 WHERE 2012 = "olympic games" </s>
|
Who was the opponent in the match that lasted 1:22?
|
CREATE TABLE table_name_25 (opponent VARCHAR, time VARCHAR)
|
SELECT opponent FROM table_name_25 WHERE time = "1:22"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (opponent VARCHAR, time VARCHAR) Question: Who was the opponent in the match that lasted 1:22? [/INST] SELECT opponent FROM table_name_25 WHERE time = "1:22" </s>
|
Which round did the bout against Jonatas Novaes end in?
|
CREATE TABLE table_name_36 (round VARCHAR, opponent VARCHAR)
|
SELECT round FROM table_name_36 WHERE opponent = "jonatas novaes"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (round VARCHAR, opponent VARCHAR) Question: Which round did the bout against Jonatas Novaes end in? [/INST] SELECT round FROM table_name_36 WHERE opponent = "jonatas novaes" </s>
|
Name the average established for championships less than 1 and club of erie seawolves
|
CREATE TABLE table_name_53 (established INTEGER, championships VARCHAR, club VARCHAR)
|
SELECT AVG(established) FROM table_name_53 WHERE championships < 1 AND club = "erie seawolves"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (established INTEGER, championships VARCHAR, club VARCHAR) Question: Name the average established for championships less than 1 and club of erie seawolves [/INST] SELECT AVG(established) FROM table_name_53 WHERE championships < 1 AND club = "erie seawolves" </s>
|
Name the most championships for club of erie seawolves
|
CREATE TABLE table_name_76 (championships INTEGER, club VARCHAR)
|
SELECT MAX(championships) FROM table_name_76 WHERE club = "erie seawolves"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (championships INTEGER, club VARCHAR) Question: Name the most championships for club of erie seawolves [/INST] SELECT MAX(championships) FROM table_name_76 WHERE club = "erie seawolves" </s>
|
Name the sport with championships less than 1 and club of erie bayhawks
|
CREATE TABLE table_name_19 (sport VARCHAR, championships VARCHAR, club VARCHAR)
|
SELECT sport FROM table_name_19 WHERE championships < 1 AND club = "erie bayhawks"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (sport VARCHAR, championships VARCHAR, club VARCHAR) Question: Name the sport with championships less than 1 and club of erie bayhawks [/INST] SELECT sport FROM table_name_19 WHERE championships < 1 AND club = "erie bayhawks" </s>
|
what is the date for game 3?
|
CREATE TABLE table_name_71 (date VARCHAR, game VARCHAR)
|
SELECT date FROM table_name_71 WHERE game = 3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (date VARCHAR, game VARCHAR) Question: what is the date for game 3? [/INST] SELECT date FROM table_name_71 WHERE game = 3 </s>
|
What is the English title of 餓狼伝説バトルアーカイブズ2?
|
CREATE TABLE table_name_95 (english_title VARCHAR, japanese_title VARCHAR)
|
SELECT english_title FROM table_name_95 WHERE japanese_title = "餓狼伝説バトルアーカイブズ2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (english_title VARCHAR, japanese_title VARCHAR) Question: What is the English title of 餓狼伝説バトルアーカイブズ2? [/INST] SELECT english_title FROM table_name_95 WHERE japanese_title = "餓狼伝説バトルアーカイブズ2" </s>
|
Who was the opponent when there was a loss of Francisco (1-1)?
|
CREATE TABLE table_name_7 (opponent VARCHAR, loss VARCHAR)
|
SELECT opponent FROM table_name_7 WHERE loss = "francisco (1-1)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (opponent VARCHAR, loss VARCHAR) Question: Who was the opponent when there was a loss of Francisco (1-1)? [/INST] SELECT opponent FROM table_name_7 WHERE loss = "francisco (1-1)" </s>
|
On what date was the attendance 17,136?
|
CREATE TABLE table_name_36 (date VARCHAR, attendance VARCHAR)
|
SELECT date FROM table_name_36 WHERE attendance = "17,136"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (date VARCHAR, attendance VARCHAR) Question: On what date was the attendance 17,136? [/INST] SELECT date FROM table_name_36 WHERE attendance = "17,136" </s>
|
Who was the opponent during the game with a score of 6-5 and a loss of White (2-1)?
|
CREATE TABLE table_name_44 (opponent VARCHAR, score VARCHAR, loss VARCHAR)
|
SELECT opponent FROM table_name_44 WHERE score = "6-5" AND loss = "white (2-1)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (opponent VARCHAR, score VARCHAR, loss VARCHAR) Question: Who was the opponent during the game with a score of 6-5 and a loss of White (2-1)? [/INST] SELECT opponent FROM table_name_44 WHERE score = "6-5" AND loss = "white (2-1)" </s>
|
What was the score for the game that had an attendance of 41,087?
|
CREATE TABLE table_name_19 (score VARCHAR, attendance VARCHAR)
|
SELECT score FROM table_name_19 WHERE attendance = "41,087"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (score VARCHAR, attendance VARCHAR) Question: What was the score for the game that had an attendance of 41,087? [/INST] SELECT score FROM table_name_19 WHERE attendance = "41,087" </s>
|
When the game had a loss of Koch (0-1) what was the attendance?
|
CREATE TABLE table_name_12 (attendance VARCHAR, loss VARCHAR)
|
SELECT attendance FROM table_name_12 WHERE loss = "koch (0-1)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (attendance VARCHAR, loss VARCHAR) Question: When the game had a loss of Koch (0-1) what was the attendance? [/INST] SELECT attendance FROM table_name_12 WHERE loss = "koch (0-1)" </s>
|
What is the inegi code for mexicali with 13,700 km area?
|
CREATE TABLE table_name_6 (inegi_code INTEGER, municipal_seat VARCHAR, area__km2_ VARCHAR)
|
SELECT AVG(inegi_code) FROM table_name_6 WHERE municipal_seat = "mexicali" AND area__km2_ > 13 OFFSET 700 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (inegi_code INTEGER, municipal_seat VARCHAR, area__km2_ VARCHAR) Question: What is the inegi code for mexicali with 13,700 km area? [/INST] SELECT AVG(inegi_code) FROM table_name_6 WHERE municipal_seat = "mexicali" AND area__km2_ > 13 OFFSET 700 ROWS </s>
|
What is the date of the away game when the team has a league position of 9th?
|
CREATE TABLE table_name_34 (date VARCHAR, h___a VARCHAR, league_position VARCHAR)
|
SELECT date FROM table_name_34 WHERE h___a = "a" AND league_position = "9th"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (date VARCHAR, h___a VARCHAR, league_position VARCHAR) Question: What is the date of the away game when the team has a league position of 9th? [/INST] SELECT date FROM table_name_34 WHERE h___a = "a" AND league_position = "9th" </s>
|
On May 17, what is the highest Attendance?
|
CREATE TABLE table_name_33 (attendance INTEGER, date VARCHAR)
|
SELECT MAX(attendance) FROM table_name_33 WHERE date = "may 17"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (attendance INTEGER, date VARCHAR) Question: On May 17, what is the highest Attendance? [/INST] SELECT MAX(attendance) FROM table_name_33 WHERE date = "may 17" </s>
|
What is the highest number of points for the Modena Team Spa after 1991?
|
CREATE TABLE table_name_49 (points INTEGER, entrant VARCHAR, year VARCHAR)
|
SELECT MAX(points) FROM table_name_49 WHERE entrant = "modena team spa" AND year > 1991
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (points INTEGER, entrant VARCHAR, year VARCHAR) Question: What is the highest number of points for the Modena Team Spa after 1991? [/INST] SELECT MAX(points) FROM table_name_49 WHERE entrant = "modena team spa" AND year > 1991 </s>
|
What was the earliest year for the Ligier Gitanes?
|
CREATE TABLE table_name_46 (year INTEGER, entrant VARCHAR)
|
SELECT MIN(year) FROM table_name_46 WHERE entrant = "ligier gitanes"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (year INTEGER, entrant VARCHAR) Question: What was the earliest year for the Ligier Gitanes? [/INST] SELECT MIN(year) FROM table_name_46 WHERE entrant = "ligier gitanes" </s>
|
In episode 7 what was the highest amount of money requested by Jerry Mantalvanos & Paul Merker ?
|
CREATE TABLE table_name_24 (money_requested__ INTEGER, episode VARCHAR, entrepreneur_s_ VARCHAR)
|
SELECT MAX(money_requested__) AS £_ FROM table_name_24 WHERE episode = "episode 7" AND entrepreneur_s_ = "jerry mantalvanos & paul merker"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (money_requested__ INTEGER, episode VARCHAR, entrepreneur_s_ VARCHAR) Question: In episode 7 what was the highest amount of money requested by Jerry Mantalvanos & Paul Merker ? [/INST] SELECT MAX(money_requested__) AS £_ FROM table_name_24 WHERE episode = "episode 7" AND entrepreneur_s_ = "jerry mantalvanos & paul merker" </s>
|
How much money did reestore request ?
|
CREATE TABLE table_name_59 (money_requested__£_ VARCHAR, company_or_product_name VARCHAR)
|
SELECT money_requested__£_ FROM table_name_59 WHERE company_or_product_name = "reestore"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (money_requested__£_ VARCHAR, company_or_product_name VARCHAR) Question: How much money did reestore request ? [/INST] SELECT money_requested__£_ FROM table_name_59 WHERE company_or_product_name = "reestore" </s>
|
How much money did gaming alerts ask for?
|
CREATE TABLE table_name_6 (money_requested__ VARCHAR, company_or_product_name VARCHAR)
|
SELECT COUNT(money_requested__) AS £_ FROM table_name_6 WHERE company_or_product_name = "gaming alerts"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (money_requested__ VARCHAR, company_or_product_name VARCHAR) Question: How much money did gaming alerts ask for? [/INST] SELECT COUNT(money_requested__) AS £_ FROM table_name_6 WHERE company_or_product_name = "gaming alerts" </s>
|
Who is the winner of the prize of €93,000?
|
CREATE TABLE table_name_96 (winner VARCHAR, prize VARCHAR)
|
SELECT winner FROM table_name_96 WHERE prize = "€93,000"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (winner VARCHAR, prize VARCHAR) Question: Who is the winner of the prize of €93,000? [/INST] SELECT winner FROM table_name_96 WHERE prize = "€93,000" </s>
|
Who is the winner of the prize of £200,000 as listed?
|
CREATE TABLE table_name_50 (winner VARCHAR, prize VARCHAR)
|
SELECT winner FROM table_name_50 WHERE prize = "£200,000"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (winner VARCHAR, prize VARCHAR) Question: Who is the winner of the prize of £200,000 as listed? [/INST] SELECT winner FROM table_name_50 WHERE prize = "£200,000" </s>
|
Ram Vaswani was a winner on what date?
|
CREATE TABLE table_name_91 (date VARCHAR, winner VARCHAR)
|
SELECT date FROM table_name_91 WHERE winner = "ram vaswani"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (date VARCHAR, winner VARCHAR) Question: Ram Vaswani was a winner on what date? [/INST] SELECT date FROM table_name_91 WHERE winner = "ram vaswani" </s>
|
Which race resulted in 2nd place in the 1996 season on 20-Jan-1996?
|
CREATE TABLE table_name_80 (race VARCHAR, date VARCHAR, place VARCHAR, season VARCHAR)
|
SELECT race FROM table_name_80 WHERE place = "2nd" AND season = 1996 AND date = "20-jan-1996"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (race VARCHAR, date VARCHAR, place VARCHAR, season VARCHAR) Question: Which race resulted in 2nd place in the 1996 season on 20-Jan-1996? [/INST] SELECT race FROM table_name_80 WHERE place = "2nd" AND season = 1996 AND date = "20-jan-1996" </s>
|
What is the place result of the downhill race before the 1996 season on 11-Mar-1995?
|
CREATE TABLE table_name_17 (place VARCHAR, date VARCHAR, race VARCHAR, season VARCHAR)
|
SELECT place FROM table_name_17 WHERE race = "downhill" AND season < 1996 AND date = "11-mar-1995"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (place VARCHAR, date VARCHAR, race VARCHAR, season VARCHAR) Question: What is the place result of the downhill race before the 1996 season on 11-Mar-1995? [/INST] SELECT place FROM table_name_17 WHERE race = "downhill" AND season < 1996 AND date = "11-mar-1995" </s>
|
What place result was the 1996 season at Lake Louise, Canada?
|
CREATE TABLE table_name_73 (place VARCHAR, season VARCHAR, location VARCHAR)
|
SELECT place FROM table_name_73 WHERE season = 1996 AND location = "lake louise, canada"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (place VARCHAR, season VARCHAR, location VARCHAR) Question: What place result was the 1996 season at Lake Louise, Canada? [/INST] SELECT place FROM table_name_73 WHERE season = 1996 AND location = "lake louise, canada" </s>
|
What is the Record that has a Home of detroit red wings, and a Score of 1–2 on december 29?
|
CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR, home VARCHAR, score VARCHAR)
|
SELECT record FROM table_name_23 WHERE home = "detroit red wings" AND score = "1–2" AND date = "december 29"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR, home VARCHAR, score VARCHAR) Question: What is the Record that has a Home of detroit red wings, and a Score of 1–2 on december 29? [/INST] SELECT record FROM table_name_23 WHERE home = "detroit red wings" AND score = "1–2" AND date = "december 29" </s>
|
Whose Visitor has a Record of 10–11–5?
|
CREATE TABLE table_name_82 (visitor VARCHAR, record VARCHAR)
|
SELECT visitor FROM table_name_82 WHERE record = "10–11–5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (visitor VARCHAR, record VARCHAR) Question: Whose Visitor has a Record of 10–11–5? [/INST] SELECT visitor FROM table_name_82 WHERE record = "10–11–5" </s>
|
What is the typical match smaller than 2?
|
CREATE TABLE table_name_90 (average INTEGER, matches INTEGER)
|
SELECT AVG(average) FROM table_name_90 WHERE matches < 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (average INTEGER, matches INTEGER) Question: What is the typical match smaller than 2? [/INST] SELECT AVG(average) FROM table_name_90 WHERE matches < 2 </s>
|
What are the total number of matches smaller than 2 with a tally of 1-19?
|
CREATE TABLE table_name_84 (total VARCHAR, tally VARCHAR, matches VARCHAR)
|
SELECT COUNT(total) FROM table_name_84 WHERE tally = "1-19" AND matches < 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (total VARCHAR, tally VARCHAR, matches VARCHAR) Question: What are the total number of matches smaller than 2 with a tally of 1-19? [/INST] SELECT COUNT(total) FROM table_name_84 WHERE tally = "1-19" AND matches < 2 </s>
|
What is the average total in the county of tipperary with a rank less than 1?
|
CREATE TABLE table_name_47 (average VARCHAR, county VARCHAR, rank VARCHAR)
|
SELECT COUNT(average) FROM table_name_47 WHERE county = "tipperary" AND rank < 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (average VARCHAR, county VARCHAR, rank VARCHAR) Question: What is the average total in the county of tipperary with a rank less than 1? [/INST] SELECT COUNT(average) FROM table_name_47 WHERE county = "tipperary" AND rank < 1 </s>
|
What is the Qual with less than 68 laps?
|
CREATE TABLE table_name_3 (qual VARCHAR, laps INTEGER)
|
SELECT qual FROM table_name_3 WHERE laps < 68
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (qual VARCHAR, laps INTEGER) Question: What is the Qual with less than 68 laps? [/INST] SELECT qual FROM table_name_3 WHERE laps < 68 </s>
|
The 147.481 Qual, happened in what year?
|
CREATE TABLE table_name_15 (year VARCHAR, qual VARCHAR)
|
SELECT year FROM table_name_15 WHERE qual = "147.481"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (year VARCHAR, qual VARCHAR) Question: The 147.481 Qual, happened in what year? [/INST] SELECT year FROM table_name_15 WHERE qual = "147.481" </s>
|
Name the being for having things of language, religions, work, customs, values, norms?
|
CREATE TABLE table_name_52 (being__qualities_ VARCHAR, having__things_ VARCHAR)
|
SELECT being__qualities_ FROM table_name_52 WHERE having__things_ = "language, religions, work, customs, values, norms"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (being__qualities_ VARCHAR, having__things_ VARCHAR) Question: Name the being for having things of language, religions, work, customs, values, norms? [/INST] SELECT being__qualities_ FROM table_name_52 WHERE having__things_ = "language, religions, work, customs, values, norms" </s>
|
Name the having things for privacy, intimate spaces of togetherness
|
CREATE TABLE table_name_99 (having__things_ VARCHAR, interacting__settings_ VARCHAR)
|
SELECT having__things_ FROM table_name_99 WHERE interacting__settings_ = "privacy, intimate spaces of togetherness"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (having__things_ VARCHAR, interacting__settings_ VARCHAR) Question: Name the having things for privacy, intimate spaces of togetherness [/INST] SELECT having__things_ FROM table_name_99 WHERE interacting__settings_ = "privacy, intimate spaces of togetherness" </s>
|
Name the interacting for need of protection
|
CREATE TABLE table_name_87 (interacting__settings_ VARCHAR, need VARCHAR)
|
SELECT interacting__settings_ FROM table_name_87 WHERE need = "protection"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (interacting__settings_ VARCHAR, need VARCHAR) Question: Name the interacting for need of protection [/INST] SELECT interacting__settings_ FROM table_name_87 WHERE need = "protection" </s>
|
Name the interacting settings for co-operate, plan, take care of, help
|
CREATE TABLE table_name_40 (interacting__settings_ VARCHAR, doing__actions_ VARCHAR)
|
SELECT interacting__settings_ FROM table_name_40 WHERE doing__actions_ = "co-operate, plan, take care of, help"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (interacting__settings_ VARCHAR, doing__actions_ VARCHAR) Question: Name the interacting settings for co-operate, plan, take care of, help [/INST] SELECT interacting__settings_ FROM table_name_40 WHERE doing__actions_ = "co-operate, plan, take care of, help" </s>
|
Name the being qualities for having things of language, religions, work, customs, values, norms
|
CREATE TABLE table_name_36 (being__qualities_ VARCHAR, having__things_ VARCHAR)
|
SELECT being__qualities_ FROM table_name_36 WHERE having__things_ = "language, religions, work, customs, values, norms"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (being__qualities_ VARCHAR, having__things_ VARCHAR) Question: Name the being qualities for having things of language, religions, work, customs, values, norms [/INST] SELECT being__qualities_ FROM table_name_36 WHERE having__things_ = "language, religions, work, customs, values, norms" </s>
|
Name the being qualities for having things of friendships, family, relationships with nature
|
CREATE TABLE table_name_20 (being__qualities_ VARCHAR, having__things_ VARCHAR)
|
SELECT being__qualities_ FROM table_name_20 WHERE having__things_ = "friendships, family, relationships with nature"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (being__qualities_ VARCHAR, having__things_ VARCHAR) Question: Name the being qualities for having things of friendships, family, relationships with nature [/INST] SELECT being__qualities_ FROM table_name_20 WHERE having__things_ = "friendships, family, relationships with nature" </s>
|
What was the attendance for the game that went 2:42?
|
CREATE TABLE table_name_89 (attendance INTEGER, time VARCHAR)
|
SELECT MAX(attendance) FROM table_name_89 WHERE time = "2:42"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (attendance INTEGER, time VARCHAR) Question: What was the attendance for the game that went 2:42? [/INST] SELECT MAX(attendance) FROM table_name_89 WHERE time = "2:42" </s>
|
How many laps for sébastien bourdais, and a Grid smaller than 1?
|
CREATE TABLE table_name_72 (laps INTEGER, name VARCHAR, grid VARCHAR)
|
SELECT SUM(laps) FROM table_name_72 WHERE name = "sébastien bourdais" AND grid < 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (laps INTEGER, name VARCHAR, grid VARCHAR) Question: How many laps for sébastien bourdais, and a Grid smaller than 1? [/INST] SELECT SUM(laps) FROM table_name_72 WHERE name = "sébastien bourdais" AND grid < 1 </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.