instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
What was the location of the game with a score of 113-106? | CREATE TABLE table_name_13 (location_attendance VARCHAR, score VARCHAR) | SELECT location_attendance FROM table_name_13 WHERE score = "113-106" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (location_attendance VARCHAR, score VARCHAR) Question: What was the location of the game with a score of 113-106? [/INST] SELECT location_attendance FROM table_name_13 WHERE score = "113-106" </s> |
What is the highest pick number for a pick drafted by the denver broncos? | CREATE TABLE table_name_52 (pick INTEGER, team VARCHAR) | SELECT MAX(pick) FROM table_name_52 WHERE team = "denver broncos" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (pick INTEGER, team VARCHAR) Question: What is the highest pick number for a pick drafted by the denver broncos? [/INST] SELECT MAX(pick) FROM table_name_52 WHERE team = "denver broncos" </s> |
What opponent has l 27-7 as the result? | CREATE TABLE table_name_83 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_83 WHERE result = "l 27-7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (opponent VARCHAR, result VARCHAR) Question: What opponent has l 27-7 as the result? [/INST] SELECT opponent FROM table_name_83 WHERE result = "l 27-7" </s> |
How many weeks has 54,187 as the attendance? | CREATE TABLE table_name_87 (week VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_87 WHERE attendance = 54 OFFSET 187 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (week VARCHAR, attendance VARCHAR) Question: How many weeks has 54,187 as the attendance? [/INST] SELECT COUNT(week) FROM table_name_87 WHERE attendance = 54 OFFSET 187 ROWS </s> |
What tournament had Alberta Brianti as an opponent with a score of 6-4 2-6 6-2? | CREATE TABLE table_name_96 (tournament VARCHAR, opponent VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_96 WHERE opponent = "alberta brianti" AND score = "6-4 2-6 6-2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (tournament VARCHAR, opponent VARCHAR, score VARCHAR) Question: What tournament had Alberta Brianti as an opponent with a score of 6-4 2-6 6-2? [/INST] SELECT tournament FROM table_name_96 WHERE op... |
When was the score 3-6 4-6? | CREATE TABLE table_name_3 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_3 WHERE score = "3-6 4-6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (date VARCHAR, score VARCHAR) Question: When was the score 3-6 4-6? [/INST] SELECT date FROM table_name_3 WHERE score = "3-6 4-6" </s> |
What is the Rank of the Swimmer with a Time of 2:25.65 in a Lane larger than 3? | CREATE TABLE table_name_36 (rank INTEGER, time VARCHAR, lane VARCHAR) | SELECT AVG(rank) FROM table_name_36 WHERE time = "2:25.65" AND lane > 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (rank INTEGER, time VARCHAR, lane VARCHAR) Question: What is the Rank of the Swimmer with a Time of 2:25.65 in a Lane larger than 3? [/INST] SELECT AVG(rank) FROM table_name_36 WHERE time = "2:25.6... |
What is the Rank of Qi Hui? | CREATE TABLE table_name_52 (rank VARCHAR, name VARCHAR) | SELECT COUNT(rank) FROM table_name_52 WHERE name = "qi hui" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (rank VARCHAR, name VARCHAR) Question: What is the Rank of Qi Hui? [/INST] SELECT COUNT(rank) FROM table_name_52 WHERE name = "qi hui" </s> |
How many Forfeits have Wins smaller than 8, and Losses larger than 16? | CREATE TABLE table_name_84 (forfeits VARCHAR, wins VARCHAR, losses VARCHAR) | SELECT COUNT(forfeits) FROM table_name_84 WHERE wins < 8 AND losses > 16 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (forfeits VARCHAR, wins VARCHAR, losses VARCHAR) Question: How many Forfeits have Wins smaller than 8, and Losses larger than 16? [/INST] SELECT COUNT(forfeits) FROM table_name_84 WHERE wins < 8 AN... |
How many Losses have a Millewa of nangiloc? | CREATE TABLE table_name_13 (losses VARCHAR, millewa VARCHAR) | SELECT COUNT(losses) FROM table_name_13 WHERE millewa = "nangiloc" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (losses VARCHAR, millewa VARCHAR) Question: How many Losses have a Millewa of nangiloc? [/INST] SELECT COUNT(losses) FROM table_name_13 WHERE millewa = "nangiloc" </s> |
How many Losses have Draws larger than 0? | CREATE TABLE table_name_58 (losses INTEGER, draws INTEGER) | SELECT MAX(losses) FROM table_name_58 WHERE draws > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (losses INTEGER, draws INTEGER) Question: How many Losses have Draws larger than 0? [/INST] SELECT MAX(losses) FROM table_name_58 WHERE draws > 0 </s> |
What is the average rank of Elise Matthysen in lanes under 8? | CREATE TABLE table_name_46 (rank INTEGER, name VARCHAR, lane VARCHAR) | SELECT AVG(rank) FROM table_name_46 WHERE name = "elise matthysen" AND lane < 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (rank INTEGER, name VARCHAR, lane VARCHAR) Question: What is the average rank of Elise Matthysen in lanes under 8? [/INST] SELECT AVG(rank) FROM table_name_46 WHERE name = "elise matthysen" AND lan... |
What is the time of Yuliya Yefimova? | CREATE TABLE table_name_53 (time VARCHAR, name VARCHAR) | SELECT time FROM table_name_53 WHERE name = "yuliya yefimova" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (time VARCHAR, name VARCHAR) Question: What is the time of Yuliya Yefimova? [/INST] SELECT time FROM table_name_53 WHERE name = "yuliya yefimova" </s> |
Who was from Great Britain in lanes under number 3? | CREATE TABLE table_name_1 (name VARCHAR, lane VARCHAR, nationality VARCHAR) | SELECT name FROM table_name_1 WHERE lane < 3 AND nationality = "great britain" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (name VARCHAR, lane VARCHAR, nationality VARCHAR) Question: Who was from Great Britain in lanes under number 3? [/INST] SELECT name FROM table_name_1 WHERE lane < 3 AND nationality = "great britain"... |
What wheel arrangement was made in 1910? | CREATE TABLE table_name_1 (wheel_arrangement VARCHAR, year_made VARCHAR) | SELECT wheel_arrangement FROM table_name_1 WHERE year_made = "1910" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (wheel_arrangement VARCHAR, year_made VARCHAR) Question: What wheel arrangement was made in 1910? [/INST] SELECT wheel_arrangement FROM table_name_1 WHERE year_made = "1910" </s> |
What year were the retired serial numbers 27317–27336? | CREATE TABLE table_name_32 (year_s__retired VARCHAR, serial_numbers VARCHAR) | SELECT year_s__retired FROM table_name_32 WHERE serial_numbers = "27317–27336" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (year_s__retired VARCHAR, serial_numbers VARCHAR) Question: What year were the retired serial numbers 27317–27336? [/INST] SELECT year_s__retired FROM table_name_32 WHERE serial_numbers = "27317–27... |
Which Surface has a score of 7-5, 5-7, 6-3? | CREATE TABLE table_name_16 (surface VARCHAR, score VARCHAR) | SELECT surface FROM table_name_16 WHERE score = "7-5, 5-7, 6-3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (surface VARCHAR, score VARCHAR) Question: Which Surface has a score of 7-5, 5-7, 6-3? [/INST] SELECT surface FROM table_name_16 WHERE score = "7-5, 5-7, 6-3" </s> |
Which tournament has a Score of 6-4, 6-4? | CREATE TABLE table_name_30 (tournament VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_30 WHERE score = "6-4, 6-4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (tournament VARCHAR, score VARCHAR) Question: Which tournament has a Score of 6-4, 6-4? [/INST] SELECT tournament FROM table_name_30 WHERE score = "6-4, 6-4" </s> |
What was the Surface on during 10 November 2006? | CREATE TABLE table_name_41 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_41 WHERE date = "10 november 2006" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (surface VARCHAR, date VARCHAR) Question: What was the Surface on during 10 November 2006? [/INST] SELECT surface FROM table_name_41 WHERE date = "10 november 2006" </s> |
What was the Score on 25 May 2007? | CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_79 WHERE date = "25 may 2007" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR) Question: What was the Score on 25 May 2007? [/INST] SELECT score FROM table_name_79 WHERE date = "25 may 2007" </s> |
What was the score on 10 November 2006? | CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_79 WHERE date = "10 november 2006" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR) Question: What was the score on 10 November 2006? [/INST] SELECT score FROM table_name_79 WHERE date = "10 november 2006" </s> |
Which Partnering has a Score of 6-3, 4-6, 6-4? | CREATE TABLE table_name_92 (partnering VARCHAR, score VARCHAR) | SELECT partnering FROM table_name_92 WHERE score = "6-3, 4-6, 6-4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (partnering VARCHAR, score VARCHAR) Question: Which Partnering has a Score of 6-3, 4-6, 6-4? [/INST] SELECT partnering FROM table_name_92 WHERE score = "6-3, 4-6, 6-4" </s> |
What is the rank for the man from China with notes of QS? | CREATE TABLE table_name_38 (rank INTEGER, notes VARCHAR, country VARCHAR) | SELECT MAX(rank) FROM table_name_38 WHERE notes = "qs" AND country = "china" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (rank INTEGER, notes VARCHAR, country VARCHAR) Question: What is the rank for the man from China with notes of QS? [/INST] SELECT MAX(rank) FROM table_name_38 WHERE notes = "qs" AND country = "chin... |
What is the rank for the competitor from Bulgaria? | CREATE TABLE table_name_16 (rank INTEGER, country VARCHAR) | SELECT MIN(rank) FROM table_name_16 WHERE country = "bulgaria" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (rank INTEGER, country VARCHAR) Question: What is the rank for the competitor from Bulgaria? [/INST] SELECT MIN(rank) FROM table_name_16 WHERE country = "bulgaria" </s> |
Which athlete is ranked below 5 and is from China? | CREATE TABLE table_name_62 (athletes VARCHAR, rank VARCHAR, country VARCHAR) | SELECT athletes FROM table_name_62 WHERE rank < 5 AND country = "china" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (athletes VARCHAR, rank VARCHAR, country VARCHAR) Question: Which athlete is ranked below 5 and is from China? [/INST] SELECT athletes FROM table_name_62 WHERE rank < 5 AND country = "china" </s> |
Which game was a Platformer? | CREATE TABLE table_name_90 (game VARCHAR, genre VARCHAR) | SELECT game FROM table_name_90 WHERE genre = "platformer" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (game VARCHAR, genre VARCHAR) Question: Which game was a Platformer? [/INST] SELECT game FROM table_name_90 WHERE genre = "platformer" </s> |
Who was the developer of XCom: Enemy Unknown? | CREATE TABLE table_name_98 (developer_s_ VARCHAR, game VARCHAR) | SELECT developer_s_ FROM table_name_98 WHERE game = "xcom: enemy unknown" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (developer_s_ VARCHAR, game VARCHAR) Question: Who was the developer of XCom: Enemy Unknown? [/INST] SELECT developer_s_ FROM table_name_98 WHERE game = "xcom: enemy unknown" </s> |
Which platform was Red Dead Redemption for? | CREATE TABLE table_name_50 (platform_s_ VARCHAR, game VARCHAR) | SELECT platform_s_ FROM table_name_50 WHERE game = "red dead redemption" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (platform_s_ VARCHAR, game VARCHAR) Question: Which platform was Red Dead Redemption for? [/INST] SELECT platform_s_ FROM table_name_50 WHERE game = "red dead redemption" </s> |
What is the highest total for players with under 2 Egyptian Premier League goals and 0 Egypt Cup goals? | CREATE TABLE table_name_49 (total INTEGER, egyptian_premier_league VARCHAR, egypt_cup VARCHAR) | SELECT MAX(total) FROM table_name_49 WHERE egyptian_premier_league < 2 AND egypt_cup < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (total INTEGER, egyptian_premier_league VARCHAR, egypt_cup VARCHAR) Question: What is the highest total for players with under 2 Egyptian Premier League goals and 0 Egypt Cup goals? [/INST] SELECT ... |
What is the aveage Egypt Cup value for players with 0 CAF Champions League goals, 6 Egyptian Premier League goals, and totals under 6? | CREATE TABLE table_name_93 (egypt_cup INTEGER, total VARCHAR, caf_champions_league VARCHAR, egyptian_premier_league VARCHAR) | SELECT AVG(egypt_cup) FROM table_name_93 WHERE caf_champions_league = 0 AND egyptian_premier_league = 6 AND total < 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (egypt_cup INTEGER, total VARCHAR, caf_champions_league VARCHAR, egyptian_premier_league VARCHAR) Question: What is the aveage Egypt Cup value for players with 0 CAF Champions League goals, 6 Egypt... |
how many times is gold more than 0 and the rank less than 2? | CREATE TABLE table_name_64 (silver VARCHAR, gold VARCHAR, rank VARCHAR) | SELECT COUNT(silver) FROM table_name_64 WHERE gold > 0 AND rank < 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (silver VARCHAR, gold VARCHAR, rank VARCHAR) Question: how many times is gold more than 0 and the rank less than 2? [/INST] SELECT COUNT(silver) FROM table_name_64 WHERE gold > 0 AND rank < 2 </s> |
what is the highest total when the nation is france and silver is more than 1? | CREATE TABLE table_name_71 (total INTEGER, nation VARCHAR, silver VARCHAR) | SELECT MAX(total) FROM table_name_71 WHERE nation = "france" AND silver > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (total INTEGER, nation VARCHAR, silver VARCHAR) Question: what is the highest total when the nation is france and silver is more than 1? [/INST] SELECT MAX(total) FROM table_name_71 WHERE nation = ... |
what is the least silver for germany when gold is more than 4? | CREATE TABLE table_name_94 (silver INTEGER, nation VARCHAR, gold VARCHAR) | SELECT MIN(silver) FROM table_name_94 WHERE nation = "germany" AND gold > 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (silver INTEGER, nation VARCHAR, gold VARCHAR) Question: what is the least silver for germany when gold is more than 4? [/INST] SELECT MIN(silver) FROM table_name_94 WHERE nation = "germany" AND go... |
How many times is the total less than 15, rank less than 5, bronze is 4 and gold smaller than 3? | CREATE TABLE table_name_23 (silver VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR, rank VARCHAR) | SELECT COUNT(silver) FROM table_name_23 WHERE total < 15 AND rank < 5 AND bronze = 4 AND gold < 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (silver VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR, rank VARCHAR) Question: How many times is the total less than 15, rank less than 5, bronze is 4 and gold smaller than 3? [/INST] SELECT... |
What venue did the game on september 5, 1998 take place at? | CREATE TABLE table_name_71 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_71 WHERE date = "september 5, 1998" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (venue VARCHAR, date VARCHAR) Question: What venue did the game on september 5, 1998 take place at? [/INST] SELECT venue FROM table_name_71 WHERE date = "september 5, 1998" </s> |
What venue did the 2000 tiger cup take place at on November 10, 2000? | CREATE TABLE table_name_29 (venue VARCHAR, competition VARCHAR, date VARCHAR) | SELECT venue FROM table_name_29 WHERE competition = "2000 tiger cup" AND date = "november 10, 2000" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (venue VARCHAR, competition VARCHAR, date VARCHAR) Question: What venue did the 2000 tiger cup take place at on November 10, 2000? [/INST] SELECT venue FROM table_name_29 WHERE competition = "2000 ... |
What date had a game with a score of 5-4? | CREATE TABLE table_name_63 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_63 WHERE score = "5-4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (date VARCHAR, score VARCHAR) Question: What date had a game with a score of 5-4? [/INST] SELECT date FROM table_name_63 WHERE score = "5-4" </s> |
What is the total of Barangay with an area larger than 865.13? | CREATE TABLE table_name_72 (s_barangay INTEGER, area___has__ INTEGER) | SELECT SUM(s_barangay) FROM table_name_72 WHERE area___has__ > 865.13 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (s_barangay INTEGER, area___has__ INTEGER) Question: What is the total of Barangay with an area larger than 865.13? [/INST] SELECT SUM(s_barangay) FROM table_name_72 WHERE area___has__ > 865.13 </s... |
What is the lowest population density for the district of Santa Cruz and a Barangay larger than 82? | CREATE TABLE table_name_12 (pop_density__per_km2_ INTEGER, district VARCHAR, s_barangay VARCHAR) | SELECT MIN(pop_density__per_km2_) FROM table_name_12 WHERE district = "santa cruz" AND s_barangay > 82 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (pop_density__per_km2_ INTEGER, district VARCHAR, s_barangay VARCHAR) Question: What is the lowest population density for the district of Santa Cruz and a Barangay larger than 82? [/INST] SELECT MI... |
What is the average number of golds for teams in rank 17 with more than 4 silver? | CREATE TABLE table_name_13 (gold INTEGER, rank VARCHAR, silver VARCHAR) | SELECT AVG(gold) FROM table_name_13 WHERE rank = "17" AND silver > 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (gold INTEGER, rank VARCHAR, silver VARCHAR) Question: What is the average number of golds for teams in rank 17 with more than 4 silver? [/INST] SELECT AVG(gold) FROM table_name_13 WHERE rank = "17... |
What is the average total for teams with under 34 bronzes, 0 silver, and under 14 gold? | CREATE TABLE table_name_88 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT AVG(total) FROM table_name_88 WHERE bronze < 34 AND gold < 14 AND silver < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR) Question: What is the average total for teams with under 34 bronzes, 0 silver, and under 14 gold? [/INST] SELECT AVG(total) FROM table_... |
What is the fewest number of golds for teams with 0 silver? | CREATE TABLE table_name_54 (gold INTEGER, silver INTEGER) | SELECT MIN(gold) FROM table_name_54 WHERE silver < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (gold INTEGER, silver INTEGER) Question: What is the fewest number of golds for teams with 0 silver? [/INST] SELECT MIN(gold) FROM table_name_54 WHERE silver < 0 </s> |
What nations participated in 2007? | CREATE TABLE table_name_87 (nations VARCHAR, year VARCHAR) | SELECT nations FROM table_name_87 WHERE year = "2007" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (nations VARCHAR, year VARCHAR) Question: What nations participated in 2007? [/INST] SELECT nations FROM table_name_87 WHERE year = "2007" </s> |
What event type had BODY CMAS in 1980 and underwater hockey? | CREATE TABLE table_name_57 (event_type VARCHAR, sport VARCHAR, body VARCHAR, year VARCHAR) | SELECT event_type FROM table_name_57 WHERE body = "cmas" AND year = "1980" AND sport = "underwater hockey" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (event_type VARCHAR, sport VARCHAR, body VARCHAR, year VARCHAR) Question: What event type had BODY CMAS in 1980 and underwater hockey? [/INST] SELECT event_type FROM table_name_57 WHERE body = "cma... |
What body is at the World Championship for Underwater Target shooting? | CREATE TABLE table_name_12 (body VARCHAR, event_type VARCHAR, sport VARCHAR) | SELECT body FROM table_name_12 WHERE event_type = "world championship" AND sport = "underwater target shooting" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (body VARCHAR, event_type VARCHAR, sport VARCHAR) Question: What body is at the World Championship for Underwater Target shooting? [/INST] SELECT body FROM table_name_12 WHERE event_type = "world c... |
What body participated in 1973? | CREATE TABLE table_name_43 (body VARCHAR, year VARCHAR) | SELECT body FROM table_name_43 WHERE year = "1973" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (body VARCHAR, year VARCHAR) Question: What body participated in 1973? [/INST] SELECT body FROM table_name_43 WHERE year = "1973" </s> |
What was the record setting time in the 800m freestyle? | CREATE TABLE table_name_76 (time VARCHAR, event VARCHAR) | SELECT time FROM table_name_76 WHERE event = "800m freestyle" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (time VARCHAR, event VARCHAR) Question: What was the record setting time in the 800m freestyle? [/INST] SELECT time FROM table_name_76 WHERE event = "800m freestyle" </s> |
What power has A as the class, and 93.7 as the frequency? | CREATE TABLE table_name_26 (power VARCHAR, class VARCHAR, frequency VARCHAR) | SELECT power FROM table_name_26 WHERE class = "a" AND frequency = "93.7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (power VARCHAR, class VARCHAR, frequency VARCHAR) Question: What power has A as the class, and 93.7 as the frequency? [/INST] SELECT power FROM table_name_26 WHERE class = "a" AND frequency = "93.7... |
What city of license has cbon-fm-11 as the identifier? | CREATE TABLE table_name_77 (city_of_license VARCHAR, identifier VARCHAR) | SELECT city_of_license FROM table_name_77 WHERE identifier = "cbon-fm-11" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (city_of_license VARCHAR, identifier VARCHAR) Question: What city of license has cbon-fm-11 as the identifier? [/INST] SELECT city_of_license FROM table_name_77 WHERE identifier = "cbon-fm-11" </s> |
What power has thunder bay as the city of license? | CREATE TABLE table_name_17 (power VARCHAR, city_of_license VARCHAR) | SELECT power FROM table_name_17 WHERE city_of_license = "thunder bay" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (power VARCHAR, city_of_license VARCHAR) Question: What power has thunder bay as the city of license? [/INST] SELECT power FROM table_name_17 WHERE city_of_license = "thunder bay" </s> |
What identifier has 100000 watts as the power? | CREATE TABLE table_name_98 (identifier VARCHAR, power VARCHAR) | SELECT identifier FROM table_name_98 WHERE power = "100000 watts" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (identifier VARCHAR, power VARCHAR) Question: What identifier has 100000 watts as the power? [/INST] SELECT identifier FROM table_name_98 WHERE power = "100000 watts" </s> |
What identifier has 90.3 as the frequency? | CREATE TABLE table_name_92 (identifier VARCHAR, frequency VARCHAR) | SELECT identifier FROM table_name_92 WHERE frequency = "90.3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (identifier VARCHAR, frequency VARCHAR) Question: What identifier has 90.3 as the frequency? [/INST] SELECT identifier FROM table_name_92 WHERE frequency = "90.3" </s> |
What class has cbon-fm-23 as the identifier? | CREATE TABLE table_name_28 (class VARCHAR, identifier VARCHAR) | SELECT class FROM table_name_28 WHERE identifier = "cbon-fm-23" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (class VARCHAR, identifier VARCHAR) Question: What class has cbon-fm-23 as the identifier? [/INST] SELECT class FROM table_name_28 WHERE identifier = "cbon-fm-23" </s> |
What is the total number of medals for West Germany with more than 1 bronze medal and more than 2 gold medals? | CREATE TABLE table_name_74 (total VARCHAR, gold VARCHAR, bronze VARCHAR, nation VARCHAR) | SELECT COUNT(total) FROM table_name_74 WHERE bronze > 1 AND nation = "west germany" AND gold > 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (total VARCHAR, gold VARCHAR, bronze VARCHAR, nation VARCHAR) Question: What is the total number of medals for West Germany with more than 1 bronze medal and more than 2 gold medals? [/INST] SELECT... |
What is Denmark's rank? | CREATE TABLE table_name_87 (rank VARCHAR, nation VARCHAR) | SELECT rank FROM table_name_87 WHERE nation = "denmark" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (rank VARCHAR, nation VARCHAR) Question: What is Denmark's rank? [/INST] SELECT rank FROM table_name_87 WHERE nation = "denmark" </s> |
What country did ekaterina karsten row for with fa listed under notes? | CREATE TABLE table_name_70 (country VARCHAR, notes VARCHAR, athlete VARCHAR) | SELECT country FROM table_name_70 WHERE notes = "fa" AND athlete = "ekaterina karsten" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (country VARCHAR, notes VARCHAR, athlete VARCHAR) Question: What country did ekaterina karsten row for with fa listed under notes? [/INST] SELECT country FROM table_name_70 WHERE notes = "fa" AND a... |
What time was the race for the country of france? | CREATE TABLE table_name_37 (time VARCHAR, country VARCHAR) | SELECT time FROM table_name_37 WHERE country = "france" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (time VARCHAR, country VARCHAR) Question: What time was the race for the country of france? [/INST] SELECT time FROM table_name_37 WHERE country = "france" </s> |
What time was the race for the country of france with fb listed under notes? | CREATE TABLE table_name_10 (time VARCHAR, notes VARCHAR, country VARCHAR) | SELECT time FROM table_name_10 WHERE notes = "fb" AND country = "france" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (time VARCHAR, notes VARCHAR, country VARCHAR) Question: What time was the race for the country of france with fb listed under notes? [/INST] SELECT time FROM table_name_10 WHERE notes = "fb" AND c... |
What is the sum of the ranks for bulgaria? | CREATE TABLE table_name_10 (rank INTEGER, country VARCHAR) | SELECT SUM(rank) FROM table_name_10 WHERE country = "bulgaria" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (rank INTEGER, country VARCHAR) Question: What is the sum of the ranks for bulgaria? [/INST] SELECT SUM(rank) FROM table_name_10 WHERE country = "bulgaria" </s> |
What is the rank of the new zealand team that had fb listed under notes? | CREATE TABLE table_name_31 (rank VARCHAR, notes VARCHAR, country VARCHAR) | SELECT rank FROM table_name_31 WHERE notes = "fb" AND country = "new zealand" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (rank VARCHAR, notes VARCHAR, country VARCHAR) Question: What is the rank of the new zealand team that had fb listed under notes? [/INST] SELECT rank FROM table_name_31 WHERE notes = "fb" AND count... |
Which Position has a Pick of 74? | CREATE TABLE table_name_42 (position VARCHAR, pick VARCHAR) | SELECT position FROM table_name_42 WHERE pick = 74 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (position VARCHAR, pick VARCHAR) Question: Which Position has a Pick of 74? [/INST] SELECT position FROM table_name_42 WHERE pick = 74 </s> |
Which Team has a Position of linebacker? | CREATE TABLE table_name_86 (team VARCHAR, position VARCHAR) | SELECT team FROM table_name_86 WHERE position = "linebacker" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (team VARCHAR, position VARCHAR) Question: Which Team has a Position of linebacker? [/INST] SELECT team FROM table_name_86 WHERE position = "linebacker" </s> |
What is the Team for Stanford College? | CREATE TABLE table_name_87 (team VARCHAR, college VARCHAR) | SELECT team FROM table_name_87 WHERE college = "stanford" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (team VARCHAR, college VARCHAR) Question: What is the Team for Stanford College? [/INST] SELECT team FROM table_name_87 WHERE college = "stanford" </s> |
What Pick does the College Southeastern Louisiana have? | CREATE TABLE table_name_2 (pick VARCHAR, college VARCHAR) | SELECT pick FROM table_name_2 WHERE college = "southeastern louisiana" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (pick VARCHAR, college VARCHAR) Question: What Pick does the College Southeastern Louisiana have? [/INST] SELECT pick FROM table_name_2 WHERE college = "southeastern louisiana" </s> |
Can you tell me the Gold that has the Total larger than 2, and the Bronze smaller than 1? | CREATE TABLE table_name_50 (gold VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT gold FROM table_name_50 WHERE total > 2 AND bronze < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (gold VARCHAR, total VARCHAR, bronze VARCHAR) Question: Can you tell me the Gold that has the Total larger than 2, and the Bronze smaller than 1? [/INST] SELECT gold FROM table_name_50 WHERE total ... |
Can you tell me the Nation that has the Bronze of 1, and the Gold of 0? | CREATE TABLE table_name_68 (nation VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT nation FROM table_name_68 WHERE bronze = 1 AND gold = 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (nation VARCHAR, bronze VARCHAR, gold VARCHAR) Question: Can you tell me the Nation that has the Bronze of 1, and the Gold of 0? [/INST] SELECT nation FROM table_name_68 WHERE bronze = 1 AND gold =... |
Can you tell me the average Total that has the Silver larger than 1, and the Bronze smaller than 8? | CREATE TABLE table_name_15 (total INTEGER, silver VARCHAR, bronze VARCHAR) | SELECT AVG(total) FROM table_name_15 WHERE silver > 1 AND bronze < 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (total INTEGER, silver VARCHAR, bronze VARCHAR) Question: Can you tell me the average Total that has the Silver larger than 1, and the Bronze smaller than 8? [/INST] SELECT AVG(total) FROM table_na... |
What was the highest number of bronze medals when there were a total of 4 medals, 1 silver medals, and less than 2 medals? | CREATE TABLE table_name_99 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR) | SELECT MAX(bronze) FROM table_name_99 WHERE total = 4 AND silver = 1 AND gold < 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR) Question: What was the highest number of bronze medals when there were a total of 4 medals, 1 silver medals, and less than 2 medals? [/... |
Count the Pommel Horse that has Rings smaller than 59.85 and a Team Total larger than 361.2? | CREATE TABLE table_name_6 (pommel_horse INTEGER, rings VARCHAR, team_total VARCHAR) | SELECT SUM(pommel_horse) FROM table_name_6 WHERE rings < 59.85 AND team_total > 361.2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (pommel_horse INTEGER, rings VARCHAR, team_total VARCHAR) Question: Count the Pommel Horse that has Rings smaller than 59.85 and a Team Total larger than 361.2? [/INST] SELECT SUM(pommel_horse) FROM... |
Name the highest Parallel Bars of the united states with a Vault smaller than 63.85? | CREATE TABLE table_name_61 (parallel_bars INTEGER, country VARCHAR, vault VARCHAR) | SELECT MAX(parallel_bars) FROM table_name_61 WHERE country = "united states" AND vault < 63.85 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (parallel_bars INTEGER, country VARCHAR, vault VARCHAR) Question: Name the highest Parallel Bars of the united states with a Vault smaller than 63.85? [/INST] SELECT MAX(parallel_bars) FROM table_n... |
Name the highest Horizontal Bar which is in france and Rings smaller than 58.975? | CREATE TABLE table_name_4 (horizontal_bar INTEGER, country VARCHAR, rings VARCHAR) | SELECT MAX(horizontal_bar) FROM table_name_4 WHERE country = "france" AND rings < 58.975 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (horizontal_bar INTEGER, country VARCHAR, rings VARCHAR) Question: Name the highest Horizontal Bar which is in france and Rings smaller than 58.975? [/INST] SELECT MAX(horizontal_bar) FROM table_nam... |
who is the artist when the televote/sms is 3.20%? | CREATE TABLE table_name_20 (artist VARCHAR, televote_sms VARCHAR) | SELECT artist FROM table_name_20 WHERE televote_sms = "3.20%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (artist VARCHAR, televote_sms VARCHAR) Question: who is the artist when the televote/sms is 3.20%? [/INST] SELECT artist FROM table_name_20 WHERE televote_sms = "3.20%" </s> |
what is the place when the televote/sms is 2.39%? | CREATE TABLE table_name_47 (place INTEGER, televote_sms VARCHAR) | SELECT SUM(place) FROM table_name_47 WHERE televote_sms = "2.39%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (place INTEGER, televote_sms VARCHAR) Question: what is the place when the televote/sms is 2.39%? [/INST] SELECT SUM(place) FROM table_name_47 WHERE televote_sms = "2.39%" </s> |
how many times was the televote/sms 2.39% and the place more than 9? | CREATE TABLE table_name_54 (draw VARCHAR, televote_sms VARCHAR, place VARCHAR) | SELECT COUNT(draw) FROM table_name_54 WHERE televote_sms = "2.39%" AND place > 9 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (draw VARCHAR, televote_sms VARCHAR, place VARCHAR) Question: how many times was the televote/sms 2.39% and the place more than 9? [/INST] SELECT COUNT(draw) FROM table_name_54 WHERE televote_sms =... |
Which Release date has a Production Num larger than 5888, and a Director of hugh harman and friz freleng? | CREATE TABLE table_name_69 (release_date VARCHAR, production_num VARCHAR, director VARCHAR) | SELECT release_date FROM table_name_69 WHERE production_num > 5888 AND director = "hugh harman and friz freleng" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (release_date VARCHAR, production_num VARCHAR, director VARCHAR) Question: Which Release date has a Production Num larger than 5888, and a Director of hugh harman and friz freleng? [/INST] SELECT r... |
How many production numbers have a Title of bosko in dutch? | CREATE TABLE table_name_93 (production_num INTEGER, title VARCHAR) | SELECT SUM(production_num) FROM table_name_93 WHERE title = "bosko in dutch" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (production_num INTEGER, title VARCHAR) Question: How many production numbers have a Title of bosko in dutch? [/INST] SELECT SUM(production_num) FROM table_name_93 WHERE title = "bosko in dutch" </... |
Which Release date has a Director of tom palmer, and a Production Num larger than 5956? | CREATE TABLE table_name_92 (release_date VARCHAR, director VARCHAR, production_num VARCHAR) | SELECT release_date FROM table_name_92 WHERE director = "tom palmer" AND production_num > 5956 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (release_date VARCHAR, director VARCHAR, production_num VARCHAR) Question: Which Release date has a Director of tom palmer, and a Production Num larger than 5956? [/INST] SELECT release_date FROM t... |
How many Goals have Years at club of 1961–1966, and a Debut year larger than 1961? | CREATE TABLE table_name_9 (goals VARCHAR, years_at_club VARCHAR, debut_year VARCHAR) | SELECT COUNT(goals) FROM table_name_9 WHERE years_at_club = "1961–1966" AND debut_year > 1961 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (goals VARCHAR, years_at_club VARCHAR, debut_year VARCHAR) Question: How many Goals have Years at club of 1961–1966, and a Debut year larger than 1961? [/INST] SELECT COUNT(goals) FROM table_name_9 ... |
Which Debut year has Goals of 0, and Years at club of 1963, and Games larger than 5? | CREATE TABLE table_name_76 (debut_year INTEGER, games VARCHAR, goals VARCHAR, years_at_club VARCHAR) | SELECT AVG(debut_year) FROM table_name_76 WHERE goals = 0 AND years_at_club = "1963" AND games > 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (debut_year INTEGER, games VARCHAR, goals VARCHAR, years_at_club VARCHAR) Question: Which Debut year has Goals of 0, and Years at club of 1963, and Games larger than 5? [/INST] SELECT AVG(debut_yea... |
Which Debut year has a Player of bob hayton, and Games smaller than 2? | CREATE TABLE table_name_44 (debut_year INTEGER, player VARCHAR, games VARCHAR) | SELECT AVG(debut_year) FROM table_name_44 WHERE player = "bob hayton" AND games < 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (debut_year INTEGER, player VARCHAR, games VARCHAR) Question: Which Debut year has a Player of bob hayton, and Games smaller than 2? [/INST] SELECT AVG(debut_year) FROM table_name_44 WHERE player =... |
What is the name of the player who competed in the Women's Individual Class 3 in Table Tennis? | CREATE TABLE table_name_38 (name VARCHAR, sport VARCHAR, event VARCHAR) | SELECT name FROM table_name_38 WHERE sport = "table tennis" AND event = "women's individual class 3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (name VARCHAR, sport VARCHAR, event VARCHAR) Question: What is the name of the player who competed in the Women's Individual Class 3 in Table Tennis? [/INST] SELECT name FROM table_name_38 WHERE sp... |
What was the date of the Women's Individual Class 3? | CREATE TABLE table_name_73 (date VARCHAR, event VARCHAR) | SELECT date FROM table_name_73 WHERE event = "women's individual class 3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (date VARCHAR, event VARCHAR) Question: What was the date of the Women's Individual Class 3? [/INST] SELECT date FROM table_name_73 WHERE event = "women's individual class 3" </s> |
What event did Rastislav Turecek participate in? | CREATE TABLE table_name_88 (event VARCHAR, name VARCHAR) | SELECT event FROM table_name_88 WHERE name = "rastislav turecek" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (event VARCHAR, name VARCHAR) Question: What event did Rastislav Turecek participate in? [/INST] SELECT event FROM table_name_88 WHERE name = "rastislav turecek" </s> |
What sport did Miroslav Jambor Richard Csejtey participate in? | CREATE TABLE table_name_16 (sport VARCHAR, name VARCHAR) | SELECT sport FROM table_name_16 WHERE name = "miroslav jambor richard csejtey" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (sport VARCHAR, name VARCHAR) Question: What sport did Miroslav Jambor Richard Csejtey participate in? [/INST] SELECT sport FROM table_name_16 WHERE name = "miroslav jambor richard csejtey" </s> |
Which Artist has a Draw of 6? | CREATE TABLE table_name_7 (artist VARCHAR, draw VARCHAR) | SELECT artist FROM table_name_7 WHERE draw = 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (artist VARCHAR, draw VARCHAR) Question: Which Artist has a Draw of 6? [/INST] SELECT artist FROM table_name_7 WHERE draw = 6 </s> |
Which Song has a Draw smaller than 7, and Points larger than 41, and a Language of german? | CREATE TABLE table_name_20 (song VARCHAR, language VARCHAR, draw VARCHAR, points VARCHAR) | SELECT song FROM table_name_20 WHERE draw < 7 AND points > 41 AND language = "german" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (song VARCHAR, language VARCHAR, draw VARCHAR, points VARCHAR) Question: Which Song has a Draw smaller than 7, and Points larger than 41, and a Language of german? [/INST] SELECT song FROM table_na... |
What was the result for the years after 2001? | CREATE TABLE table_name_15 (result VARCHAR, year INTEGER) | SELECT result FROM table_name_15 WHERE year > 2001 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (result VARCHAR, year INTEGER) Question: What was the result for the years after 2001? [/INST] SELECT result FROM table_name_15 WHERE year > 2001 </s> |
Who was the nominee for 2005? | CREATE TABLE table_name_83 (nominee_s_ VARCHAR, year VARCHAR) | SELECT nominee_s_ FROM table_name_83 WHERE year = 2005 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (nominee_s_ VARCHAR, year VARCHAR) Question: Who was the nominee for 2005? [/INST] SELECT nominee_s_ FROM table_name_83 WHERE year = 2005 </s> |
what is the gp-gs when the receptions is more than 4, long is 55 and avg/g is 151? | CREATE TABLE table_name_44 (gp_gs VARCHAR, avg_g VARCHAR, receptions VARCHAR, long VARCHAR) | SELECT gp_gs FROM table_name_44 WHERE receptions > 4 AND long = 55 AND avg_g = 151 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (gp_gs VARCHAR, avg_g VARCHAR, receptions VARCHAR, long VARCHAR) Question: what is the gp-gs when the receptions is more than 4, long is 55 and avg/g is 151? [/INST] SELECT gp_gs FROM table_name_44... |
what is the name when avg/g is 13.7? | CREATE TABLE table_name_1 (name VARCHAR, avg_g VARCHAR) | SELECT name FROM table_name_1 WHERE avg_g = 13.7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (name VARCHAR, avg_g VARCHAR) Question: what is the name when avg/g is 13.7? [/INST] SELECT name FROM table_name_1 WHERE avg_g = 13.7 </s> |
How many times is avg/g 2? | CREATE TABLE table_name_82 (receptions VARCHAR, avg_g VARCHAR) | SELECT COUNT(receptions) FROM table_name_82 WHERE avg_g = 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (receptions VARCHAR, avg_g VARCHAR) Question: How many times is avg/g 2? [/INST] SELECT COUNT(receptions) FROM table_name_82 WHERE avg_g = 2 </s> |
what is the avg/g for john conner when long is less than 25? | CREATE TABLE table_name_75 (avg_g INTEGER, name VARCHAR, long VARCHAR) | SELECT SUM(avg_g) FROM table_name_75 WHERE name = "john conner" AND long < 25 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (avg_g INTEGER, name VARCHAR, long VARCHAR) Question: what is the avg/g for john conner when long is less than 25? [/INST] SELECT SUM(avg_g) FROM table_name_75 WHERE name = "john conner" AND long <... |
What conference did the player originally from the denver broncos play in? | CREATE TABLE table_name_25 (conf VARCHAR, original_nfl_team VARCHAR) | SELECT conf FROM table_name_25 WHERE original_nfl_team = "denver broncos" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (conf VARCHAR, original_nfl_team VARCHAR) Question: What conference did the player originally from the denver broncos play in? [/INST] SELECT conf FROM table_name_25 WHERE original_nfl_team = "denv... |
Who was the player from texas southern? | CREATE TABLE table_name_72 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_72 WHERE college = "texas southern" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (player VARCHAR, college VARCHAR) Question: Who was the player from texas southern? [/INST] SELECT player FROM table_name_72 WHERE college = "texas southern" </s> |
What conference did the player with the position of rb play in? | CREATE TABLE table_name_44 (conf VARCHAR, pos VARCHAR) | SELECT conf FROM table_name_44 WHERE pos = "rb" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (conf VARCHAR, pos VARCHAR) Question: What conference did the player with the position of rb play in? [/INST] SELECT conf FROM table_name_44 WHERE pos = "rb" </s> |
What was the original nfl team that the player was in from the midwestern conference? | CREATE TABLE table_name_86 (original_nfl_team VARCHAR, conf VARCHAR) | SELECT original_nfl_team FROM table_name_86 WHERE conf = "midwestern" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (original_nfl_team VARCHAR, conf VARCHAR) Question: What was the original nfl team that the player was in from the midwestern conference? [/INST] SELECT original_nfl_team FROM table_name_86 WHERE c... |
What position did athlete play from Tennessee state? | CREATE TABLE table_name_86 (pos VARCHAR, college VARCHAR) | SELECT pos FROM table_name_86 WHERE college = "tennessee state" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (pos VARCHAR, college VARCHAR) Question: What position did athlete play from Tennessee state? [/INST] SELECT pos FROM table_name_86 WHERE college = "tennessee state" </s> |
Which Affected area codes have an Effective date of august 30, 2014? | CREATE TABLE table_name_95 (affected_area_codes VARCHAR, effective_date VARCHAR) | SELECT affected_area_codes FROM table_name_95 WHERE effective_date = "august 30, 2014" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (affected_area_codes VARCHAR, effective_date VARCHAR) Question: Which Affected area codes have an Effective date of august 30, 2014? [/INST] SELECT affected_area_codes FROM table_name_95 WHERE effe... |
Which Airing date has a Number of episodes larger than 20, and a Genre of modern drama? | CREATE TABLE table_name_39 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR) | SELECT airing_date FROM table_name_39 WHERE number_of_episodes > 20 AND genre = "modern drama" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR) Question: Which Airing date has a Number of episodes larger than 20, and a Genre of modern drama? [/INST] SELECT airing_date FROM ta... |
Which Genre has an English title (Chinese title) of the romance of the white hair maiden 白髮魔女傳? | CREATE TABLE table_name_92 (genre VARCHAR, english_title__chinese_title_ VARCHAR) | SELECT genre FROM table_name_92 WHERE english_title__chinese_title_ = "the romance of the white hair maiden 白髮魔女傳" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (genre VARCHAR, english_title__chinese_title_ VARCHAR) Question: Which Genre has an English title (Chinese title) of the romance of the white hair maiden 白髮魔女傳? [/INST] SELECT genre FROM table_name... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.