instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
WHat kind of L2 cache has a Model number of turion x2 ultra zm-85? | CREATE TABLE table_name_31 (l2_cache VARCHAR, model_number VARCHAR) | SELECT l2_cache FROM table_name_31 WHERE model_number = "turion x2 ultra zm-85" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (l2_cache VARCHAR, model_number VARCHAR) Question: WHat kind of L2 cache has a Model number of turion x2 ultra zm-85? [/INST] SELECT l2_cache FROM table_name_31 WHERE model_number = "turion x2 ultr... |
Which Socket has a Frequency of 2200mhz, and a Release date on june 4, 2008? | CREATE TABLE table_name_30 (socket VARCHAR, frequency VARCHAR, release_date VARCHAR) | SELECT socket FROM table_name_30 WHERE frequency = "2200mhz" AND release_date = "june 4, 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (socket VARCHAR, frequency VARCHAR, release_date VARCHAR) Question: Which Socket has a Frequency of 2200mhz, and a Release date on june 4, 2008? [/INST] SELECT socket FROM table_name_30 WHERE frequ... |
What kind of Socket has a Order part number of tmrm72dam22gg? | CREATE TABLE table_name_44 (socket VARCHAR, order_part_number VARCHAR) | SELECT socket FROM table_name_44 WHERE order_part_number = "tmrm72dam22gg" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (socket VARCHAR, order_part_number VARCHAR) Question: What kind of Socket has a Order part number of tmrm72dam22gg? [/INST] SELECT socket FROM table_name_44 WHERE order_part_number = "tmrm72dam22gg... |
What is the Birthdate of raymond bonney? | CREATE TABLE table_name_20 (birthdate VARCHAR, name VARCHAR) | SELECT birthdate FROM table_name_20 WHERE name = "raymond bonney" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (birthdate VARCHAR, name VARCHAR) Question: What is the Birthdate of raymond bonney? [/INST] SELECT birthdate FROM table_name_20 WHERE name = "raymond bonney" </s> |
What is the Team for the player born in northfield, minnesota? | CREATE TABLE table_name_30 (team VARCHAR, birthplace VARCHAR) | SELECT team FROM table_name_30 WHERE birthplace = "northfield, minnesota" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (team VARCHAR, birthplace VARCHAR) Question: What is the Team for the player born in northfield, minnesota? [/INST] SELECT team FROM table_name_30 WHERE birthplace = "northfield, minnesota" </s> |
What is the Position of the person with a birthplace of phoenix, new york? | CREATE TABLE table_name_81 (position VARCHAR, birthplace VARCHAR) | SELECT position FROM table_name_81 WHERE birthplace = "phoenix, new york" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (position VARCHAR, birthplace VARCHAR) Question: What is the Position of the person with a birthplace of phoenix, new york? [/INST] SELECT position FROM table_name_81 WHERE birthplace = "phoenix, n... |
What is the Name when the team is the st. paul a.c., with a Birthdate of 3 august 1890? | CREATE TABLE table_name_45 (name VARCHAR, team VARCHAR, birthdate VARCHAR) | SELECT name FROM table_name_45 WHERE team = "st. paul a.c." AND birthdate = "3 august 1890" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (name VARCHAR, team VARCHAR, birthdate VARCHAR) Question: What is the Name when the team is the st. paul a.c., with a Birthdate of 3 august 1890? [/INST] SELECT name FROM table_name_45 WHERE team =... |
What is the Position of moose goheen? | CREATE TABLE table_name_61 (position VARCHAR, name VARCHAR) | SELECT position FROM table_name_61 WHERE name = "moose goheen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (position VARCHAR, name VARCHAR) Question: What is the Position of moose goheen? [/INST] SELECT position FROM table_name_61 WHERE name = "moose goheen" </s> |
What is the Birthdate of leon tuck? | CREATE TABLE table_name_29 (birthdate VARCHAR, name VARCHAR) | SELECT birthdate FROM table_name_29 WHERE name = "leon tuck" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (birthdate VARCHAR, name VARCHAR) Question: What is the Birthdate of leon tuck? [/INST] SELECT birthdate FROM table_name_29 WHERE name = "leon tuck" </s> |
During the Tournament in which Jiří Novák was absent(A) in 1995, absent(A) in 1997, and made it to the 3rd round (3R) in 2003, how did he do in 2006? | CREATE TABLE table_name_31 (Id VARCHAR) | SELECT 2006 FROM table_name_31 WHERE 1995 = "a" AND 1997 = "a" AND 2003 = "3r" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (Id VARCHAR) Question: During the Tournament in which Jiří Novák was absent(A) in 1995, absent(A) in 1997, and made it to the 3rd round (3R) in 2003, how did he do in 2006? [/INST] SELECT 2006 FROM... |
In the Tennis Masters Cup, how did Jiří Novák do in 1997? | CREATE TABLE table_name_75 (tournament VARCHAR) | SELECT 1997 FROM table_name_75 WHERE tournament = "tennis masters cup" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (tournament VARCHAR) Question: In the Tennis Masters Cup, how did Jiří Novák do in 1997? [/INST] SELECT 1997 FROM table_name_75 WHERE tournament = "tennis masters cup" </s> |
In the Hamburg Masters Tournament, during which Jiří Novák was absent(A) in 1996, how did he do in 2003? | CREATE TABLE table_name_71 (tournament VARCHAR) | SELECT 2003 FROM table_name_71 WHERE 1996 = "a" AND tournament = "hamburg masters" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (tournament VARCHAR) Question: In the Hamburg Masters Tournament, during which Jiří Novák was absent(A) in 1996, how did he do in 2003? [/INST] SELECT 2003 FROM table_name_71 WHERE 1996 = "a" AND t... |
In the Tournament during which Jiří Novák was absent(A) in 2004, how did he do in 2003? | CREATE TABLE table_name_49 (Id VARCHAR) | SELECT 2003 FROM table_name_49 WHERE 2004 = "a" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (Id VARCHAR) Question: In the Tournament during which Jiří Novák was absent(A) in 2004, how did he do in 2003? [/INST] SELECT 2003 FROM table_name_49 WHERE 2004 = "a" </s> |
In the Tournament during which Jiří Novák made it to the 1st round(1R) in 1995, how did he do in 2001? | CREATE TABLE table_name_32 (Id VARCHAR) | SELECT 2001 FROM table_name_32 WHERE 1995 = "1r" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (Id VARCHAR) Question: In the Tournament during which Jiří Novák made it to the 1st round(1R) in 1995, how did he do in 2001? [/INST] SELECT 2001 FROM table_name_32 WHERE 1995 = "1r" </s> |
During the Hamburg Masters Tournament, during which Jiří Novák was absent(A) in 1998, how did he do in 1997? | CREATE TABLE table_name_93 (tournament VARCHAR) | SELECT 1997 FROM table_name_93 WHERE 1998 = "a" AND tournament = "hamburg masters" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (tournament VARCHAR) Question: During the Hamburg Masters Tournament, during which Jiří Novák was absent(A) in 1998, how did he do in 1997? [/INST] SELECT 1997 FROM table_name_93 WHERE 1998 = "a" A... |
What is the sum of all from the Cultural and Educational Panel with less than 7 from the Labour Panel and less than 1 from the Agricultural Panel? | CREATE TABLE table_name_23 (cultural_and_educational_panel INTEGER, labour_panel VARCHAR, agricultural_panel VARCHAR) | SELECT SUM(cultural_and_educational_panel) FROM table_name_23 WHERE labour_panel < 7 AND agricultural_panel < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (cultural_and_educational_panel INTEGER, labour_panel VARCHAR, agricultural_panel VARCHAR) Question: What is the sum of all from the Cultural and Educational Panel with less than 7 from the Labour ... |
What is the Away team when the FootyTAB winner was st. george? | CREATE TABLE table_name_13 (away_team VARCHAR, footytab_winner VARCHAR) | SELECT away_team FROM table_name_13 WHERE footytab_winner = "st. george" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (away_team VARCHAR, footytab_winner VARCHAR) Question: What is the Away team when the FootyTAB winner was st. george? [/INST] SELECT away_team FROM table_name_13 WHERE footytab_winner = "st. george... |
What is the Home team when the away team was Manly? | CREATE TABLE table_name_71 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_71 WHERE away_team = "manly" | <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 is the Home team when the away team was Manly? [/INST] SELECT home_team FROM table_name_71 WHERE away_team = "manly" </s> |
What is the Match score when the FootyTAB winner was norths? | CREATE TABLE table_name_81 (match_score VARCHAR, footytab_winner VARCHAR) | SELECT match_score FROM table_name_81 WHERE footytab_winner = "norths" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (match_score VARCHAR, footytab_winner VARCHAR) Question: What is the Match score when the FootyTAB winner was norths? [/INST] SELECT match_score FROM table_name_81 WHERE footytab_winner = "norths" ... |
What is the Away team when the match score was norths 19 manly 4? | CREATE TABLE table_name_54 (away_team VARCHAR, match_score VARCHAR) | SELECT away_team FROM table_name_54 WHERE match_score = "norths 19 manly 4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (away_team VARCHAR, match_score VARCHAR) Question: What is the Away team when the match score was norths 19 manly 4? [/INST] SELECT away_team FROM table_name_54 WHERE match_score = "norths 19 manly... |
What is the "Pick The Winners" score when the Match score was illawarra 19 souths 0? | CREATE TABLE table_name_70 (match_score VARCHAR) | SELECT "pick_the_winners" AS _score FROM table_name_70 WHERE match_score = "illawarra 19 souths 0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (match_score VARCHAR) Question: What is the "Pick The Winners" score when the Match score was illawarra 19 souths 0? [/INST] SELECT "pick_the_winners" AS _score FROM table_name_70 WHERE match_score... |
Which player has a FG Pct less than 45.9, a def reb less than 43, and a total reb of 9? | CREATE TABLE table_name_21 (player VARCHAR, total_reb VARCHAR, fg_pct VARCHAR, def_reb VARCHAR) | SELECT player FROM table_name_21 WHERE fg_pct < 45.9 AND def_reb < 43 AND total_reb = 9 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (player VARCHAR, total_reb VARCHAR, fg_pct VARCHAR, def_reb VARCHAR) Question: Which player has a FG Pct less than 45.9, a def reb less than 43, and a total reb of 9? [/INST] SELECT player FROM tab... |
How many Games has a Name of stéphane dumas and a Rank larger than 5? | CREATE TABLE table_name_3 (games INTEGER, name VARCHAR, rank VARCHAR) | SELECT AVG(games) FROM table_name_3 WHERE name = "stéphane dumas" AND rank > 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (games INTEGER, name VARCHAR, rank VARCHAR) Question: How many Games has a Name of stéphane dumas and a Rank larger than 5? [/INST] SELECT AVG(games) FROM table_name_3 WHERE name = "stéphane dumas" ... |
How many Games has a Team of cai zaragoza and a Rank smaller than 1? | CREATE TABLE table_name_24 (games INTEGER, team VARCHAR, rank VARCHAR) | SELECT SUM(games) FROM table_name_24 WHERE team = "cai zaragoza" AND rank < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (games INTEGER, team VARCHAR, rank VARCHAR) Question: How many Games has a Team of cai zaragoza and a Rank smaller than 1? [/INST] SELECT SUM(games) FROM table_name_24 WHERE team = "cai zaragoza" A... |
What was the most total medals awarded to Poland? | CREATE TABLE table_name_37 (total INTEGER, nation VARCHAR) | SELECT MAX(total) FROM table_name_37 WHERE nation = "poland" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (total INTEGER, nation VARCHAR) Question: What was the most total medals awarded to Poland? [/INST] SELECT MAX(total) FROM table_name_37 WHERE nation = "poland" </s> |
How many people attended the game on December 20, 1964? | CREATE TABLE table_name_64 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_64 WHERE date = "december 20, 1964" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (attendance VARCHAR, date VARCHAR) Question: How many people attended the game on December 20, 1964? [/INST] SELECT attendance FROM table_name_64 WHERE date = "december 20, 1964" </s> |
On what date did the Lions play against the Tampa Bay Buccaneers? | CREATE TABLE table_name_66 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_66 WHERE opponent = "tampa bay buccaneers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (date VARCHAR, opponent VARCHAR) Question: On what date did the Lions play against the Tampa Bay Buccaneers? [/INST] SELECT date FROM table_name_66 WHERE opponent = "tampa bay buccaneers" </s> |
What was the date of the game against the New York Jets? | CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_7 WHERE opponent = "new york jets" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR) Question: What was the date of the game against the New York Jets? [/INST] SELECT date FROM table_name_7 WHERE opponent = "new york jets" </s> |
What is the Attendance with a Date that is october 31, 1965? | CREATE TABLE table_name_15 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_15 WHERE date = "october 31, 1965" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (attendance VARCHAR, date VARCHAR) Question: What is the Attendance with a Date that is october 31, 1965? [/INST] SELECT attendance FROM table_name_15 WHERE date = "october 31, 1965" </s> |
What is the Attendance with a Date that is november 25, 1965? | CREATE TABLE table_name_96 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_96 WHERE date = "november 25, 1965" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (attendance VARCHAR, date VARCHAR) Question: What is the Attendance with a Date that is november 25, 1965? [/INST] SELECT attendance FROM table_name_96 WHERE date = "november 25, 1965" </s> |
What is the lowest geohash length when the lat bits are less than 7, and the km error of ±2500? | CREATE TABLE table_name_94 (geohash_length INTEGER, lat_bits VARCHAR, km_error VARCHAR) | SELECT MIN(geohash_length) FROM table_name_94 WHERE lat_bits < 7 AND km_error = "±2500" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (geohash_length INTEGER, lat_bits VARCHAR, km_error VARCHAR) Question: What is the lowest geohash length when the lat bits are less than 7, and the km error of ±2500? [/INST] SELECT MIN(geohash_len... |
What is the highest geohash length when the lat error is ±0.00068, and the lat bits larger than 17? | CREATE TABLE table_name_99 (geohash_length INTEGER, lat_error VARCHAR, lat_bits VARCHAR) | SELECT MAX(geohash_length) FROM table_name_99 WHERE lat_error = "±0.00068" AND lat_bits > 17 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (geohash_length INTEGER, lat_error VARCHAR, lat_bits VARCHAR) Question: What is the highest geohash length when the lat error is ±0.00068, and the lat bits larger than 17? [/INST] SELECT MAX(geohas... |
What is the highest geohash length when there is a ng error of ±0.00017, and a lng bits smaller than 20? | CREATE TABLE table_name_31 (geohash_length INTEGER, lng_error VARCHAR, lng_bits VARCHAR) | SELECT MAX(geohash_length) FROM table_name_31 WHERE lng_error = "±0.00017" AND lng_bits < 20 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (geohash_length INTEGER, lng_error VARCHAR, lng_bits VARCHAR) Question: What is the highest geohash length when there is a ng error of ±0.00017, and a lng bits smaller than 20? [/INST] SELECT MAX(g... |
Which Against has a Drawn smaller than 5, a Lost of 3, and a Position of 3? | CREATE TABLE table_name_93 (against INTEGER, position VARCHAR, drawn VARCHAR, lost VARCHAR) | SELECT MIN(against) FROM table_name_93 WHERE drawn < 5 AND lost = 3 AND position = 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (against INTEGER, position VARCHAR, drawn VARCHAR, lost VARCHAR) Question: Which Against has a Drawn smaller than 5, a Lost of 3, and a Position of 3? [/INST] SELECT MIN(against) FROM table_name_93... |
Which Against has a Position larger than 8, and Points larger than 9? | CREATE TABLE table_name_67 (against VARCHAR, position VARCHAR, points VARCHAR) | SELECT against FROM table_name_67 WHERE position > 8 AND points > 9 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (against VARCHAR, position VARCHAR, points VARCHAR) Question: Which Against has a Position larger than 8, and Points larger than 9? [/INST] SELECT against FROM table_name_67 WHERE position > 8 AND ... |
Which Lost has Points smaller than 12, and a Drawn larger than 1? | CREATE TABLE table_name_39 (lost VARCHAR, points VARCHAR, drawn VARCHAR) | SELECT COUNT(lost) FROM table_name_39 WHERE points < 12 AND drawn > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (lost VARCHAR, points VARCHAR, drawn VARCHAR) Question: Which Lost has Points smaller than 12, and a Drawn larger than 1? [/INST] SELECT COUNT(lost) FROM table_name_39 WHERE points < 12 AND drawn >... |
Which Position has a Difference of 5, and a Drawn smaller than 3? | CREATE TABLE table_name_84 (position INTEGER, difference VARCHAR, drawn VARCHAR) | SELECT MIN(position) FROM table_name_84 WHERE difference = "5" AND drawn < 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (position INTEGER, difference VARCHAR, drawn VARCHAR) Question: Which Position has a Difference of 5, and a Drawn smaller than 3? [/INST] SELECT MIN(position) FROM table_name_84 WHERE difference = ... |
Which Against has a Position larger than 11? | CREATE TABLE table_name_32 (against VARCHAR, position INTEGER) | SELECT COUNT(against) FROM table_name_32 WHERE position > 11 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (against VARCHAR, position INTEGER) Question: Which Against has a Position larger than 11? [/INST] SELECT COUNT(against) FROM table_name_32 WHERE position > 11 </s> |
Which Player has a Nationality of united states, a Position of forward, and a School/Club Team of notre dame? | CREATE TABLE table_name_1 (player VARCHAR, school_club_team VARCHAR, nationality VARCHAR, position VARCHAR) | SELECT player FROM table_name_1 WHERE nationality = "united states" AND position = "forward" AND school_club_team = "notre dame" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (player VARCHAR, school_club_team VARCHAR, nationality VARCHAR, position VARCHAR) Question: Which Player has a Nationality of united states, a Position of forward, and a School/Club Team of notre da... |
Which Nationality has a School/Club Team of louisiana state? | CREATE TABLE table_name_63 (nationality VARCHAR, school_club_team VARCHAR) | SELECT nationality FROM table_name_63 WHERE school_club_team = "louisiana state" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (nationality VARCHAR, school_club_team VARCHAR) Question: Which Nationality has a School/Club Team of louisiana state? [/INST] SELECT nationality FROM table_name_63 WHERE school_club_team = "louisi... |
Which Years in Orlando has a Position of center, and a School/Club Team of louisiana state? | CREATE TABLE table_name_41 (years_in_orlando VARCHAR, position VARCHAR, school_club_team VARCHAR) | SELECT years_in_orlando FROM table_name_41 WHERE position = "center" AND school_club_team = "louisiana state" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (years_in_orlando VARCHAR, position VARCHAR, school_club_team VARCHAR) Question: Which Years in Orlando has a Position of center, and a School/Club Team of louisiana state? [/INST] SELECT years_in_... |
Which Position has a School/Club Team of illinois? | CREATE TABLE table_name_89 (position VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_89 WHERE school_club_team = "illinois" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (position VARCHAR, school_club_team VARCHAR) Question: Which Position has a School/Club Team of illinois? [/INST] SELECT position FROM table_name_89 WHERE school_club_team = "illinois" </s> |
Which Years in Orlando has a Nationality of united states, and a School/Club Team of illinois? | CREATE TABLE table_name_23 (years_in_orlando VARCHAR, nationality VARCHAR, school_club_team VARCHAR) | SELECT years_in_orlando FROM table_name_23 WHERE nationality = "united states" AND school_club_team = "illinois" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (years_in_orlando VARCHAR, nationality VARCHAR, school_club_team VARCHAR) Question: Which Years in Orlando has a Nationality of united states, and a School/Club Team of illinois? [/INST] SELECT yea... |
Which Player has a Position of forward, and a School/Club Team of georgia tech? | CREATE TABLE table_name_22 (player VARCHAR, position VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_name_22 WHERE position = "forward" AND school_club_team = "georgia tech" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (player VARCHAR, position VARCHAR, school_club_team VARCHAR) Question: Which Player has a Position of forward, and a School/Club Team of georgia tech? [/INST] SELECT player FROM table_name_22 WHERE... |
What is the total number of silver with rank number 6? | CREATE TABLE table_name_6 (silver VARCHAR, rank VARCHAR) | SELECT COUNT(silver) FROM table_name_6 WHERE rank = 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (silver VARCHAR, rank VARCHAR) Question: What is the total number of silver with rank number 6? [/INST] SELECT COUNT(silver) FROM table_name_6 WHERE rank = 6 </s> |
What is the smallest total from Japan with a rank larger than 3? | CREATE TABLE table_name_95 (total INTEGER, nation VARCHAR, rank VARCHAR) | SELECT MIN(total) FROM table_name_95 WHERE nation = "japan" AND rank > 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (total INTEGER, nation VARCHAR, rank VARCHAR) Question: What is the smallest total from Japan with a rank larger than 3? [/INST] SELECT MIN(total) FROM table_name_95 WHERE nation = "japan" AND rank... |
What is the largest number of silver that had 0 bronzes and total less than 1? | CREATE TABLE table_name_67 (silver INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MAX(silver) FROM table_name_67 WHERE bronze = 0 AND total < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (silver INTEGER, bronze VARCHAR, total VARCHAR) Question: What is the largest number of silver that had 0 bronzes and total less than 1? [/INST] SELECT MAX(silver) FROM table_name_67 WHERE bronze =... |
What is the smallest number of points for a match less than 12? | CREATE TABLE table_name_6 (points INTEGER, match INTEGER) | SELECT MIN(points) FROM table_name_6 WHERE match < 12 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (points INTEGER, match INTEGER) Question: What is the smallest number of points for a match less than 12? [/INST] SELECT MIN(points) FROM table_name_6 WHERE match < 12 </s> |
What is the mean number of languages for the monthly frequency when the publisher is the hearst corporation? | CREATE TABLE table_name_23 (number_of_languages INTEGER, frequency VARCHAR, publisher VARCHAR) | SELECT AVG(number_of_languages) FROM table_name_23 WHERE frequency = "monthly" AND publisher = "hearst corporation" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (number_of_languages INTEGER, frequency VARCHAR, publisher VARCHAR) Question: What is the mean number of languages for the monthly frequency when the publisher is the hearst corporation? [/INST] SE... |
What is the Political group for p. maelius capitolinus? | CREATE TABLE table_name_58 (political_group VARCHAR, name VARCHAR) | SELECT political_group FROM table_name_58 WHERE name = "p. maelius capitolinus" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (political_group VARCHAR, name VARCHAR) Question: What is the Political group for p. maelius capitolinus? [/INST] SELECT political_group FROM table_name_58 WHERE name = "p. maelius capitolinus" </s... |
What is the Type for l. publilius philo vulscus? | CREATE TABLE table_name_46 (type VARCHAR, name VARCHAR) | SELECT type FROM table_name_46 WHERE name = "l. publilius philo vulscus" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (type VARCHAR, name VARCHAR) Question: What is the Type for l. publilius philo vulscus? [/INST] SELECT type FROM table_name_46 WHERE name = "l. publilius philo vulscus" </s> |
What is the Type for l. publilius philo vulscus? | CREATE TABLE table_name_31 (type VARCHAR, name VARCHAR) | SELECT type FROM table_name_31 WHERE name = "l. publilius philo vulscus" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (type VARCHAR, name VARCHAR) Question: What is the Type for l. publilius philo vulscus? [/INST] SELECT type FROM table_name_31 WHERE name = "l. publilius philo vulscus" </s> |
What was the title of the episode with a production code of 1gowo04? | CREATE TABLE table_name_3 (episode_title VARCHAR, prod_code VARCHAR) | SELECT episode_title FROM table_name_3 WHERE prod_code = "1gowo04" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (episode_title VARCHAR, prod_code VARCHAR) Question: What was the title of the episode with a production code of 1gowo04? [/INST] SELECT episode_title FROM table_name_3 WHERE prod_code = "1gowo04" <... |
What is the production code fore the episode titled, life's no fun anymore? | CREATE TABLE table_name_16 (prod_code VARCHAR, episode_title VARCHAR) | SELECT prod_code FROM table_name_16 WHERE episode_title = "life's no fun anymore" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (prod_code VARCHAR, episode_title VARCHAR) Question: What is the production code fore the episode titled, life's no fun anymore? [/INST] SELECT prod_code FROM table_name_16 WHERE episode_title = "l... |
What is the nationality of the player that plays forward and is from depaul? | CREATE TABLE table_name_19 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR) | SELECT nationality FROM table_name_19 WHERE position = "forward" AND school_club_team = "depaul" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR) Question: What is the nationality of the player that plays forward and is from depaul? [/INST] SELECT nationality FROM table_name_1... |
What years did Orlando have stanley roberts on the team? | CREATE TABLE table_name_75 (years_in_orlando VARCHAR, player VARCHAR) | SELECT years_in_orlando FROM table_name_75 WHERE player = "stanley roberts" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (years_in_orlando VARCHAR, player VARCHAR) Question: What years did Orlando have stanley roberts on the team? [/INST] SELECT years_in_orlando FROM table_name_75 WHERE player = "stanley roberts" </s... |
How many points total are there later than 2003? | CREATE TABLE table_name_99 (points INTEGER, year INTEGER) | SELECT SUM(points) FROM table_name_99 WHERE year > 2003 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (points INTEGER, year INTEGER) Question: How many points total are there later than 2003? [/INST] SELECT SUM(points) FROM table_name_99 WHERE year > 2003 </s> |
Which entrant has a Dallara F398 chassis? | CREATE TABLE table_name_13 (entrant VARCHAR, chassis VARCHAR) | SELECT entrant FROM table_name_13 WHERE chassis = "dallara f398" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (entrant VARCHAR, chassis VARCHAR) Question: Which entrant has a Dallara F398 chassis? [/INST] SELECT entrant FROM table_name_13 WHERE chassis = "dallara f398" </s> |
What are the lowest points for an engine with a Dallara F303 chassis? | CREATE TABLE table_name_93 (points INTEGER, chassis VARCHAR) | SELECT MIN(points) FROM table_name_93 WHERE chassis = "dallara f303" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (points INTEGER, chassis VARCHAR) Question: What are the lowest points for an engine with a Dallara F303 chassis? [/INST] SELECT MIN(points) FROM table_name_93 WHERE chassis = "dallara f303" </s> |
What are the lowest points in 2004? | CREATE TABLE table_name_96 (points INTEGER, year VARCHAR) | SELECT MIN(points) FROM table_name_96 WHERE year = 2004 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (points INTEGER, year VARCHAR) Question: What are the lowest points in 2004? [/INST] SELECT MIN(points) FROM table_name_96 WHERE year = 2004 </s> |
What is Attendance, when Week is 5? | CREATE TABLE table_name_95 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_95 WHERE week = 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (attendance VARCHAR, week VARCHAR) Question: What is Attendance, when Week is 5? [/INST] SELECT attendance FROM table_name_95 WHERE week = 5 </s> |
What is the label for the catalog of none, and is in the United Kingdom? | CREATE TABLE table_name_12 (label VARCHAR, catalog VARCHAR, region VARCHAR) | SELECT label FROM table_name_12 WHERE catalog = "none" AND region = "united kingdom" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (label VARCHAR, catalog VARCHAR, region VARCHAR) Question: What is the label for the catalog of none, and is in the United Kingdom? [/INST] SELECT label FROM table_name_12 WHERE catalog = "none" AN... |
What is the region for the date November 18, 2002? | CREATE TABLE table_name_76 (region VARCHAR, date VARCHAR) | SELECT region FROM table_name_76 WHERE date = "november 18, 2002" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (region VARCHAR, date VARCHAR) Question: What is the region for the date November 18, 2002? [/INST] SELECT region FROM table_name_76 WHERE date = "november 18, 2002" </s> |
What is the date for the Nebula Label, and a nebdjx029 catalog? | CREATE TABLE table_name_93 (date VARCHAR, label VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_93 WHERE label = "nebula" AND catalog = "nebdjx029" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (date VARCHAR, label VARCHAR, catalog VARCHAR) Question: What is the date for the Nebula Label, and a nebdjx029 catalog? [/INST] SELECT date FROM table_name_93 WHERE label = "nebula" AND catalog = ... |
What is the label from the Netherlands? | CREATE TABLE table_name_54 (label VARCHAR, region VARCHAR) | SELECT label FROM table_name_54 WHERE region = "netherlands" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (label VARCHAR, region VARCHAR) Question: What is the label from the Netherlands? [/INST] SELECT label FROM table_name_54 WHERE region = "netherlands" </s> |
What was the Christ made king date with a great tribulation in 1925? | CREATE TABLE table_name_16 (christ_madeking VARCHAR, great_tribulation VARCHAR) | SELECT christ_madeking FROM table_name_16 WHERE great_tribulation = "1925" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (christ_madeking VARCHAR, great_tribulation VARCHAR) Question: What was the Christ made king date with a great tribulation in 1925? [/INST] SELECT christ_madeking FROM table_name_16 WHERE great_tri... |
What is the resurrection of 144,000 date with a Christ made king date in 1914, a separting sheep & goats date during Christ's presence, and a judgment of religion date in 1878? | CREATE TABLE table_name_63 (resurrection_of144 VARCHAR, judgmentof_religion VARCHAR, christ_madeking VARCHAR, separating_sheep_ VARCHAR, goats VARCHAR) | SELECT resurrection_of144, 000 FROM table_name_63 WHERE christ_madeking = "1914" AND separating_sheep_ & goats = "during christ's presence" AND judgmentof_religion = "1878" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (resurrection_of144 VARCHAR, judgmentof_religion VARCHAR, christ_madeking VARCHAR, separating_sheep_ VARCHAR, goats VARCHAR) Question: What is the resurrection of 144,000 date with a Christ made ki... |
What is the lowest Cuts made with less than 72.48 scoring average? | CREATE TABLE table_name_63 (cuts_made INTEGER, scoring_average INTEGER) | SELECT MIN(cuts_made) FROM table_name_63 WHERE scoring_average < 72.48 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (cuts_made INTEGER, scoring_average INTEGER) Question: What is the lowest Cuts made with less than 72.48 scoring average? [/INST] SELECT MIN(cuts_made) FROM table_name_63 WHERE scoring_average < 72... |
What is the sum of Events played when the cuts made is less than 0? | CREATE TABLE table_name_82 (events_played INTEGER, cuts_made INTEGER) | SELECT SUM(events_played) FROM table_name_82 WHERE cuts_made < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (events_played INTEGER, cuts_made INTEGER) Question: What is the sum of Events played when the cuts made is less than 0? [/INST] SELECT SUM(events_played) FROM table_name_82 WHERE cuts_made < 0 </s... |
What is the Scoring rank when there are less than 21 events played with a rank of n/a in years less than 2011? | CREATE TABLE table_name_19 (scoring_rank VARCHAR, year VARCHAR, events_played VARCHAR, rank VARCHAR) | SELECT scoring_rank FROM table_name_19 WHERE events_played < 21 AND rank = "n/a" AND year < 2011 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (scoring_rank VARCHAR, year VARCHAR, events_played VARCHAR, rank VARCHAR) Question: What is the Scoring rank when there are less than 21 events played with a rank of n/a in years less than 2011? [/... |
What is the total number of Wins when 98 is the rank and the scoring average is more than 73.52? | CREATE TABLE table_name_54 (wins VARCHAR, rank VARCHAR, scoring_average VARCHAR) | SELECT COUNT(wins) FROM table_name_54 WHERE rank = "98" AND scoring_average > 73.52 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (wins VARCHAR, rank VARCHAR, scoring_average VARCHAR) Question: What is the total number of Wins when 98 is the rank and the scoring average is more than 73.52? [/INST] SELECT COUNT(wins) FROM tabl... |
What Title's Start of Reign is 1993? | CREATE TABLE table_name_69 (title VARCHAR, start_of_reign VARCHAR) | SELECT title FROM table_name_69 WHERE start_of_reign = 1993 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (title VARCHAR, start_of_reign VARCHAR) Question: What Title's Start of Reign is 1993? [/INST] SELECT title FROM table_name_69 WHERE start_of_reign = 1993 </s> |
What is the Birth Name of the Archbishop with a Current End of Reign? | CREATE TABLE table_name_34 (Birth VARCHAR, end_of_reign VARCHAR) | SELECT Birth AS name FROM table_name_34 WHERE end_of_reign = "current" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (Birth VARCHAR, end_of_reign VARCHAR) Question: What is the Birth Name of the Archbishop with a Current End of Reign? [/INST] SELECT Birth AS name FROM table_name_34 WHERE end_of_reign = "current" ... |
What is Angelarios Angelarij with a Start of Reign date before 1986 Birth Name? | CREATE TABLE table_name_45 (Birth VARCHAR, start_of_reign VARCHAR, name VARCHAR) | SELECT Birth AS name FROM table_name_45 WHERE start_of_reign < 1986 AND name = "angelarios angelarij" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (Birth VARCHAR, start_of_reign VARCHAR, name VARCHAR) Question: What is Angelarios Angelarij with a Start of Reign date before 1986 Birth Name? [/INST] SELECT Birth AS name FROM table_name_45 WHERE... |
How many goals that were scored had a place of more than 5, a lost of 11, and goals conceded of less than 45? | CREATE TABLE table_name_7 (goals_scored VARCHAR, goals_conceded VARCHAR, place VARCHAR, lost VARCHAR) | SELECT COUNT(goals_scored) FROM table_name_7 WHERE place > 5 AND lost = 11 AND goals_conceded < 45 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (goals_scored VARCHAR, goals_conceded VARCHAR, place VARCHAR, lost VARCHAR) Question: How many goals that were scored had a place of more than 5, a lost of 11, and goals conceded of less than 45? [/... |
What is the mean played number where the goals conceded is less than 16? | CREATE TABLE table_name_81 (played INTEGER, goals_conceded INTEGER) | SELECT AVG(played) FROM table_name_81 WHERE goals_conceded < 16 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (played INTEGER, goals_conceded INTEGER) Question: What is the mean played number where the goals conceded is less than 16? [/INST] SELECT AVG(played) FROM table_name_81 WHERE goals_conceded < 16 <... |
What is the 1913 Class of the d32 LNER Class? | CREATE TABLE table_name_68 (lner_class VARCHAR) | SELECT 1913 AS _class FROM table_name_68 WHERE lner_class = "d32" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (lner_class VARCHAR) Question: What is the 1913 Class of the d32 LNER Class? [/INST] SELECT 1913 AS _class FROM table_name_68 WHERE lner_class = "d32" </s> |
What was the attendance at the Denver game? | CREATE TABLE table_name_59 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_name_59 WHERE team = "denver" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (location_attendance VARCHAR, team VARCHAR) Question: What was the attendance at the Denver game? [/INST] SELECT location_attendance FROM table_name_59 WHERE team = "denver" </s> |
What was Matthew Hoggard's high score when he had a strike rate of n/a? | CREATE TABLE table_name_64 (high_score VARCHAR, strike_rate VARCHAR, player VARCHAR) | SELECT high_score FROM table_name_64 WHERE strike_rate = "n/a" AND player = "matthew hoggard" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (high_score VARCHAR, strike_rate VARCHAR, player VARCHAR) Question: What was Matthew Hoggard's high score when he had a strike rate of n/a? [/INST] SELECT high_score FROM table_name_64 WHERE strike... |
What is the lowest Weight when the height is 196, and the date of birth is 24.07.1977? | CREATE TABLE table_name_28 (weight INTEGER, height VARCHAR, date_of_birth VARCHAR) | SELECT MIN(weight) FROM table_name_28 WHERE height = 196 AND date_of_birth = "24.07.1977" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (weight INTEGER, height VARCHAR, date_of_birth VARCHAR) Question: What is the lowest Weight when the height is 196, and the date of birth is 24.07.1977? [/INST] SELECT MIN(weight) FROM table_name_2... |
What is the sum of Spike when the Weight was more than 84, and Block was less than 315? | CREATE TABLE table_name_72 (spike INTEGER, weight VARCHAR, block VARCHAR) | SELECT SUM(spike) FROM table_name_72 WHERE weight > 84 AND block < 315 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (spike INTEGER, weight VARCHAR, block VARCHAR) Question: What is the sum of Spike when the Weight was more than 84, and Block was less than 315? [/INST] SELECT SUM(spike) FROM table_name_72 WHERE w... |
What was the result of the 2012 Waff Women's Futsal Championship game the team played against Iraq? | CREATE TABLE table_name_96 (result VARCHAR, tournament VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_96 WHERE tournament = "2012 waff women's futsal championship" AND opponent = "iraq" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (result VARCHAR, tournament VARCHAR, opponent VARCHAR) Question: What was the result of the 2012 Waff Women's Futsal Championship game the team played against Iraq? [/INST] SELECT result FROM table... |
What was the result of the game played on May 9, 2012? | CREATE TABLE table_name_35 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_35 WHERE date = "may 9, 2012" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (result VARCHAR, date VARCHAR) Question: What was the result of the game played on May 9, 2012? [/INST] SELECT result FROM table_name_35 WHERE date = "may 9, 2012" </s> |
What is the result of the game played in Russia on May 9, 2012? | CREATE TABLE table_name_1 (result VARCHAR, venue VARCHAR, date VARCHAR) | SELECT result FROM table_name_1 WHERE venue = "russia" AND date = "may 9, 2012" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (result VARCHAR, venue VARCHAR, date VARCHAR) Question: What is the result of the game played in Russia on May 9, 2012? [/INST] SELECT result FROM table_name_1 WHERE venue = "russia" AND date = "may... |
What is the final result of the game that was played on October 8, 2000? | CREATE TABLE table_name_70 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_70 WHERE date = "october 8, 2000" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (result VARCHAR, date VARCHAR) Question: What is the final result of the game that was played on October 8, 2000? [/INST] SELECT result FROM table_name_70 WHERE date = "october 8, 2000" </s> |
Who was the opponent in the game played after Week 4 on October 15, 2000? | CREATE TABLE table_name_37 (opponent VARCHAR, week VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_37 WHERE week > 4 AND date = "october 15, 2000" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (opponent VARCHAR, week VARCHAR, date VARCHAR) Question: Who was the opponent in the game played after Week 4 on October 15, 2000? [/INST] SELECT opponent FROM table_name_37 WHERE week > 4 AND date... |
Where was the game played when the Buffalo Bills had a record of 8-8? | CREATE TABLE table_name_80 (location VARCHAR, record VARCHAR) | SELECT location FROM table_name_80 WHERE record = "8-8" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (location VARCHAR, record VARCHAR) Question: Where was the game played when the Buffalo Bills had a record of 8-8? [/INST] SELECT location FROM table_name_80 WHERE record = "8-8" </s> |
Who was the opponent the Buffalo Bills played when their record was 4-4? | CREATE TABLE table_name_34 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_34 WHERE record = "4-4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (opponent VARCHAR, record VARCHAR) Question: Who was the opponent the Buffalo Bills played when their record was 4-4? [/INST] SELECT opponent FROM table_name_34 WHERE record = "4-4" </s> |
What is the highest week for Cleveland Browns with 54,205 in attendance? | CREATE TABLE table_name_47 (week INTEGER, opponent VARCHAR, attendance VARCHAR) | SELECT MAX(week) FROM table_name_47 WHERE opponent = "cleveland browns" AND attendance > 54 OFFSET 205 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (week INTEGER, opponent VARCHAR, attendance VARCHAR) Question: What is the highest week for Cleveland Browns with 54,205 in attendance? [/INST] SELECT MAX(week) FROM table_name_47 WHERE opponent = ... |
What date was the opponents the Oakland Raiders? | CREATE TABLE table_name_88 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_88 WHERE opponent = "oakland raiders" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (date VARCHAR, opponent VARCHAR) Question: What date was the opponents the Oakland Raiders? [/INST] SELECT date FROM table_name_88 WHERE opponent = "oakland raiders" </s> |
What was the total attendance October 22, 1972? | CREATE TABLE table_name_18 (attendance INTEGER, date VARCHAR) | SELECT SUM(attendance) FROM table_name_18 WHERE date = "october 22, 1972" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (attendance INTEGER, date VARCHAR) Question: What was the total attendance October 22, 1972? [/INST] SELECT SUM(attendance) FROM table_name_18 WHERE date = "october 22, 1972" </s> |
What is the highest heat for Ihor Bodrov when the mark is 6.76 and the lane is less than 1? | CREATE TABLE table_name_8 (heat INTEGER, lane VARCHAR, mark VARCHAR, name VARCHAR) | SELECT MAX(heat) FROM table_name_8 WHERE mark = "6.76" AND name = "ihor bodrov" AND lane < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (heat INTEGER, lane VARCHAR, mark VARCHAR, name VARCHAR) Question: What is the highest heat for Ihor Bodrov when the mark is 6.76 and the lane is less than 1? [/INST] SELECT MAX(heat) FROM table_nam... |
What is the mark number when the lane for Rabangaki Nawai when it is greater than 2 and the heat is larger than 4? | CREATE TABLE table_name_44 (mark VARCHAR, name VARCHAR, lane VARCHAR, heat VARCHAR) | SELECT mark FROM table_name_44 WHERE lane > 2 AND heat > 4 AND name = "rabangaki nawai" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (mark VARCHAR, name VARCHAR, lane VARCHAR, heat VARCHAR) Question: What is the mark number when the lane for Rabangaki Nawai when it is greater than 2 and the heat is larger than 4? [/INST] SELECT ... |
What is the total lane number for the United States when the mark is 6.62 and the heat is greater than 8? | CREATE TABLE table_name_16 (lane VARCHAR, heat VARCHAR, country VARCHAR, mark VARCHAR) | SELECT COUNT(lane) FROM table_name_16 WHERE country = "united states" AND mark = "6.62" AND heat > 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (lane VARCHAR, heat VARCHAR, country VARCHAR, mark VARCHAR) Question: What is the total lane number for the United States when the mark is 6.62 and the heat is greater than 8? [/INST] SELECT COUNT(... |
WHich in 2010–11 has an Event of autumn gold? | CREATE TABLE table_name_99 (event VARCHAR) | SELECT 2010 AS _11 FROM table_name_99 WHERE event = "autumn gold" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (event VARCHAR) Question: WHich in 2010–11 has an Event of autumn gold? [/INST] SELECT 2010 AS _11 FROM table_name_99 WHERE event = "autumn gold" </s> |
Which nation has a bronze greater than 0, a gold greater than 0, a silver greater than 0, and 5 as the rank? | CREATE TABLE table_name_88 (nation VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT nation FROM table_name_88 WHERE bronze > 0 AND gold > 0 AND silver > 0 AND rank = "5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (nation VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR, gold VARCHAR) Question: Which nation has a bronze greater than 0, a gold greater than 0, a silver greater than 0, and 5 as the rank? [... |
What nation has 1 as the gold and 2 as the total? | CREATE TABLE table_name_6 (nation VARCHAR, gold VARCHAR, total VARCHAR) | SELECT nation FROM table_name_6 WHERE gold = 1 AND total = 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (nation VARCHAR, gold VARCHAR, total VARCHAR) Question: What nation has 1 as the gold and 2 as the total? [/INST] SELECT nation FROM table_name_6 WHERE gold = 1 AND total = 2 </s> |
What rank has 0 as the bronze, and a total less than 3, with north korea as the nation? | CREATE TABLE table_name_56 (rank VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT rank FROM table_name_56 WHERE bronze = 0 AND total < 3 AND nation = "north korea" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (rank VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) Question: What rank has 0 as the bronze, and a total less than 3, with north korea as the nation? [/INST] SELECT rank FROM table_name_5... |
How many golds have a bronze less than 1, and a silver less than 1? | CREATE TABLE table_name_82 (gold VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT COUNT(gold) FROM table_name_82 WHERE bronze < 1 AND silver < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (gold VARCHAR, bronze VARCHAR, silver VARCHAR) Question: How many golds have a bronze less than 1, and a silver less than 1? [/INST] SELECT COUNT(gold) FROM table_name_82 WHERE bronze < 1 AND silve... |
What average total has cuba as the nation, and a bronze greater than 1? | CREATE TABLE table_name_8 (total INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT AVG(total) FROM table_name_8 WHERE nation = "cuba" AND bronze > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (total INTEGER, nation VARCHAR, bronze VARCHAR) Question: What average total has cuba as the nation, and a bronze greater than 1? [/INST] SELECT AVG(total) FROM table_name_8 WHERE nation = "cuba" AN... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.