instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
Olga Blahotová was the opponent in the final at what tournament? | CREATE TABLE table_name_42 (tournament VARCHAR, opponent_in_the_final VARCHAR) | SELECT tournament FROM table_name_42 WHERE opponent_in_the_final = "olga blahotová" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (tournament VARCHAR, opponent_in_the_final VARCHAR) Question: Olga Blahotová was the opponent in the final at what tournament? [/INST] SELECT tournament FROM table_name_42 WHERE opponent_in_the_fin... |
In the final against Ashley Harkleroad what was the score? | CREATE TABLE table_name_21 (score VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_21 WHERE opponent_in_the_final = "ashley harkleroad" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (score VARCHAR, opponent_in_the_final VARCHAR) Question: In the final against Ashley Harkleroad what was the score? [/INST] SELECT score FROM table_name_21 WHERE opponent_in_the_final = "ashley har... |
At what time did the opponent Takaichi Hirayama have an event? | CREATE TABLE table_name_83 (time VARCHAR, opponent VARCHAR) | SELECT time FROM table_name_83 WHERE opponent = "takaichi hirayama" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (time VARCHAR, opponent VARCHAR) Question: At what time did the opponent Takaichi Hirayama have an event? [/INST] SELECT time FROM table_name_83 WHERE opponent = "takaichi hirayama" </s> |
In which round was Gabriel Veiga the opponent? | CREATE TABLE table_name_42 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_42 WHERE opponent = "gabriel veiga" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (round VARCHAR, opponent VARCHAR) Question: In which round was Gabriel Veiga the opponent? [/INST] SELECT round FROM table_name_42 WHERE opponent = "gabriel veiga" </s> |
Which method had a 3 rounds, result in a loss and the Juiz de Fora - fight 1 event? | CREATE TABLE table_name_86 (method VARCHAR, event VARCHAR, round VARCHAR, res VARCHAR) | SELECT method FROM table_name_86 WHERE round = "3" AND res = "loss" AND event = "juiz de fora - fight 1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (method VARCHAR, event VARCHAR, round VARCHAR, res VARCHAR) Question: Which method had a 3 rounds, result in a loss and the Juiz de Fora - fight 1 event? [/INST] SELECT method FROM table_name_86 WH... |
Which opponent has a record of 4-2? | CREATE TABLE table_name_55 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_55 WHERE record = "4-2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (opponent VARCHAR, record VARCHAR) Question: Which opponent has a record of 4-2? [/INST] SELECT opponent FROM table_name_55 WHERE record = "4-2" </s> |
what is the country for zhang xiuyun? | CREATE TABLE table_name_91 (country VARCHAR, athlete VARCHAR) | SELECT country FROM table_name_91 WHERE athlete = "zhang xiuyun" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (country VARCHAR, athlete VARCHAR) Question: what is the country for zhang xiuyun? [/INST] SELECT country FROM table_name_91 WHERE athlete = "zhang xiuyun" </s> |
what is the country for fabiana beltrame? | CREATE TABLE table_name_56 (country VARCHAR, athlete VARCHAR) | SELECT country FROM table_name_56 WHERE athlete = "fabiana beltrame" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (country VARCHAR, athlete VARCHAR) Question: what is the country for fabiana beltrame? [/INST] SELECT country FROM table_name_56 WHERE athlete = "fabiana beltrame" </s> |
what is the notes when the time is 7:58.71? | CREATE TABLE table_name_44 (notes VARCHAR, time VARCHAR) | SELECT notes FROM table_name_44 WHERE time = "7:58.71" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (notes VARCHAR, time VARCHAR) Question: what is the notes when the time is 7:58.71? [/INST] SELECT notes FROM table_name_44 WHERE time = "7:58.71" </s> |
what is the highest rank when the time is 7:52.65? | CREATE TABLE table_name_73 (rank INTEGER, time VARCHAR) | SELECT MAX(rank) FROM table_name_73 WHERE time = "7:52.65" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (rank INTEGER, time VARCHAR) Question: what is the highest rank when the time is 7:52.65? [/INST] SELECT MAX(rank) FROM table_name_73 WHERE time = "7:52.65" </s> |
what is the country when the nots is sa/b, the rank is more than 1 and the athlete is zhang xiuyun? | CREATE TABLE table_name_55 (country VARCHAR, athlete VARCHAR, notes VARCHAR, rank VARCHAR) | SELECT country FROM table_name_55 WHERE notes = "sa/b" AND rank > 1 AND athlete = "zhang xiuyun" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (country VARCHAR, athlete VARCHAR, notes VARCHAR, rank VARCHAR) Question: what is the country when the nots is sa/b, the rank is more than 1 and the athlete is zhang xiuyun? [/INST] SELECT country ... |
Who had a rank under 17 with a total of 119? | CREATE TABLE table_name_30 (athlete VARCHAR, rank VARCHAR, total VARCHAR) | SELECT athlete FROM table_name_30 WHERE rank < 17 AND total = "119" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (athlete VARCHAR, rank VARCHAR, total VARCHAR) Question: Who had a rank under 17 with a total of 119? [/INST] SELECT athlete FROM table_name_30 WHERE rank < 17 AND total = "119" </s> |
What round has 2-1 as the result, and A as the venue? | CREATE TABLE table_name_2 (round VARCHAR, result VARCHAR, venue VARCHAR) | SELECT round FROM table_name_2 WHERE result = "2-1" AND venue = "a" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (round VARCHAR, result VARCHAR, venue VARCHAR) Question: What round has 2-1 as the result, and A as the venue? [/INST] SELECT round FROM table_name_2 WHERE result = "2-1" AND venue = "a" </s> |
What is the most time for the swimmer from South Africa who was in a lane greater than 3? | CREATE TABLE table_name_64 (time INTEGER, nationality VARCHAR, lane VARCHAR) | SELECT MAX(time) FROM table_name_64 WHERE nationality = "south africa" AND lane > 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (time INTEGER, nationality VARCHAR, lane VARCHAR) Question: What is the most time for the swimmer from South Africa who was in a lane greater than 3? [/INST] SELECT MAX(time) FROM table_name_64 WHE... |
Which school has enrollment of 887? | CREATE TABLE table_name_44 (school VARCHAR, enrollment VARCHAR) | SELECT school FROM table_name_44 WHERE enrollment = 887 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (school VARCHAR, enrollment VARCHAR) Question: Which school has enrollment of 887? [/INST] SELECT school FROM table_name_44 WHERE enrollment = 887 </s> |
what is the round when the pick # is less than 236 and the position is offensive guard? | CREATE TABLE table_name_64 (round INTEGER, pick__number VARCHAR, position VARCHAR) | SELECT AVG(round) FROM table_name_64 WHERE pick__number < 236 AND position = "offensive guard" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (round INTEGER, pick__number VARCHAR, position VARCHAR) Question: what is the round when the pick # is less than 236 and the position is offensive guard? [/INST] SELECT AVG(round) FROM table_name_6... |
what is the position in round 3? | CREATE TABLE table_name_9 (position VARCHAR, round VARCHAR) | SELECT position FROM table_name_9 WHERE round = 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (position VARCHAR, round VARCHAR) Question: what is the position in round 3? [/INST] SELECT position FROM table_name_9 WHERE round = 3 </s> |
What is the Position of the Pick 8 Player? | CREATE TABLE table_name_99 (position VARCHAR, pick VARCHAR) | SELECT position FROM table_name_99 WHERE pick = 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (position VARCHAR, pick VARCHAR) Question: What is the Position of the Pick 8 Player? [/INST] SELECT position FROM table_name_99 WHERE pick = 8 </s> |
Which High assists has a Score of w 71-56? | CREATE TABLE table_name_85 (high_assists VARCHAR, score VARCHAR) | SELECT high_assists FROM table_name_85 WHERE score = "w 71-56" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (high_assists VARCHAR, score VARCHAR) Question: Which High assists has a Score of w 71-56? [/INST] SELECT high_assists FROM table_name_85 WHERE score = "w 71-56" </s> |
Which Score has a High assists of whalen (5)? | CREATE TABLE table_name_40 (score VARCHAR, high_assists VARCHAR) | SELECT score FROM table_name_40 WHERE high_assists = "whalen (5)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (score VARCHAR, high_assists VARCHAR) Question: Which Score has a High assists of whalen (5)? [/INST] SELECT score FROM table_name_40 WHERE high_assists = "whalen (5)" </s> |
Which High rebounds has a Game smaller than 9, and a Opponent of detroit? | CREATE TABLE table_name_94 (high_rebounds VARCHAR, game VARCHAR, opponent VARCHAR) | SELECT high_rebounds FROM table_name_94 WHERE game < 9 AND opponent = "detroit" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (high_rebounds VARCHAR, game VARCHAR, opponent VARCHAR) Question: Which High rebounds has a Game smaller than 9, and a Opponent of detroit? [/INST] SELECT high_rebounds FROM table_name_94 WHERE gam... |
Which High rebounds has a Score of w 81-69? | CREATE TABLE table_name_62 (high_rebounds VARCHAR, score VARCHAR) | SELECT high_rebounds FROM table_name_62 WHERE score = "w 81-69" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (high_rebounds VARCHAR, score VARCHAR) Question: Which High rebounds has a Score of w 81-69? [/INST] SELECT high_rebounds FROM table_name_62 WHERE score = "w 81-69" </s> |
Which Surface has a Result of fernando verdasco? | CREATE TABLE table_name_10 (surface VARCHAR, result VARCHAR) | SELECT surface FROM table_name_10 WHERE result = "fernando verdasco" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (surface VARCHAR, result VARCHAR) Question: Which Surface has a Result of fernando verdasco? [/INST] SELECT surface FROM table_name_10 WHERE result = "fernando verdasco" </s> |
How many events did clay win? | CREATE TABLE table_name_42 (COUNT VARCHAR, winner VARCHAR) | SELECT NOT COUNT <> 0 AS event FROM table_name_42 WHERE winner = "clay" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (COUNT VARCHAR, winner VARCHAR) Question: How many events did clay win? [/INST] SELECT NOT COUNT <> 0 AS event FROM table_name_42 WHERE winner = "clay" </s> |
Which Surface has an Opponent of rafael nadal, and an Event of 2? | CREATE TABLE table_name_59 (surface VARCHAR, opponent VARCHAR, event VARCHAR) | SELECT surface FROM table_name_59 WHERE opponent = "rafael nadal" AND NOT event = 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (surface VARCHAR, opponent VARCHAR, event VARCHAR) Question: Which Surface has an Opponent of rafael nadal, and an Event of 2? [/INST] SELECT surface FROM table_name_59 WHERE opponent = "rafael nad... |
Who is iván navarro's opponent? | CREATE TABLE table_name_7 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_7 WHERE result = "iván navarro" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (opponent VARCHAR, result VARCHAR) Question: Who is iván navarro's opponent? [/INST] SELECT opponent FROM table_name_7 WHERE result = "iván navarro" </s> |
Which Event has a Surface of semifinal, and a Winner of hard (i)? | CREATE TABLE table_name_23 (MAX VARCHAR, surface VARCHAR, winner VARCHAR) | SELECT NOT MAX <> 0 AS event FROM table_name_23 WHERE surface = "semifinal" AND winner = "hard (i)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (MAX VARCHAR, surface VARCHAR, winner VARCHAR) Question: Which Event has a Surface of semifinal, and a Winner of hard (i)? [/INST] SELECT NOT MAX <> 0 AS event FROM table_name_23 WHERE surface = "s... |
Who was the leader at the summit earlier than 1956, when Carcassonne shows for finish? | CREATE TABLE table_name_82 (leader_at_the_summit VARCHAR, year VARCHAR, finish VARCHAR) | SELECT leader_at_the_summit FROM table_name_82 WHERE year < 1956 AND finish = "carcassonne" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (leader_at_the_summit VARCHAR, year VARCHAR, finish VARCHAR) Question: Who was the leader at the summit earlier than 1956, when Carcassonne shows for finish? [/INST] SELECT leader_at_the_summit FRO... |
What year was finish Toulouse, and stage was larger than 12? | CREATE TABLE table_name_90 (year INTEGER, finish VARCHAR, stage VARCHAR) | SELECT SUM(year) FROM table_name_90 WHERE finish = "toulouse" AND stage > 12 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (year INTEGER, finish VARCHAR, stage VARCHAR) Question: What year was finish Toulouse, and stage was larger than 12? [/INST] SELECT SUM(year) FROM table_name_90 WHERE finish = "toulouse" AND stage ... |
What is the highest stage number for a year later than 1948, leader at the summit was group, and finish was Bagnères-De-Bigorre? | CREATE TABLE table_name_36 (stage INTEGER, finish VARCHAR, year VARCHAR, leader_at_the_summit VARCHAR) | SELECT MAX(stage) FROM table_name_36 WHERE year > 1948 AND leader_at_the_summit = "group" AND finish = "bagnères-de-bigorre" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (stage INTEGER, finish VARCHAR, year VARCHAR, leader_at_the_summit VARCHAR) Question: What is the highest stage number for a year later than 1948, leader at the summit was group, and finish was Bag... |
which Vacator has a Reason for change of resigned november 10, 1965? | CREATE TABLE table_name_6 (vacator VARCHAR, reason_for_change VARCHAR) | SELECT vacator FROM table_name_6 WHERE reason_for_change = "resigned november 10, 1965" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (vacator VARCHAR, reason_for_change VARCHAR) Question: which Vacator has a Reason for change of resigned november 10, 1965? [/INST] SELECT vacator FROM table_name_6 WHERE reason_for_change = "resign... |
Which Reason has a State (class) of tennessee (2)? | CREATE TABLE table_name_54 (reason_for_change VARCHAR, state__class_ VARCHAR) | SELECT reason_for_change FROM table_name_54 WHERE state__class_ = "tennessee (2)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (reason_for_change VARCHAR, state__class_ VARCHAR) Question: Which Reason has a State (class) of tennessee (2)? [/INST] SELECT reason_for_change FROM table_name_54 WHERE state__class_ = "tennessee ... |
Which State (class) has a Successor of harry f. byrd, jr. (d)? Question | CREATE TABLE table_name_54 (state__class_ VARCHAR, successor VARCHAR) | SELECT state__class_ FROM table_name_54 WHERE successor = "harry f. byrd, jr. (d)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (state__class_ VARCHAR, successor VARCHAR) Question: Which State (class) has a Successor of harry f. byrd, jr. (d)? Question [/INST] SELECT state__class_ FROM table_name_54 WHERE successor = "harry... |
Which country has a Col (m) of 1374? | CREATE TABLE table_name_33 (country VARCHAR, col__m_ VARCHAR) | SELECT country FROM table_name_33 WHERE col__m_ = 1374 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (country VARCHAR, col__m_ VARCHAR) Question: Which country has a Col (m) of 1374? [/INST] SELECT country FROM table_name_33 WHERE col__m_ = 1374 </s> |
How many Games have Years at club of 1971–1974, and a Debut year larger than 1971? | CREATE TABLE table_name_94 (games INTEGER, years_at_club VARCHAR, debut_year VARCHAR) | SELECT SUM(games) FROM table_name_94 WHERE years_at_club = "1971–1974" AND debut_year > 1971 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (games INTEGER, years_at_club VARCHAR, debut_year VARCHAR) Question: How many Games have Years at club of 1971–1974, and a Debut year larger than 1971? [/INST] SELECT SUM(games) FROM table_name_94 ... |
Which Games have Years at club of 1974–1975, and Goals of 4? | CREATE TABLE table_name_89 (games INTEGER, years_at_club VARCHAR, goals VARCHAR) | SELECT AVG(games) FROM table_name_89 WHERE years_at_club = "1974–1975" AND goals = 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (games INTEGER, years_at_club VARCHAR, goals VARCHAR) Question: Which Games have Years at club of 1974–1975, and Goals of 4? [/INST] SELECT AVG(games) FROM table_name_89 WHERE years_at_club = "1974... |
Which Years at club have Games smaller than 7, and Goals larger than 2, and a Player of john frazer? | CREATE TABLE table_name_10 (years_at_club VARCHAR, player VARCHAR, games VARCHAR, goals VARCHAR) | SELECT years_at_club FROM table_name_10 WHERE games < 7 AND goals > 2 AND player = "john frazer" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (years_at_club VARCHAR, player VARCHAR, games VARCHAR, goals VARCHAR) Question: Which Years at club have Games smaller than 7, and Goals larger than 2, and a Player of john frazer? [/INST] SELECT y... |
Which Games have Years at club of 1977, and Goals of 17, and a Debut year smaller than 1977? | CREATE TABLE table_name_5 (games INTEGER, debut_year VARCHAR, years_at_club VARCHAR, goals VARCHAR) | SELECT AVG(games) FROM table_name_5 WHERE years_at_club = "1977" AND goals = 17 AND debut_year < 1977 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (games INTEGER, debut_year VARCHAR, years_at_club VARCHAR, goals VARCHAR) Question: Which Games have Years at club of 1977, and Goals of 17, and a Debut year smaller than 1977? [/INST] SELECT AVG(ga... |
Which Goals have Games smaller than 41, and a Player of mark amos? | CREATE TABLE table_name_57 (goals INTEGER, games VARCHAR, player VARCHAR) | SELECT MIN(goals) FROM table_name_57 WHERE games < 41 AND player = "mark amos" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (goals INTEGER, games VARCHAR, player VARCHAR) Question: Which Goals have Games smaller than 41, and a Player of mark amos? [/INST] SELECT MIN(goals) FROM table_name_57 WHERE games < 41 AND player ... |
What is Melaine Walker's Rank? | CREATE TABLE table_name_78 (rank INTEGER, name VARCHAR) | SELECT SUM(rank) FROM table_name_78 WHERE name = "melaine walker" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (rank INTEGER, name VARCHAR) Question: What is Melaine Walker's Rank? [/INST] SELECT SUM(rank) FROM table_name_78 WHERE name = "melaine walker" </s> |
What is the Name of the Player with a Rank of 23 or less, Heat of 4 and Result of 55.91? | CREATE TABLE table_name_84 (name VARCHAR, result VARCHAR, heat VARCHAR, rank VARCHAR) | SELECT name FROM table_name_84 WHERE heat = 4 AND rank < 23 AND result = "55.91" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (name VARCHAR, result VARCHAR, heat VARCHAR, rank VARCHAR) Question: What is the Name of the Player with a Rank of 23 or less, Heat of 4 and Result of 55.91? [/INST] SELECT name FROM table_name_84 ... |
What is the Heat of the Player with a Rank of 18 or less and Result of 55.15? | CREATE TABLE table_name_54 (heat VARCHAR, rank VARCHAR, result VARCHAR) | SELECT heat FROM table_name_54 WHERE rank < 18 AND result = "55.15" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (heat VARCHAR, rank VARCHAR, result VARCHAR) Question: What is the Heat of the Player with a Rank of 18 or less and Result of 55.15? [/INST] SELECT heat FROM table_name_54 WHERE rank < 18 AND resul... |
What is the quantity preserved for fleet number(s) 3000–3015? | CREATE TABLE table_name_11 (quantity_preserved VARCHAR, fleet_number_s_ VARCHAR) | SELECT quantity_preserved FROM table_name_11 WHERE fleet_number_s_ = "3000–3015" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (quantity_preserved VARCHAR, fleet_number_s_ VARCHAR) Question: What is the quantity preserved for fleet number(s) 3000–3015? [/INST] SELECT quantity_preserved FROM table_name_11 WHERE fleet_number... |
What manufacturer has a wheel arrangement of 4-6-6-4, and a Class of z-7? | CREATE TABLE table_name_34 (manufacturer VARCHAR, wheel_arrangement VARCHAR, class VARCHAR) | SELECT manufacturer FROM table_name_34 WHERE wheel_arrangement = "4-6-6-4" AND class = "z-7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (manufacturer VARCHAR, wheel_arrangement VARCHAR, class VARCHAR) Question: What manufacturer has a wheel arrangement of 4-6-6-4, and a Class of z-7? [/INST] SELECT manufacturer FROM table_name_34 W... |
What is the Year for fleet number 5000? | CREATE TABLE table_name_98 (year_made VARCHAR, fleet_number_s_ VARCHAR) | SELECT year_made FROM table_name_98 WHERE fleet_number_s_ = "5000" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (year_made VARCHAR, fleet_number_s_ VARCHAR) Question: What is the Year for fleet number 5000? [/INST] SELECT year_made FROM table_name_98 WHERE fleet_number_s_ = "5000" </s> |
What year made has a Quantity made of 4? | CREATE TABLE table_name_63 (year_made VARCHAR, quantity_made VARCHAR) | SELECT year_made FROM table_name_63 WHERE quantity_made = "4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (year_made VARCHAR, quantity_made VARCHAR) Question: What year made has a Quantity made of 4? [/INST] SELECT year_made FROM table_name_63 WHERE quantity_made = "4" </s> |
What is the quantity preserved for the serial number of mallet and simple articulated locomotives? | CREATE TABLE table_name_19 (quantity_preserved VARCHAR, serial_numbers VARCHAR) | SELECT quantity_preserved FROM table_name_19 WHERE serial_numbers = "mallet and simple articulated locomotives" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (quantity_preserved VARCHAR, serial_numbers VARCHAR) Question: What is the quantity preserved for the serial number of mallet and simple articulated locomotives? [/INST] SELECT quantity_preserved F... |
How many silver medals did Estonia, which won more than 1 gold and less than 97 medals total, win? | CREATE TABLE table_name_20 (silver VARCHAR, nation VARCHAR, gold VARCHAR, total VARCHAR) | SELECT silver FROM table_name_20 WHERE gold > 1 AND total < 97 AND nation = "estonia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (silver VARCHAR, nation VARCHAR, gold VARCHAR, total VARCHAR) Question: How many silver medals did Estonia, which won more than 1 gold and less than 97 medals total, win? [/INST] SELECT silver FROM... |
How many gold medals did Denmark win? | CREATE TABLE table_name_65 (gold INTEGER, nation VARCHAR) | SELECT MIN(gold) FROM table_name_65 WHERE nation = "denmark" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (gold INTEGER, nation VARCHAR) Question: How many gold medals did Denmark win? [/INST] SELECT MIN(gold) FROM table_name_65 WHERE nation = "denmark" </s> |
What is the total number of gold medals won among nations that won more than 27 bronze and less than 305 medals total? | CREATE TABLE table_name_59 (gold VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT COUNT(gold) FROM table_name_59 WHERE bronze > 27 AND total < 305 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (gold VARCHAR, bronze VARCHAR, total VARCHAR) Question: What is the total number of gold medals won among nations that won more than 27 bronze and less than 305 medals total? [/INST] SELECT COUNT(g... |
How many gold medals were won by the nation that won over 4 silver medals, over 14 bronze, and 97 medals total? | CREATE TABLE table_name_88 (gold VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT COUNT(gold) FROM table_name_88 WHERE silver > 4 AND bronze > 14 AND total = 97 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (gold VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR) Question: How many gold medals were won by the nation that won over 4 silver medals, over 14 bronze, and 97 medals total? [/INST] SELEC... |
What is the highest championship that has 1 as the league cup, and 17 as the total? | CREATE TABLE table_name_85 (championship INTEGER, league_cup VARCHAR, total VARCHAR) | SELECT MAX(championship) FROM table_name_85 WHERE league_cup = 1 AND total = "17" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (championship INTEGER, league_cup VARCHAR, total VARCHAR) Question: What is the highest championship that has 1 as the league cup, and 17 as the total? [/INST] SELECT MAX(championship) FROM table_n... |
How many league cups have an FA Cup less than 0? | CREATE TABLE table_name_70 (league_cup VARCHAR, fa_cup INTEGER) | SELECT COUNT(league_cup) FROM table_name_70 WHERE fa_cup < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (league_cup VARCHAR, fa_cup INTEGER) Question: How many league cups have an FA Cup less than 0? [/INST] SELECT COUNT(league_cup) FROM table_name_70 WHERE fa_cup < 0 </s> |
What is the average rank of west germany (frg), which has more than 1 silver, less than 11 gold, and 2 bronze medals? | CREATE TABLE table_name_48 (rank INTEGER, nation VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT AVG(rank) FROM table_name_48 WHERE silver > 1 AND gold < 11 AND bronze = 2 AND nation = "west germany (frg)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (rank INTEGER, nation VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR) Question: What is the average rank of west germany (frg), which has more than 1 silver, less than 11 gold, and 2 bronze ... |
What's the date when Yelena Isinbayeva for Russia was in Beijing, China? | CREATE TABLE table_name_82 (date VARCHAR, athlete VARCHAR, nation VARCHAR, place VARCHAR) | SELECT date FROM table_name_82 WHERE nation = "russia" AND place = "beijing, china" AND athlete = "yelena isinbayeva" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (date VARCHAR, athlete VARCHAR, nation VARCHAR, place VARCHAR) Question: What's the date when Yelena Isinbayeva for Russia was in Beijing, China? [/INST] SELECT date FROM table_name_82 WHERE nation... |
What's the performance of Dire Tune? | CREATE TABLE table_name_89 (performance VARCHAR, athlete VARCHAR) | SELECT performance FROM table_name_89 WHERE athlete = "dire tune" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (performance VARCHAR, athlete VARCHAR) Question: What's the performance of Dire Tune? [/INST] SELECT performance FROM table_name_89 WHERE athlete = "dire tune" </s> |
What place had 14:11.15 as the performance? | CREATE TABLE table_name_33 (place VARCHAR, performance VARCHAR) | SELECT place FROM table_name_33 WHERE performance = "14:11.15" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (place VARCHAR, performance VARCHAR) Question: What place had 14:11.15 as the performance? [/INST] SELECT place FROM table_name_33 WHERE performance = "14:11.15" </s> |
What's the event that had a performance of 14:11.15 by Ethiopia? | CREATE TABLE table_name_51 (event VARCHAR, nation VARCHAR, performance VARCHAR) | SELECT event FROM table_name_51 WHERE nation = "ethiopia" AND performance = "14:11.15" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (event VARCHAR, nation VARCHAR, performance VARCHAR) Question: What's the event that had a performance of 14:11.15 by Ethiopia? [/INST] SELECT event FROM table_name_51 WHERE nation = "ethiopia" AND... |
What was the position of the player picked after 94, by the Boston Patriots? | CREATE TABLE table_name_96 (position VARCHAR, pick VARCHAR, team VARCHAR) | SELECT position FROM table_name_96 WHERE pick > 94 AND team = "boston patriots" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (position VARCHAR, pick VARCHAR, team VARCHAR) Question: What was the position of the player picked after 94, by the Boston Patriots? [/INST] SELECT position FROM table_name_96 WHERE pick > 94 AND ... |
What college had the 93 pick? | CREATE TABLE table_name_50 (college VARCHAR, pick VARCHAR) | SELECT college FROM table_name_50 WHERE pick = 93 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (college VARCHAR, pick VARCHAR) Question: What college had the 93 pick? [/INST] SELECT college FROM table_name_50 WHERE pick = 93 </s> |
What venue has euro 2004 q. as the competition? | CREATE TABLE table_name_60 (venue VARCHAR, competition VARCHAR) | SELECT venue FROM table_name_60 WHERE competition = "euro 2004 q." | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (venue VARCHAR, competition VARCHAR) Question: What venue has euro 2004 q. as the competition? [/INST] SELECT venue FROM table_name_60 WHERE competition = "euro 2004 q." </s> |
What county is Whiteland Community School in? | CREATE TABLE table_name_72 (county VARCHAR, school VARCHAR) | SELECT county FROM table_name_72 WHERE school = "whiteland community" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (county VARCHAR, school VARCHAR) Question: What county is Whiteland Community School in? [/INST] SELECT county FROM table_name_72 WHERE school = "whiteland community" </s> |
What county has a football team in IHSAA class AAAAA and a school macot of the Grizzly Cubs? | CREATE TABLE table_name_25 (county VARCHAR, ihsaa_football_class VARCHAR, mascot VARCHAR) | SELECT county FROM table_name_25 WHERE ihsaa_football_class = "aaaaa" AND mascot = "grizzly cubs" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (county VARCHAR, ihsaa_football_class VARCHAR, mascot VARCHAR) Question: What county has a football team in IHSAA class AAAAA and a school macot of the Grizzly Cubs? [/INST] SELECT county FROM tabl... |
What county has a school mascot of the Pioneers? | CREATE TABLE table_name_71 (county VARCHAR, mascot VARCHAR) | SELECT county FROM table_name_71 WHERE mascot = "pioneers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (county VARCHAR, mascot VARCHAR) Question: What county has a school mascot of the Pioneers? [/INST] SELECT county FROM table_name_71 WHERE mascot = "pioneers" </s> |
What are the IHSAA classes of the Indianapolis schools? | CREATE TABLE table_name_34 (ihsaa_class VARCHAR, location VARCHAR) | SELECT ihsaa_class FROM table_name_34 WHERE location = "indianapolis" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (ihsaa_class VARCHAR, location VARCHAR) Question: What are the IHSAA classes of the Indianapolis schools? [/INST] SELECT ihsaa_class FROM table_name_34 WHERE location = "indianapolis" </s> |
Which Song has Points smaller than 53, and a Place larger than 8, and a Draw larger than 1? | CREATE TABLE table_name_52 (song VARCHAR, draw VARCHAR, points VARCHAR, place VARCHAR) | SELECT song FROM table_name_52 WHERE points < 53 AND place > 8 AND draw > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (song VARCHAR, draw VARCHAR, points VARCHAR, place VARCHAR) Question: Which Song has Points smaller than 53, and a Place larger than 8, and a Draw larger than 1? [/INST] SELECT song FROM table_name... |
What is the result for the Green-Communist party when the Left Bloc has 3.6%? | CREATE TABLE table_name_64 (green_communist VARCHAR, left_bloc VARCHAR) | SELECT green_communist FROM table_name_64 WHERE left_bloc = "3.6%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (green_communist VARCHAR, left_bloc VARCHAR) Question: What is the result for the Green-Communist party when the Left Bloc has 3.6%? [/INST] SELECT green_communist FROM table_name_64 WHERE left_blo... |
What is the result for the Green-Communist party when the Left Bloc has 3.0%? | CREATE TABLE table_name_87 (green_communist VARCHAR, left_bloc VARCHAR) | SELECT green_communist FROM table_name_87 WHERE left_bloc = "3.0%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (green_communist VARCHAR, left_bloc VARCHAR) Question: What is the result for the Green-Communist party when the Left Bloc has 3.0%? [/INST] SELECT green_communist FROM table_name_87 WHERE left_blo... |
What is the date released when the Left Bloc had 3.2%? | CREATE TABLE table_name_35 (date_released VARCHAR, left_bloc VARCHAR) | SELECT date_released FROM table_name_35 WHERE left_bloc = "3.2%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (date_released VARCHAR, left_bloc VARCHAR) Question: What is the date released when the Left Bloc had 3.2%? [/INST] SELECT date_released FROM table_name_35 WHERE left_bloc = "3.2%" </s> |
What is the cardinalatial order of the elector elevated circa 1116? | CREATE TABLE table_name_26 (cardinalatial_order_and_title VARCHAR, elevated VARCHAR) | SELECT cardinalatial_order_and_title FROM table_name_26 WHERE elevated = "circa 1116" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (cardinalatial_order_and_title VARCHAR, elevated VARCHAR) Question: What is the cardinalatial order of the elector elevated circa 1116? [/INST] SELECT cardinalatial_order_and_title FROM table_name_... |
When was the elector from pisa elevated? | CREATE TABLE table_name_13 (elevated VARCHAR, nationality VARCHAR) | SELECT elevated FROM table_name_13 WHERE nationality = "pisa" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (elevated VARCHAR, nationality VARCHAR) Question: When was the elector from pisa elevated? [/INST] SELECT elevated FROM table_name_13 WHERE nationality = "pisa" </s> |
What is the cardinalatial order and title of bosone? | CREATE TABLE table_name_92 (cardinalatial_order_and_title VARCHAR, elector VARCHAR) | SELECT cardinalatial_order_and_title FROM table_name_92 WHERE elector = "bosone" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (cardinalatial_order_and_title VARCHAR, elector VARCHAR) Question: What is the cardinalatial order and title of bosone? [/INST] SELECT cardinalatial_order_and_title FROM table_name_92 WHERE elector... |
Who is the elevator from crema? | CREATE TABLE table_name_83 (elevator VARCHAR, nationality VARCHAR) | SELECT elevator FROM table_name_83 WHERE nationality = "crema" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (elevator VARCHAR, nationality VARCHAR) Question: Who is the elevator from crema? [/INST] SELECT elevator FROM table_name_83 WHERE nationality = "crema" </s> |
What is the name of the swimmer from Australia in lane 4 with a heat larger than 4? | CREATE TABLE table_name_16 (name VARCHAR, nationality VARCHAR, heat VARCHAR, lane VARCHAR) | SELECT name FROM table_name_16 WHERE heat > 4 AND lane = 4 AND nationality = "australia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (name VARCHAR, nationality VARCHAR, heat VARCHAR, lane VARCHAR) Question: What is the name of the swimmer from Australia in lane 4 with a heat larger than 4? [/INST] SELECT name FROM table_name_16 ... |
What is the lowest heat number for a swimmer with a time of 2:34.94? | CREATE TABLE table_name_5 (heat INTEGER, time VARCHAR) | SELECT MIN(heat) FROM table_name_5 WHERE time = "2:34.94" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (heat INTEGER, time VARCHAR) Question: What is the lowest heat number for a swimmer with a time of 2:34.94? [/INST] SELECT MIN(heat) FROM table_name_5 WHERE time = "2:34.94" </s> |
What is the rank of the player from Ukraine with react less than 0.26? | CREATE TABLE table_name_29 (rank VARCHAR, nationality VARCHAR, react VARCHAR) | SELECT COUNT(rank) FROM table_name_29 WHERE nationality = "ukraine" AND react < 0.26 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (rank VARCHAR, nationality VARCHAR, react VARCHAR) Question: What is the rank of the player from Ukraine with react less than 0.26? [/INST] SELECT COUNT(rank) FROM table_name_29 WHERE nationality =... |
What was the highest week with a w 21-17 result, and more than 45,254 in attendance? | CREATE TABLE table_name_81 (week INTEGER, result VARCHAR, attendance VARCHAR) | SELECT MAX(week) FROM table_name_81 WHERE result = "w 21-17" AND attendance > 45 OFFSET 254 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (week INTEGER, result VARCHAR, attendance VARCHAR) Question: What was the highest week with a w 21-17 result, and more than 45,254 in attendance? [/INST] SELECT MAX(week) FROM table_name_81 WHERE r... |
What's the Proto-Germanic when the Old English is /d/? | CREATE TABLE table_name_3 (proto_germanic VARCHAR, old_english VARCHAR) | SELECT proto_germanic FROM table_name_3 WHERE old_english = "/d/" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (proto_germanic VARCHAR, old_english VARCHAR) Question: What's the Proto-Germanic when the Old English is /d/? [/INST] SELECT proto_germanic FROM table_name_3 WHERE old_english = "/d/" </s> |
What's the Proto Germanic when then German is /s/ or /ts/? | CREATE TABLE table_name_41 (proto_germanic VARCHAR, german VARCHAR) | SELECT proto_germanic FROM table_name_41 WHERE german = "/s/ or /ts/" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (proto_germanic VARCHAR, german VARCHAR) Question: What's the Proto Germanic when then German is /s/ or /ts/? [/INST] SELECT proto_germanic FROM table_name_41 WHERE german = "/s/ or /ts/" </s> |
What's the Dutch when then Old English is /d/? | CREATE TABLE table_name_66 (dutch VARCHAR, old_english VARCHAR) | SELECT dutch FROM table_name_66 WHERE old_english = "/d/" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (dutch VARCHAR, old_english VARCHAR) Question: What's the Dutch when then Old English is /d/? [/INST] SELECT dutch FROM table_name_66 WHERE old_english = "/d/" </s> |
What's the West Germanic when the German is /s/ or /ts/? | CREATE TABLE table_name_90 (west_germanic VARCHAR, german VARCHAR) | SELECT west_germanic FROM table_name_90 WHERE german = "/s/ or /ts/" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (west_germanic VARCHAR, german VARCHAR) Question: What's the West Germanic when the German is /s/ or /ts/? [/INST] SELECT west_germanic FROM table_name_90 WHERE german = "/s/ or /ts/" </s> |
What's the Proto-Germanic when the German is /t/? | CREATE TABLE table_name_48 (proto_germanic VARCHAR, german VARCHAR) | SELECT proto_germanic FROM table_name_48 WHERE german = "/t/" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (proto_germanic VARCHAR, german VARCHAR) Question: What's the Proto-Germanic when the German is /t/? [/INST] SELECT proto_germanic FROM table_name_48 WHERE german = "/t/" </s> |
What is the to par for japan | CREATE TABLE table_name_49 (to_par VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_49 WHERE country = "japan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (to_par VARCHAR, country VARCHAR) Question: What is the to par for japan [/INST] SELECT to_par FROM table_name_49 WHERE country = "japan" </s> |
what player has $187,500 and score 66-75-71-69=281 | CREATE TABLE table_name_4 (player VARCHAR, money___$__ VARCHAR, score VARCHAR) | SELECT player FROM table_name_4 WHERE money___$__ = "187,500" AND score = 66 - 75 - 71 - 69 = 281 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (player VARCHAR, money___$__ VARCHAR, score VARCHAR) Question: what player has $187,500 and score 66-75-71-69=281 [/INST] SELECT player FROM table_name_4 WHERE money___$__ = "187,500" AND score = 66... |
what place has score 66-74-68-73=281 | CREATE TABLE table_name_74 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_74 WHERE score = 66 - 74 - 68 - 73 = 281 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (place VARCHAR, score VARCHAR) Question: what place has score 66-74-68-73=281 [/INST] SELECT place FROM table_name_74 WHERE score = 66 - 74 - 68 - 73 = 281 </s> |
what player has place t10 | CREATE TABLE table_name_37 (player VARCHAR, place VARCHAR) | SELECT player FROM table_name_37 WHERE place = "t10" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (player VARCHAR, place VARCHAR) Question: what player has place t10 [/INST] SELECT player FROM table_name_37 WHERE place = "t10" </s> |
what is the to par for $242,813 with score 68-72-74-66=280 | CREATE TABLE table_name_83 (to_par VARCHAR, money___$__ VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_83 WHERE money___$__ = "242,813" AND score = 68 - 72 - 74 - 66 = 280 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (to_par VARCHAR, money___$__ VARCHAR, score VARCHAR) Question: what is the to par for $242,813 with score 68-72-74-66=280 [/INST] SELECT to_par FROM table_name_83 WHERE money___$__ = "242,813" AND ... |
Which School has a Size larger than 408, and a Mascot of pacers? | CREATE TABLE table_name_59 (school VARCHAR, size VARCHAR, mascot VARCHAR) | SELECT school FROM table_name_59 WHERE size > 408 AND mascot = "pacers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (school VARCHAR, size VARCHAR, mascot VARCHAR) Question: Which School has a Size larger than 408, and a Mascot of pacers? [/INST] SELECT school FROM table_name_59 WHERE size > 408 AND mascot = "pac... |
Which Size has an IHSAA Class of aa, and a Location of milan? | CREATE TABLE table_name_76 (size INTEGER, ihsaa_class VARCHAR, location VARCHAR) | SELECT SUM(size) FROM table_name_76 WHERE ihsaa_class = "aa" AND location = "milan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (size INTEGER, ihsaa_class VARCHAR, location VARCHAR) Question: Which Size has an IHSAA Class of aa, and a Location of milan? [/INST] SELECT SUM(size) FROM table_name_76 WHERE ihsaa_class = "aa" AN... |
Which County has a Mascot of pacers? | CREATE TABLE table_name_36 (county VARCHAR, mascot VARCHAR) | SELECT county FROM table_name_36 WHERE mascot = "pacers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (county VARCHAR, mascot VARCHAR) Question: Which County has a Mascot of pacers? [/INST] SELECT county FROM table_name_36 WHERE mascot = "pacers" </s> |
Which Mascot has a County of 69 ripley, and an IHSAA Class of aa, and a School of south ripley? | CREATE TABLE table_name_30 (mascot VARCHAR, school VARCHAR, county VARCHAR, ihsaa_class VARCHAR) | SELECT mascot FROM table_name_30 WHERE county = "69 ripley" AND ihsaa_class = "aa" AND school = "south ripley" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (mascot VARCHAR, school VARCHAR, county VARCHAR, ihsaa_class VARCHAR) Question: Which Mascot has a County of 69 ripley, and an IHSAA Class of aa, and a School of south ripley? [/INST] SELECT mascot... |
Who was in Lane 5 and had a heat of 7? | CREATE TABLE table_name_32 (name VARCHAR, heat VARCHAR, lane VARCHAR) | SELECT name FROM table_name_32 WHERE heat = 7 AND lane = 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (name VARCHAR, heat VARCHAR, lane VARCHAR) Question: Who was in Lane 5 and had a heat of 7? [/INST] SELECT name FROM table_name_32 WHERE heat = 7 AND lane = 5 </s> |
What lane number was Hungary and had a heat of 4? | CREATE TABLE table_name_22 (lane VARCHAR, heat VARCHAR, nationality VARCHAR) | SELECT COUNT(lane) FROM table_name_22 WHERE heat = 4 AND nationality = "hungary" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (lane VARCHAR, heat VARCHAR, nationality VARCHAR) Question: What lane number was Hungary and had a heat of 4? [/INST] SELECT COUNT(lane) FROM table_name_22 WHERE heat = 4 AND nationality = "hungary... |
What's the date when the score was 690.3? | CREATE TABLE table_name_77 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_77 WHERE score = "690.3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (date VARCHAR, score VARCHAR) Question: What's the date when the score was 690.3? [/INST] SELECT date FROM table_name_77 WHERE score = "690.3" </s> |
What's the place of 1989 with a comp of ECH? | CREATE TABLE table_name_94 (place VARCHAR, comp VARCHAR, date VARCHAR) | SELECT place FROM table_name_94 WHERE comp = "ech" AND date = "1989" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (place VARCHAR, comp VARCHAR, date VARCHAR) Question: What's the place of 1989 with a comp of ECH? [/INST] SELECT place FROM table_name_94 WHERE comp = "ech" AND date = "1989" </s> |
Who was the shooter with a score of 686.4? | CREATE TABLE table_name_59 (shooter VARCHAR, score VARCHAR) | SELECT shooter FROM table_name_59 WHERE score = "686.4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (shooter VARCHAR, score VARCHAR) Question: Who was the shooter with a score of 686.4? [/INST] SELECT shooter FROM table_name_59 WHERE score = "686.4" </s> |
what is the year for borderlands 2? | CREATE TABLE table_name_81 (year VARCHAR, game VARCHAR) | SELECT year FROM table_name_81 WHERE game = "borderlands 2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (year VARCHAR, game VARCHAR) Question: what is the year for borderlands 2? [/INST] SELECT year FROM table_name_81 WHERE game = "borderlands 2" </s> |
what is the year for the game dead space 2? | CREATE TABLE table_name_53 (year VARCHAR, game VARCHAR) | SELECT year FROM table_name_53 WHERE game = "dead space 2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (year VARCHAR, game VARCHAR) Question: what is the year for the game dead space 2? [/INST] SELECT year FROM table_name_53 WHERE game = "dead space 2" </s> |
who is the developers for demon's souls? | CREATE TABLE table_name_8 (developer_s_ VARCHAR, game VARCHAR) | SELECT developer_s_ FROM table_name_8 WHERE game = "demon's souls" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (developer_s_ VARCHAR, game VARCHAR) Question: who is the developers for demon's souls? [/INST] SELECT developer_s_ FROM table_name_8 WHERE game = "demon's souls" </s> |
In what year is Zaxxon the Standalone? | CREATE TABLE table_name_88 (year VARCHAR, standalone VARCHAR) | SELECT year FROM table_name_88 WHERE standalone = "zaxxon" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (year VARCHAR, standalone VARCHAR) Question: In what year is Zaxxon the Standalone? [/INST] SELECT year FROM table_name_88 WHERE standalone = "zaxxon" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.