instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
What is 2011, when 2012 is "A", and when Tournament is "French Open"? | CREATE TABLE table_name_99 (tournament VARCHAR) | SELECT 2011 FROM table_name_99 WHERE 2012 = "a" AND tournament = "french open" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (tournament VARCHAR) Question: What is 2011, when 2012 is "A", and when Tournament is "French Open"? [/INST] SELECT 2011 FROM table_name_99 WHERE 2012 = "a" AND tournament = "french open" </s> |
What is the largest Against with an Opposing Teams of wales? | CREATE TABLE table_name_71 (against INTEGER, opposing_teams VARCHAR) | SELECT MAX(against) FROM table_name_71 WHERE opposing_teams = "wales" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (against INTEGER, opposing_teams VARCHAR) Question: What is the largest Against with an Opposing Teams of wales? [/INST] SELECT MAX(against) FROM table_name_71 WHERE opposing_teams = "wales" </s> |
What Status has a Date of 18/03/1989? | CREATE TABLE table_name_49 (status VARCHAR, date VARCHAR) | SELECT status FROM table_name_49 WHERE date = "18/03/1989" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (status VARCHAR, date VARCHAR) Question: What Status has a Date of 18/03/1989? [/INST] SELECT status FROM table_name_49 WHERE date = "18/03/1989" </s> |
What Venue has a Status of five nations, and Against of 0? | CREATE TABLE table_name_89 (venue VARCHAR, status VARCHAR, against VARCHAR) | SELECT venue FROM table_name_89 WHERE status = "five nations" AND against = 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (venue VARCHAR, status VARCHAR, against VARCHAR) Question: What Venue has a Status of five nations, and Against of 0? [/INST] SELECT venue FROM table_name_89 WHERE status = "five nations" AND again... |
What is the smallest Against with a Date of 18/02/1989? | CREATE TABLE table_name_55 (against INTEGER, date VARCHAR) | SELECT MIN(against) FROM table_name_55 WHERE date = "18/02/1989" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (against INTEGER, date VARCHAR) Question: What is the smallest Against with a Date of 18/02/1989? [/INST] SELECT MIN(against) FROM table_name_55 WHERE date = "18/02/1989" </s> |
What are the additional notes for Cotabato? | CREATE TABLE table_name_79 (additional_notes VARCHAR, location VARCHAR) | SELECT additional_notes FROM table_name_79 WHERE location = "cotabato" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (additional_notes VARCHAR, location VARCHAR) Question: What are the additional notes for Cotabato? [/INST] SELECT additional_notes FROM table_name_79 WHERE location = "cotabato" </s> |
What country in Kunlong in? | CREATE TABLE table_name_46 (country VARCHAR, location VARCHAR) | SELECT country FROM table_name_46 WHERE location = "kunlong" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (country VARCHAR, location VARCHAR) Question: What country in Kunlong in? [/INST] SELECT country FROM table_name_46 WHERE location = "kunlong" </s> |
Who went on a rampage in Baghdad? | CREATE TABLE table_name_85 (perpetrator VARCHAR, location VARCHAR) | SELECT perpetrator FROM table_name_85 WHERE location = "baghdad" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (perpetrator VARCHAR, location VARCHAR) Question: Who went on a rampage in Baghdad? [/INST] SELECT perpetrator FROM table_name_85 WHERE location = "baghdad" </s> |
What's the rank that has a total of less than 1? | CREATE TABLE table_name_19 (rank INTEGER, total INTEGER) | SELECT SUM(rank) FROM table_name_19 WHERE total < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (rank INTEGER, total INTEGER) Question: What's the rank that has a total of less than 1? [/INST] SELECT SUM(rank) FROM table_name_19 WHERE total < 1 </s> |
What's the bronze medal count when the silver is less than 3 and the gold is 1? | CREATE TABLE table_name_63 (bronze INTEGER, gold VARCHAR, silver VARCHAR) | SELECT SUM(bronze) FROM table_name_63 WHERE gold = 1 AND silver < 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (bronze INTEGER, gold VARCHAR, silver VARCHAR) Question: What's the bronze medal count when the silver is less than 3 and the gold is 1? [/INST] SELECT SUM(bronze) FROM table_name_63 WHERE gold = 1... |
What's the gold medal count ranked 2 with a total of more than 21? | CREATE TABLE table_name_42 (gold VARCHAR, rank VARCHAR, total VARCHAR) | SELECT COUNT(gold) FROM table_name_42 WHERE rank = 2 AND total > 21 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (gold VARCHAR, rank VARCHAR, total VARCHAR) Question: What's the gold medal count ranked 2 with a total of more than 21? [/INST] SELECT COUNT(gold) FROM table_name_42 WHERE rank = 2 AND total > 21 ... |
What's the smallest total with a bronze count of 5 and a gold count less than 8? | CREATE TABLE table_name_89 (total INTEGER, bronze VARCHAR, gold VARCHAR) | SELECT MIN(total) FROM table_name_89 WHERE bronze = 5 AND gold < 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (total INTEGER, bronze VARCHAR, gold VARCHAR) Question: What's the smallest total with a bronze count of 5 and a gold count less than 8? [/INST] SELECT MIN(total) FROM table_name_89 WHERE bronze = ... |
What is the party for the representative who was first elected before 2002 and the results were re-elected? | CREATE TABLE table_name_7 (party VARCHAR, results VARCHAR, first_elected VARCHAR) | SELECT party FROM table_name_7 WHERE results = "re-elected" AND first_elected < 2002 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (party VARCHAR, results VARCHAR, first_elected VARCHAR) Question: What is the party for the representative who was first elected before 2002 and the results were re-elected? [/INST] SELECT party FRO... |
Incumbent John Sullivan has what as biggest first elected? | CREATE TABLE table_name_71 (first_elected INTEGER, incumbent VARCHAR) | SELECT MAX(first_elected) FROM table_name_71 WHERE incumbent = "john sullivan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (first_elected INTEGER, incumbent VARCHAR) Question: Incumbent John Sullivan has what as biggest first elected? [/INST] SELECT MAX(first_elected) FROM table_name_71 WHERE incumbent = "john sullivan... |
What Location has Years Member of 1963–1968? | CREATE TABLE table_name_24 (location VARCHAR, years_member VARCHAR) | SELECT location FROM table_name_24 WHERE years_member = "1963–1968" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (location VARCHAR, years_member VARCHAR) Question: What Location has Years Member of 1963–1968? [/INST] SELECT location FROM table_name_24 WHERE years_member = "1963–1968" </s> |
What School has Colors of navy blue orange? | CREATE TABLE table_name_17 (school VARCHAR, colors VARCHAR) | SELECT school FROM table_name_17 WHERE colors = "navy blue orange" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (school VARCHAR, colors VARCHAR) Question: What School has Colors of navy blue orange? [/INST] SELECT school FROM table_name_17 WHERE colors = "navy blue orange" </s> |
What Years Member has a School of cairo high school? | CREATE TABLE table_name_47 (years_member VARCHAR, school VARCHAR) | SELECT years_member FROM table_name_47 WHERE school = "cairo high school" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (years_member VARCHAR, school VARCHAR) Question: What Years Member has a School of cairo high school? [/INST] SELECT years_member FROM table_name_47 WHERE school = "cairo high school" </s> |
What Colors has a School of sesser high school? | CREATE TABLE table_name_61 (colors VARCHAR, school VARCHAR) | SELECT colors FROM table_name_61 WHERE school = "sesser high school" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (colors VARCHAR, school VARCHAR) Question: What Colors has a School of sesser high school? [/INST] SELECT colors FROM table_name_61 WHERE school = "sesser high school" </s> |
What Colors has a School of zeigler high school? | CREATE TABLE table_name_17 (colors VARCHAR, school VARCHAR) | SELECT colors FROM table_name_17 WHERE school = "zeigler high school" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (colors VARCHAR, school VARCHAR) Question: What Colors has a School of zeigler high school? [/INST] SELECT colors FROM table_name_17 WHERE school = "zeigler high school" </s> |
What Nickname(s) has a Location of elkville, illinois? | CREATE TABLE table_name_65 (nickname_s_ VARCHAR, location VARCHAR) | SELECT nickname_s_ FROM table_name_65 WHERE location = "elkville, illinois" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (nickname_s_ VARCHAR, location VARCHAR) Question: What Nickname(s) has a Location of elkville, illinois? [/INST] SELECT nickname_s_ FROM table_name_65 WHERE location = "elkville, illinois" </s> |
Which Season 1 has a Season 7 of david chilton? | CREATE TABLE table_name_5 (season_1 VARCHAR, season_7 VARCHAR) | SELECT season_1 FROM table_name_5 WHERE season_7 = "david chilton" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (season_1 VARCHAR, season_7 VARCHAR) Question: Which Season 1 has a Season 7 of david chilton? [/INST] SELECT season_1 FROM table_name_5 WHERE season_7 = "david chilton" </s> |
Which Seat has a Season 6 of kevin o'leary? | CREATE TABLE table_name_85 (seat INTEGER, season_6 VARCHAR) | SELECT MAX(seat) FROM table_name_85 WHERE season_6 = "kevin o'leary" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (seat INTEGER, season_6 VARCHAR) Question: Which Seat has a Season 6 of kevin o'leary? [/INST] SELECT MAX(seat) FROM table_name_85 WHERE season_6 = "kevin o'leary" </s> |
Which Season 7 has a Season 6 of jim treliving? | CREATE TABLE table_name_98 (season_7 VARCHAR, season_6 VARCHAR) | SELECT season_7 FROM table_name_98 WHERE season_6 = "jim treliving" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (season_7 VARCHAR, season_6 VARCHAR) Question: Which Season 7 has a Season 6 of jim treliving? [/INST] SELECT season_7 FROM table_name_98 WHERE season_6 = "jim treliving" </s> |
Which Season 7 has a Seat larger than 1, and a Season 3 of w. brett wilson? | CREATE TABLE table_name_89 (season_7 VARCHAR, seat VARCHAR, season_3 VARCHAR) | SELECT season_7 FROM table_name_89 WHERE seat > 1 AND season_3 = "w. brett wilson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (season_7 VARCHAR, seat VARCHAR, season_3 VARCHAR) Question: Which Season 7 has a Seat larger than 1, and a Season 3 of w. brett wilson? [/INST] SELECT season_7 FROM table_name_89 WHERE seat > 1 AN... |
Which Season 3 has a Season 7 of jim treliving? | CREATE TABLE table_name_93 (season_3 VARCHAR, season_7 VARCHAR) | SELECT season_3 FROM table_name_93 WHERE season_7 = "jim treliving" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (season_3 VARCHAR, season_7 VARCHAR) Question: Which Season 3 has a Season 7 of jim treliving? [/INST] SELECT season_3 FROM table_name_93 WHERE season_7 = "jim treliving" </s> |
What is Weekly Winner, when Air Date is "July 4, 2008"? | CREATE TABLE table_name_85 (weekly_winner VARCHAR, air_date VARCHAR) | SELECT weekly_winner FROM table_name_85 WHERE air_date = "july 4, 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (weekly_winner VARCHAR, air_date VARCHAR) Question: What is Weekly Winner, when Air Date is "July 4, 2008"? [/INST] SELECT weekly_winner FROM table_name_85 WHERE air_date = "july 4, 2008" </s> |
What is Rating, when Air Date is "July 24, 2008*", and when Weekly Winner is "Sales Rep. Oscar Ledezma"? | CREATE TABLE table_name_7 (rating VARCHAR, air_date VARCHAR, weekly_winner VARCHAR) | SELECT rating FROM table_name_7 WHERE air_date = "july 24, 2008*" AND weekly_winner = "sales rep. oscar ledezma" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (rating VARCHAR, air_date VARCHAR, weekly_winner VARCHAR) Question: What is Rating, when Air Date is "July 24, 2008*", and when Weekly Winner is "Sales Rep. Oscar Ledezma"? [/INST] SELECT rating FRO... |
What is 18-49, when Weekly Winner is "Youth Counselor Justin Meece"? | CREATE TABLE table_name_45 (weekly_winner VARCHAR) | SELECT 18 AS _49 FROM table_name_45 WHERE weekly_winner = "youth counselor justin meece" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (weekly_winner VARCHAR) Question: What is 18-49, when Weekly Winner is "Youth Counselor Justin Meece"? [/INST] SELECT 18 AS _49 FROM table_name_45 WHERE weekly_winner = "youth counselor justin meec... |
What is Viewers, when Air Date is "July 4, 2008"? | CREATE TABLE table_name_64 (viewers VARCHAR, air_date VARCHAR) | SELECT viewers FROM table_name_64 WHERE air_date = "july 4, 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (viewers VARCHAR, air_date VARCHAR) Question: What is Viewers, when Air Date is "July 4, 2008"? [/INST] SELECT viewers FROM table_name_64 WHERE air_date = "july 4, 2008" </s> |
What is Air Date, when Rating is "N/A", and when Weekly Winner is "Wedding DJ Chris Dixon"? | CREATE TABLE table_name_19 (air_date VARCHAR, rating VARCHAR, weekly_winner VARCHAR) | SELECT air_date FROM table_name_19 WHERE rating = "n/a" AND weekly_winner = "wedding dj chris dixon" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (air_date VARCHAR, rating VARCHAR, weekly_winner VARCHAR) Question: What is Air Date, when Rating is "N/A", and when Weekly Winner is "Wedding DJ Chris Dixon"? [/INST] SELECT air_date FROM table_na... |
What was the record for Dec 16? | CREATE TABLE table_name_36 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_36 WHERE date = "dec 16" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (record VARCHAR, date VARCHAR) Question: What was the record for Dec 16? [/INST] SELECT record FROM table_name_36 WHERE date = "dec 16" </s> |
What is the 2010 with a qf in 2011? | CREATE TABLE table_name_9 (Id VARCHAR) | SELECT 2010 FROM table_name_9 WHERE 2011 = "qf" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (Id VARCHAR) Question: What is the 2010 with a qf in 2011? [/INST] SELECT 2010 FROM table_name_9 WHERE 2011 = "qf" </s> |
What is the 2013 of the grand slam tournaments? | CREATE TABLE table_name_71 (tournament VARCHAR) | SELECT 2013 FROM table_name_71 WHERE tournament = "grand slam tournaments" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (tournament VARCHAR) Question: What is the 2013 of the grand slam tournaments? [/INST] SELECT 2013 FROM table_name_71 WHERE tournament = "grand slam tournaments" </s> |
What is the 2013 with a 2r in 2010 and a qf in 2011? | CREATE TABLE table_name_49 (Id VARCHAR) | SELECT 2013 FROM table_name_49 WHERE 2010 = "2r" AND 2011 = "qf" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (Id VARCHAR) Question: What is the 2013 with a 2r in 2010 and a qf in 2011? [/INST] SELECT 2013 FROM table_name_49 WHERE 2010 = "2r" AND 2011 = "qf" </s> |
What is the 2011 with 1r in 2010? | CREATE TABLE table_name_32 (Id VARCHAR) | SELECT 2011 FROM table_name_32 WHERE 2010 = "1r" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (Id VARCHAR) Question: What is the 2011 with 1r in 2010? [/INST] SELECT 2011 FROM table_name_32 WHERE 2010 = "1r" </s> |
What is the 2012 with A in 2009 and 2r in 2010? | CREATE TABLE table_name_96 (Id VARCHAR) | SELECT 2012 FROM table_name_96 WHERE 2009 = "a" AND 2010 = "2r" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (Id VARCHAR) Question: What is the 2012 with A in 2009 and 2r in 2010? [/INST] SELECT 2012 FROM table_name_96 WHERE 2009 = "a" AND 2010 = "2r" </s> |
What is the poison/klesha word for moha avijja in pali? | CREATE TABLE table_name_29 (poison_klesha VARCHAR, pali VARCHAR) | SELECT poison_klesha FROM table_name_29 WHERE pali = "moha avijja" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (poison_klesha VARCHAR, pali VARCHAR) Question: What is the poison/klesha word for moha avijja in pali? [/INST] SELECT poison_klesha FROM table_name_29 WHERE pali = "moha avijja" </s> |
What is the poision/klesha word for the tibetan word gti mug ma rig pa? | CREATE TABLE table_name_14 (poison_klesha VARCHAR, tibetan VARCHAR) | SELECT poison_klesha FROM table_name_14 WHERE tibetan = "gti mug ma rig pa" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (poison_klesha VARCHAR, tibetan VARCHAR) Question: What is the poision/klesha word for the tibetan word gti mug ma rig pa? [/INST] SELECT poison_klesha FROM table_name_14 WHERE tibetan = "gti mug m... |
What is the pali word for pride in poison/klesha? | CREATE TABLE table_name_87 (pali VARCHAR, poison_klesha VARCHAR) | SELECT pali FROM table_name_87 WHERE poison_klesha = "pride" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (pali VARCHAR, poison_klesha VARCHAR) Question: What is the pali word for pride in poison/klesha? [/INST] SELECT pali FROM table_name_87 WHERE poison_klesha = "pride" </s> |
What is the pali word for phrag dog in tibetan? | CREATE TABLE table_name_64 (pali VARCHAR, tibetan VARCHAR) | SELECT pali FROM table_name_64 WHERE tibetan = "phrag dog" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (pali VARCHAR, tibetan VARCHAR) Question: What is the pali word for phrag dog in tibetan? [/INST] SELECT pali FROM table_name_64 WHERE tibetan = "phrag dog" </s> |
What is the pali word for rāga in sanskrit? | CREATE TABLE table_name_77 (pali VARCHAR, sanskrit VARCHAR) | SELECT pali FROM table_name_77 WHERE sanskrit = "rāga" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (pali VARCHAR, sanskrit VARCHAR) Question: What is the pali word for rāga in sanskrit? [/INST] SELECT pali FROM table_name_77 WHERE sanskrit = "rāga" </s> |
What is the attendance total when Southend Manor is the away team and there are less than 93 ties? | CREATE TABLE table_name_12 (attendance VARCHAR, away_team VARCHAR, tie_no VARCHAR) | SELECT COUNT(attendance) FROM table_name_12 WHERE away_team = "southend manor" AND tie_no < 93 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (attendance VARCHAR, away_team VARCHAR, tie_no VARCHAR) Question: What is the attendance total when Southend Manor is the away team and there are less than 93 ties? [/INST] SELECT COUNT(attendance)... |
What is the score when the attendance is less than 83 and Raunds Town is the away team? | CREATE TABLE table_name_91 (score VARCHAR, attendance VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_91 WHERE attendance < 83 AND away_team = "raunds town" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (score VARCHAR, attendance VARCHAR, away_team VARCHAR) Question: What is the score when the attendance is less than 83 and Raunds Town is the away team? [/INST] SELECT score FROM table_name_91 WHER... |
Who was the player that was picked at a number less than 205 from the Michigan State Spartans? | CREATE TABLE table_name_46 (player VARCHAR, pick__number VARCHAR, team_from VARCHAR) | SELECT player FROM table_name_46 WHERE pick__number < 205 AND team_from = "michigan state spartans" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (player VARCHAR, pick__number VARCHAR, team_from VARCHAR) Question: Who was the player that was picked at a number less than 205 from the Michigan State Spartans? [/INST] SELECT player FROM table_n... |
What is the average Density of 53 No. munic.? | CREATE TABLE table_name_40 (density__per_km²_ INTEGER, no_munic VARCHAR) | SELECT AVG(density__per_km²_) FROM table_name_40 WHERE no_munic = 53 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (density__per_km²_ INTEGER, no_munic VARCHAR) Question: What is the average Density of 53 No. munic.? [/INST] SELECT AVG(density__per_km²_) FROM table_name_40 WHERE no_munic = 53 </s> |
Name the Status of Venue of sydney sports ground , sydney? | CREATE TABLE table_name_46 (status VARCHAR, venue VARCHAR) | SELECT status FROM table_name_46 WHERE venue = "sydney sports ground , sydney" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (status VARCHAR, venue VARCHAR) Question: Name the Status of Venue of sydney sports ground , sydney? [/INST] SELECT status FROM table_name_46 WHERE venue = "sydney sports ground , sydney" </s> |
Which Status has a Opposing Teams of wales? | CREATE TABLE table_name_16 (status VARCHAR, opposing_teams VARCHAR) | SELECT status FROM table_name_16 WHERE opposing_teams = "wales" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (status VARCHAR, opposing_teams VARCHAR) Question: Which Status has a Opposing Teams of wales? [/INST] SELECT status FROM table_name_16 WHERE opposing_teams = "wales" </s> |
WHICH Date has a Venue of lancaster park , christchurch? | CREATE TABLE table_name_14 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_14 WHERE venue = "lancaster park , christchurch" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (date VARCHAR, venue VARCHAR) Question: WHICH Date has a Venue of lancaster park , christchurch? [/INST] SELECT date FROM table_name_14 WHERE venue = "lancaster park , christchurch" </s> |
WHAT IS THE TEAM WITH DAVE COGGIN? | CREATE TABLE table_name_32 (team VARCHAR, player VARCHAR) | SELECT team FROM table_name_32 WHERE player = "dave coggin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (team VARCHAR, player VARCHAR) Question: WHAT IS THE TEAM WITH DAVE COGGIN? [/INST] SELECT team FROM table_name_32 WHERE player = "dave coggin" </s> |
WHAT IS THE TEAM WITH AN OF POSITION AND PICK OF 24? | CREATE TABLE table_name_93 (team VARCHAR, position VARCHAR, pick VARCHAR) | SELECT team FROM table_name_93 WHERE position = "of" AND pick = 24 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (team VARCHAR, position VARCHAR, pick VARCHAR) Question: WHAT IS THE TEAM WITH AN OF POSITION AND PICK OF 24? [/INST] SELECT team FROM table_name_93 WHERE position = "of" AND pick = 24 </s> |
WHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS? | CREATE TABLE table_name_44 (position VARCHAR, team VARCHAR, player VARCHAR) | SELECT position FROM table_name_44 WHERE team = "boston red sox" AND player = "corey jenkins" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (position VARCHAR, team VARCHAR, player VARCHAR) Question: WHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS? [/INST] SELECT position FROM table_name_44 WHERE team = "boston red sox" AND p... |
WHAT PLAYER HAS UPLAND HIGH SCHOOL? | CREATE TABLE table_name_88 (player VARCHAR, hometown_school VARCHAR) | SELECT player FROM table_name_88 WHERE hometown_school = "upland high school" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (player VARCHAR, hometown_school VARCHAR) Question: WHAT PLAYER HAS UPLAND HIGH SCHOOL? [/INST] SELECT player FROM table_name_88 WHERE hometown_school = "upland high school" </s> |
WHAT PLAYER HAS THE OAKLAND ATHLETICS? | CREATE TABLE table_name_55 (player VARCHAR, team VARCHAR) | SELECT player FROM table_name_55 WHERE team = "oakland athletics" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (player VARCHAR, team VARCHAR) Question: WHAT PLAYER HAS THE OAKLAND ATHLETICS? [/INST] SELECT player FROM table_name_55 WHERE team = "oakland athletics" </s> |
WHAT TEAM HAS A PICK LARGER THAN 29? | CREATE TABLE table_name_59 (team VARCHAR, pick INTEGER) | SELECT team FROM table_name_59 WHERE pick > 29 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (team VARCHAR, pick INTEGER) Question: WHAT TEAM HAS A PICK LARGER THAN 29? [/INST] SELECT team FROM table_name_59 WHERE pick > 29 </s> |
Which rampage killed 8 in Israel? | CREATE TABLE table_name_44 (name VARCHAR, killed VARCHAR, country VARCHAR) | SELECT name FROM table_name_44 WHERE killed = "8" AND country = "israel" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (name VARCHAR, killed VARCHAR, country VARCHAR) Question: Which rampage killed 8 in Israel? [/INST] SELECT name FROM table_name_44 WHERE killed = "8" AND country = "israel" </s> |
What coutry had a rampaged killing 14 in 1965? | CREATE TABLE table_name_29 (country VARCHAR, killed VARCHAR, year VARCHAR) | SELECT country FROM table_name_29 WHERE killed = "14" AND year = 1965 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (country VARCHAR, killed VARCHAR, year VARCHAR) Question: What coutry had a rampaged killing 14 in 1965? [/INST] SELECT country FROM table_name_29 WHERE killed = "14" AND year = 1965 </s> |
What is Club, when Drawn is "0", and when Try Bonus is "5"? | CREATE TABLE table_name_9 (club VARCHAR, drawn VARCHAR, try_bonus VARCHAR) | SELECT club FROM table_name_9 WHERE drawn = "0" AND try_bonus = "5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (club VARCHAR, drawn VARCHAR, try_bonus VARCHAR) Question: What is Club, when Drawn is "0", and when Try Bonus is "5"? [/INST] SELECT club FROM table_name_9 WHERE drawn = "0" AND try_bonus = "5" </s... |
What is Club, when Points is "82"? | CREATE TABLE table_name_15 (club VARCHAR, points VARCHAR) | SELECT club FROM table_name_15 WHERE points = "82" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (club VARCHAR, points VARCHAR) Question: What is Club, when Points is "82"? [/INST] SELECT club FROM table_name_15 WHERE points = "82" </s> |
What is Played, when Points Against is "374"? | CREATE TABLE table_name_62 (played VARCHAR, points_against VARCHAR) | SELECT played FROM table_name_62 WHERE points_against = "374" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (played VARCHAR, points_against VARCHAR) Question: What is Played, when Points Against is "374"? [/INST] SELECT played FROM table_name_62 WHERE points_against = "374" </s> |
What is Points Against, when Try Bonus is "Try bonus"? | CREATE TABLE table_name_77 (points_against VARCHAR, try_bonus VARCHAR) | SELECT points_against FROM table_name_77 WHERE try_bonus = "try bonus" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (points_against VARCHAR, try_bonus VARCHAR) Question: What is Points Against, when Try Bonus is "Try bonus"? [/INST] SELECT points_against FROM table_name_77 WHERE try_bonus = "try bonus" </s> |
What is Try Bonus, when Losing Bonus is "1", and when Points For is "179"? | CREATE TABLE table_name_51 (try_bonus VARCHAR, losing_bonus VARCHAR, points_for VARCHAR) | SELECT try_bonus FROM table_name_51 WHERE losing_bonus = "1" AND points_for = "179" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (try_bonus VARCHAR, losing_bonus VARCHAR, points_for VARCHAR) Question: What is Try Bonus, when Losing Bonus is "1", and when Points For is "179"? [/INST] SELECT try_bonus FROM table_name_51 WHERE ... |
What is Points For, when Club is "Tycroes RFC"? | CREATE TABLE table_name_64 (points_for VARCHAR, club VARCHAR) | SELECT points_for FROM table_name_64 WHERE club = "tycroes rfc" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (points_for VARCHAR, club VARCHAR) Question: What is Points For, when Club is "Tycroes RFC"? [/INST] SELECT points_for FROM table_name_64 WHERE club = "tycroes rfc" </s> |
When has a cause of gas explosion, a Death toll smaller than 63, and a Location of penygraig? | CREATE TABLE table_name_60 (date VARCHAR, location VARCHAR, cause VARCHAR, death_toll VARCHAR) | SELECT date FROM table_name_60 WHERE cause = "gas explosion" AND death_toll < 63 AND location = "penygraig" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (date VARCHAR, location VARCHAR, cause VARCHAR, death_toll VARCHAR) Question: When has a cause of gas explosion, a Death toll smaller than 63, and a Location of penygraig? [/INST] SELECT date FROM ... |
Where has a cause of gas explosion, a Death toll larger than 38 on 10 june? | CREATE TABLE table_name_97 (location VARCHAR, date VARCHAR, cause VARCHAR, death_toll VARCHAR) | SELECT location FROM table_name_97 WHERE cause = "gas explosion" AND death_toll > 38 AND date = "10 june" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (location VARCHAR, date VARCHAR, cause VARCHAR, death_toll VARCHAR) Question: Where has a cause of gas explosion, a Death toll larger than 38 on 10 june? [/INST] SELECT location FROM table_name_97 ... |
Which Year has a Location of dinas on 13 january? | CREATE TABLE table_name_86 (year VARCHAR, location VARCHAR, date VARCHAR) | SELECT year FROM table_name_86 WHERE location = "dinas" AND date = "13 january" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (year VARCHAR, location VARCHAR, date VARCHAR) Question: Which Year has a Location of dinas on 13 january? [/INST] SELECT year FROM table_name_86 WHERE location = "dinas" AND date = "13 january" </... |
Which Year has a cause of firedamp and a Death toll larger than 11? | CREATE TABLE table_name_87 (year INTEGER, cause VARCHAR, death_toll VARCHAR) | SELECT SUM(year) FROM table_name_87 WHERE cause = "firedamp" AND death_toll > 11 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (year INTEGER, cause VARCHAR, death_toll VARCHAR) Question: Which Year has a cause of firedamp and a Death toll larger than 11? [/INST] SELECT SUM(year) FROM table_name_87 WHERE cause = "firedamp" ... |
Count the lowest Year which has gas explosion, Colliery of tylorstown colliery, and a Death toll larger than 57? | CREATE TABLE table_name_15 (year INTEGER, death_toll VARCHAR, cause VARCHAR, colliery VARCHAR) | SELECT MIN(year) FROM table_name_15 WHERE cause = "gas explosion" AND colliery = "tylorstown colliery" AND death_toll > 57 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (year INTEGER, death_toll VARCHAR, cause VARCHAR, colliery VARCHAR) Question: Count the lowest Year which has gas explosion, Colliery of tylorstown colliery, and a Death toll larger than 57? [/INST... |
Which Colliery has a Death toll of 7? | CREATE TABLE table_name_76 (colliery VARCHAR, death_toll VARCHAR) | SELECT colliery FROM table_name_76 WHERE death_toll = 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (colliery VARCHAR, death_toll VARCHAR) Question: Which Colliery has a Death toll of 7? [/INST] SELECT colliery FROM table_name_76 WHERE death_toll = 7 </s> |
What is the Score 1 of Tie no 6? | CREATE TABLE table_name_46 (score_1 VARCHAR, tie_no VARCHAR) | SELECT score_1 FROM table_name_46 WHERE tie_no = "6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (score_1 VARCHAR, tie_no VARCHAR) Question: What is the Score 1 of Tie no 6? [/INST] SELECT score_1 FROM table_name_46 WHERE tie_no = "6" </s> |
What is the Attendance of Tie no 3? | CREATE TABLE table_name_10 (attendance VARCHAR, tie_no VARCHAR) | SELECT attendance FROM table_name_10 WHERE tie_no = "3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (attendance VARCHAR, tie_no VARCHAR) Question: What is the Attendance of Tie no 3? [/INST] SELECT attendance FROM table_name_10 WHERE tie_no = "3" </s> |
What is the Attendance at the Hereford United Away game? | CREATE TABLE table_name_94 (attendance VARCHAR, away_team VARCHAR) | SELECT attendance FROM table_name_94 WHERE away_team = "hereford united" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (attendance VARCHAR, away_team VARCHAR) Question: What is the Attendance at the Hereford United Away game? [/INST] SELECT attendance FROM table_name_94 WHERE away_team = "hereford united" </s> |
What is the Home team of Tie no 11? | CREATE TABLE table_name_19 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_19 WHERE tie_no = "11" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (home_team VARCHAR, tie_no VARCHAR) Question: What is the Home team of Tie no 11? [/INST] SELECT home_team FROM table_name_19 WHERE tie_no = "11" </s> |
What is the Tie no of Hereford United's Away game? | CREATE TABLE table_name_83 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_83 WHERE away_team = "hereford united" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (tie_no VARCHAR, away_team VARCHAR) Question: What is the Tie no of Hereford United's Away game? [/INST] SELECT tie_no FROM table_name_83 WHERE away_team = "hereford united" </s> |
What is the Score 1 of the game with Attendance of 2,571? | CREATE TABLE table_name_55 (score_1 VARCHAR, attendance VARCHAR) | SELECT score_1 FROM table_name_55 WHERE attendance = "2,571" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (score_1 VARCHAR, attendance VARCHAR) Question: What is the Score 1 of the game with Attendance of 2,571? [/INST] SELECT score_1 FROM table_name_55 WHERE attendance = "2,571" </s> |
What is the sum of the clubs remaining with 34 new entries this round and more than 34 clubs involved? | CREATE TABLE table_name_25 (clubs_remaining INTEGER, new_entries_this_round VARCHAR, clubs_involved VARCHAR) | SELECT SUM(clubs_remaining) FROM table_name_25 WHERE new_entries_this_round = "34" AND clubs_involved > 34 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (clubs_remaining INTEGER, new_entries_this_round VARCHAR, clubs_involved VARCHAR) Question: What is the sum of the clubs remaining with 34 new entries this round and more than 34 clubs involved? [/... |
What are the clubs involved with 16 clubs remaining? | CREATE TABLE table_name_63 (clubs_involved VARCHAR, clubs_remaining VARCHAR) | SELECT clubs_involved FROM table_name_63 WHERE clubs_remaining = 16 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (clubs_involved VARCHAR, clubs_remaining VARCHAR) Question: What are the clubs involved with 16 clubs remaining? [/INST] SELECT clubs_involved FROM table_name_63 WHERE clubs_remaining = 16 </s> |
What is the total rank of the athlete with a total larger than 19.42 and a taijiquan less than 9.87? | CREATE TABLE table_name_67 (rank VARCHAR, total VARCHAR, taijiquan VARCHAR) | SELECT COUNT(rank) FROM table_name_67 WHERE total > 19.42 AND taijiquan < 9.87 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (rank VARCHAR, total VARCHAR, taijiquan VARCHAR) Question: What is the total rank of the athlete with a total larger than 19.42 and a taijiquan less than 9.87? [/INST] SELECT COUNT(rank) FROM table... |
What is the lowest rank of the athlete with a taijiquan greater than 9.42 and a 19.02 total? | CREATE TABLE table_name_89 (rank INTEGER, taijiquan VARCHAR, total VARCHAR) | SELECT MIN(rank) FROM table_name_89 WHERE taijiquan > 9.42 AND total = 19.02 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (rank INTEGER, taijiquan VARCHAR, total VARCHAR) Question: What is the lowest rank of the athlete with a taijiquan greater than 9.42 and a 19.02 total? [/INST] SELECT MIN(rank) FROM table_name_89 W... |
What is the highest taijijian with a 9.87 taijiquan and a total less than 19.77? | CREATE TABLE table_name_20 (taijijian INTEGER, taijiquan VARCHAR, total VARCHAR) | SELECT MAX(taijijian) FROM table_name_20 WHERE taijiquan = 9.87 AND total < 19.77 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (taijijian INTEGER, taijiquan VARCHAR, total VARCHAR) Question: What is the highest taijijian with a 9.87 taijiquan and a total less than 19.77? [/INST] SELECT MAX(taijijian) FROM table_name_20 WHE... |
Who is the cyber girl in week 3 when Demi Jessica was the cyber girl in week 1? | CREATE TABLE table_name_33 (week_3 VARCHAR, week_1 VARCHAR) | SELECT week_3 FROM table_name_33 WHERE week_1 = "demi jessica" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (week_3 VARCHAR, week_1 VARCHAR) Question: Who is the cyber girl in week 3 when Demi Jessica was the cyber girl in week 1? [/INST] SELECT week_3 FROM table_name_33 WHERE week_1 = "demi jessica" </s... |
What is the name of the cyber girl in week 4 when Lexi Lombardelli was the cyber girl in week 2? | CREATE TABLE table_name_75 (week_4 VARCHAR, week_2 VARCHAR) | SELECT week_4 FROM table_name_75 WHERE week_2 = "lexi lombardelli" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (week_4 VARCHAR, week_2 VARCHAR) Question: What is the name of the cyber girl in week 4 when Lexi Lombardelli was the cyber girl in week 2? [/INST] SELECT week_4 FROM table_name_75 WHERE week_2 = "... |
When Alinna D Penta was the cyber girl in week 3, who was the cyber girl in week 1? | CREATE TABLE table_name_69 (week_1 VARCHAR, week_3 VARCHAR) | SELECT week_1 FROM table_name_69 WHERE week_3 = "alinna d penta" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (week_1 VARCHAR, week_3 VARCHAR) Question: When Alinna D Penta was the cyber girl in week 3, who was the cyber girl in week 1? [/INST] SELECT week_1 FROM table_name_69 WHERE week_3 = "alinna d pent... |
Felicia Taylor was cyber girl in week 3, so who was the cyber girl in week 5? | CREATE TABLE table_name_95 (week_5 VARCHAR, week_3 VARCHAR) | SELECT week_5 FROM table_name_95 WHERE week_3 = "felicia taylor" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (week_5 VARCHAR, week_3 VARCHAR) Question: Felicia Taylor was cyber girl in week 3, so who was the cyber girl in week 5? [/INST] SELECT week_5 FROM table_name_95 WHERE week_3 = "felicia taylor" </s... |
Who is the cyber girl in week 3 when Ashley Lowe was the cyber girl in week 2? | CREATE TABLE table_name_54 (week_3 VARCHAR, week_2 VARCHAR) | SELECT week_3 FROM table_name_54 WHERE week_2 = "ashley lowe" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (week_3 VARCHAR, week_2 VARCHAR) Question: Who is the cyber girl in week 3 when Ashley Lowe was the cyber girl in week 2? [/INST] SELECT week_3 FROM table_name_54 WHERE week_2 = "ashley lowe" </s> |
When Diane Deluna was the cyber girl in week 4 who was the cyber girl in week 2? | CREATE TABLE table_name_90 (week_2 VARCHAR, week_4 VARCHAR) | SELECT week_2 FROM table_name_90 WHERE week_4 = "diane deluna" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (week_2 VARCHAR, week_4 VARCHAR) Question: When Diane Deluna was the cyber girl in week 4 who was the cyber girl in week 2? [/INST] SELECT week_2 FROM table_name_90 WHERE week_4 = "diane deluna" </... |
Which Round has a Year later than 2011? | CREATE TABLE table_name_54 (round VARCHAR, year INTEGER) | SELECT round FROM table_name_54 WHERE year > 2011 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (round VARCHAR, year INTEGER) Question: Which Round has a Year later than 2011? [/INST] SELECT round FROM table_name_54 WHERE year > 2011 </s> |
When was the Result of 3–2, with a Score of 6–0, 6–4? | CREATE TABLE table_name_72 (date VARCHAR, result VARCHAR, score VARCHAR) | SELECT date FROM table_name_72 WHERE result = "3–2" AND score = "6–0, 6–4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (date VARCHAR, result VARCHAR, score VARCHAR) Question: When was the Result of 3–2, with a Score of 6–0, 6–4? [/INST] SELECT date FROM table_name_72 WHERE result = "3–2" AND score = "6–0, 6–4" </s> |
Which Surface has an Opponent(s) of anna-lena grönefeld tatjana malek? | CREATE TABLE table_name_8 (surface VARCHAR, opponent_s_ VARCHAR) | SELECT surface FROM table_name_8 WHERE opponent_s_ = "anna-lena grönefeld tatjana malek" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (surface VARCHAR, opponent_s_ VARCHAR) Question: Which Surface has an Opponent(s) of anna-lena grönefeld tatjana malek? [/INST] SELECT surface FROM table_name_8 WHERE opponent_s_ = "anna-lena grönef... |
Which Year has a Date of 5–6 february? | CREATE TABLE table_name_12 (year INTEGER, date VARCHAR) | SELECT AVG(year) FROM table_name_12 WHERE date = "5–6 february" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (year INTEGER, date VARCHAR) Question: Which Year has a Date of 5–6 february? [/INST] SELECT AVG(year) FROM table_name_12 WHERE date = "5–6 february" </s> |
What home team has 27 as the tie no.? | CREATE TABLE table_name_64 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_64 WHERE tie_no = "27" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (home_team VARCHAR, tie_no VARCHAR) Question: What home team has 27 as the tie no.? [/INST] SELECT home_team FROM table_name_64 WHERE tie_no = "27" </s> |
What date has 1 as the tie no.? | CREATE TABLE table_name_60 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_60 WHERE tie_no = "1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (date VARCHAR, tie_no VARCHAR) Question: What date has 1 as the tie no.? [/INST] SELECT date FROM table_name_60 WHERE tie_no = "1" </s> |
What score has west ham united as the away team? | CREATE TABLE table_name_46 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_46 WHERE away_team = "west ham united" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (score VARCHAR, away_team VARCHAR) Question: What score has west ham united as the away team? [/INST] SELECT score FROM table_name_46 WHERE away_team = "west ham united" </s> |
What home team has Southampton as the away team? | CREATE TABLE table_name_71 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_71 WHERE away_team = "southampton" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (home_team VARCHAR, away_team VARCHAR) Question: What home team has Southampton as the away team? [/INST] SELECT home_team FROM table_name_71 WHERE away_team = "southampton" </s> |
What current club has a Height of 1.96? | CREATE TABLE table_name_50 (current_club VARCHAR, height VARCHAR) | SELECT current_club FROM table_name_50 WHERE height = 1.96 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (current_club VARCHAR, height VARCHAR) Question: What current club has a Height of 1.96? [/INST] SELECT current_club FROM table_name_50 WHERE height = 1.96 </s> |
What is the Age of f/c Posiiton? | CREATE TABLE table_name_85 (year_born__age_ VARCHAR, position VARCHAR) | SELECT year_born__age_ FROM table_name_85 WHERE position = "f/c" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (year_born__age_ VARCHAR, position VARCHAR) Question: What is the Age of f/c Posiiton? [/INST] SELECT year_born__age_ FROM table_name_85 WHERE position = "f/c" </s> |
Who is the player with a score of 70-68-70=208? | CREATE TABLE table_name_45 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_45 WHERE score = 70 - 68 - 70 = 208 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (player VARCHAR, score VARCHAR) Question: Who is the player with a score of 70-68-70=208? [/INST] SELECT player FROM table_name_45 WHERE score = 70 - 68 - 70 = 208 </s> |
What place is the player with score of 70-68-70=208 from? | CREATE TABLE table_name_38 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_38 WHERE score = 70 - 68 - 70 = 208 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (place VARCHAR, score VARCHAR) Question: What place is the player with score of 70-68-70=208 from? [/INST] SELECT place FROM table_name_38 WHERE score = 70 - 68 - 70 = 208 </s> |
What is the name for Malay with a foundation in Iptura? | CREATE TABLE table_name_55 (name_in_malay VARCHAR, foundation VARCHAR) | SELECT name_in_malay FROM table_name_55 WHERE foundation = "iptura" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (name_in_malay VARCHAR, foundation VARCHAR) Question: What is the name for Malay with a foundation in Iptura? [/INST] SELECT name_in_malay FROM table_name_55 WHERE foundation = "iptura" </s> |
What is the acronym for the name Malay of Kolej Komuniti Sungai Petani? | CREATE TABLE table_name_34 (acronym VARCHAR, name_in_malay VARCHAR) | SELECT acronym FROM table_name_34 WHERE name_in_malay = "kolej komuniti sungai petani" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (acronym VARCHAR, name_in_malay VARCHAR) Question: What is the acronym for the name Malay of Kolej Komuniti Sungai Petani? [/INST] SELECT acronym FROM table_name_34 WHERE name_in_malay = "kolej kom... |
What is the acronym for the English name Northern management and technological institute? | CREATE TABLE table_name_21 (acronym VARCHAR, name_in_english VARCHAR) | SELECT acronym FROM table_name_21 WHERE name_in_english = "northern management and technological institute" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (acronym VARCHAR, name_in_english VARCHAR) Question: What is the acronym for the English name Northern management and technological institute? [/INST] SELECT acronym FROM table_name_21 WHERE name_i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.