instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
What was the attendance on September 19, 1971, after week 1? | CREATE TABLE table_name_38 (attendance INTEGER, date VARCHAR, week VARCHAR) | SELECT AVG(attendance) FROM table_name_38 WHERE date = "september 19, 1971" AND week > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (attendance INTEGER, date VARCHAR, week VARCHAR) Question: What was the attendance on September 19, 1971, after week 1? [/INST] SELECT AVG(attendance) FROM table_name_38 WHERE date = "september 19,... |
How many Bronze medals did the team ranked 1 win? | CREATE TABLE table_name_32 (bronze VARCHAR, rank VARCHAR) | SELECT bronze FROM table_name_32 WHERE rank = "1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (bronze VARCHAR, rank VARCHAR) Question: How many Bronze medals did the team ranked 1 win? [/INST] SELECT bronze FROM table_name_32 WHERE rank = "1" </s> |
What is the date for the MF position and player Jennison Myrie-Williams? | CREATE TABLE table_name_50 (date_from VARCHAR, position VARCHAR, name VARCHAR) | SELECT date_from FROM table_name_50 WHERE position = "mf" AND name = "jennison myrie-williams" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (date_from VARCHAR, position VARCHAR, name VARCHAR) Question: What is the date for the MF position and player Jennison Myrie-Williams? [/INST] SELECT date_from FROM table_name_50 WHERE position = "... |
What Goals has a Team of zamora, and Average larger than 0.89? | CREATE TABLE table_name_92 (goals INTEGER, team VARCHAR, average VARCHAR) | SELECT AVG(goals) FROM table_name_92 WHERE team = "zamora" AND average > 0.89 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (goals INTEGER, team VARCHAR, average VARCHAR) Question: What Goals has a Team of zamora, and Average larger than 0.89? [/INST] SELECT AVG(goals) FROM table_name_92 WHERE team = "zamora" AND averag... |
What is the sum of Goals win an Average larger than 1? | CREATE TABLE table_name_94 (goals VARCHAR, average INTEGER) | SELECT COUNT(goals) FROM table_name_94 WHERE average > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (goals VARCHAR, average INTEGER) Question: What is the sum of Goals win an Average larger than 1? [/INST] SELECT COUNT(goals) FROM table_name_94 WHERE average > 1 </s> |
What is the smallest Matches with a Goalkeeper of josé bermúdez, and Goals larger than 18? | CREATE TABLE table_name_26 (matches INTEGER, goalkeeper VARCHAR, goals VARCHAR) | SELECT MIN(matches) FROM table_name_26 WHERE goalkeeper = "josé bermúdez" AND goals > 18 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (matches INTEGER, goalkeeper VARCHAR, goals VARCHAR) Question: What is the smallest Matches with a Goalkeeper of josé bermúdez, and Goals larger than 18? [/INST] SELECT MIN(matches) FROM table_name... |
What is the total of Matches with Goals of 18, and an Average larger than 0.55? | CREATE TABLE table_name_30 (matches INTEGER, goals VARCHAR, average VARCHAR) | SELECT SUM(matches) FROM table_name_30 WHERE goals = 18 AND average > 0.55 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (matches INTEGER, goals VARCHAR, average VARCHAR) Question: What is the total of Matches with Goals of 18, and an Average larger than 0.55? [/INST] SELECT SUM(matches) FROM table_name_30 WHERE goal... |
What is the largest Average with Goals smaller than 34, Matches larger than 30, and a Team of cultural leonesa? | CREATE TABLE table_name_80 (average INTEGER, team VARCHAR, goals VARCHAR, matches VARCHAR) | SELECT MAX(average) FROM table_name_80 WHERE goals < 34 AND matches > 30 AND team = "cultural leonesa" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (average INTEGER, team VARCHAR, goals VARCHAR, matches VARCHAR) Question: What is the largest Average with Goals smaller than 34, Matches larger than 30, and a Team of cultural leonesa? [/INST] SEL... |
Which To par has a Score of 78-74-71-75=298? | CREATE TABLE table_name_52 (to_par INTEGER, score VARCHAR) | SELECT AVG(to_par) FROM table_name_52 WHERE score = 78 - 74 - 71 - 75 = 298 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (to_par INTEGER, score VARCHAR) Question: Which To par has a Score of 78-74-71-75=298? [/INST] SELECT AVG(to_par) FROM table_name_52 WHERE score = 78 - 74 - 71 - 75 = 298 </s> |
How much To par has a Country of united states, and a Money ($) of 90? | CREATE TABLE table_name_42 (to_par VARCHAR, country VARCHAR, money___$__ VARCHAR) | SELECT COUNT(to_par) FROM table_name_42 WHERE country = "united states" AND money___$__ = 90 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (to_par VARCHAR, country VARCHAR, money___$__ VARCHAR) Question: How much To par has a Country of united states, and a Money ($) of 90? [/INST] SELECT COUNT(to_par) FROM table_name_42 WHERE country... |
What is are the highest matches with £5,000 in prize money? | CREATE TABLE table_name_77 (matches INTEGER, prize_money VARCHAR) | SELECT MAX(matches) FROM table_name_77 WHERE prize_money = "£5,000" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (matches INTEGER, prize_money VARCHAR) Question: What is are the highest matches with £5,000 in prize money? [/INST] SELECT MAX(matches) FROM table_name_77 WHERE prize_money = "£5,000" </s> |
What is the prize money amount after match 1, with 102 new entries to the round? | CREATE TABLE table_name_40 (prize_money VARCHAR, matches VARCHAR, new_entries_this_round VARCHAR) | SELECT prize_money FROM table_name_40 WHERE matches > 1 AND new_entries_this_round = "102" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (prize_money VARCHAR, matches VARCHAR, new_entries_this_round VARCHAR) Question: What is the prize money amount after match 1, with 102 new entries to the round? [/INST] SELECT prize_money FROM tab... |
In what place did Darren Clarke finish? | CREATE TABLE table_name_23 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_23 WHERE player = "darren clarke" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (place VARCHAR, player VARCHAR) Question: In what place did Darren Clarke finish? [/INST] SELECT place FROM table_name_23 WHERE player = "darren clarke" </s> |
What was Ernie Els's score? | CREATE TABLE table_name_86 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_86 WHERE player = "ernie els" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (score VARCHAR, player VARCHAR) Question: What was Ernie Els's score? [/INST] SELECT score FROM table_name_86 WHERE player = "ernie els" </s> |
In what place did Tom Lehman finish? | CREATE TABLE table_name_29 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_29 WHERE player = "tom lehman" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (place VARCHAR, player VARCHAR) Question: In what place did Tom Lehman finish? [/INST] SELECT place FROM table_name_29 WHERE player = "tom lehman" </s> |
In what place did the golfer that scored 68-70-69=207 finish? | CREATE TABLE table_name_59 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_59 WHERE score = 68 - 70 - 69 = 207 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (place VARCHAR, score VARCHAR) Question: In what place did the golfer that scored 68-70-69=207 finish? [/INST] SELECT place FROM table_name_59 WHERE score = 68 - 70 - 69 = 207 </s> |
What were the highest laps for glenn seton gregg hansford? | CREATE TABLE table_name_1 (laps INTEGER, drivers VARCHAR) | SELECT MAX(laps) FROM table_name_1 WHERE drivers = "glenn seton gregg hansford" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (laps INTEGER, drivers VARCHAR) Question: What were the highest laps for glenn seton gregg hansford? [/INST] SELECT MAX(laps) FROM table_name_1 WHERE drivers = "glenn seton gregg hansford" </s> |
What driver had 101 laps? | CREATE TABLE table_name_86 (drivers VARCHAR, laps VARCHAR) | SELECT drivers FROM table_name_86 WHERE laps = 101 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (drivers VARCHAR, laps VARCHAR) Question: What driver had 101 laps? [/INST] SELECT drivers FROM table_name_86 WHERE laps = 101 </s> |
Gary Barnett who has been in 0 FA Cups plays what position? | CREATE TABLE table_name_7 (position VARCHAR, fa_cup_apps VARCHAR, name VARCHAR) | SELECT position FROM table_name_7 WHERE fa_cup_apps = "0" AND name = "gary barnett" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (position VARCHAR, fa_cup_apps VARCHAR, name VARCHAR) Question: Gary Barnett who has been in 0 FA Cups plays what position? [/INST] SELECT position FROM table_name_7 WHERE fa_cup_apps = "0" AND name... |
What is the maximum league cup goals when there has been 0 FA cup appearances, and MF is the position, with 1 league appearance, and smaller than 0 total goals? | CREATE TABLE table_name_23 (league_cup_goals INTEGER, total_goals VARCHAR, league_apps VARCHAR, fa_cup_apps VARCHAR, position VARCHAR) | SELECT MAX(league_cup_goals) FROM table_name_23 WHERE fa_cup_apps = "0" AND position = "mf" AND league_apps = "1" AND total_goals < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (league_cup_goals INTEGER, total_goals VARCHAR, league_apps VARCHAR, fa_cup_apps VARCHAR, position VARCHAR) Question: What is the maximum league cup goals when there has been 0 FA cup appearances, ... |
How many FLT appearances for the player with less than 5 total goals, and 3 FA Cup appearances, 4 league goals, and plays MF? | CREATE TABLE table_name_62 (flt_apps VARCHAR, league_goals VARCHAR, position VARCHAR, total_goals VARCHAR, fa_cup_apps VARCHAR) | SELECT flt_apps FROM table_name_62 WHERE total_goals < 5 AND fa_cup_apps = "3" AND position = "mf" AND league_goals = 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (flt_apps VARCHAR, league_goals VARCHAR, position VARCHAR, total_goals VARCHAR, fa_cup_apps VARCHAR) Question: How many FLT appearances for the player with less than 5 total goals, and 3 FA Cup app... |
Who was the opponent when the attendance was 87,453? | CREATE TABLE table_name_28 (opponent_number VARCHAR, attendance VARCHAR) | SELECT opponent_number FROM table_name_28 WHERE attendance = "87,453" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (opponent_number VARCHAR, attendance VARCHAR) Question: Who was the opponent when the attendance was 87,453? [/INST] SELECT opponent_number FROM table_name_28 WHERE attendance = "87,453" </s> |
What was the attendance when they had a ranking of #4? | CREATE TABLE table_name_42 (attendance VARCHAR, rank__number VARCHAR) | SELECT attendance FROM table_name_42 WHERE rank__number = "4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (attendance VARCHAR, rank__number VARCHAR) Question: What was the attendance when they had a ranking of #4? [/INST] SELECT attendance FROM table_name_42 WHERE rank__number = "4" </s> |
What's the average Played for a draw of 5 and more than 43 points? | CREATE TABLE table_name_68 (played INTEGER, draw VARCHAR, points VARCHAR) | SELECT AVG(played) FROM table_name_68 WHERE draw = 5 AND points > 43 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (played INTEGER, draw VARCHAR, points VARCHAR) Question: What's the average Played for a draw of 5 and more than 43 points? [/INST] SELECT AVG(played) FROM table_name_68 WHERE draw = 5 AND points >... |
What is the government salary of the Undersecretary with a Romanised name of Chen Wei-On, Kenneth? | CREATE TABLE table_name_19 (govt_salary VARCHAR, romanised_name VARCHAR) | SELECT govt_salary FROM table_name_19 WHERE romanised_name = "chen wei-on, kenneth" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (govt_salary VARCHAR, romanised_name VARCHAR) Question: What is the government salary of the Undersecretary with a Romanised name of Chen Wei-On, Kenneth? [/INST] SELECT govt_salary FROM table_name... |
What is the portfolio attachment of the Undersecretary appointed at age 48 with a Chinese name of 梁鳳儀? | CREATE TABLE table_name_47 (portfolio_attachment VARCHAR, age_at_appointment VARCHAR, chinese_name VARCHAR) | SELECT portfolio_attachment FROM table_name_47 WHERE age_at_appointment = 48 AND chinese_name = "梁鳳儀" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (portfolio_attachment VARCHAR, age_at_appointment VARCHAR, chinese_name VARCHAR) Question: What is the portfolio attachment of the Undersecretary appointed at age 48 with a Chinese name of 梁鳳儀? [/I... |
What is the Romanised name of the Undersecretary with an education portfolio attachment? | CREATE TABLE table_name_84 (romanised_name VARCHAR, portfolio_attachment VARCHAR) | SELECT romanised_name FROM table_name_84 WHERE portfolio_attachment = "education" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (romanised_name VARCHAR, portfolio_attachment VARCHAR) Question: What is the Romanised name of the Undersecretary with an education portfolio attachment? [/INST] SELECT romanised_name FROM table_na... |
What is the best top 10 when there are fewer than 0 wins? | CREATE TABLE table_name_30 (top_10s INTEGER, wins INTEGER) | SELECT MAX(top_10s) FROM table_name_30 WHERE wins < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (top_10s INTEGER, wins INTEGER) Question: What is the best top 10 when there are fewer than 0 wins? [/INST] SELECT MAX(top_10s) FROM table_name_30 WHERE wins < 0 </s> |
Where did naylor move from? | CREATE TABLE table_name_31 (moving_from VARCHAR, name VARCHAR) | SELECT moving_from FROM table_name_31 WHERE name = "naylor" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (moving_from VARCHAR, name VARCHAR) Question: Where did naylor move from? [/INST] SELECT moving_from FROM table_name_31 WHERE name = "naylor" </s> |
What type ends in 2011, has a free transfer fee, and is sourced in leeds united? | CREATE TABLE table_name_26 (type VARCHAR, source VARCHAR, ends VARCHAR, transfer_fee VARCHAR) | SELECT type FROM table_name_26 WHERE ends = "2011" AND transfer_fee = "free" AND source = "leeds united" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (type VARCHAR, source VARCHAR, ends VARCHAR, transfer_fee VARCHAR) Question: What type ends in 2011, has a free transfer fee, and is sourced in leeds united? [/INST] SELECT type FROM table_name_26 ... |
What is the type of sco country? | CREATE TABLE table_name_92 (type VARCHAR, country VARCHAR) | SELECT type FROM table_name_92 WHERE country = "sco" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (type VARCHAR, country VARCHAR) Question: What is the type of sco country? [/INST] SELECT type FROM table_name_92 WHERE country = "sco" </s> |
What is the type that ends in 2009? | CREATE TABLE table_name_32 (type VARCHAR, ends VARCHAR) | SELECT type FROM table_name_32 WHERE ends = "2009" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (type VARCHAR, ends VARCHAR) Question: What is the type that ends in 2009? [/INST] SELECT type FROM table_name_32 WHERE ends = "2009" </s> |
What is the transfer fee of assoumani, who has a summer transfer window? | CREATE TABLE table_name_70 (transfer_fee VARCHAR, transfer_window VARCHAR, name VARCHAR) | SELECT transfer_fee FROM table_name_70 WHERE transfer_window = "summer" AND name = "assoumani" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (transfer_fee VARCHAR, transfer_window VARCHAR, name VARCHAR) Question: What is the transfer fee of assoumani, who has a summer transfer window? [/INST] SELECT transfer_fee FROM table_name_70 WHERE... |
What is the ends with a free transfer fee and was moved from middlesbrough? | CREATE TABLE table_name_5 (ends VARCHAR, transfer_fee VARCHAR, moving_from VARCHAR) | SELECT ends FROM table_name_5 WHERE transfer_fee = "free" AND moving_from = "middlesbrough" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (ends VARCHAR, transfer_fee VARCHAR, moving_from VARCHAR) Question: What is the ends with a free transfer fee and was moved from middlesbrough? [/INST] SELECT ends FROM table_name_5 WHERE transfer_f... |
Which Week has Attendance of 51,558? | CREATE TABLE table_name_71 (week INTEGER, attendance VARCHAR) | SELECT MIN(week) FROM table_name_71 WHERE attendance = 51 OFFSET 558 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (week INTEGER, attendance VARCHAR) Question: Which Week has Attendance of 51,558? [/INST] SELECT MIN(week) FROM table_name_71 WHERE attendance = 51 OFFSET 558 ROWS </s> |
Which Attendance has a Result of w 24-14, and a Week smaller than 7? | CREATE TABLE table_name_2 (attendance INTEGER, result VARCHAR, week VARCHAR) | SELECT SUM(attendance) FROM table_name_2 WHERE result = "w 24-14" AND week < 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (attendance INTEGER, result VARCHAR, week VARCHAR) Question: Which Attendance has a Result of w 24-14, and a Week smaller than 7? [/INST] SELECT SUM(attendance) FROM table_name_2 WHERE result = "w 2... |
Which Attendance has an Opponent of at los angeles rams, and a Week larger than 12? | CREATE TABLE table_name_48 (attendance INTEGER, opponent VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_48 WHERE opponent = "at los angeles rams" AND week > 12 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (attendance INTEGER, opponent VARCHAR, week VARCHAR) Question: Which Attendance has an Opponent of at los angeles rams, and a Week larger than 12? [/INST] SELECT MAX(attendance) FROM table_name_48 ... |
Which method has a record of 4-0? | CREATE TABLE table_name_83 (method VARCHAR, record VARCHAR) | SELECT method FROM table_name_83 WHERE record = "4-0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (method VARCHAR, record VARCHAR) Question: Which method has a record of 4-0? [/INST] SELECT method FROM table_name_83 WHERE record = "4-0" </s> |
What is the record when the method is decision and the location is Martigues, France? | CREATE TABLE table_name_86 (record VARCHAR, method VARCHAR, location VARCHAR) | SELECT record FROM table_name_86 WHERE method = "decision" AND location = "martigues, france" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (record VARCHAR, method VARCHAR, location VARCHAR) Question: What is the record when the method is decision and the location is Martigues, France? [/INST] SELECT record FROM table_name_86 WHERE met... |
Which location has a method of decision and Nikos Tsoukalas for an opponent? | CREATE TABLE table_name_97 (location VARCHAR, method VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_97 WHERE method = "decision" AND opponent = "nikos tsoukalas" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (location VARCHAR, method VARCHAR, opponent VARCHAR) Question: Which location has a method of decision and Nikos Tsoukalas for an opponent? [/INST] SELECT location FROM table_name_97 WHERE method =... |
What is the method when the location is Auckland, New Zealand, Darren Berry as the opponent, and resulted in a win? | CREATE TABLE table_name_33 (method VARCHAR, opponent VARCHAR, location VARCHAR, result VARCHAR) | SELECT method FROM table_name_33 WHERE location = "auckland, new zealand" AND result = "win" AND opponent = "darren berry" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (method VARCHAR, opponent VARCHAR, location VARCHAR, result VARCHAR) Question: What is the method when the location is Auckland, New Zealand, Darren Berry as the opponent, and resulted in a win? [/... |
What is the location when the record is 9-7? | CREATE TABLE table_name_29 (location VARCHAR, record VARCHAR) | SELECT location FROM table_name_29 WHERE record = "9-7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (location VARCHAR, record VARCHAR) Question: What is the location when the record is 9-7? [/INST] SELECT location FROM table_name_29 WHERE record = "9-7" </s> |
What is the location when KO is the method, the result is a win, and the record is 2-0? | CREATE TABLE table_name_66 (location VARCHAR, record VARCHAR, method VARCHAR, result VARCHAR) | SELECT location FROM table_name_66 WHERE method = "ko" AND result = "win" AND record = "2-0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (location VARCHAR, record VARCHAR, method VARCHAR, result VARCHAR) Question: What is the location when KO is the method, the result is a win, and the record is 2-0? [/INST] SELECT location FROM tab... |
What are the total casualties with 1,200+ military and/or civilian wounded? | CREATE TABLE table_name_54 (total_casualties VARCHAR, military_and_or_civilian_wounded VARCHAR) | SELECT total_casualties FROM table_name_54 WHERE military_and_or_civilian_wounded = "1,200+" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (total_casualties VARCHAR, military_and_or_civilian_wounded VARCHAR) Question: What are the total casualties with 1,200+ military and/or civilian wounded? [/INST] SELECT total_casualties FROM table... |
How many military deaths were there when there were 1,615 total casualties? | CREATE TABLE table_name_92 (military_deaths VARCHAR, total_casualties VARCHAR) | SELECT military_deaths FROM table_name_92 WHERE total_casualties = "1,615" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (military_deaths VARCHAR, total_casualties VARCHAR) Question: How many military deaths were there when there were 1,615 total casualties? [/INST] SELECT military_deaths FROM table_name_92 WHERE tot... |
How many military deaths were there when there were 1,200+ military and/or civilian wounded? | CREATE TABLE table_name_15 (military_deaths VARCHAR, military_and_or_civilian_wounded VARCHAR) | SELECT military_deaths FROM table_name_15 WHERE military_and_or_civilian_wounded = "1,200+" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (military_deaths VARCHAR, military_and_or_civilian_wounded VARCHAR) Question: How many military deaths were there when there were 1,200+ military and/or civilian wounded? [/INST] SELECT military_de... |
How many deaths were there when the total casualties were 6? | CREATE TABLE table_name_33 (total_deaths VARCHAR, total_casualties VARCHAR) | SELECT total_deaths FROM table_name_33 WHERE total_casualties = "6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (total_deaths VARCHAR, total_casualties VARCHAR) Question: How many deaths were there when the total casualties were 6? [/INST] SELECT total_deaths FROM table_name_33 WHERE total_casualties = "6" <... |
Which country scored 70-68-71-71=280? | CREATE TABLE table_name_29 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_29 WHERE score = 70 - 68 - 71 - 71 = 280 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (country VARCHAR, score VARCHAR) Question: Which country scored 70-68-71-71=280? [/INST] SELECT country FROM table_name_29 WHERE score = 70 - 68 - 71 - 71 = 280 </s> |
What champions have 1 (2009) as the semi-finalists? | CREATE TABLE table_name_26 (champions VARCHAR, semi_finalists VARCHAR) | SELECT champions FROM table_name_26 WHERE semi_finalists = "1 (2009)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (champions VARCHAR, semi_finalists VARCHAR) Question: What champions have 1 (2009) as the semi-finalists? [/INST] SELECT champions FROM table_name_26 WHERE semi_finalists = "1 (2009)" </s> |
What fourth-place has 2 (1999, 2005) as the runner(s)-up? | CREATE TABLE table_name_26 (fourth_place VARCHAR, runners_up VARCHAR) | SELECT fourth_place FROM table_name_26 WHERE runners_up = "2 (1999, 2005)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (fourth_place VARCHAR, runners_up VARCHAR) Question: What fourth-place has 2 (1999, 2005) as the runner(s)-up? [/INST] SELECT fourth_place FROM table_name_26 WHERE runners_up = "2 (1999, 2005)" </s... |
What semi-finalists has 2 (1993, 2003) as the fourth-place? | CREATE TABLE table_name_1 (semi_finalists VARCHAR, fourth_place VARCHAR) | SELECT semi_finalists FROM table_name_1 WHERE fourth_place = "2 (1993, 2003)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (semi_finalists VARCHAR, fourth_place VARCHAR) Question: What semi-finalists has 2 (1993, 2003) as the fourth-place? [/INST] SELECT semi_finalists FROM table_name_1 WHERE fourth_place = "2 (1993, 20... |
What runner(s)-up has 1 (2013) as the champions? | CREATE TABLE table_name_75 (runners_up VARCHAR, champions VARCHAR) | SELECT runners_up FROM table_name_75 WHERE champions = "1 (2013)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (runners_up VARCHAR, champions VARCHAR) Question: What runner(s)-up has 1 (2013) as the champions? [/INST] SELECT runners_up FROM table_name_75 WHERE champions = "1 (2013)" </s> |
What was the day of vacancy for vitória de guimarães? | CREATE TABLE table_name_78 (date_of_vacancy VARCHAR, team VARCHAR) | SELECT date_of_vacancy FROM table_name_78 WHERE team = "vitória de guimarães" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (date_of_vacancy VARCHAR, team VARCHAR) Question: What was the day of vacancy for vitória de guimarães? [/INST] SELECT date_of_vacancy FROM table_name_78 WHERE team = "vitória de guimarães" </s> |
Who was the outgoing manager when the incoming manager was augusto inácio? | CREATE TABLE table_name_53 (outgoing_manage VARCHAR, incoming_manager VARCHAR) | SELECT outgoing_manage FROM table_name_53 WHERE incoming_manager = "augusto inácio" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (outgoing_manage VARCHAR, incoming_manager VARCHAR) Question: Who was the outgoing manager when the incoming manager was augusto inácio? [/INST] SELECT outgoing_manage FROM table_name_53 WHERE inco... |
How many matches did Atlético Ciudad have with an average higher than 0.61? | CREATE TABLE table_name_71 (matches VARCHAR, team VARCHAR, average VARCHAR) | SELECT COUNT(matches) FROM table_name_71 WHERE team = "atlético ciudad" AND average > 0.61 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (matches VARCHAR, team VARCHAR, average VARCHAR) Question: How many matches did Atlético Ciudad have with an average higher than 0.61? [/INST] SELECT COUNT(matches) FROM table_name_71 WHERE team = ... |
Who is the goalkeeper with fewer than 24 goals? | CREATE TABLE table_name_15 (goalkeeper VARCHAR, goals INTEGER) | SELECT goalkeeper FROM table_name_15 WHERE goals < 24 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (goalkeeper VARCHAR, goals INTEGER) Question: Who is the goalkeeper with fewer than 24 goals? [/INST] SELECT goalkeeper FROM table_name_15 WHERE goals < 24 </s> |
What was the highest amount of losses when there were 45 goals and the play was smaller than 38? | CREATE TABLE table_name_52 (losses INTEGER, goals_for VARCHAR, played VARCHAR) | SELECT MAX(losses) FROM table_name_52 WHERE goals_for = 45 AND played < 38 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (losses INTEGER, goals_for VARCHAR, played VARCHAR) Question: What was the highest amount of losses when there were 45 goals and the play was smaller than 38? [/INST] SELECT MAX(losses) FROM table_... |
What were the lowest goals when there were mor than 15 wins and the goal difference was larger than 35? | CREATE TABLE table_name_25 (goals_for INTEGER, wins VARCHAR, goal_difference VARCHAR) | SELECT MIN(goals_for) FROM table_name_25 WHERE wins > 15 AND goal_difference > 35 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (goals_for INTEGER, wins VARCHAR, goal_difference VARCHAR) Question: What were the lowest goals when there were mor than 15 wins and the goal difference was larger than 35? [/INST] SELECT MIN(goals... |
What were the highest losses when the goal was smaller than 45 and the points was smaller than 18? | CREATE TABLE table_name_89 (losses INTEGER, goals_for VARCHAR, points VARCHAR) | SELECT MAX(losses) FROM table_name_89 WHERE goals_for < 45 AND points < 18 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (losses INTEGER, goals_for VARCHAR, points VARCHAR) Question: What were the highest losses when the goal was smaller than 45 and the points was smaller than 18? [/INST] SELECT MAX(losses) FROM tabl... |
What were the highest goals against when the position was larger than 19 and the goals smaller than 36? | CREATE TABLE table_name_32 (goals_against INTEGER, position VARCHAR, goals_for VARCHAR) | SELECT MAX(goals_against) FROM table_name_32 WHERE position > 19 AND goals_for < 36 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (goals_against INTEGER, position VARCHAR, goals_for VARCHAR) Question: What were the highest goals against when the position was larger than 19 and the goals smaller than 36? [/INST] SELECT MAX(goa... |
What is the to par for the player with fewer than 148 total points? | CREATE TABLE table_name_53 (to_par INTEGER, total INTEGER) | SELECT SUM(to_par) FROM table_name_53 WHERE total < 148 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (to_par INTEGER, total INTEGER) Question: What is the to par for the player with fewer than 148 total points? [/INST] SELECT SUM(to_par) FROM table_name_53 WHERE total < 148 </s> |
What school year is vaucluse public school? | CREATE TABLE table_name_10 (years VARCHAR, school VARCHAR) | SELECT years FROM table_name_10 WHERE school = "vaucluse public school" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (years VARCHAR, school VARCHAR) Question: What school year is vaucluse public school? [/INST] SELECT years FROM table_name_10 WHERE school = "vaucluse public school" </s> |
What are the websites of schools that were founded in 1872? | CREATE TABLE table_name_11 (website VARCHAR, founded VARCHAR) | SELECT website FROM table_name_11 WHERE founded = 1872 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (website VARCHAR, founded VARCHAR) Question: What are the websites of schools that were founded in 1872? [/INST] SELECT website FROM table_name_11 WHERE founded = 1872 </s> |
On average, when were vineyard schools founded? | CREATE TABLE table_name_13 (founded INTEGER, suburb_town VARCHAR) | SELECT AVG(founded) FROM table_name_13 WHERE suburb_town = "vineyard" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (founded INTEGER, suburb_town VARCHAR) Question: On average, when were vineyard schools founded? [/INST] SELECT AVG(founded) FROM table_name_13 WHERE suburb_town = "vineyard" </s> |
What was the surface later than 1979, for the Melbourne Indoor, Australia, and the score was 2–6, 6–2, 6–2? | CREATE TABLE table_name_75 (surface VARCHAR, score VARCHAR, date VARCHAR, championship VARCHAR) | SELECT surface FROM table_name_75 WHERE date > 1979 AND championship = "melbourne indoor, australia" AND score = "2–6, 6–2, 6–2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (surface VARCHAR, score VARCHAR, date VARCHAR, championship VARCHAR) Question: What was the surface later than 1979, for the Melbourne Indoor, Australia, and the score was 2–6, 6–2, 6–2? [/INST] SE... |
What is the earliest date when the championship was Monterrey WCT, Mexico? | CREATE TABLE table_name_76 (date INTEGER, championship VARCHAR) | SELECT MIN(date) FROM table_name_76 WHERE championship = "monterrey wct, mexico" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (date INTEGER, championship VARCHAR) Question: What is the earliest date when the championship was Monterrey WCT, Mexico? [/INST] SELECT MIN(date) FROM table_name_76 WHERE championship = "monterrey... |
What is the score when the outcome was runner-up, earlier than 1975? | CREATE TABLE table_name_25 (score VARCHAR, outcome VARCHAR, date VARCHAR) | SELECT score FROM table_name_25 WHERE outcome = "runner-up" AND date < 1975 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (score VARCHAR, outcome VARCHAR, date VARCHAR) Question: What is the score when the outcome was runner-up, earlier than 1975? [/INST] SELECT score FROM table_name_25 WHERE outcome = "runner-up" AND... |
How many Losses have a Geelong FL of newtown & chilwell, and more than 11 wins? | CREATE TABLE table_name_23 (losses VARCHAR, geelong_fl VARCHAR, wins VARCHAR) | SELECT COUNT(losses) FROM table_name_23 WHERE geelong_fl = "newtown & chilwell" AND wins > 11 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (losses VARCHAR, geelong_fl VARCHAR, wins VARCHAR) Question: How many Losses have a Geelong FL of newtown & chilwell, and more than 11 wins? [/INST] SELECT COUNT(losses) FROM table_name_23 WHERE ge... |
When were the shares 39.1%? | CREATE TABLE table_name_84 (date VARCHAR, share VARCHAR) | SELECT date FROM table_name_84 WHERE share = "39.1%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (date VARCHAR, share VARCHAR) Question: When were the shares 39.1%? [/INST] SELECT date FROM table_name_84 WHERE share = "39.1%" </s> |
Which show aired on 19 april? | CREATE TABLE table_name_81 (show VARCHAR, date VARCHAR) | SELECT show FROM table_name_81 WHERE date = "19 april" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (show VARCHAR, date VARCHAR) Question: Which show aired on 19 april? [/INST] SELECT show FROM table_name_81 WHERE date = "19 april" </s> |
What was the original title for the film used in nomination of street days? | CREATE TABLE table_name_91 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT original_title FROM table_name_91 WHERE film_title_used_in_nomination = "street days" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) Question: What was the original title for the film used in nomination of street days? [/INST] SELECT original_title FROM table_name_9... |
What was the original title for the film used in nomination of keep smiling? | CREATE TABLE table_name_36 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT original_title FROM table_name_36 WHERE film_title_used_in_nomination = "keep smiling" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) Question: What was the original title for the film used in nomination of keep smiling? [/INST] SELECT original_title FROM table_name_... |
How many tickets were sold and how many were available for the shows that grossed $348,674? | CREATE TABLE table_name_30 (ticket_sold___available VARCHAR, ticket_grossing VARCHAR) | SELECT ticket_sold___available FROM table_name_30 WHERE ticket_grossing = "$348,674" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (ticket_sold___available VARCHAR, ticket_grossing VARCHAR) Question: How many tickets were sold and how many were available for the shows that grossed $348,674? [/INST] SELECT ticket_sold___availab... |
Which Production in 2009 had a Result of Nominated at the Helpmann awards Award Ceremony? | CREATE TABLE table_name_67 (production VARCHAR, award_ceremony VARCHAR, result VARCHAR, year VARCHAR) | SELECT production FROM table_name_67 WHERE result = "nominated" AND year = 2009 AND award_ceremony = "helpmann awards" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (production VARCHAR, award_ceremony VARCHAR, result VARCHAR, year VARCHAR) Question: Which Production in 2009 had a Result of Nominated at the Helpmann awards Award Ceremony? [/INST] SELECT product... |
Which Award Ceremony in 2009 has a Role of Glinda? | CREATE TABLE table_name_2 (award_ceremony VARCHAR, role VARCHAR, year VARCHAR) | SELECT award_ceremony FROM table_name_2 WHERE role = "glinda" AND year = 2009 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (award_ceremony VARCHAR, role VARCHAR, year VARCHAR) Question: Which Award Ceremony in 2009 has a Role of Glinda? [/INST] SELECT award_ceremony FROM table_name_2 WHERE role = "glinda" AND year = 200... |
Which Year saw the Production of Wicked at the Helpmann Awards Award ceremony? | CREATE TABLE table_name_13 (year VARCHAR, production VARCHAR, award_ceremony VARCHAR) | SELECT year FROM table_name_13 WHERE production = "wicked" AND award_ceremony = "helpmann awards" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (year VARCHAR, production VARCHAR, award_ceremony VARCHAR) Question: Which Year saw the Production of Wicked at the Helpmann Awards Award ceremony? [/INST] SELECT year FROM table_name_13 WHERE prod... |
What was the Result in 2013? | CREATE TABLE table_name_48 (result VARCHAR, year VARCHAR) | SELECT result FROM table_name_48 WHERE year = 2013 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (result VARCHAR, year VARCHAR) Question: What was the Result in 2013? [/INST] SELECT result FROM table_name_48 WHERE year = 2013 </s> |
Who was the rider riding the Kawasaki ZX-6r, that rode less than 22 laps, and the grid was greater than 19, and retirement was the time? | CREATE TABLE table_name_64 (rider VARCHAR, bike VARCHAR, time VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT rider FROM table_name_64 WHERE laps < 22 AND grid > 19 AND time = "retirement" AND bike = "kawasaki zx-6r" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (rider VARCHAR, bike VARCHAR, time VARCHAR, laps VARCHAR, grid VARCHAR) Question: Who was the rider riding the Kawasaki ZX-6r, that rode less than 22 laps, and the grid was greater than 19, and ret... |
What is the maximum grid when the laps were greater than 22? | CREATE TABLE table_name_44 (grid INTEGER, laps INTEGER) | SELECT MAX(grid) FROM table_name_44 WHERE laps > 22 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (grid INTEGER, laps INTEGER) Question: What is the maximum grid when the laps were greater than 22? [/INST] SELECT MAX(grid) FROM table_name_44 WHERE laps > 22 </s> |
What is the minimum grid when there was more than 22 laps? | CREATE TABLE table_name_83 (grid INTEGER, laps INTEGER) | SELECT MIN(grid) FROM table_name_83 WHERE laps > 22 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (grid INTEGER, laps INTEGER) Question: What is the minimum grid when there was more than 22 laps? [/INST] SELECT MIN(grid) FROM table_name_83 WHERE laps > 22 </s> |
How many total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR? | CREATE TABLE table_name_96 (laps INTEGER, bike VARCHAR, grid VARCHAR) | SELECT SUM(laps) FROM table_name_96 WHERE bike = "honda cbr600rr" AND grid = 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (laps INTEGER, bike VARCHAR, grid VARCHAR) Question: How many total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR? [/INST] SELECT SUM(laps) FROM table_name_96 WHERE bik... |
Which sign has a fall of Venus? | CREATE TABLE table_name_5 (sign VARCHAR, fall VARCHAR) | SELECT sign FROM table_name_5 WHERE fall = "venus" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (sign VARCHAR, fall VARCHAR) Question: Which sign has a fall of Venus? [/INST] SELECT sign FROM table_name_5 WHERE fall = "venus" </s> |
Which exaltation has a fall of moon? | CREATE TABLE table_name_21 (exaltation VARCHAR, fall VARCHAR) | SELECT exaltation FROM table_name_21 WHERE fall = "moon" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (exaltation VARCHAR, fall VARCHAR) Question: Which exaltation has a fall of moon? [/INST] SELECT exaltation FROM table_name_21 WHERE fall = "moon" </s> |
Which exaltation has a domicile of Saturn and a fall of Jupiter? | CREATE TABLE table_name_98 (exaltation VARCHAR, domicile VARCHAR, fall VARCHAR) | SELECT exaltation FROM table_name_98 WHERE domicile = "saturn" AND fall = "jupiter" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (exaltation VARCHAR, domicile VARCHAR, fall VARCHAR) Question: Which exaltation has a domicile of Saturn and a fall of Jupiter? [/INST] SELECT exaltation FROM table_name_98 WHERE domicile = "saturn... |
Which exaltation has a domicile of Saturn and Capricorn as a sign? | CREATE TABLE table_name_10 (exaltation VARCHAR, domicile VARCHAR, sign VARCHAR) | SELECT exaltation FROM table_name_10 WHERE domicile = "saturn" AND sign = "capricorn" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (exaltation VARCHAR, domicile VARCHAR, sign VARCHAR) Question: Which exaltation has a domicile of Saturn and Capricorn as a sign? [/INST] SELECT exaltation FROM table_name_10 WHERE domicile = "satu... |
Which detriment has a domicile of mercury and Virgo as a sign? | CREATE TABLE table_name_89 (detriment VARCHAR, domicile VARCHAR, sign VARCHAR) | SELECT detriment FROM table_name_89 WHERE domicile = "mercury" AND sign = "virgo" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (detriment VARCHAR, domicile VARCHAR, sign VARCHAR) Question: Which detriment has a domicile of mercury and Virgo as a sign? [/INST] SELECT detriment FROM table_name_89 WHERE domicile = "mercury" A... |
Which exaltation has a detriment of Saturn and Cancer as a sign? | CREATE TABLE table_name_75 (exaltation VARCHAR, detriment VARCHAR, sign VARCHAR) | SELECT exaltation FROM table_name_75 WHERE detriment = "saturn" AND sign = "cancer" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (exaltation VARCHAR, detriment VARCHAR, sign VARCHAR) Question: Which exaltation has a detriment of Saturn and Cancer as a sign? [/INST] SELECT exaltation FROM table_name_75 WHERE detriment = "satu... |
What was the draw when the points against was 234? | CREATE TABLE table_name_96 (drawn VARCHAR, points_against VARCHAR) | SELECT drawn FROM table_name_96 WHERE points_against = "234" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (drawn VARCHAR, points_against VARCHAR) Question: What was the draw when the points against was 234? [/INST] SELECT drawn FROM table_name_96 WHERE points_against = "234" </s> |
What was the try bonus when the points for was 608? | CREATE TABLE table_name_56 (try_bonus VARCHAR, points_for VARCHAR) | SELECT try_bonus FROM table_name_56 WHERE points_for = "608" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (try_bonus VARCHAR, points_for VARCHAR) Question: What was the try bonus when the points for was 608? [/INST] SELECT try_bonus FROM table_name_56 WHERE points_for = "608" </s> |
Which Team has a Previous team of san diego rockets, and a Position of f? | CREATE TABLE table_name_71 (team VARCHAR, previous_team VARCHAR, pos VARCHAR) | SELECT team FROM table_name_71 WHERE previous_team = "san diego rockets" AND pos = "f" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (team VARCHAR, previous_team VARCHAR, pos VARCHAR) Question: Which Team has a Previous team of san diego rockets, and a Position of f? [/INST] SELECT team FROM table_name_71 WHERE previous_team = "... |
What is team 1 when team 2 is Manchester United? | CREATE TABLE table_name_45 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_45 WHERE team_2 = "manchester united" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (team_1 VARCHAR, team_2 VARCHAR) Question: What is team 1 when team 2 is Manchester United? [/INST] SELECT team_1 FROM table_name_45 WHERE team_2 = "manchester united" </s> |
What is the agg when team 1 is Milan? | CREATE TABLE table_name_70 (agg VARCHAR, team_1 VARCHAR) | SELECT agg FROM table_name_70 WHERE team_1 = "milan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (agg VARCHAR, team_1 VARCHAR) Question: What is the agg when team 1 is Milan? [/INST] SELECT agg FROM table_name_70 WHERE team_1 = "milan" </s> |
Which team is ranked #10? | CREATE TABLE table_name_74 (team VARCHAR, rank VARCHAR) | SELECT team FROM table_name_74 WHERE rank = 10 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (team VARCHAR, rank VARCHAR) Question: Which team is ranked #10? [/INST] SELECT team FROM table_name_74 WHERE rank = 10 </s> |
Which cyclist has UCI ProTour points of 40? | CREATE TABLE table_name_96 (cyclist VARCHAR, uci_protour_points VARCHAR) | SELECT cyclist FROM table_name_96 WHERE uci_protour_points = 40 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (cyclist VARCHAR, uci_protour_points VARCHAR) Question: Which cyclist has UCI ProTour points of 40? [/INST] SELECT cyclist FROM table_name_96 WHERE uci_protour_points = 40 </s> |
What is the province with a contestant of tatiana vargas rosales? | CREATE TABLE table_name_43 (province VARCHAR, _community VARCHAR, contestant VARCHAR) | SELECT province, _community FROM table_name_43 WHERE contestant = "tatiana vargas rosales" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (province VARCHAR, _community VARCHAR, contestant VARCHAR) Question: What is the province with a contestant of tatiana vargas rosales? [/INST] SELECT province, _community FROM table_name_43 WHERE c... |
Which province has the contestant elixandra tobias carasco? | CREATE TABLE table_name_81 (province VARCHAR, _community VARCHAR, contestant VARCHAR) | SELECT province, _community FROM table_name_81 WHERE contestant = "elixandra tobias carasco" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (province VARCHAR, _community VARCHAR, contestant VARCHAR) Question: Which province has the contestant elixandra tobias carasco? [/INST] SELECT province, _community FROM table_name_81 WHERE contest... |
What is 2011, when 2009 is "A"? | CREATE TABLE table_name_59 (Id VARCHAR) | SELECT 2011 FROM table_name_59 WHERE 2009 = "a" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (Id VARCHAR) Question: What is 2011, when 2009 is "A"? [/INST] SELECT 2011 FROM table_name_59 WHERE 2009 = "a" </s> |
What is 2009, when Tournament is "Year-End Ranking"? | CREATE TABLE table_name_77 (tournament VARCHAR) | SELECT 2009 FROM table_name_77 WHERE tournament = "year-end ranking" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (tournament VARCHAR) Question: What is 2009, when Tournament is "Year-End Ranking"? [/INST] SELECT 2009 FROM table_name_77 WHERE tournament = "year-end ranking" </s> |
What is 2011, when 2012 is "1R"? | CREATE TABLE table_name_73 (Id VARCHAR) | SELECT 2011 FROM table_name_73 WHERE 2012 = "1r" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (Id VARCHAR) Question: What is 2011, when 2012 is "1R"? [/INST] SELECT 2011 FROM table_name_73 WHERE 2012 = "1r" </s> |
What is 2012, when 2009 is "A"? | CREATE TABLE table_name_44 (Id VARCHAR) | SELECT 2012 FROM table_name_44 WHERE 2009 = "a" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (Id VARCHAR) Question: What is 2012, when 2009 is "A"? [/INST] SELECT 2012 FROM table_name_44 WHERE 2009 = "a" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.