instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
On what Date was the Attendance 63,546? | CREATE TABLE table_name_62 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_62 WHERE attendance = "63,546" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (date VARCHAR, attendance VARCHAR) Question: On what Date was the Attendance 63,546? [/INST] SELECT date FROM table_name_62 WHERE attendance = "63,546" </s> |
In what Week was the Attendance 17,737? | CREATE TABLE table_name_19 (week VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_19 WHERE attendance = "17,737" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (week VARCHAR, attendance VARCHAR) Question: In what Week was the Attendance 17,737? [/INST] SELECT COUNT(week) FROM table_name_19 WHERE attendance = "17,737" </s> |
What is the Result of the game after Week 10 against Philadelphia Eagles? | CREATE TABLE table_name_26 (result VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_26 WHERE week > 10 AND opponent = "philadelphia eagles" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (result VARCHAR, week VARCHAR, opponent VARCHAR) Question: What is the Result of the game after Week 10 against Philadelphia Eagles? [/INST] SELECT result FROM table_name_26 WHERE week > 10 AND opp... |
What is the Opponent on Week 11? | CREATE TABLE table_name_28 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_28 WHERE week = 11 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (opponent VARCHAR, week VARCHAR) Question: What is the Opponent on Week 11? [/INST] SELECT opponent FROM table_name_28 WHERE week = 11 </s> |
What is the largest WNBA game average with 9,290 (4th) is the average, and less than 157,934 is the total for the year? | CREATE TABLE table_name_11 (wnba_game_average INTEGER, average VARCHAR, total_for_year VARCHAR) | SELECT MAX(wnba_game_average) FROM table_name_11 WHERE average = "9,290 (4th)" AND total_for_year < 157 OFFSET 934 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (wnba_game_average INTEGER, average VARCHAR, total_for_year VARCHAR) Question: What is the largest WNBA game average with 9,290 (4th) is the average, and less than 157,934 is the total for the year... |
How many years in all was less than 105,005 the total for the year? | CREATE TABLE table_name_59 (year VARCHAR, total_for_year INTEGER) | SELECT COUNT(year) FROM table_name_59 WHERE total_for_year < 105 OFFSET 005 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (year VARCHAR, total_for_year INTEGER) Question: How many years in all was less than 105,005 the total for the year? [/INST] SELECT COUNT(year) FROM table_name_59 WHERE total_for_year < 105 OFFSET ... |
What is the maximum sellouts for the 2008 year, with less than 161,369 total for year? | CREATE TABLE table_name_89 (sellouts INTEGER, year VARCHAR, total_for_year VARCHAR) | SELECT MAX(sellouts) FROM table_name_89 WHERE year = 2008 AND total_for_year < 161 OFFSET 369 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (sellouts INTEGER, year VARCHAR, total_for_year VARCHAR) Question: What is the maximum sellouts for the 2008 year, with less than 161,369 total for year? [/INST] SELECT MAX(sellouts) FROM table_nam... |
What is the highest First Elected, when Party is "Republican", and when District is "Louisiana 7"? | CREATE TABLE table_name_48 (first_elected INTEGER, party VARCHAR, district VARCHAR) | SELECT MAX(first_elected) FROM table_name_48 WHERE party = "republican" AND district = "louisiana 7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (first_elected INTEGER, party VARCHAR, district VARCHAR) Question: What is the highest First Elected, when Party is "Republican", and when District is "Louisiana 7"? [/INST] SELECT MAX(first_electe... |
What is Party, when Results is "Re-Elected", and when District is "Louisiana 5"? | CREATE TABLE table_name_76 (party VARCHAR, results VARCHAR, district VARCHAR) | SELECT party FROM table_name_76 WHERE results = "re-elected" AND district = "louisiana 5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (party VARCHAR, results VARCHAR, district VARCHAR) Question: What is Party, when Results is "Re-Elected", and when District is "Louisiana 5"? [/INST] SELECT party FROM table_name_76 WHERE results =... |
What is Party, when Incumbent is "Rodney Alexander"? | CREATE TABLE table_name_52 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_name_52 WHERE incumbent = "rodney alexander" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (party VARCHAR, incumbent VARCHAR) Question: What is Party, when Incumbent is "Rodney Alexander"? [/INST] SELECT party FROM table_name_52 WHERE incumbent = "rodney alexander" </s> |
What is Results, when First Elected is less than 1988? | CREATE TABLE table_name_93 (results VARCHAR, first_elected INTEGER) | SELECT results FROM table_name_93 WHERE first_elected < 1988 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (results VARCHAR, first_elected INTEGER) Question: What is Results, when First Elected is less than 1988? [/INST] SELECT results FROM table_name_93 WHERE first_elected < 1988 </s> |
What is Incumbent, when District is "Louisiana 4"? | CREATE TABLE table_name_7 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_name_7 WHERE district = "louisiana 4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (incumbent VARCHAR, district VARCHAR) Question: What is Incumbent, when District is "Louisiana 4"? [/INST] SELECT incumbent FROM table_name_7 WHERE district = "louisiana 4" </s> |
What's the finish for car number 6? | CREATE TABLE table_name_33 (finish VARCHAR, car_number VARCHAR) | SELECT finish FROM table_name_33 WHERE car_number = "6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (finish VARCHAR, car_number VARCHAR) Question: What's the finish for car number 6? [/INST] SELECT finish FROM table_name_33 WHERE car_number = "6" </s> |
What's the speed rank in 1963? | CREATE TABLE table_name_11 (speed_rank VARCHAR, year VARCHAR) | SELECT speed_rank FROM table_name_11 WHERE year = "1963" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (speed_rank VARCHAR, year VARCHAR) Question: What's the speed rank in 1963? [/INST] SELECT speed_rank FROM table_name_11 WHERE year = "1963" </s> |
What is the total of Losses with a Result of runner-up, Wins of 1, and a Year smaller than 2006? | CREATE TABLE table_name_50 (losses INTEGER, year VARCHAR, result VARCHAR, wins VARCHAR) | SELECT SUM(losses) FROM table_name_50 WHERE result = "runner-up" AND wins = 1 AND year < 2006 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (losses INTEGER, year VARCHAR, result VARCHAR, wins VARCHAR) Question: What is the total of Losses with a Result of runner-up, Wins of 1, and a Year smaller than 2006? [/INST] SELECT SUM(losses) FR... |
What is the smallest Draws with a Result of runner-up, and Losses larger than 1? | CREATE TABLE table_name_60 (draws INTEGER, result VARCHAR, losses VARCHAR) | SELECT MIN(draws) FROM table_name_60 WHERE result = "runner-up" AND losses > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (draws INTEGER, result VARCHAR, losses VARCHAR) Question: What is the smallest Draws with a Result of runner-up, and Losses larger than 1? [/INST] SELECT MIN(draws) FROM table_name_60 WHERE result ... |
What is the number of Year with a Result of champions, and Matches larger than 5? | CREATE TABLE table_name_34 (year VARCHAR, result VARCHAR, matches VARCHAR) | SELECT COUNT(year) FROM table_name_34 WHERE result = "champions" AND matches > 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (year VARCHAR, result VARCHAR, matches VARCHAR) Question: What is the number of Year with a Result of champions, and Matches larger than 5? [/INST] SELECT COUNT(year) FROM table_name_34 WHERE resul... |
What is the greatest Wins with Losses larger than 1? | CREATE TABLE table_name_48 (wins INTEGER, losses INTEGER) | SELECT MAX(wins) FROM table_name_48 WHERE losses > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (wins INTEGER, losses INTEGER) Question: What is the greatest Wins with Losses larger than 1? [/INST] SELECT MAX(wins) FROM table_name_48 WHERE losses > 1 </s> |
What is the total number of Year with Wins of 1, and Losses smaller than 1? | CREATE TABLE table_name_93 (year INTEGER, wins VARCHAR, losses VARCHAR) | SELECT SUM(year) FROM table_name_93 WHERE wins = 1 AND losses < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (year INTEGER, wins VARCHAR, losses VARCHAR) Question: What is the total number of Year with Wins of 1, and Losses smaller than 1? [/INST] SELECT SUM(year) FROM table_name_93 WHERE wins = 1 AND los... |
What is the greatest Wins with Matches smaller than 5, and a Year of 1994? | CREATE TABLE table_name_26 (wins INTEGER, matches VARCHAR, year VARCHAR) | SELECT MAX(wins) FROM table_name_26 WHERE matches < 5 AND year = 1994 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (wins INTEGER, matches VARCHAR, year VARCHAR) Question: What is the greatest Wins with Matches smaller than 5, and a Year of 1994? [/INST] SELECT MAX(wins) FROM table_name_26 WHERE matches < 5 AND ... |
On what date was Motherwell the opponent at Fir Park? | CREATE TABLE table_name_77 (date VARCHAR, opponent VARCHAR, venue VARCHAR) | SELECT date FROM table_name_77 WHERE opponent = "motherwell" AND venue = "fir park" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (date VARCHAR, opponent VARCHAR, venue VARCHAR) Question: On what date was Motherwell the opponent at Fir Park? [/INST] SELECT date FROM table_name_77 WHERE opponent = "motherwell" AND venue = "fir... |
What is the round at St. Mirren Park with more than 4,555 people attending? | CREATE TABLE table_name_37 (round VARCHAR, venue VARCHAR, attendance VARCHAR) | SELECT round FROM table_name_37 WHERE venue = "st. mirren park" AND attendance > 4 OFFSET 555 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (round VARCHAR, venue VARCHAR, attendance VARCHAR) Question: What is the round at St. Mirren Park with more than 4,555 people attending? [/INST] SELECT round FROM table_name_37 WHERE venue = "st. m... |
What's the sum of attendance when banbury united is the away team and tie no is over 102? | CREATE TABLE table_name_62 (attendance INTEGER, away_team VARCHAR, tie_no VARCHAR) | SELECT SUM(attendance) FROM table_name_62 WHERE away_team = "banbury united" AND tie_no > 102 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (attendance INTEGER, away_team VARCHAR, tie_no VARCHAR) Question: What's the sum of attendance when banbury united is the away team and tie no is over 102? [/INST] SELECT SUM(attendance) FROM table... |
What's the sum of tie no for home team burgess hill town? | CREATE TABLE table_name_76 (tie_no INTEGER, home_team VARCHAR) | SELECT SUM(tie_no) FROM table_name_76 WHERE home_team = "burgess hill town" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (tie_no INTEGER, home_team VARCHAR) Question: What's the sum of tie no for home team burgess hill town? [/INST] SELECT SUM(tie_no) FROM table_name_76 WHERE home_team = "burgess hill town" </s> |
What is the highest population of Deuel county's 1,819 households? | CREATE TABLE table_name_22 (population INTEGER, county VARCHAR, number_of_households VARCHAR) | SELECT MAX(population) FROM table_name_22 WHERE county = "deuel" AND number_of_households < 1 OFFSET 819 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (population INTEGER, county VARCHAR, number_of_households VARCHAR) Question: What is the highest population of Deuel county's 1,819 households? [/INST] SELECT MAX(population) FROM table_name_22 WHE... |
When the venue is away and the opponents are the bracknell bees, what is the competition? | CREATE TABLE table_name_88 (competition VARCHAR, venue VARCHAR, opponent VARCHAR) | SELECT competition FROM table_name_88 WHERE venue = "away" AND opponent = "bracknell bees" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (competition VARCHAR, venue VARCHAR, opponent VARCHAR) Question: When the venue is away and the opponents are the bracknell bees, what is the competition? [/INST] SELECT competition FROM table_name... |
What opponent played on the 28th with a venue of away? | CREATE TABLE table_name_76 (opponent VARCHAR, venue VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_76 WHERE venue = "away" AND date = "28th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (opponent VARCHAR, venue VARCHAR, date VARCHAR) Question: What opponent played on the 28th with a venue of away? [/INST] SELECT opponent FROM table_name_76 WHERE venue = "away" AND date = "28th" </... |
What was the venue on the 20th? | CREATE TABLE table_name_29 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_29 WHERE date = "20th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (venue VARCHAR, date VARCHAR) Question: What was the venue on the 20th? [/INST] SELECT venue FROM table_name_29 WHERE date = "20th" </s> |
When did the peterborough phantoms play at a venue of home? | CREATE TABLE table_name_25 (date VARCHAR, venue VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_25 WHERE venue = "home" AND opponent = "peterborough phantoms" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (date VARCHAR, venue VARCHAR, opponent VARCHAR) Question: When did the peterborough phantoms play at a venue of home? [/INST] SELECT date FROM table_name_25 WHERE venue = "home" AND opponent = "pet... |
Which opponent has a result of 2-0 l? | CREATE TABLE table_name_10 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_10 WHERE result = "2-0 l" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (opponent VARCHAR, result VARCHAR) Question: Which opponent has a result of 2-0 l? [/INST] SELECT opponent FROM table_name_10 WHERE result = "2-0 l" </s> |
Which opponent completed a challenge competition with a result of 8-2 w? | CREATE TABLE table_name_73 (opponent VARCHAR, competition VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_73 WHERE competition = "challenge" AND result = "8-2 w" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (opponent VARCHAR, competition VARCHAR, result VARCHAR) Question: Which opponent completed a challenge competition with a result of 8-2 w? [/INST] SELECT opponent FROM table_name_73 WHERE competiti... |
What shows for round when the race was Int. Adac Preis Von Zweibrücken? | CREATE TABLE table_name_43 (round VARCHAR, race VARCHAR) | SELECT round FROM table_name_43 WHERE race = "int. adac preis von zweibrücken" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (round VARCHAR, race VARCHAR) Question: What shows for round when the race was Int. Adac Preis Von Zweibrücken? [/INST] SELECT round FROM table_name_43 WHERE race = "int. adac preis von zweibrücken... |
What is the round for the Norisring circuit? | CREATE TABLE table_name_43 (round INTEGER, circuit VARCHAR) | SELECT AVG(round) FROM table_name_43 WHERE circuit = "norisring" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (round INTEGER, circuit VARCHAR) Question: What is the round for the Norisring circuit? [/INST] SELECT AVG(round) FROM table_name_43 WHERE circuit = "norisring" </s> |
What race was a round smaller than 8, on 6 july? | CREATE TABLE table_name_45 (race VARCHAR, round VARCHAR, date VARCHAR) | SELECT race FROM table_name_45 WHERE round < 8 AND date = "6 july" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (race VARCHAR, round VARCHAR, date VARCHAR) Question: What race was a round smaller than 8, on 6 july? [/INST] SELECT race FROM table_name_45 WHERE round < 8 AND date = "6 july" </s> |
What is the round for the Int. Adac-Preis Der Tourenwagen Von Sachsen-Anhalt? | CREATE TABLE table_name_92 (round VARCHAR, race VARCHAR) | SELECT round FROM table_name_92 WHERE race = "int. adac-preis der tourenwagen von sachsen-anhalt" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (round VARCHAR, race VARCHAR) Question: What is the round for the Int. Adac-Preis Der Tourenwagen Von Sachsen-Anhalt? [/INST] SELECT round FROM table_name_92 WHERE race = "int. adac-preis der toure... |
What week were there 56,023 people in attendance? | CREATE TABLE table_name_29 (week VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_29 WHERE attendance = 56 OFFSET 023 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (week VARCHAR, attendance VARCHAR) Question: What week were there 56,023 people in attendance? [/INST] SELECT COUNT(week) FROM table_name_29 WHERE attendance = 56 OFFSET 023 ROWS </s> |
What is the attendance number later than week 9 on November 20, 1983? | CREATE TABLE table_name_45 (attendance VARCHAR, week VARCHAR, date VARCHAR) | SELECT COUNT(attendance) FROM table_name_45 WHERE week > 9 AND date = "november 20, 1983" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (attendance VARCHAR, week VARCHAR, date VARCHAR) Question: What is the attendance number later than week 9 on November 20, 1983? [/INST] SELECT COUNT(attendance) FROM table_name_45 WHERE week > 9 A... |
What is Surface, when Date is less than 1979, and when Opponent in the Final is "Bill Scanlon"? | CREATE TABLE table_name_45 (surface VARCHAR, date VARCHAR, opponent_in_the_final VARCHAR) | SELECT surface FROM table_name_45 WHERE date < 1979 AND opponent_in_the_final = "bill scanlon" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (surface VARCHAR, date VARCHAR, opponent_in_the_final VARCHAR) Question: What is Surface, when Date is less than 1979, and when Opponent in the Final is "Bill Scanlon"? [/INST] SELECT surface FROM ... |
What is Score in The Final, when Opponent in The Final is "John McEnroe", and when Championship is "Los Angeles , U.S."? | CREATE TABLE table_name_98 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR) | SELECT score_in_the_final FROM table_name_98 WHERE opponent_in_the_final = "john mcenroe" AND championship = "los angeles , u.s." | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR) Question: What is Score in The Final, when Opponent in The Final is "John McEnroe", and when Championship is "Los A... |
What is Outcome, when Opponent in The Final is "Bill Scanlon"? | CREATE TABLE table_name_98 (outcome VARCHAR, opponent_in_the_final VARCHAR) | SELECT outcome FROM table_name_98 WHERE opponent_in_the_final = "bill scanlon" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (outcome VARCHAR, opponent_in_the_final VARCHAR) Question: What is Outcome, when Opponent in The Final is "Bill Scanlon"? [/INST] SELECT outcome FROM table_name_98 WHERE opponent_in_the_final = "bi... |
Which To par has a Player of bernhard langer? | CREATE TABLE table_name_34 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_34 WHERE player = "bernhard langer" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (to_par VARCHAR, player VARCHAR) Question: Which To par has a Player of bernhard langer? [/INST] SELECT to_par FROM table_name_34 WHERE player = "bernhard langer" </s> |
Which Score has a Country of united states, and a Player of raymond floyd? | CREATE TABLE table_name_33 (score VARCHAR, country VARCHAR, player VARCHAR) | SELECT score FROM table_name_33 WHERE country = "united states" AND player = "raymond floyd" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (score VARCHAR, country VARCHAR, player VARCHAR) Question: Which Score has a Country of united states, and a Player of raymond floyd? [/INST] SELECT score FROM table_name_33 WHERE country = "united... |
Which To par has a Place of t6, and a Player of nick faldo? | CREATE TABLE table_name_56 (to_par VARCHAR, place VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_56 WHERE place = "t6" AND player = "nick faldo" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (to_par VARCHAR, place VARCHAR, player VARCHAR) Question: Which To par has a Place of t6, and a Player of nick faldo? [/INST] SELECT to_par FROM table_name_56 WHERE place = "t6" AND player = "nick ... |
Which To par has a Place of t2, and a Player of mark james? | CREATE TABLE table_name_59 (to_par VARCHAR, place VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_59 WHERE place = "t2" AND player = "mark james" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (to_par VARCHAR, place VARCHAR, player VARCHAR) Question: Which To par has a Place of t2, and a Player of mark james? [/INST] SELECT to_par FROM table_name_59 WHERE place = "t2" AND player = "mark ... |
Which Country has a Place of t10, and a Player of tony jacklin? | CREATE TABLE table_name_2 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_2 WHERE place = "t10" AND player = "tony jacklin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (country VARCHAR, place VARCHAR, player VARCHAR) Question: Which Country has a Place of t10, and a Player of tony jacklin? [/INST] SELECT country FROM table_name_2 WHERE place = "t10" AND player = "... |
Which Country has a Score of 71-74-70=215? | CREATE TABLE table_name_37 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_37 WHERE score = 71 - 74 - 70 = 215 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (country VARCHAR, score VARCHAR) Question: Which Country has a Score of 71-74-70=215? [/INST] SELECT country FROM table_name_37 WHERE score = 71 - 74 - 70 = 215 </s> |
How many losses for the team with less than 4 wins, more than 0 byes and 2510 against? | CREATE TABLE table_name_39 (losses INTEGER, byes VARCHAR, wins VARCHAR, against VARCHAR) | SELECT AVG(losses) FROM table_name_39 WHERE wins < 4 AND against = 2510 AND byes > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (losses INTEGER, byes VARCHAR, wins VARCHAR, against VARCHAR) Question: How many losses for the team with less than 4 wins, more than 0 byes and 2510 against? [/INST] SELECT AVG(losses) FROM table_... |
How many wins for team with 1800 Against and more than 0 byes? | CREATE TABLE table_name_64 (wins INTEGER, against VARCHAR, draws VARCHAR) | SELECT MAX(wins) FROM table_name_64 WHERE against = 1800 AND draws > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (wins INTEGER, against VARCHAR, draws VARCHAR) Question: How many wins for team with 1800 Against and more than 0 byes? [/INST] SELECT MAX(wins) FROM table_name_64 WHERE against = 1800 AND draws > ... |
What is the least wins for a team with against less than 814? | CREATE TABLE table_name_42 (wins INTEGER, against INTEGER) | SELECT MIN(wins) FROM table_name_42 WHERE against < 814 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (wins INTEGER, against INTEGER) Question: What is the least wins for a team with against less than 814? [/INST] SELECT MIN(wins) FROM table_name_42 WHERE against < 814 </s> |
How many losses for the team with 3 wins and more than 1919 against? | CREATE TABLE table_name_28 (losses INTEGER, wins VARCHAR, against VARCHAR) | SELECT MIN(losses) FROM table_name_28 WHERE wins = 3 AND against > 1919 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (losses INTEGER, wins VARCHAR, against VARCHAR) Question: How many losses for the team with 3 wins and more than 1919 against? [/INST] SELECT MIN(losses) FROM table_name_28 WHERE wins = 3 AND again... |
What is the 2002 result where 2011 and 2000 are 1R? | CREATE TABLE table_name_22 (Id VARCHAR) | SELECT 2002 FROM table_name_22 WHERE 2011 = "1r" AND 2000 = "1r" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (Id VARCHAR) Question: What is the 2002 result where 2011 and 2000 are 1R? [/INST] SELECT 2002 FROM table_name_22 WHERE 2011 = "1r" AND 2000 = "1r" </s> |
What is the 2008 result where 2003 is 325? | CREATE TABLE table_name_34 (Id VARCHAR) | SELECT 2008 FROM table_name_34 WHERE 2003 = "325" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (Id VARCHAR) Question: What is the 2008 result where 2003 is 325? [/INST] SELECT 2008 FROM table_name_34 WHERE 2003 = "325" </s> |
What is the 2002 result when 2006 is A and 2010 is Q1? | CREATE TABLE table_name_38 (Id VARCHAR) | SELECT 2002 FROM table_name_38 WHERE 2006 = "a" AND 2010 = "q1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (Id VARCHAR) Question: What is the 2002 result when 2006 is A and 2010 is Q1? [/INST] SELECT 2002 FROM table_name_38 WHERE 2006 = "a" AND 2010 = "q1" </s> |
Which Year completed has a Dam type of concrete gravity, and an Impounded body of water of deep creek reservoir? | CREATE TABLE table_name_31 (year_completed INTEGER, dam_type VARCHAR, impounded_body_of_water VARCHAR) | SELECT MIN(year_completed) FROM table_name_31 WHERE dam_type = "concrete gravity" AND impounded_body_of_water = "deep creek reservoir" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (year_completed INTEGER, dam_type VARCHAR, impounded_body_of_water VARCHAR) Question: Which Year completed has a Dam type of concrete gravity, and an Impounded body of water of deep creek reservoir... |
Which dam type was completed in 1961? | CREATE TABLE table_name_90 (dam_type VARCHAR, year_completed VARCHAR) | SELECT dam_type FROM table_name_90 WHERE year_completed = 1961 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (dam_type VARCHAR, year_completed VARCHAR) Question: Which dam type was completed in 1961? [/INST] SELECT dam_type FROM table_name_90 WHERE year_completed = 1961 </s> |
Which Year completed has a Dam type of earthfill embankment, and a Dam constructed of khancoban dam? | CREATE TABLE table_name_25 (year_completed INTEGER, dam_type VARCHAR, dam_constructed VARCHAR) | SELECT MAX(year_completed) FROM table_name_25 WHERE dam_type = "earthfill embankment" AND dam_constructed = "khancoban dam" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (year_completed INTEGER, dam_type VARCHAR, dam_constructed VARCHAR) Question: Which Year completed has a Dam type of earthfill embankment, and a Dam constructed of khancoban dam? [/INST] SELECT MAX... |
Which Reservoir capacity has an Impounded body of water of tumut two pondage? | CREATE TABLE table_name_41 (reservoir_capacity VARCHAR, impounded_body_of_water VARCHAR) | SELECT reservoir_capacity FROM table_name_41 WHERE impounded_body_of_water = "tumut two pondage" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (reservoir_capacity VARCHAR, impounded_body_of_water VARCHAR) Question: Which Reservoir capacity has an Impounded body of water of tumut two pondage? [/INST] SELECT reservoir_capacity FROM table_na... |
What Companion (in order from star) has a Semimajor axis (AU) of 0.1886 +0.083 −0.0104? | CREATE TABLE table_name_58 (companion__in_order_from_star_ VARCHAR, semimajor_axis___au__ VARCHAR) | SELECT companion__in_order_from_star_ FROM table_name_58 WHERE semimajor_axis___au__ = "0.1886 +0.083 −0.0104" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (companion__in_order_from_star_ VARCHAR, semimajor_axis___au__ VARCHAR) Question: What Companion (in order from star) has a Semimajor axis (AU) of 0.1886 +0.083 −0.0104? [/INST] SELECT companion__i... |
What Inclination has Eccentricity of 0.06 +0.06 −0.11? | CREATE TABLE table_name_81 (inclination VARCHAR, eccentricity VARCHAR) | SELECT inclination FROM table_name_81 WHERE eccentricity = "0.06 +0.06 −0.11" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (inclination VARCHAR, eccentricity VARCHAR) Question: What Inclination has Eccentricity of 0.06 +0.06 −0.11? [/INST] SELECT inclination FROM table_name_81 WHERE eccentricity = "0.06 +0.06 −0.11" </... |
What Companion (in order from star) has an Orbital period (s day) of 9.6184 +0.0050 −0.0049? | CREATE TABLE table_name_10 (companion__in_order_from_star_ VARCHAR, orbital_period___s_day__ VARCHAR) | SELECT companion__in_order_from_star_ FROM table_name_10 WHERE orbital_period___s_day__ = "9.6184 +0.0050 −0.0049" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (companion__in_order_from_star_ VARCHAR, orbital_period___s_day__ VARCHAR) Question: What Companion (in order from star) has an Orbital period (s day) of 9.6184 +0.0050 −0.0049? [/INST] SELECT comp... |
What Inclination has a Mass of ≥ 6.6 +1.1 −1.0 m⊕? | CREATE TABLE table_name_9 (inclination VARCHAR, mass VARCHAR) | SELECT inclination FROM table_name_9 WHERE mass = "≥ 6.6 +1.1 −1.0 m⊕" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (inclination VARCHAR, mass VARCHAR) Question: What Inclination has a Mass of ≥ 6.6 +1.1 −1.0 m⊕? [/INST] SELECT inclination FROM table_name_9 WHERE mass = "≥ 6.6 +1.1 −1.0 m⊕" </s> |
What Semimajor axis (AU) has a Companion (in order from star) of g? | CREATE TABLE table_name_86 (semimajor_axis___au__ VARCHAR, companion__in_order_from_star_ VARCHAR) | SELECT semimajor_axis___au__ FROM table_name_86 WHERE companion__in_order_from_star_ = "g" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (semimajor_axis___au__ VARCHAR, companion__in_order_from_star_ VARCHAR) Question: What Semimajor axis (AU) has a Companion (in order from star) of g? [/INST] SELECT semimajor_axis___au__ FROM table... |
What Semimajor axis (AU) has a Mass of ≥ 3.5 ± 1.4 m⊕? | CREATE TABLE table_name_73 (semimajor_axis___au__ VARCHAR, mass VARCHAR) | SELECT semimajor_axis___au__ FROM table_name_73 WHERE mass = "≥ 3.5 ± 1.4 m⊕" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (semimajor_axis___au__ VARCHAR, mass VARCHAR) Question: What Semimajor axis (AU) has a Mass of ≥ 3.5 ± 1.4 m⊕? [/INST] SELECT semimajor_axis___au__ FROM table_name_73 WHERE mass = "≥ 3.5 ± 1.4 m⊕" ... |
What Slalom was Switzerland in? | CREATE TABLE table_name_2 (slalom VARCHAR, country VARCHAR) | SELECT slalom FROM table_name_2 WHERE country = "switzerland" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (slalom VARCHAR, country VARCHAR) Question: What Slalom was Switzerland in? [/INST] SELECT slalom FROM table_name_2 WHERE country = "switzerland" </s> |
WHAT IS THE PACKAGE VERSION WITH TELUS MOBILITY? | CREATE TABLE table_name_74 (package_version VARCHAR, carrier VARCHAR) | SELECT package_version FROM table_name_74 WHERE carrier = "telus mobility" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (package_version VARCHAR, carrier VARCHAR) Question: WHAT IS THE PACKAGE VERSION WITH TELUS MOBILITY? [/INST] SELECT package_version FROM table_name_74 WHERE carrier = "telus mobility" </s> |
WHAT IS THE PACKAGE VERSION FOR blackberry storm 9530, APPLICATION 5.0.0.419, AND MTS MOBILITY? | CREATE TABLE table_name_9 (package_version VARCHAR, carrier VARCHAR, device VARCHAR, applications VARCHAR) | SELECT package_version FROM table_name_9 WHERE device = "blackberry storm 9530" AND applications = "5.0.0.419" AND carrier = "mts mobility" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (package_version VARCHAR, carrier VARCHAR, device VARCHAR, applications VARCHAR) Question: WHAT IS THE PACKAGE VERSION FOR blackberry storm 9530, APPLICATION 5.0.0.419, AND MTS MOBILITY? [/INST] SEL... |
WHAT IS THE CARRIER WITH 5.0.0.742 VERSION? | CREATE TABLE table_name_37 (carrier VARCHAR, package_version VARCHAR) | SELECT carrier FROM table_name_37 WHERE package_version = "5.0.0.742" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (carrier VARCHAR, package_version VARCHAR) Question: WHAT IS THE CARRIER WITH 5.0.0.742 VERSION? [/INST] SELECT carrier FROM table_name_37 WHERE package_version = "5.0.0.742" </s> |
WHAT IS THE CARRIER FOR 4.7.0.208 VERSION? | CREATE TABLE table_name_25 (carrier VARCHAR, package_version VARCHAR) | SELECT carrier FROM table_name_25 WHERE package_version = "4.7.0.208" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (carrier VARCHAR, package_version VARCHAR) Question: WHAT IS THE CARRIER FOR 4.7.0.208 VERSION? [/INST] SELECT carrier FROM table_name_25 WHERE package_version = "4.7.0.208" </s> |
WHAT IS THE DEVICE WITH MTS MOBILITY? | CREATE TABLE table_name_18 (device VARCHAR, carrier VARCHAR) | SELECT device FROM table_name_18 WHERE carrier = "mts mobility" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (device VARCHAR, carrier VARCHAR) Question: WHAT IS THE DEVICE WITH MTS MOBILITY? [/INST] SELECT device FROM table_name_18 WHERE carrier = "mts mobility" </s> |
How much money was there when the to par was 15? | CREATE TABLE table_name_93 (money___ INTEGER, to_par VARCHAR) | SELECT SUM(money___) AS $__ FROM table_name_93 WHERE to_par = 15 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (money___ INTEGER, to_par VARCHAR) Question: How much money was there when the to par was 15? [/INST] SELECT SUM(money___) AS $__ FROM table_name_93 WHERE to_par = 15 </s> |
What are the years for the 250 model? | CREATE TABLE table_name_97 (years VARCHAR, model VARCHAR) | SELECT years FROM table_name_97 WHERE model = "250" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (years VARCHAR, model VARCHAR) Question: What are the years for the 250 model? [/INST] SELECT years FROM table_name_97 WHERE model = "250" </s> |
What is the power of the Chassis code w123.130? | CREATE TABLE table_name_67 (power VARCHAR, chassis_code VARCHAR) | SELECT power FROM table_name_67 WHERE chassis_code = "w123.130" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (power VARCHAR, chassis_code VARCHAR) Question: What is the power of the Chassis code w123.130? [/INST] SELECT power FROM table_name_67 WHERE chassis_code = "w123.130" </s> |
What Engine does the w123.026 chassis have? | CREATE TABLE table_name_53 (engine VARCHAR, chassis_code VARCHAR) | SELECT engine FROM table_name_53 WHERE chassis_code = "w123.026" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (engine VARCHAR, chassis_code VARCHAR) Question: What Engine does the w123.026 chassis have? [/INST] SELECT engine FROM table_name_53 WHERE chassis_code = "w123.026" </s> |
What Chassis code has a 200d model and a Power of ps (kw; hp) @ 4200? | CREATE TABLE table_name_63 (chassis_code VARCHAR, power VARCHAR, model VARCHAR) | SELECT chassis_code FROM table_name_63 WHERE power = "ps (kw; hp) @ 4200" AND model = "200d" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (chassis_code VARCHAR, power VARCHAR, model VARCHAR) Question: What Chassis code has a 200d model and a Power of ps (kw; hp) @ 4200? [/INST] SELECT chassis_code FROM table_name_63 WHERE power = "ps... |
What is the height in ft and m of the regions bank building? | CREATE TABLE table_name_90 (height_ft__m_ VARCHAR, name VARCHAR) | SELECT height_ft__m_ FROM table_name_90 WHERE name = "regions bank building" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (height_ft__m_ VARCHAR, name VARCHAR) Question: What is the height in ft and m of the regions bank building? [/INST] SELECT height_ft__m_ FROM table_name_90 WHERE name = "regions bank building" </s... |
What is the street address of the van antwerp building? | CREATE TABLE table_name_9 (street_address VARCHAR, name VARCHAR) | SELECT street_address FROM table_name_9 WHERE name = "van antwerp building" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (street_address VARCHAR, name VARCHAR) Question: What is the street address of the van antwerp building? [/INST] SELECT street_address FROM table_name_9 WHERE name = "van antwerp building" </s> |
What is the hight in ft and m of the building with less than 11 floors? | CREATE TABLE table_name_12 (height_ft__m_ VARCHAR, floors INTEGER) | SELECT height_ft__m_ FROM table_name_12 WHERE floors < 11 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (height_ft__m_ VARCHAR, floors INTEGER) Question: What is the hight in ft and m of the building with less than 11 floors? [/INST] SELECT height_ft__m_ FROM table_name_12 WHERE floors < 11 </s> |
What is the against when the opposing team is Italy? | CREATE TABLE table_name_54 (against VARCHAR, opposing_teams VARCHAR) | SELECT COUNT(against) FROM table_name_54 WHERE opposing_teams = "italy" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (against VARCHAR, opposing_teams VARCHAR) Question: What is the against when the opposing team is Italy? [/INST] SELECT COUNT(against) FROM table_name_54 WHERE opposing_teams = "italy" </s> |
What is Cha Bum-Kun's average number of goals per match? | CREATE TABLE table_name_12 (goals_per_match VARCHAR, name VARCHAR) | SELECT COUNT(goals_per_match) FROM table_name_12 WHERE name = "cha bum-kun" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (goals_per_match VARCHAR, name VARCHAR) Question: What is Cha Bum-Kun's average number of goals per match? [/INST] SELECT COUNT(goals_per_match) FROM table_name_12 WHERE name = "cha bum-kun" </s> |
How many caps does Jon Dahl Tomasson, who has less than 0.46 goals per match, have? | CREATE TABLE table_name_97 (caps VARCHAR, name VARCHAR, goals_per_match VARCHAR) | SELECT COUNT(caps) FROM table_name_97 WHERE name = "jon dahl tomasson" AND goals_per_match < 0.46 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (caps VARCHAR, name VARCHAR, goals_per_match VARCHAR) Question: How many caps does Jon Dahl Tomasson, who has less than 0.46 goals per match, have? [/INST] SELECT COUNT(caps) FROM table_name_97 WHE... |
What is the club from Vila Do Conde? | CREATE TABLE table_name_61 (club VARCHAR, city VARCHAR) | SELECT club FROM table_name_61 WHERE city = "vila do conde" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (club VARCHAR, city VARCHAR) Question: What is the club from Vila Do Conde? [/INST] SELECT club FROM table_name_61 WHERE city = "vila do conde" </s> |
What is the stadium for the city of Braga? | CREATE TABLE table_name_88 (stadium VARCHAR, city VARCHAR) | SELECT stadium FROM table_name_88 WHERE city = "braga" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (stadium VARCHAR, city VARCHAR) Question: What is the stadium for the city of Braga? [/INST] SELECT stadium FROM table_name_88 WHERE city = "braga" </s> |
In what round was Kelsey Tessier drafted? | CREATE TABLE table_name_16 (round VARCHAR, player VARCHAR) | SELECT round FROM table_name_16 WHERE player = "kelsey tessier" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (round VARCHAR, player VARCHAR) Question: In what round was Kelsey Tessier drafted? [/INST] SELECT round FROM table_name_16 WHERE player = "kelsey tessier" </s> |
What is Local Mission, when Mission is "Mauritius"? | CREATE TABLE table_name_8 (Local VARCHAR, mission VARCHAR) | SELECT Local AS mission FROM table_name_8 WHERE mission = "mauritius" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (Local VARCHAR, mission VARCHAR) Question: What is Local Mission, when Mission is "Mauritius"? [/INST] SELECT Local AS mission FROM table_name_8 WHERE mission = "mauritius" </s> |
What is Local Position, when Mission is "Paraguay"? | CREATE TABLE table_name_92 (local_position VARCHAR, mission VARCHAR) | SELECT local_position FROM table_name_92 WHERE mission = "paraguay" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (local_position VARCHAR, mission VARCHAR) Question: What is Local Position, when Mission is "Paraguay"? [/INST] SELECT local_position FROM table_name_92 WHERE mission = "paraguay" </s> |
What is Local Location, when Resident Country is "Belgium", and when Mission is "Poland"? | CREATE TABLE table_name_68 (local_location VARCHAR, resident_country VARCHAR, mission VARCHAR) | SELECT local_location FROM table_name_68 WHERE resident_country = "belgium" AND mission = "poland" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (local_location VARCHAR, resident_country VARCHAR, mission VARCHAR) Question: What is Local Location, when Resident Country is "Belgium", and when Mission is "Poland"? [/INST] SELECT local_location... |
What is Resident Country, when Local Location is "Copenhagen"? | CREATE TABLE table_name_79 (resident_country VARCHAR, local_location VARCHAR) | SELECT resident_country FROM table_name_79 WHERE local_location = "copenhagen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (resident_country VARCHAR, local_location VARCHAR) Question: What is Resident Country, when Local Location is "Copenhagen"? [/INST] SELECT resident_country FROM table_name_79 WHERE local_location =... |
What is Player, when Place is "1"? | CREATE TABLE table_name_66 (player VARCHAR, place VARCHAR) | SELECT player FROM table_name_66 WHERE place = "1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (player VARCHAR, place VARCHAR) Question: What is Player, when Place is "1"? [/INST] SELECT player FROM table_name_66 WHERE place = "1" </s> |
What is Score, when Country is "United States", when Place is "T3", and when Player is "Phil Blackmar"? | CREATE TABLE table_name_10 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) | SELECT score FROM table_name_10 WHERE country = "united states" AND place = "t3" AND player = "phil blackmar" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) Question: What is Score, when Country is "United States", when Place is "T3", and when Player is "Phil Blackmar"? [/INST] SELECT scor... |
What is To Par, when Country is "Australia"? | CREATE TABLE table_name_25 (to_par VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_25 WHERE country = "australia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (to_par VARCHAR, country VARCHAR) Question: What is To Par, when Country is "Australia"? [/INST] SELECT to_par FROM table_name_25 WHERE country = "australia" </s> |
What is Score, when Player is "Vijay Singh"? | CREATE TABLE table_name_41 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_41 WHERE player = "vijay singh" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (score VARCHAR, player VARCHAR) Question: What is Score, when Player is "Vijay Singh"? [/INST] SELECT score FROM table_name_41 WHERE player = "vijay singh" </s> |
What type of surface did they play on 23 October 2000? | CREATE TABLE table_name_67 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_67 WHERE date = "23 october 2000" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (surface VARCHAR, date VARCHAR) Question: What type of surface did they play on 23 October 2000? [/INST] SELECT surface FROM table_name_67 WHERE date = "23 october 2000" </s> |
What type of surface did they play on 21 July 1997 | CREATE TABLE table_name_14 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_14 WHERE date = "21 july 1997" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (surface VARCHAR, date VARCHAR) Question: What type of surface did they play on 21 July 1997 [/INST] SELECT surface FROM table_name_14 WHERE date = "21 july 1997" </s> |
what was the score of the Championship match played in Estoril, Portugal? | CREATE TABLE table_name_92 (score_in_the_final VARCHAR, championship VARCHAR) | SELECT score_in_the_final FROM table_name_92 WHERE championship = "estoril, portugal" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (score_in_the_final VARCHAR, championship VARCHAR) Question: what was the score of the Championship match played in Estoril, Portugal? [/INST] SELECT score_in_the_final FROM table_name_92 WHERE cha... |
What was the name of the opponent Tommy Haas played in the Championship? | CREATE TABLE table_name_31 (championship VARCHAR, opponent_in_the_final VARCHAR) | SELECT championship FROM table_name_31 WHERE opponent_in_the_final = "tommy haas" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (championship VARCHAR, opponent_in_the_final VARCHAR) Question: What was the name of the opponent Tommy Haas played in the Championship? [/INST] SELECT championship FROM table_name_31 WHERE opponen... |
What was the score of the match played on 18 January 1999? | CREATE TABLE table_name_48 (outcome VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_48 WHERE date = "18 january 1999" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (outcome VARCHAR, date VARCHAR) Question: What was the score of the match played on 18 January 1999? [/INST] SELECT outcome FROM table_name_48 WHERE date = "18 january 1999" </s> |
What season has roma as the opponent? | CREATE TABLE table_name_15 (season VARCHAR, opponent VARCHAR) | SELECT season FROM table_name_15 WHERE opponent = "roma" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (season VARCHAR, opponent VARCHAR) Question: What season has roma as the opponent? [/INST] SELECT season FROM table_name_15 WHERE opponent = "roma" </s> |
What is the Ship Type of the Prize Disposition of ship and a tonnage less than 151? | CREATE TABLE table_name_47 (ship_type VARCHAR, disposition_of_ship VARCHAR, tonnage VARCHAR) | SELECT ship_type FROM table_name_47 WHERE disposition_of_ship = "prize" AND tonnage < 151 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (ship_type VARCHAR, disposition_of_ship VARCHAR, tonnage VARCHAR) Question: What is the Ship Type of the Prize Disposition of ship and a tonnage less than 151? [/INST] SELECT ship_type FROM table_n... |
What is the highest tonnage of the Brig Ship Type and the disposition of Ship of Prize? | CREATE TABLE table_name_35 (tonnage INTEGER, ship_type VARCHAR, disposition_of_ship VARCHAR) | SELECT MAX(tonnage) FROM table_name_35 WHERE ship_type = "brig" AND disposition_of_ship = "prize" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (tonnage INTEGER, ship_type VARCHAR, disposition_of_ship VARCHAR) Question: What is the highest tonnage of the Brig Ship Type and the disposition of Ship of Prize? [/INST] SELECT MAX(tonnage) FROM ... |
What's the to par for england when the score is less than 71? | CREATE TABLE table_name_34 (to_par VARCHAR, country VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_34 WHERE country = "england" AND score < 71 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (to_par VARCHAR, country VARCHAR, score VARCHAR) Question: What's the to par for england when the score is less than 71? [/INST] SELECT to_par FROM table_name_34 WHERE country = "england" AND score... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.