instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
What college has a pick smaller than 87 for the position of tackle? | CREATE TABLE table_name_73 (college VARCHAR, position VARCHAR, pick VARCHAR) | SELECT college FROM table_name_73 WHERE position = "tackle" AND pick < 87 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (college VARCHAR, position VARCHAR, pick VARCHAR) Question: What college has a pick smaller than 87 for the position of tackle? [/INST] SELECT college FROM table_name_73 WHERE position = "tackle" A... |
What college had the pick of 85? | CREATE TABLE table_name_51 (college VARCHAR, pick VARCHAR) | SELECT college FROM table_name_51 WHERE pick = 85 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (college VARCHAR, pick VARCHAR) Question: What college had the pick of 85? [/INST] SELECT college FROM table_name_51 WHERE pick = 85 </s> |
What are the least losses of Mortlake having less than 970 against? | CREATE TABLE table_name_96 (losses INTEGER, club VARCHAR, against VARCHAR) | SELECT MIN(losses) FROM table_name_96 WHERE club = "mortlake" AND against < 970 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (losses INTEGER, club VARCHAR, against VARCHAR) Question: What are the least losses of Mortlake having less than 970 against? [/INST] SELECT MIN(losses) FROM table_name_96 WHERE club = "mortlake" A... |
What's the total against when the draws are more than 0? | CREATE TABLE table_name_30 (against VARCHAR, draws INTEGER) | SELECT COUNT(against) FROM table_name_30 WHERE draws > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (against VARCHAR, draws INTEGER) Question: What's the total against when the draws are more than 0? [/INST] SELECT COUNT(against) FROM table_name_30 WHERE draws > 0 </s> |
What's the total wins when the draws are less than 0? | CREATE TABLE table_name_92 (wins VARCHAR, draws INTEGER) | SELECT COUNT(wins) FROM table_name_92 WHERE draws < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (wins VARCHAR, draws INTEGER) Question: What's the total wins when the draws are less than 0? [/INST] SELECT COUNT(wins) FROM table_name_92 WHERE draws < 0 </s> |
What's the least against number for Cobden with draws more than 0? | CREATE TABLE table_name_50 (against INTEGER, club VARCHAR, draws VARCHAR) | SELECT MIN(against) FROM table_name_50 WHERE club = "cobden" AND draws > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (against INTEGER, club VARCHAR, draws VARCHAR) Question: What's the least against number for Cobden with draws more than 0? [/INST] SELECT MIN(against) FROM table_name_50 WHERE club = "cobden" AND ... |
What's the most against when the draws are more than 0? | CREATE TABLE table_name_43 (against INTEGER, draws INTEGER) | SELECT MAX(against) FROM table_name_43 WHERE draws > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (against INTEGER, draws INTEGER) Question: What's the most against when the draws are more than 0? [/INST] SELECT MAX(against) FROM table_name_43 WHERE draws > 0 </s> |
What are the total wins when there are 1261 against? | CREATE TABLE table_name_46 (wins INTEGER, against VARCHAR) | SELECT SUM(wins) FROM table_name_46 WHERE against = 1261 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (wins INTEGER, against VARCHAR) Question: What are the total wins when there are 1261 against? [/INST] SELECT SUM(wins) FROM table_name_46 WHERE against = 1261 </s> |
What is the notes entry for the row with a Time of 1:42.309? | CREATE TABLE table_name_33 (notes VARCHAR, time VARCHAR) | SELECT notes FROM table_name_33 WHERE time = "1:42.309" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (notes VARCHAR, time VARCHAR) Question: What is the notes entry for the row with a Time of 1:42.309? [/INST] SELECT notes FROM table_name_33 WHERE time = "1:42.309" </s> |
What is the rank for China? | CREATE TABLE table_name_96 (rank INTEGER, country VARCHAR) | SELECT SUM(rank) FROM table_name_96 WHERE country = "china" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (rank INTEGER, country VARCHAR) Question: What is the rank for China? [/INST] SELECT SUM(rank) FROM table_name_96 WHERE country = "china" </s> |
What is the time for Cuba, with a notes entry of QS? | CREATE TABLE table_name_54 (time VARCHAR, notes VARCHAR, country VARCHAR) | SELECT time FROM table_name_54 WHERE notes = "qs" AND country = "cuba" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (time VARCHAR, notes VARCHAR, country VARCHAR) Question: What is the time for Cuba, with a notes entry of QS? [/INST] SELECT time FROM table_name_54 WHERE notes = "qs" AND country = "cuba" </s> |
What is the Week number on October 10, 1976? | CREATE TABLE table_name_17 (week VARCHAR, date VARCHAR) | SELECT COUNT(week) FROM table_name_17 WHERE date = "october 10, 1976" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (week VARCHAR, date VARCHAR) Question: What is the Week number on October 10, 1976? [/INST] SELECT COUNT(week) FROM table_name_17 WHERE date = "october 10, 1976" </s> |
What is the Date of the game with a Result of L 33β14? | CREATE TABLE table_name_89 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_89 WHERE result = "l 33β14" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (date VARCHAR, result VARCHAR) Question: What is the Date of the game with a Result of L 33β14? [/INST] SELECT date FROM table_name_89 WHERE result = "l 33β14" </s> |
The Major third of D has what for the Augmented fifth? | CREATE TABLE table_name_48 (augmented_fifth VARCHAR, major_third VARCHAR) | SELECT augmented_fifth FROM table_name_48 WHERE major_third = "d" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (augmented_fifth VARCHAR, major_third VARCHAR) Question: The Major third of D has what for the Augmented fifth? [/INST] SELECT augmented_fifth FROM table_name_48 WHERE major_third = "d" </s> |
A major third of C has what listed for the Minor seventh? | CREATE TABLE table_name_29 (minor_seventh VARCHAR, major_third VARCHAR) | SELECT minor_seventh FROM table_name_29 WHERE major_third = "c" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (minor_seventh VARCHAR, major_third VARCHAR) Question: A major third of C has what listed for the Minor seventh? [/INST] SELECT minor_seventh FROM table_name_29 WHERE major_third = "c" </s> |
What is the listed chord for a Minor seventh of F? | CREATE TABLE table_name_23 (chord VARCHAR, minor_seventh VARCHAR) | SELECT chord FROM table_name_23 WHERE minor_seventh = "f" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (chord VARCHAR, minor_seventh VARCHAR) Question: What is the listed chord for a Minor seventh of F? [/INST] SELECT chord FROM table_name_23 WHERE minor_seventh = "f" </s> |
Which Episode has a Rank of 1? | CREATE TABLE table_name_71 (episode VARCHAR, rank VARCHAR) | SELECT episode FROM table_name_71 WHERE rank = 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (episode VARCHAR, rank VARCHAR) Question: Which Episode has a Rank of 1? [/INST] SELECT episode FROM table_name_71 WHERE rank = 1 </s> |
Where was adac rally deutschland's rally HQ? | CREATE TABLE table_name_62 (rally_hq VARCHAR, rally_name VARCHAR) | SELECT rally_hq FROM table_name_62 WHERE rally_name = "adac rally deutschland" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (rally_hq VARCHAR, rally_name VARCHAR) Question: Where was adac rally deutschland's rally HQ? [/INST] SELECT rally_hq FROM table_name_62 WHERE rally_name = "adac rally deutschland" </s> |
Where was the Rally HQ for Round 1? | CREATE TABLE table_name_9 (rally_hq VARCHAR, round VARCHAR) | SELECT rally_hq FROM table_name_9 WHERE round = 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (rally_hq VARCHAR, round VARCHAR) Question: Where was the Rally HQ for Round 1? [/INST] SELECT rally_hq FROM table_name_9 WHERE round = 1 </s> |
Which Support Category had a Round score of 9? | CREATE TABLE table_name_67 (support_category VARCHAR, round VARCHAR) | SELECT support_category FROM table_name_67 WHERE round = 9 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (support_category VARCHAR, round VARCHAR) Question: Which Support Category had a Round score of 9? [/INST] SELECT support_category FROM table_name_67 WHERE round = 9 </s> |
What Surface had a Rally HQ of salou? | CREATE TABLE table_name_58 (surface VARCHAR, rally_hq VARCHAR) | SELECT surface FROM table_name_58 WHERE rally_hq = "salou" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (surface VARCHAR, rally_hq VARCHAR) Question: What Surface had a Rally HQ of salou? [/INST] SELECT surface FROM table_name_58 WHERE rally_hq = "salou" </s> |
What is the lowest lane in the Czech Republic and a time larger than 21.05? | CREATE TABLE table_name_85 (lane INTEGER, nationality VARCHAR, time VARCHAR) | SELECT MIN(lane) FROM table_name_85 WHERE nationality = "czech republic" AND time > 21.05 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (lane INTEGER, nationality VARCHAR, time VARCHAR) Question: What is the lowest lane in the Czech Republic and a time larger than 21.05? [/INST] SELECT MIN(lane) FROM table_name_85 WHERE nationality... |
What is the highest lane with a rank larger than 2 in Guyana? | CREATE TABLE table_name_31 (lane INTEGER, rank VARCHAR, nationality VARCHAR) | SELECT MAX(lane) FROM table_name_31 WHERE rank > 2 AND nationality = "guyana" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (lane INTEGER, rank VARCHAR, nationality VARCHAR) Question: What is the highest lane with a rank larger than 2 in Guyana? [/INST] SELECT MAX(lane) FROM table_name_31 WHERE rank > 2 AND nationality ... |
What is the sum rank of Solomon Bayoh when his time was smaller than 22.16? | CREATE TABLE table_name_61 (rank INTEGER, athlete VARCHAR, time VARCHAR) | SELECT SUM(rank) FROM table_name_61 WHERE athlete = "solomon bayoh" AND time < 22.16 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (rank INTEGER, athlete VARCHAR, time VARCHAR) Question: What is the sum rank of Solomon Bayoh when his time was smaller than 22.16? [/INST] SELECT SUM(rank) FROM table_name_61 WHERE athlete = "solo... |
Who is the artist of the album Soul? | CREATE TABLE table_name_18 (artist VARCHAR, album VARCHAR) | SELECT artist FROM table_name_18 WHERE album = "soul" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (artist VARCHAR, album VARCHAR) Question: Who is the artist of the album Soul? [/INST] SELECT artist FROM table_name_18 WHERE album = "soul" </s> |
who is the athlete when the time is less than 11.13 and the country is belgium? | CREATE TABLE table_name_51 (athlete VARCHAR, time VARCHAR, country VARCHAR) | SELECT athlete FROM table_name_51 WHERE time < 11.13 AND country = "belgium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (athlete VARCHAR, time VARCHAR, country VARCHAR) Question: who is the athlete when the time is less than 11.13 and the country is belgium? [/INST] SELECT athlete FROM table_name_51 WHERE time < 11.... |
who is the athlete when the rank is less than 13, time more than 11.13, country is bahamas and the heat more than 2? | CREATE TABLE table_name_33 (athlete VARCHAR, heat VARCHAR, country VARCHAR, rank VARCHAR, time VARCHAR) | SELECT athlete FROM table_name_33 WHERE rank < 13 AND time > 11.13 AND country = "bahamas" AND heat > 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (athlete VARCHAR, heat VARCHAR, country VARCHAR, rank VARCHAR, time VARCHAR) Question: who is the athlete when the rank is less than 13, time more than 11.13, country is bahamas and the heat more t... |
what is the heat when the athlete is anita pistone? | CREATE TABLE table_name_89 (heat INTEGER, athlete VARCHAR) | SELECT SUM(heat) FROM table_name_89 WHERE athlete = "anita pistone" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (heat INTEGER, athlete VARCHAR) Question: what is the heat when the athlete is anita pistone? [/INST] SELECT SUM(heat) FROM table_name_89 WHERE athlete = "anita pistone" </s> |
how many times is the rank more than 29, the athlete is barbara pierre and the heat less than 5? | CREATE TABLE table_name_8 (time VARCHAR, heat VARCHAR, rank VARCHAR, athlete VARCHAR) | SELECT COUNT(time) FROM table_name_8 WHERE rank > 29 AND athlete = "barbara pierre" AND heat < 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (time VARCHAR, heat VARCHAR, rank VARCHAR, athlete VARCHAR) Question: how many times is the rank more than 29, the athlete is barbara pierre and the heat less than 5? [/INST] SELECT COUNT(time) FROM... |
Which IHSAA Class has a Location of linton? | CREATE TABLE table_name_83 (ihsaa_class VARCHAR, location VARCHAR) | SELECT ihsaa_class FROM table_name_83 WHERE location = "linton" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (ihsaa_class VARCHAR, location VARCHAR) Question: Which IHSAA Class has a Location of linton? [/INST] SELECT ihsaa_class FROM table_name_83 WHERE location = "linton" </s> |
What is the sum of matches played for teams with more than 10 losses and under 5 points? | CREATE TABLE table_name_86 (played INTEGER, lost VARCHAR, points VARCHAR) | SELECT SUM(played) FROM table_name_86 WHERE lost > 10 AND points < 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (played INTEGER, lost VARCHAR, points VARCHAR) Question: What is the sum of matches played for teams with more than 10 losses and under 5 points? [/INST] SELECT SUM(played) FROM table_name_86 WHERE... |
What is the total number of positions for teams with more than 5 points, 3 draws, and under 2 losses? | CREATE TABLE table_name_56 (position VARCHAR, lost VARCHAR, points VARCHAR, drawn VARCHAR) | SELECT COUNT(position) FROM table_name_56 WHERE points > 5 AND drawn = 3 AND lost < 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (position VARCHAR, lost VARCHAR, points VARCHAR, drawn VARCHAR) Question: What is the total number of positions for teams with more than 5 points, 3 draws, and under 2 losses? [/INST] SELECT COUNT(... |
What is the average number of losses for teams with under 4 losses and under 21 points? | CREATE TABLE table_name_95 (drawn INTEGER, lost VARCHAR, points VARCHAR) | SELECT AVG(drawn) FROM table_name_95 WHERE lost < 4 AND points < 21 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (drawn INTEGER, lost VARCHAR, points VARCHAR) Question: What is the average number of losses for teams with under 4 losses and under 21 points? [/INST] SELECT AVG(drawn) FROM table_name_95 WHERE lo... |
What is the home team at the game with an Attendance of 2,029? | CREATE TABLE table_name_85 (home_team VARCHAR, attendance VARCHAR) | SELECT home_team FROM table_name_85 WHERE attendance = "2,029" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (home_team VARCHAR, attendance VARCHAR) Question: What is the home team at the game with an Attendance of 2,029? [/INST] SELECT home_team FROM table_name_85 WHERE attendance = "2,029" </s> |
What is the away team at the game with an Attendance of 1,730? | CREATE TABLE table_name_73 (away_team VARCHAR, attendance VARCHAR) | SELECT away_team FROM table_name_73 WHERE attendance = "1,730" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (away_team VARCHAR, attendance VARCHAR) Question: What is the away team at the game with an Attendance of 1,730? [/INST] SELECT away_team FROM table_name_73 WHERE attendance = "1,730" </s> |
What is the away team at the game with a Tie no of 2? | CREATE TABLE table_name_18 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_18 WHERE tie_no = "2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (away_team VARCHAR, tie_no VARCHAR) Question: What is the away team at the game with a Tie no of 2? [/INST] SELECT away_team FROM table_name_18 WHERE tie_no = "2" </s> |
What F/Laps listing has entries of n/a Points, 1 Poles, and 0 Wins? | CREATE TABLE table_name_94 (f_laps VARCHAR, wins VARCHAR, points VARCHAR, poles VARCHAR) | SELECT f_laps FROM table_name_94 WHERE points = "n/a" AND poles = "1" AND wins = "0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (f_laps VARCHAR, wins VARCHAR, points VARCHAR, poles VARCHAR) Question: What F/Laps listing has entries of n/a Points, 1 Poles, and 0 Wins? [/INST] SELECT f_laps FROM table_name_94 WHERE points = "... |
What Series has a season that is older than 2003 with a Podiums entry of 1 and a Points entry that is n/a? | CREATE TABLE table_name_96 (series VARCHAR, points VARCHAR, season VARCHAR, podiums VARCHAR) | SELECT series FROM table_name_96 WHERE season < 2003 AND podiums = "1" AND points = "n/a" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (series VARCHAR, points VARCHAR, season VARCHAR, podiums VARCHAR) Question: What Series has a season that is older than 2003 with a Podiums entry of 1 and a Points entry that is n/a? [/INST] SELECT... |
What Podiums listing has a World Rally Championship series entry? | CREATE TABLE table_name_74 (podiums VARCHAR, series VARCHAR) | SELECT podiums FROM table_name_74 WHERE series = "world rally championship" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (podiums VARCHAR, series VARCHAR) Question: What Podiums listing has a World Rally Championship series entry? [/INST] SELECT podiums FROM table_name_74 WHERE series = "world rally championship" </s... |
What races have n/a Points, 0 Wins, and 6th Position entries? | CREATE TABLE table_name_15 (races VARCHAR, position VARCHAR, points VARCHAR, wins VARCHAR) | SELECT races FROM table_name_15 WHERE points = "n/a" AND wins = "0" AND position = "6th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (races VARCHAR, position VARCHAR, points VARCHAR, wins VARCHAR) Question: What races have n/a Points, 0 Wins, and 6th Position entries? [/INST] SELECT races FROM table_name_15 WHERE points = "n/a" ... |
What is the most recent season for the Prema Powerteam with a Masters of Formula Three series? | CREATE TABLE table_name_34 (season INTEGER, team VARCHAR, series VARCHAR) | SELECT MAX(season) FROM table_name_34 WHERE team = "prema powerteam" AND series = "masters of formula three" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (season INTEGER, team VARCHAR, series VARCHAR) Question: What is the most recent season for the Prema Powerteam with a Masters of Formula Three series? [/INST] SELECT MAX(season) FROM table_name_34... |
What listing for Podiums has 0 F/laps and 39 points? | CREATE TABLE table_name_38 (podiums VARCHAR, f_laps VARCHAR, points VARCHAR) | SELECT podiums FROM table_name_38 WHERE f_laps = "0" AND points = "39" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (podiums VARCHAR, f_laps VARCHAR, points VARCHAR) Question: What listing for Podiums has 0 F/laps and 39 points? [/INST] SELECT podiums FROM table_name_38 WHERE f_laps = "0" AND points = "39" </s> |
Which Loss has a Record of 20β16β9? | CREATE TABLE table_name_75 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_75 WHERE record = "20β16β9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (loss VARCHAR, record VARCHAR) Question: Which Loss has a Record of 20β16β9? [/INST] SELECT loss FROM table_name_75 WHERE record = "20β16β9" </s> |
Which Date has a Record of 19β16β8? | CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_43 WHERE record = "19β16β8" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR) Question: Which Date has a Record of 19β16β8? [/INST] SELECT date FROM table_name_43 WHERE record = "19β16β8" </s> |
Can you tell me the Time that has the Lane of 8? | CREATE TABLE table_name_35 (time VARCHAR, lane VARCHAR) | SELECT time FROM table_name_35 WHERE lane = 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (time VARCHAR, lane VARCHAR) Question: Can you tell me the Time that has the Lane of 8? [/INST] SELECT time FROM table_name_35 WHERE lane = 8 </s> |
Can you tell me the Total number of Rankthat has the Lane of 4? | CREATE TABLE table_name_67 (rank VARCHAR, lane VARCHAR) | SELECT COUNT(rank) FROM table_name_67 WHERE lane = 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (rank VARCHAR, lane VARCHAR) Question: Can you tell me the Total number of Rankthat has the Lane of 4? [/INST] SELECT COUNT(rank) FROM table_name_67 WHERE lane = 4 </s> |
Can you tell me the lowest Rank that has the Nationality of australia, and the Name of leisel jones, and the Lane larger than 4? | CREATE TABLE table_name_49 (rank INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR) | SELECT MIN(rank) FROM table_name_49 WHERE nationality = "australia" AND name = "leisel jones" AND lane > 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (rank INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR) Question: Can you tell me the lowest Rank that has the Nationality of australia, and the Name of leisel jones, and the Lane larger th... |
Can you tell me the Name that has the Rank of 4? | CREATE TABLE table_name_10 (name VARCHAR, rank VARCHAR) | SELECT name FROM table_name_10 WHERE rank = 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (name VARCHAR, rank VARCHAR) Question: Can you tell me the Name that has the Rank of 4? [/INST] SELECT name FROM table_name_10 WHERE rank = 4 </s> |
What is the highest Against for a game against Bristol City? | CREATE TABLE table_name_7 (against INTEGER, opposing_team VARCHAR) | SELECT MAX(against) FROM table_name_7 WHERE opposing_team = "bristol city" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (against INTEGER, opposing_team VARCHAR) Question: What is the highest Against for a game against Bristol City? [/INST] SELECT MAX(against) FROM table_name_7 WHERE opposing_team = "bristol city" </s... |
What was the date of the game against Oxford United? | CREATE TABLE table_name_87 (date VARCHAR, opposing_team VARCHAR) | SELECT date FROM table_name_87 WHERE opposing_team = "oxford united" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (date VARCHAR, opposing_team VARCHAR) Question: What was the date of the game against Oxford United? [/INST] SELECT date FROM table_name_87 WHERE opposing_team = "oxford united" </s> |
What country is ranked number 4? | CREATE TABLE table_name_41 (country VARCHAR, rank VARCHAR) | SELECT country FROM table_name_41 WHERE rank = 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (country VARCHAR, rank VARCHAR) Question: What country is ranked number 4? [/INST] SELECT country FROM table_name_41 WHERE rank = 4 </s> |
What are the notes from the rank of 1? | CREATE TABLE table_name_47 (notes VARCHAR, rank VARCHAR) | SELECT notes FROM table_name_47 WHERE rank = 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (notes VARCHAR, rank VARCHAR) Question: What are the notes from the rank of 1? [/INST] SELECT notes FROM table_name_47 WHERE rank = 1 </s> |
What rowers have FA as the notes? | CREATE TABLE table_name_41 (rowers VARCHAR, notes VARCHAR) | SELECT rowers FROM table_name_41 WHERE notes = "fa" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (rowers VARCHAR, notes VARCHAR) Question: What rowers have FA as the notes? [/INST] SELECT rowers FROM table_name_41 WHERE notes = "fa" </s> |
What is the lowest rank has 7:09.06 as the time? | CREATE TABLE table_name_81 (rank INTEGER, time VARCHAR) | SELECT MIN(rank) FROM table_name_81 WHERE time = "7:09.06" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (rank INTEGER, time VARCHAR) Question: What is the lowest rank has 7:09.06 as the time? [/INST] SELECT MIN(rank) FROM table_name_81 WHERE time = "7:09.06" </s> |
What notes have 2 as the rank? | CREATE TABLE table_name_62 (notes VARCHAR, rank VARCHAR) | SELECT notes FROM table_name_62 WHERE rank = 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (notes VARCHAR, rank VARCHAR) Question: What notes have 2 as the rank? [/INST] SELECT notes FROM table_name_62 WHERE rank = 2 </s> |
What was the match that happened in Bishop's Stortford? | CREATE TABLE table_name_91 (match VARCHAR, opponent VARCHAR) | SELECT match FROM table_name_91 WHERE opponent = "bishop's stortford" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (match VARCHAR, opponent VARCHAR) Question: What was the match that happened in Bishop's Stortford? [/INST] SELECT match FROM table_name_91 WHERE opponent = "bishop's stortford" </s> |
What was the final score for the Thurrock? | CREATE TABLE table_name_99 (score1 VARCHAR, opponent VARCHAR) | SELECT score1 FROM table_name_99 WHERE opponent = "thurrock" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (score1 VARCHAR, opponent VARCHAR) Question: What was the final score for the Thurrock? [/INST] SELECT score1 FROM table_name_99 WHERE opponent = "thurrock" </s> |
Which IHSAA class has a mascot of the Raiders? | CREATE TABLE table_name_80 (ihsaa_class VARCHAR, mascot VARCHAR) | SELECT ihsaa_class FROM table_name_80 WHERE mascot = "raiders" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (ihsaa_class VARCHAR, mascot VARCHAR) Question: Which IHSAA class has a mascot of the Raiders? [/INST] SELECT ihsaa_class FROM table_name_80 WHERE mascot = "raiders" </s> |
Which school has a mascot of the Panthers? | CREATE TABLE table_name_25 (school VARCHAR, mascot VARCHAR) | SELECT school FROM table_name_25 WHERE mascot = "panthers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (school VARCHAR, mascot VARCHAR) Question: Which school has a mascot of the Panthers? [/INST] SELECT school FROM table_name_25 WHERE mascot = "panthers" </s> |
What's Italy's time when the notes were SA/B? | CREATE TABLE table_name_96 (time VARCHAR, notes VARCHAR, country VARCHAR) | SELECT time FROM table_name_96 WHERE notes = "sa/b" AND country = "italy" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (time VARCHAR, notes VARCHAR, country VARCHAR) Question: What's Italy's time when the notes were SA/B? [/INST] SELECT time FROM table_name_96 WHERE notes = "sa/b" AND country = "italy" </s> |
What is Italy's rank? | CREATE TABLE table_name_15 (rank VARCHAR, country VARCHAR) | SELECT rank FROM table_name_15 WHERE country = "italy" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (rank VARCHAR, country VARCHAR) Question: What is Italy's rank? [/INST] SELECT rank FROM table_name_15 WHERE country = "italy" </s> |
How many appearances did the player for the Rayo Vallecano club that scored more than 37 goals make? | CREATE TABLE table_name_15 (appearances VARCHAR, club VARCHAR, goals VARCHAR) | SELECT COUNT(appearances) FROM table_name_15 WHERE club = "rayo vallecano" AND goals > 37 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (appearances VARCHAR, club VARCHAR, goals VARCHAR) Question: How many appearances did the player for the Rayo Vallecano club that scored more than 37 goals make? [/INST] SELECT COUNT(appearances) F... |
Who's the player that was eliminated on episode 4? | CREATE TABLE table_name_32 (player VARCHAR, eliminated VARCHAR) | SELECT player FROM table_name_32 WHERE eliminated = "episode 4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (player VARCHAR, eliminated VARCHAR) Question: Who's the player that was eliminated on episode 4? [/INST] SELECT player FROM table_name_32 WHERE eliminated = "episode 4" </s> |
Who is the player in 20th place? | CREATE TABLE table_name_65 (player VARCHAR, placing VARCHAR) | SELECT player FROM table_name_65 WHERE placing = "20th place" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (player VARCHAR, placing VARCHAR) Question: Who is the player in 20th place? [/INST] SELECT player FROM table_name_65 WHERE placing = "20th place" </s> |
What's the original season in 11th place? | CREATE TABLE table_name_15 (original_season VARCHAR, placing VARCHAR) | SELECT original_season FROM table_name_15 WHERE placing = "11th place" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (original_season VARCHAR, placing VARCHAR) Question: What's the original season in 11th place? [/INST] SELECT original_season FROM table_name_15 WHERE placing = "11th place" </s> |
Who's the player eliminated on episode 5? | CREATE TABLE table_name_50 (player VARCHAR, eliminated VARCHAR) | SELECT player FROM table_name_50 WHERE eliminated = "episode 5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (player VARCHAR, eliminated VARCHAR) Question: Who's the player eliminated on episode 5? [/INST] SELECT player FROM table_name_50 WHERE eliminated = "episode 5" </s> |
Who's the player that's male and on the original season of RW: Key West? | CREATE TABLE table_name_36 (player VARCHAR, gender VARCHAR, original_season VARCHAR) | SELECT player FROM table_name_36 WHERE gender = "male" AND original_season = "rw: key west" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (player VARCHAR, gender VARCHAR, original_season VARCHAR) Question: Who's the player that's male and on the original season of RW: Key West? [/INST] SELECT player FROM table_name_36 WHERE gender = ... |
Who's the player eliminated on episode 8 of Fresh Meat? | CREATE TABLE table_name_59 (player VARCHAR, original_season VARCHAR, eliminated VARCHAR) | SELECT player FROM table_name_59 WHERE original_season = "fresh meat" AND eliminated = "episode 8" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (player VARCHAR, original_season VARCHAR, eliminated VARCHAR) Question: Who's the player eliminated on episode 8 of Fresh Meat? [/INST] SELECT player FROM table_name_59 WHERE original_season = "fre... |
The boat named Agamemnon has what status? | CREATE TABLE table_name_94 (status VARCHAR, name VARCHAR) | SELECT status FROM table_name_94 WHERE name = "agamemnon" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (status VARCHAR, name VARCHAR) Question: The boat named Agamemnon has what status? [/INST] SELECT status FROM table_name_94 WHERE name = "agamemnon" </s> |
What status does the boat Ajax have? | CREATE TABLE table_name_54 (status VARCHAR, name VARCHAR) | SELECT status FROM table_name_54 WHERE name = "ajax" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (status VARCHAR, name VARCHAR) Question: What status does the boat Ajax have? [/INST] SELECT status FROM table_name_54 WHERE name = "ajax" </s> |
What is the average upper index MJ/Nm 3 for the upper index Kcal/Nm 3 entry of 19,376? | CREATE TABLE table_name_70 (upper_index_mj__nm_3 INTEGER, upper_index_kcal__nm_3 VARCHAR) | SELECT AVG(upper_index_mj__nm_3) FROM table_name_70 WHERE upper_index_kcal__nm_3 = 19 OFFSET 376 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (upper_index_mj__nm_3 INTEGER, upper_index_kcal__nm_3 VARCHAR) Question: What is the average upper index MJ/Nm 3 for the upper index Kcal/Nm 3 entry of 19,376? [/INST] SELECT AVG(upper_index_mj__nm... |
What is the Upper index Kcal/ Nm 3 of iso-butane, and a Lower index MJ/ Nm 3 smaller than 84.71? | CREATE TABLE table_name_59 (upper_index_kcal__nm_3 VARCHAR, fuel_gas VARCHAR, lower_index_mj__nm_3 VARCHAR) | SELECT COUNT(upper_index_kcal__nm_3) FROM table_name_59 WHERE fuel_gas = "iso-butane" AND lower_index_mj__nm_3 < 84.71 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (upper_index_kcal__nm_3 VARCHAR, fuel_gas VARCHAR, lower_index_mj__nm_3 VARCHAR) Question: What is the Upper index Kcal/ Nm 3 of iso-butane, and a Lower index MJ/ Nm 3 smaller than 84.71? [/INST] S... |
What is the Lower index Kcal/ Nm 3 entry, for the row with entries of an Upper index Kcal/ Nm 3 smaller than 19,376, and a Lower index MJ/ Nm 3 of 74.54? | CREATE TABLE table_name_5 (lower_index_kcal__nm_3 INTEGER, lower_index_mj__nm_3 VARCHAR, upper_index_kcal__nm_3 VARCHAR) | SELECT AVG(lower_index_kcal__nm_3) FROM table_name_5 WHERE lower_index_mj__nm_3 = 74.54 AND upper_index_kcal__nm_3 < 19 OFFSET 376 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (lower_index_kcal__nm_3 INTEGER, lower_index_mj__nm_3 VARCHAR, upper_index_kcal__nm_3 VARCHAR) Question: What is the Lower index Kcal/ Nm 3 entry, for the row with entries of an Upper index Kcal/ Nm... |
What is the entry for Upper index Kcal/ Nm 3 for the row with an entry that has a Lower index MJ/ Nm 3 of 47.91, and an Upper index MJ/ Nm 3 larger than 53.28? | CREATE TABLE table_name_93 (upper_index_kcal__nm_3 INTEGER, lower_index_mj__nm_3 VARCHAR, upper_index_mj__nm_3 VARCHAR) | SELECT SUM(upper_index_kcal__nm_3) FROM table_name_93 WHERE lower_index_mj__nm_3 = 47.91 AND upper_index_mj__nm_3 > 53.28 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (upper_index_kcal__nm_3 INTEGER, lower_index_mj__nm_3 VARCHAR, upper_index_mj__nm_3 VARCHAR) Question: What is the entry for Upper index Kcal/ Nm 3 for the row with an entry that has a Lower index ... |
What is the entry for Upper index Kcal/ Nm 3 for the row with an entry that has a Lower index MJ/ Nm 3 larger than 47.91, for propylene, and an Upper index MJ/ Nm 3 larger than 77.04? | CREATE TABLE table_name_1 (upper_index_kcal__nm_3 INTEGER, upper_index_mj__nm_3 VARCHAR, lower_index_mj__nm_3 VARCHAR, fuel_gas VARCHAR) | SELECT SUM(upper_index_kcal__nm_3) FROM table_name_1 WHERE lower_index_mj__nm_3 > 47.91 AND fuel_gas = "propylene" AND upper_index_mj__nm_3 > 77.04 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (upper_index_kcal__nm_3 INTEGER, upper_index_mj__nm_3 VARCHAR, lower_index_mj__nm_3 VARCHAR, fuel_gas VARCHAR) Question: What is the entry for Upper index Kcal/ Nm 3 for the row with an entry that h... |
What match number has a ground of H and the opponent Chelsea under 18s? | CREATE TABLE table_name_37 (match INTEGER, ground VARCHAR, opponent VARCHAR) | SELECT AVG(match) FROM table_name_37 WHERE ground = "h" AND opponent = "chelsea under 18s" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (match INTEGER, ground VARCHAR, opponent VARCHAR) Question: What match number has a ground of H and the opponent Chelsea under 18s? [/INST] SELECT AVG(match) FROM table_name_37 WHERE ground = "h" A... |
On what date is there a match lower than 14 with a ground of H and the opponent Aston Villa under 18s? | CREATE TABLE table_name_11 (date VARCHAR, opponent VARCHAR, match VARCHAR, ground VARCHAR) | SELECT date FROM table_name_11 WHERE match < 14 AND ground = "h" AND opponent = "aston villa under 18s" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (date VARCHAR, opponent VARCHAR, match VARCHAR, ground VARCHAR) Question: On what date is there a match lower than 14 with a ground of H and the opponent Aston Villa under 18s? [/INST] SELECT date ... |
On what date is there a score1 of 2 - 4 with the opponent Chelsea under 18s? | CREATE TABLE table_name_69 (date VARCHAR, score1 VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_69 WHERE score1 = "2 - 4" AND opponent = "chelsea under 18s" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (date VARCHAR, score1 VARCHAR, opponent VARCHAR) Question: On what date is there a score1 of 2 - 4 with the opponent Chelsea under 18s? [/INST] SELECT date FROM table_name_69 WHERE score1 = "2 - 4"... |
What is the ticket price at Canadian National Exhibition Stadium? | CREATE TABLE table_name_7 (ticket_price_s_ VARCHAR, venue VARCHAR) | SELECT ticket_price_s_ FROM table_name_7 WHERE venue = "canadian national exhibition stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (ticket_price_s_ VARCHAR, venue VARCHAR) Question: What is the ticket price at Canadian National Exhibition Stadium? [/INST] SELECT ticket_price_s_ FROM table_name_7 WHERE venue = "canadian national... |
What was the ticket price at Red Rocks Amphitheatre? | CREATE TABLE table_name_96 (ticket_price_s_ VARCHAR, venue VARCHAR) | SELECT ticket_price_s_ FROM table_name_96 WHERE venue = "red rocks amphitheatre" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (ticket_price_s_ VARCHAR, venue VARCHAR) Question: What was the ticket price at Red Rocks Amphitheatre? [/INST] SELECT ticket_price_s_ FROM table_name_96 WHERE venue = "red rocks amphitheatre" </s> |
What was the ticket price on September 16, 1986? | CREATE TABLE table_name_56 (ticket_price_s_ VARCHAR, date_s_ VARCHAR) | SELECT ticket_price_s_ FROM table_name_56 WHERE date_s_ = "september 16, 1986" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (ticket_price_s_ VARCHAR, date_s_ VARCHAR) Question: What was the ticket price on September 16, 1986? [/INST] SELECT ticket_price_s_ FROM table_name_56 WHERE date_s_ = "september 16, 1986" </s> |
Who was the opposition for the player who has a total of 10 points? | CREATE TABLE table_name_72 (opposition VARCHAR, total VARCHAR) | SELECT opposition FROM table_name_72 WHERE total = 10 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (opposition VARCHAR, total VARCHAR) Question: Who was the opposition for the player who has a total of 10 points? [/INST] SELECT opposition FROM table_name_72 WHERE total = 10 </s> |
Which player is from County Dublin? | CREATE TABLE table_name_89 (player VARCHAR, county VARCHAR) | SELECT player FROM table_name_89 WHERE county = "dublin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (player VARCHAR, county VARCHAR) Question: Which player is from County Dublin? [/INST] SELECT player FROM table_name_89 WHERE county = "dublin" </s> |
What is the average 2006 metropolitan population of Lima with a GDP per capita over $13,100? | CREATE TABLE table_name_38 (metropolitan_population__2006__millions INTEGER, metropolitan_area VARCHAR, gdp__ppp__us$_per_capita VARCHAR) | SELECT AVG(metropolitan_population__2006__millions) FROM table_name_38 WHERE metropolitan_area = "lima" AND gdp__ppp__us$_per_capita > 13 OFFSET 100 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (metropolitan_population__2006__millions INTEGER, metropolitan_area VARCHAR, gdp__ppp__us$_per_capita VARCHAR) Question: What is the average 2006 metropolitan population of Lima with a GDP per capi... |
Who placed highest with a time of 1:47.70? | CREATE TABLE table_name_22 (rank INTEGER, time VARCHAR) | SELECT MIN(rank) FROM table_name_22 WHERE time = "1:47.70" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (rank INTEGER, time VARCHAR) Question: Who placed highest with a time of 1:47.70? [/INST] SELECT MIN(rank) FROM table_name_22 WHERE time = "1:47.70" </s> |
Which Prominence (m) has an Elevation (m) of 3,095? | CREATE TABLE table_name_67 (prominence__m_ INTEGER, elevation__m_ VARCHAR) | SELECT MIN(prominence__m_) FROM table_name_67 WHERE elevation__m_ = 3 OFFSET 095 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (prominence__m_ INTEGER, elevation__m_ VARCHAR) Question: Which Prominence (m) has an Elevation (m) of 3,095? [/INST] SELECT MIN(prominence__m_) FROM table_name_67 WHERE elevation__m_ = 3 OFFSET 09... |
How long did Witold Latoszek character lasted? | CREATE TABLE table_name_53 (duration VARCHAR, character VARCHAR) | SELECT duration FROM table_name_53 WHERE character = "witold latoszek" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (duration VARCHAR, character VARCHAR) Question: How long did Witold Latoszek character lasted? [/INST] SELECT duration FROM table_name_53 WHERE character = "witold latoszek" </s> |
Which episode was the last written by chris hawkshaw this season? | CREATE TABLE table_name_72 (no_in_season INTEGER, written_by VARCHAR) | SELECT MAX(no_in_season) FROM table_name_72 WHERE written_by = "chris hawkshaw" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (no_in_season INTEGER, written_by VARCHAR) Question: Which episode was the last written by chris hawkshaw this season? [/INST] SELECT MAX(no_in_season) FROM table_name_72 WHERE written_by = "chris ... |
What is the greatest 2007 when the change 06-07 was 14.7%? | CREATE TABLE table_name_61 (change_06_07 VARCHAR) | SELECT MAX(2007) FROM table_name_61 WHERE change_06_07 = "14.7%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (change_06_07 VARCHAR) Question: What is the greatest 2007 when the change 06-07 was 14.7%? [/INST] SELECT MAX(2007) FROM table_name_61 WHERE change_06_07 = "14.7%" </s> |
when was the ship completed when laid down is 21 august 1925? | CREATE TABLE table_name_32 (completed VARCHAR, laid_down VARCHAR) | SELECT completed FROM table_name_32 WHERE laid_down = "21 august 1925" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (completed VARCHAR, laid_down VARCHAR) Question: when was the ship completed when laid down is 21 august 1925? [/INST] SELECT completed FROM table_name_32 WHERE laid_down = "21 august 1925" </s> |
When was satsuki dd-27 completed? | CREATE TABLE table_name_25 (completed VARCHAR, name VARCHAR) | SELECT completed FROM table_name_25 WHERE name = "satsuki dd-27" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (completed VARCHAR, name VARCHAR) Question: When was satsuki dd-27 completed? [/INST] SELECT completed FROM table_name_25 WHERE name = "satsuki dd-27" </s> |
when was the ship launched when it was laid down 20 october 1924 and built by fujinagata shipyards, japan? | CREATE TABLE table_name_36 (launched VARCHAR, builder VARCHAR, laid_down VARCHAR) | SELECT launched FROM table_name_36 WHERE builder = "fujinagata shipyards, japan" AND laid_down = "20 october 1924" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (launched VARCHAR, builder VARCHAR, laid_down VARCHAR) Question: when was the ship launched when it was laid down 20 october 1924 and built by fujinagata shipyards, japan? [/INST] SELECT launched F... |
when was the ship completed that was laid down on 23 march 1926? | CREATE TABLE table_name_31 (completed VARCHAR, laid_down VARCHAR) | SELECT completed FROM table_name_31 WHERE laid_down = "23 march 1926" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (completed VARCHAR, laid_down VARCHAR) Question: when was the ship completed that was laid down on 23 march 1926? [/INST] SELECT completed FROM table_name_31 WHERE laid_down = "23 march 1926" </s> |
when was the ship laid down when it was completed on 3 july 1926? | CREATE TABLE table_name_43 (laid_down VARCHAR, completed VARCHAR) | SELECT laid_down FROM table_name_43 WHERE completed = "3 july 1926" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (laid_down VARCHAR, completed VARCHAR) Question: when was the ship laid down when it was completed on 3 july 1926? [/INST] SELECT laid_down FROM table_name_43 WHERE completed = "3 july 1926" </s> |
What was the score of the game at the Chicago Stadium? | CREATE TABLE table_name_38 (score VARCHAR, location_attendance VARCHAR) | SELECT score FROM table_name_38 WHERE location_attendance = "chicago stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (score VARCHAR, location_attendance VARCHAR) Question: What was the score of the game at the Chicago Stadium? [/INST] SELECT score FROM table_name_38 WHERE location_attendance = "chicago stadium" <... |
What was the date of the game when the record was 46-31? | CREATE TABLE table_name_9 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_9 WHERE record = "46-31" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (date VARCHAR, record VARCHAR) Question: What was the date of the game when the record was 46-31? [/INST] SELECT date FROM table_name_9 WHERE record = "46-31" </s> |
What was the score of the game at the Chicago Stadium? | CREATE TABLE table_name_67 (score VARCHAR, location_attendance VARCHAR) | SELECT score FROM table_name_67 WHERE location_attendance = "chicago stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (score VARCHAR, location_attendance VARCHAR) Question: What was the score of the game at the Chicago Stadium? [/INST] SELECT score FROM table_name_67 WHERE location_attendance = "chicago stadium" <... |
What is the Rank of the Swimmer in Lane 5? | CREATE TABLE table_name_16 (rank INTEGER, lane VARCHAR) | SELECT AVG(rank) FROM table_name_16 WHERE lane = 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (rank INTEGER, lane VARCHAR) Question: What is the Rank of the Swimmer in Lane 5? [/INST] SELECT AVG(rank) FROM table_name_16 WHERE lane = 5 </s> |
What is the Rank of the swimmer with a Time of 49 in Lane 7 or larger? | CREATE TABLE table_name_41 (rank VARCHAR, time VARCHAR, lane VARCHAR) | SELECT COUNT(rank) FROM table_name_41 WHERE time = 49 AND lane > 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (rank VARCHAR, time VARCHAR, lane VARCHAR) Question: What is the Rank of the swimmer with a Time of 49 in Lane 7 or larger? [/INST] SELECT COUNT(rank) FROM table_name_41 WHERE time = 49 AND lane > ... |
What is the Lane of the swimmer with a Rank of 8? | CREATE TABLE table_name_24 (lane INTEGER, rank VARCHAR) | SELECT MAX(lane) FROM table_name_24 WHERE rank = 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (lane INTEGER, rank VARCHAR) Question: What is the Lane of the swimmer with a Rank of 8? [/INST] SELECT MAX(lane) FROM table_name_24 WHERE rank = 8 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.