instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
Which Date has a Score of 0–3, and a Set 2 of 16–25? | CREATE TABLE table_name_49 (date VARCHAR, score VARCHAR, set_2 VARCHAR) | SELECT date FROM table_name_49 WHERE score = "0–3" AND set_2 = "16–25" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (date VARCHAR, score VARCHAR, set_2 VARCHAR) Question: Which Date has a Score of 0–3, and a Set 2 of 16–25? [/INST] SELECT date FROM table_name_49 WHERE score = "0–3" AND set_2 = "16–25" </s> |
Which Total has a Set 2 of 19–25? | CREATE TABLE table_name_60 (total VARCHAR, set_2 VARCHAR) | SELECT total FROM table_name_60 WHERE set_2 = "19–25" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (total VARCHAR, set_2 VARCHAR) Question: Which Total has a Set 2 of 19–25? [/INST] SELECT total FROM table_name_60 WHERE set_2 = "19–25" </s> |
Which Score has a Set 2 of 25–17, and a Time of 16:00? | CREATE TABLE table_name_9 (score VARCHAR, set_2 VARCHAR, time VARCHAR) | SELECT score FROM table_name_9 WHERE set_2 = "25–17" AND time = "16:00" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (score VARCHAR, set_2 VARCHAR, time VARCHAR) Question: Which Score has a Set 2 of 25–17, and a Time of 16:00? [/INST] SELECT score FROM table_name_9 WHERE set_2 = "25–17" AND time = "16:00" </s> |
Which Set 1 has a Time of 14:00, and a Set 3 of 19–25? | CREATE TABLE table_name_22 (set_1 VARCHAR, time VARCHAR, set_3 VARCHAR) | SELECT set_1 FROM table_name_22 WHERE time = "14:00" AND set_3 = "19–25" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (set_1 VARCHAR, time VARCHAR, set_3 VARCHAR) Question: Which Set 1 has a Time of 14:00, and a Set 3 of 19–25? [/INST] SELECT set_1 FROM table_name_22 WHERE time = "14:00" AND set_3 = "19–25" </s> |
Which Time has a Set 3 of 24–26, and a Score of 0–3? | CREATE TABLE table_name_68 (time VARCHAR, set_3 VARCHAR, score VARCHAR) | SELECT time FROM table_name_68 WHERE set_3 = "24–26" AND score = "0–3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (time VARCHAR, set_3 VARCHAR, score VARCHAR) Question: Which Time has a Set 3 of 24–26, and a Score of 0–3? [/INST] SELECT time FROM table_name_68 WHERE set_3 = "24–26" AND score = "0–3" </s> |
What was the attendance when Nuneaton Borough was the home team? | CREATE TABLE table_name_44 (attendance VARCHAR, home_team VARCHAR) | SELECT attendance FROM table_name_44 WHERE home_team = "nuneaton borough" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (attendance VARCHAR, home_team VARCHAR) Question: What was the attendance when Nuneaton Borough was the home team? [/INST] SELECT attendance FROM table_name_44 WHERE home_team = "nuneaton borough" ... |
What's the site of the recap at qualcomm stadium? | CREATE TABLE table_name_81 (nflcom_recap VARCHAR, game_site VARCHAR) | SELECT nflcom_recap FROM table_name_81 WHERE game_site = "qualcomm stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (nflcom_recap VARCHAR, game_site VARCHAR) Question: What's the site of the recap at qualcomm stadium? [/INST] SELECT nflcom_recap FROM table_name_81 WHERE game_site = "qualcomm stadium" </s> |
What is the name of the race in Cleveland, Ohio? | CREATE TABLE table_name_65 (race_name VARCHAR, city_location VARCHAR) | SELECT race_name FROM table_name_65 WHERE city_location = "cleveland, ohio" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (race_name VARCHAR, city_location VARCHAR) Question: What is the name of the race in Cleveland, Ohio? [/INST] SELECT race_name FROM table_name_65 WHERE city_location = "cleveland, ohio" </s> |
Which circuit did Michael Andretti win? | CREATE TABLE table_name_66 (circuit VARCHAR, winning_driver VARCHAR) | SELECT circuit FROM table_name_66 WHERE winning_driver = "michael andretti" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (circuit VARCHAR, winning_driver VARCHAR) Question: Which circuit did Michael Andretti win? [/INST] SELECT circuit FROM table_name_66 WHERE winning_driver = "michael andretti" </s> |
Who was the winning team at the Homestead-Miami Speedway? | CREATE TABLE table_name_74 (winning_team VARCHAR, circuit VARCHAR) | SELECT winning_team FROM table_name_74 WHERE circuit = "homestead-miami speedway" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (winning_team VARCHAR, circuit VARCHAR) Question: Who was the winning team at the Homestead-Miami Speedway? [/INST] SELECT winning_team FROM table_name_74 WHERE circuit = "homestead-miami speedway"... |
What was Jimmy Vasser's fastest lap? | CREATE TABLE table_name_32 (fastest_lap VARCHAR, winning_driver VARCHAR) | SELECT fastest_lap FROM table_name_32 WHERE winning_driver = "jimmy vasser" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (fastest_lap VARCHAR, winning_driver VARCHAR) Question: What was Jimmy Vasser's fastest lap? [/INST] SELECT fastest_lap FROM table_name_32 WHERE winning_driver = "jimmy vasser" </s> |
Which Spanish voice actor does the same character as French voice actor Véronique Desmadryl? | CREATE TABLE table_name_4 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR) | SELECT spanish_voice_actor FROM table_name_4 WHERE french_voice_actor = "véronique desmadryl" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR) Question: Which Spanish voice actor does the same character as French voice actor Véronique Desmadryl? [/INST] SELECT spanish_voice_actor FR... |
Which Spanish voice actor does the same character as French voice actor Dennis Boileau? | CREATE TABLE table_name_61 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR) | SELECT spanish_voice_actor FROM table_name_61 WHERE french_voice_actor = "dennis boileau" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR) Question: Which Spanish voice actor does the same character as French voice actor Dennis Boileau? [/INST] SELECT spanish_voice_actor FROM t... |
Which Spanish voice actor does the same character as French voice actor Véronique Desmadryl? | CREATE TABLE table_name_36 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR) | SELECT spanish_voice_actor FROM table_name_36 WHERE french_voice_actor = "véronique desmadryl" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR) Question: Which Spanish voice actor does the same character as French voice actor Véronique Desmadryl? [/INST] SELECT spanish_voice_actor F... |
What character does German voice actor Dirk Fenselau play? | CREATE TABLE table_name_63 (character VARCHAR, german_voice_actor VARCHAR) | SELECT character FROM table_name_63 WHERE german_voice_actor = "dirk fenselau" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (character VARCHAR, german_voice_actor VARCHAR) Question: What character does German voice actor Dirk Fenselau play? [/INST] SELECT character FROM table_name_63 WHERE german_voice_actor = "dirk fen... |
What character does Italian voice actor Emanuela Damasio play? | CREATE TABLE table_name_48 (character VARCHAR, italian_voice_actor VARCHAR) | SELECT character FROM table_name_48 WHERE italian_voice_actor = "emanuela damasio" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (character VARCHAR, italian_voice_actor VARCHAR) Question: What character does Italian voice actor Emanuela Damasio play? [/INST] SELECT character FROM table_name_48 WHERE italian_voice_actor = "em... |
Which character has a French voice actor of Marc Saez and a German voice actor of Dirk Fenselau? | CREATE TABLE table_name_70 (character VARCHAR, french_voice_actor VARCHAR, german_voice_actor VARCHAR) | SELECT character FROM table_name_70 WHERE french_voice_actor = "marc saez" AND german_voice_actor = "dirk fenselau" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (character VARCHAR, french_voice_actor VARCHAR, german_voice_actor VARCHAR) Question: Which character has a French voice actor of Marc Saez and a German voice actor of Dirk Fenselau? [/INST] SELECT... |
Jeff Staples player for which College, Junior or Club league? | CREATE TABLE table_name_28 (college_junior_club_team__league_ VARCHAR, player VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_28 WHERE player = "jeff staples" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (college_junior_club_team__league_ VARCHAR, player VARCHAR) Question: Jeff Staples player for which College, Junior or Club league? [/INST] SELECT college_junior_club_team__league_ FROM table_name_... |
Ken Hemenway is in which Round? | CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR) | SELECT round FROM table_name_23 WHERE player = "ken hemenway" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR) Question: Ken Hemenway is in which Round? [/INST] SELECT round FROM table_name_23 WHERE player = "ken hemenway" </s> |
Which Nation does e.j. bradley play for? | CREATE TABLE table_name_99 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_99 WHERE player = "e.j. bradley" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (nationality VARCHAR, player VARCHAR) Question: Which Nation does e.j. bradley play for? [/INST] SELECT nationality FROM table_name_99 WHERE player = "e.j. bradley" </s> |
Mike Crowley plays defense for league? | CREATE TABLE table_name_86 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_86 WHERE position = "defense" AND player = "mike crowley" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR) Question: Mike Crowley plays defense for league? [/INST] SELECT college_junior_club_team__league_ FROM table_name_86 WH... |
Name the most games with drawn more than 1 | CREATE TABLE table_name_69 (games INTEGER, drawn INTEGER) | SELECT MAX(games) FROM table_name_69 WHERE drawn > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (games INTEGER, drawn INTEGER) Question: Name the most games with drawn more than 1 [/INST] SELECT MAX(games) FROM table_name_69 WHERE drawn > 1 </s> |
Name the most points with lost of 2 and games more than 7 | CREATE TABLE table_name_74 (points INTEGER, lost VARCHAR, games VARCHAR) | SELECT MAX(points) FROM table_name_74 WHERE lost = 2 AND games > 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (points INTEGER, lost VARCHAR, games VARCHAR) Question: Name the most points with lost of 2 and games more than 7 [/INST] SELECT MAX(points) FROM table_name_74 WHERE lost = 2 AND games > 7 </s> |
What number did Moño Negro peak at before 1996? | CREATE TABLE table_name_81 (peak INTEGER, track VARCHAR, year VARCHAR) | SELECT MAX(peak) FROM table_name_81 WHERE track = "moño negro" AND year < 1996 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (peak INTEGER, track VARCHAR, year VARCHAR) Question: What number did Moño Negro peak at before 1996? [/INST] SELECT MAX(peak) FROM table_name_81 WHERE track = "moño negro" AND year < 1996 </s> |
What was the startup year for the project with apache energy/inpex as the operator? | CREATE TABLE table_name_41 (year_startup VARCHAR, operator VARCHAR) | SELECT year_startup FROM table_name_41 WHERE operator = "apache energy/inpex" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (year_startup VARCHAR, operator VARCHAR) Question: What was the startup year for the project with apache energy/inpex as the operator? [/INST] SELECT year_startup FROM table_name_41 WHERE operator ... |
What was the startup year for the Jackpine Mine (ph 2) project with an albian sands operator? | CREATE TABLE table_name_18 (year_startup VARCHAR, operator VARCHAR, project_name VARCHAR) | SELECT year_startup FROM table_name_18 WHERE operator = "albian sands" AND project_name = "jackpine mine (ph 2)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (year_startup VARCHAR, operator VARCHAR, project_name VARCHAR) Question: What was the startup year for the Jackpine Mine (ph 2) project with an albian sands operator? [/INST] SELECT year_startup FR... |
What was the startup year for the project with a nioc operator? | CREATE TABLE table_name_89 (year_startup VARCHAR, operator VARCHAR) | SELECT year_startup FROM table_name_89 WHERE operator = "nioc" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (year_startup VARCHAR, operator VARCHAR) Question: What was the startup year for the project with a nioc operator? [/INST] SELECT year_startup FROM table_name_89 WHERE operator = "nioc" </s> |
What was the name of the project that peaked at 40 and was in the USA? | CREATE TABLE table_name_38 (project_name VARCHAR, peak VARCHAR, country VARCHAR) | SELECT project_name FROM table_name_38 WHERE peak = "40" AND country = "usa" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (project_name VARCHAR, peak VARCHAR, country VARCHAR) Question: What was the name of the project that peaked at 40 and was in the USA? [/INST] SELECT project_name FROM table_name_38 WHERE peak = "4... |
What country did the project, Bonga SW; Aparo with a shell operator take place? | CREATE TABLE table_name_53 (country VARCHAR, operator VARCHAR, project_name VARCHAR) | SELECT country FROM table_name_53 WHERE operator = "shell" AND project_name = "bonga sw; aparo" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (country VARCHAR, operator VARCHAR, project_name VARCHAR) Question: What country did the project, Bonga SW; Aparo with a shell operator take place? [/INST] SELECT country FROM table_name_53 WHERE o... |
What is the amount of the 1st prize when the Winner was ken green (4)? | CREATE TABLE table_name_56 (winner VARCHAR) | SELECT 1 AS st_prize___$__ FROM table_name_56 WHERE winner = "ken green (4)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (winner VARCHAR) Question: What is the amount of the 1st prize when the Winner was ken green (4)? [/INST] SELECT 1 AS st_prize___$__ FROM table_name_56 WHERE winner = "ken green (4)" </s> |
What is the date of the Los Angeles open? | CREATE TABLE table_name_27 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_27 WHERE tournament = "los angeles open" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (date VARCHAR, tournament VARCHAR) Question: What is the date of the Los Angeles open? [/INST] SELECT date FROM table_name_27 WHERE tournament = "los angeles open" </s> |
What is the name of the Tournament on oct 23? | CREATE TABLE table_name_36 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_36 WHERE date = "oct 23" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (tournament VARCHAR, date VARCHAR) Question: What is the name of the Tournament on oct 23? [/INST] SELECT tournament FROM table_name_36 WHERE date = "oct 23" </s> |
Who created One Night in Lisbon in 1941? | CREATE TABLE table_name_78 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, date VARCHAR, title VARCHAR) | SELECT theatre, _studio, _or_network FROM table_name_78 WHERE date = "1941" AND title = "one night in lisbon" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, date VARCHAR, title VARCHAR) Question: Who created One Night in Lisbon in 1941? [/INST] SELECT theatre, _studio, _or_network FROM table_name_... |
what date did reuschel (12-3) lose? | CREATE TABLE table_name_36 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_36 WHERE loss = "reuschel (12-3)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (date VARCHAR, loss VARCHAR) Question: what date did reuschel (12-3) lose? [/INST] SELECT date FROM table_name_36 WHERE loss = "reuschel (12-3)" </s> |
How much Draw has a Televote larger than 18, and an Artist of elizabeth anastasiou, and a Jury larger than 4? | CREATE TABLE table_name_44 (draw VARCHAR, jury VARCHAR, televote VARCHAR, artist VARCHAR) | SELECT COUNT(draw) FROM table_name_44 WHERE televote > 18 AND artist = "elizabeth anastasiou" AND jury > 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (draw VARCHAR, jury VARCHAR, televote VARCHAR, artist VARCHAR) Question: How much Draw has a Televote larger than 18, and an Artist of elizabeth anastasiou, and a Jury larger than 4? [/INST] SELECT... |
Which Place is the highest one that has an Artist of nikolas metaxas, and a Televote larger than 60? | CREATE TABLE table_name_65 (place INTEGER, artist VARCHAR, televote VARCHAR) | SELECT MAX(place) FROM table_name_65 WHERE artist = "nikolas metaxas" AND televote > 60 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (place INTEGER, artist VARCHAR, televote VARCHAR) Question: Which Place is the highest one that has an Artist of nikolas metaxas, and a Televote larger than 60? [/INST] SELECT MAX(place) FROM table... |
Which average Total has a Place smaller than 2, and a Draw smaller than 5? | CREATE TABLE table_name_99 (total INTEGER, place VARCHAR, draw VARCHAR) | SELECT AVG(total) FROM table_name_99 WHERE place < 2 AND draw < 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (total INTEGER, place VARCHAR, draw VARCHAR) Question: Which average Total has a Place smaller than 2, and a Draw smaller than 5? [/INST] SELECT AVG(total) FROM table_name_99 WHERE place < 2 AND dr... |
Which Date has a Record of 0-2? | CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_14 WHERE record = "0-2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR) Question: Which Date has a Record of 0-2? [/INST] SELECT date FROM table_name_14 WHERE record = "0-2" </s> |
Which Record has a Match Report of recap, and a Result of l 30–20? | CREATE TABLE table_name_92 (record VARCHAR, match_report VARCHAR, result VARCHAR) | SELECT record FROM table_name_92 WHERE match_report = "recap" AND result = "l 30–20" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (record VARCHAR, match_report VARCHAR, result VARCHAR) Question: Which Record has a Match Report of recap, and a Result of l 30–20? [/INST] SELECT record FROM table_name_92 WHERE match_report = "re... |
Which Match Report has a Date of october 26, 2008? | CREATE TABLE table_name_83 (match_report VARCHAR, date VARCHAR) | SELECT match_report FROM table_name_83 WHERE date = "october 26, 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (match_report VARCHAR, date VARCHAR) Question: Which Match Report has a Date of october 26, 2008? [/INST] SELECT match_report FROM table_name_83 WHERE date = "october 26, 2008" </s> |
Which Opponent has a Record of 0-3? | CREATE TABLE table_name_83 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_83 WHERE record = "0-3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (opponent VARCHAR, record VARCHAR) Question: Which Opponent has a Record of 0-3? [/INST] SELECT opponent FROM table_name_83 WHERE record = "0-3" </s> |
Which Record has a Kickoff of 12:00pm cst, and a Game site of arrowhead stadium, and a Week of 15? | CREATE TABLE table_name_41 (record VARCHAR, week VARCHAR, kickoff VARCHAR, game_site VARCHAR) | SELECT record FROM table_name_41 WHERE kickoff = "12:00pm cst" AND game_site = "arrowhead stadium" AND week = "15" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (record VARCHAR, week VARCHAR, kickoff VARCHAR, game_site VARCHAR) Question: Which Record has a Kickoff of 12:00pm cst, and a Game site of arrowhead stadium, and a Week of 15? [/INST] SELECT record... |
What was the result when the new england patriots played? | CREATE TABLE table_name_33 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_33 WHERE opponent = "new england patriots" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (result VARCHAR, opponent VARCHAR) Question: What was the result when the new england patriots played? [/INST] SELECT result FROM table_name_33 WHERE opponent = "new england patriots" </s> |
How many years had budgets of $39 million? | CREATE TABLE table_name_42 (year INTEGER, budget VARCHAR) | SELECT SUM(year) FROM table_name_42 WHERE budget = "$39 million" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (year INTEGER, budget VARCHAR) Question: How many years had budgets of $39 million? [/INST] SELECT SUM(year) FROM table_name_42 WHERE budget = "$39 million" </s> |
What is the most recent year featuring the director Christopher Kulikowski? | CREATE TABLE table_name_89 (year INTEGER, director VARCHAR) | SELECT MAX(year) FROM table_name_89 WHERE director = "christopher kulikowski" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (year INTEGER, director VARCHAR) Question: What is the most recent year featuring the director Christopher Kulikowski? [/INST] SELECT MAX(year) FROM table_name_89 WHERE director = "christopher kuli... |
Which director had a worldwide gross of $30,471? | CREATE TABLE table_name_97 (director VARCHAR, gross__worldwide_ VARCHAR) | SELECT director FROM table_name_97 WHERE gross__worldwide_ = "$30,471" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (director VARCHAR, gross__worldwide_ VARCHAR) Question: Which director had a worldwide gross of $30,471? [/INST] SELECT director FROM table_name_97 WHERE gross__worldwide_ = "$30,471" </s> |
What is 2005's budget figure? | CREATE TABLE table_name_4 (budget VARCHAR, year VARCHAR) | SELECT budget FROM table_name_4 WHERE year = 2005 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (budget VARCHAR, year VARCHAR) Question: What is 2005's budget figure? [/INST] SELECT budget FROM table_name_4 WHERE year = 2005 </s> |
Which airport has IATA of BKK? | CREATE TABLE table_name_59 (airport VARCHAR, iata VARCHAR) | SELECT airport FROM table_name_59 WHERE iata = "bkk" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (airport VARCHAR, iata VARCHAR) Question: Which airport has IATA of BKK? [/INST] SELECT airport FROM table_name_59 WHERE iata = "bkk" </s> |
What is the IATA for Beijing Capital International Airport? | CREATE TABLE table_name_14 (iata VARCHAR, airport VARCHAR) | SELECT iata FROM table_name_14 WHERE airport = "beijing capital international airport" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (iata VARCHAR, airport VARCHAR) Question: What is the IATA for Beijing Capital International Airport? [/INST] SELECT iata FROM table_name_14 WHERE airport = "beijing capital international airport" ... |
Which airport is located in Singapore? | CREATE TABLE table_name_33 (airport VARCHAR, country VARCHAR) | SELECT airport FROM table_name_33 WHERE country = "singapore" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (airport VARCHAR, country VARCHAR) Question: Which airport is located in Singapore? [/INST] SELECT airport FROM table_name_33 WHERE country = "singapore" </s> |
What is the country of the airport with ICAO of WADD? | CREATE TABLE table_name_88 (country VARCHAR, icao VARCHAR) | SELECT country FROM table_name_88 WHERE icao = "wadd" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (country VARCHAR, icao VARCHAR) Question: What is the country of the airport with ICAO of WADD? [/INST] SELECT country FROM table_name_88 WHERE icao = "wadd" </s> |
Which city holds Newcastle Airport? | CREATE TABLE table_name_98 (city VARCHAR, airport VARCHAR) | SELECT city FROM table_name_98 WHERE airport = "newcastle airport" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (city VARCHAR, airport VARCHAR) Question: Which city holds Newcastle Airport? [/INST] SELECT city FROM table_name_98 WHERE airport = "newcastle airport" </s> |
What is the capacity for the stadium of kadrioru stadium and a current manager of sergei ratnikov? | CREATE TABLE table_name_14 (capacity INTEGER, stadium VARCHAR, current_manager VARCHAR) | SELECT AVG(capacity) FROM table_name_14 WHERE stadium = "kadrioru stadium" AND current_manager = "sergei ratnikov" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (capacity INTEGER, stadium VARCHAR, current_manager VARCHAR) Question: What is the capacity for the stadium of kadrioru stadium and a current manager of sergei ratnikov? [/INST] SELECT AVG(capacity... |
What was the other number with 63.98% bush? | CREATE TABLE table_name_59 (others__number VARCHAR, bush__percentage VARCHAR) | SELECT others__number FROM table_name_59 WHERE bush__percentage = "63.98%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (others__number VARCHAR, bush__percentage VARCHAR) Question: What was the other number with 63.98% bush? [/INST] SELECT others__number FROM table_name_59 WHERE bush__percentage = "63.98%" </s> |
Band of am, and a Frequency of 0 846 has what purpose? | CREATE TABLE table_name_18 (purpose VARCHAR, band VARCHAR, frequency VARCHAR) | SELECT purpose FROM table_name_18 WHERE band = "am" AND frequency = "0 846" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (purpose VARCHAR, band VARCHAR, frequency VARCHAR) Question: Band of am, and a Frequency of 0 846 has what purpose? [/INST] SELECT purpose FROM table_name_18 WHERE band = "am" AND frequency = "0 84... |
Frequency of 100.1 has what on-air id? | CREATE TABLE table_name_87 (on_air_id VARCHAR, frequency VARCHAR) | SELECT on_air_id FROM table_name_87 WHERE frequency = "100.1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (on_air_id VARCHAR, frequency VARCHAR) Question: Frequency of 100.1 has what on-air id? [/INST] SELECT on_air_id FROM table_name_87 WHERE frequency = "100.1" </s> |
Callsign of 6nan has what purpose? | CREATE TABLE table_name_34 (purpose VARCHAR, callsign VARCHAR) | SELECT purpose FROM table_name_34 WHERE callsign = "6nan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (purpose VARCHAR, callsign VARCHAR) Question: Callsign of 6nan has what purpose? [/INST] SELECT purpose FROM table_name_34 WHERE callsign = "6nan" </s> |
Band of am, and a Callsign of 6wh has what purpose? | CREATE TABLE table_name_71 (purpose VARCHAR, band VARCHAR, callsign VARCHAR) | SELECT purpose FROM table_name_71 WHERE band = "am" AND callsign = "6wh" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (purpose VARCHAR, band VARCHAR, callsign VARCHAR) Question: Band of am, and a Callsign of 6wh has what purpose? [/INST] SELECT purpose FROM table_name_71 WHERE band = "am" AND callsign = "6wh" </s> |
Frequency of 0 864 has what callsign? | CREATE TABLE table_name_99 (callsign VARCHAR, frequency VARCHAR) | SELECT callsign FROM table_name_99 WHERE frequency = "0 864" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (callsign VARCHAR, frequency VARCHAR) Question: Frequency of 0 864 has what callsign? [/INST] SELECT callsign FROM table_name_99 WHERE frequency = "0 864" </s> |
What club has a home score of 0-2 in Round 1? | CREATE TABLE table_name_53 (club VARCHAR, round VARCHAR, home VARCHAR) | SELECT club FROM table_name_53 WHERE round = 1 AND home = "0-2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (club VARCHAR, round VARCHAR, home VARCHAR) Question: What club has a home score of 0-2 in Round 1? [/INST] SELECT club FROM table_name_53 WHERE round = 1 AND home = "0-2" </s> |
What is NK Rijeka's away score in Round 2? | CREATE TABLE table_name_97 (away VARCHAR, round VARCHAR, club VARCHAR) | SELECT away FROM table_name_97 WHERE round < 2 AND club = "nk rijeka" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (away VARCHAR, round VARCHAR, club VARCHAR) Question: What is NK Rijeka's away score in Round 2? [/INST] SELECT away FROM table_name_97 WHERE round < 2 AND club = "nk rijeka" </s> |
What is NK Rijeka's away score? | CREATE TABLE table_name_75 (away VARCHAR, club VARCHAR) | SELECT away FROM table_name_75 WHERE club = "nk rijeka" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (away VARCHAR, club VARCHAR) Question: What is NK Rijeka's away score? [/INST] SELECT away FROM table_name_75 WHERE club = "nk rijeka" </s> |
When did the Indians play a game with a record of 28-41? | CREATE TABLE table_name_66 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_66 WHERE record = "28-41" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (date VARCHAR, record VARCHAR) Question: When did the Indians play a game with a record of 28-41? [/INST] SELECT date FROM table_name_66 WHERE record = "28-41" </s> |
Rank smaller than 5, and a Time of 31’ 03.093 is what rider? | CREATE TABLE table_name_8 (rider VARCHAR, rank VARCHAR, time VARCHAR) | SELECT rider FROM table_name_8 WHERE rank < 5 AND time = "31’ 03.093" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (rider VARCHAR, rank VARCHAR, time VARCHAR) Question: Rank smaller than 5, and a Time of 31’ 03.093 is what rider? [/INST] SELECT rider FROM table_name_8 WHERE rank < 5 AND time = "31’ 03.093" </s> |
Team of honda 250cc, and a Rank larger than 2, and a Rider of chris palmer is what time? | CREATE TABLE table_name_3 (time VARCHAR, rider VARCHAR, team VARCHAR, rank VARCHAR) | SELECT time FROM table_name_3 WHERE team = "honda 250cc" AND rank > 2 AND rider = "chris palmer" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (time VARCHAR, rider VARCHAR, team VARCHAR, rank VARCHAR) Question: Team of honda 250cc, and a Rank larger than 2, and a Rider of chris palmer is what time? [/INST] SELECT time FROM table_name_3 WHE... |
Rank larger than 8, and a Rider of chris barrett is what team? | CREATE TABLE table_name_87 (team VARCHAR, rank VARCHAR, rider VARCHAR) | SELECT team FROM table_name_87 WHERE rank > 8 AND rider = "chris barrett" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (team VARCHAR, rank VARCHAR, rider VARCHAR) Question: Rank larger than 8, and a Rider of chris barrett is what team? [/INST] SELECT team FROM table_name_87 WHERE rank > 8 AND rider = "chris barrett... |
Team of honda 250cc, and a Time of 31’ 03.093 has what lowest rank? | CREATE TABLE table_name_74 (rank INTEGER, team VARCHAR, time VARCHAR) | SELECT MIN(rank) FROM table_name_74 WHERE team = "honda 250cc" AND time = "31’ 03.093" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (rank INTEGER, team VARCHAR, time VARCHAR) Question: Team of honda 250cc, and a Time of 31’ 03.093 has what lowest rank? [/INST] SELECT MIN(rank) FROM table_name_74 WHERE team = "honda 250cc" AND t... |
Rank larger than 5, and a Rider of paul shoesmith belongs to what team? | CREATE TABLE table_name_53 (team VARCHAR, rank VARCHAR, rider VARCHAR) | SELECT team FROM table_name_53 WHERE rank > 5 AND rider = "paul shoesmith" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (team VARCHAR, rank VARCHAR, rider VARCHAR) Question: Rank larger than 5, and a Rider of paul shoesmith belongs to what team? [/INST] SELECT team FROM table_name_53 WHERE rank > 5 AND rider = "paul... |
How many Total matches have a Year of career, and a Points won larger than 25? | CREATE TABLE table_name_61 (total_matches INTEGER, year VARCHAR, points_won VARCHAR) | SELECT SUM(total_matches) FROM table_name_61 WHERE year = "career" AND points_won > 25 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (total_matches INTEGER, year VARCHAR, points_won VARCHAR) Question: How many Total matches have a Year of career, and a Points won larger than 25? [/INST] SELECT SUM(total_matches) FROM table_name_... |
How many Total matches happened in 2003? | CREATE TABLE table_name_20 (total_matches VARCHAR, year VARCHAR) | SELECT total_matches FROM table_name_20 WHERE year = "2003" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (total_matches VARCHAR, year VARCHAR) Question: How many Total matches happened in 2003? [/INST] SELECT total_matches FROM table_name_20 WHERE year = "2003" </s> |
How many points were won in 1996? | CREATE TABLE table_name_14 (points_won INTEGER, year VARCHAR) | SELECT MAX(points_won) FROM table_name_14 WHERE year = "1996" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (points_won INTEGER, year VARCHAR) Question: How many points were won in 1996? [/INST] SELECT MAX(points_won) FROM table_name_14 WHERE year = "1996" </s> |
Which Total matches is the highest one that has Points % of 70%? | CREATE TABLE table_name_74 (total_matches INTEGER, points__percentage VARCHAR) | SELECT MAX(total_matches) FROM table_name_74 WHERE points__percentage = "70%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (total_matches INTEGER, points__percentage VARCHAR) Question: Which Total matches is the highest one that has Points % of 70%? [/INST] SELECT MAX(total_matches) FROM table_name_74 WHERE points__per... |
Which Total matches is the lowest one that has a Total W-L-H of 1-2-0? | CREATE TABLE table_name_33 (total_matches INTEGER, total_w_l_h VARCHAR) | SELECT MIN(total_matches) FROM table_name_33 WHERE total_w_l_h = "1-2-0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (total_matches INTEGER, total_w_l_h VARCHAR) Question: Which Total matches is the lowest one that has a Total W-L-H of 1-2-0? [/INST] SELECT MIN(total_matches) FROM table_name_33 WHERE total_w_l_h ... |
what is the winner of stage 3 | CREATE TABLE table_name_75 (winner VARCHAR, stage VARCHAR) | SELECT winner FROM table_name_75 WHERE stage = 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (winner VARCHAR, stage VARCHAR) Question: what is the winner of stage 3 [/INST] SELECT winner FROM table_name_75 WHERE stage = 3 </s> |
What was the Total the Year Yugoslavia had 0 Silver medals and 31 Competitors? | CREATE TABLE table_name_5 (total VARCHAR, silver VARCHAR, competitors VARCHAR) | SELECT total FROM table_name_5 WHERE silver = "0" AND competitors = "31" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (total VARCHAR, silver VARCHAR, competitors VARCHAR) Question: What was the Total the Year Yugoslavia had 0 Silver medals and 31 Competitors? [/INST] SELECT total FROM table_name_5 WHERE silver = "0... |
What is the Bronze in the year there was a Total of 0 medals and 6 Competitors? | CREATE TABLE table_name_74 (bronze VARCHAR, total VARCHAR, competitors VARCHAR) | SELECT bronze FROM table_name_74 WHERE total = "0" AND competitors = "6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (bronze VARCHAR, total VARCHAR, competitors VARCHAR) Question: What is the Bronze in the year there was a Total of 0 medals and 6 Competitors? [/INST] SELECT bronze FROM table_name_74 WHERE total =... |
In what Year did Yugoslavia have 4 Competitors with 0 medals Total? | CREATE TABLE table_name_78 (year VARCHAR, total VARCHAR, competitors VARCHAR) | SELECT year FROM table_name_78 WHERE total = "0" AND competitors = "4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (year VARCHAR, total VARCHAR, competitors VARCHAR) Question: In what Year did Yugoslavia have 4 Competitors with 0 medals Total? [/INST] SELECT year FROM table_name_78 WHERE total = "0" AND competi... |
In the Year Yugoslavia won 1 Silver, how many Gold medals did they win? | CREATE TABLE table_name_14 (gold VARCHAR, silver VARCHAR) | SELECT gold FROM table_name_14 WHERE silver = "1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (gold VARCHAR, silver VARCHAR) Question: In the Year Yugoslavia won 1 Silver, how many Gold medals did they win? [/INST] SELECT gold FROM table_name_14 WHERE silver = "1" </s> |
What is the Total medals the Year Yugoslavia had 1 Sport and won 0 Gold, Bronze or Silver? | CREATE TABLE table_name_94 (total VARCHAR, sports VARCHAR, silver VARCHAR, gold VARCHAR, bronze VARCHAR) | SELECT total FROM table_name_94 WHERE gold = "0" AND bronze = "0" AND silver = "0" AND sports = "1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (total VARCHAR, sports VARCHAR, silver VARCHAR, gold VARCHAR, bronze VARCHAR) Question: What is the Total medals the Year Yugoslavia had 1 Sport and won 0 Gold, Bronze or Silver? [/INST] SELECT tot... |
Rank of 5, and a Silver larger than 0 had what sum of total? | CREATE TABLE table_name_8 (total INTEGER, rank VARCHAR, silver VARCHAR) | SELECT SUM(total) FROM table_name_8 WHERE rank = "5" AND silver > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (total INTEGER, rank VARCHAR, silver VARCHAR) Question: Rank of 5, and a Silver larger than 0 had what sum of total? [/INST] SELECT SUM(total) FROM table_name_8 WHERE rank = "5" AND silver > 0 </s> |
Gold smaller than 2, and a Rank of 4, and a Nation of hungary (hun), and a Bronze smaller than 1 had what total number of silver? | CREATE TABLE table_name_48 (silver VARCHAR, bronze VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR) | SELECT COUNT(silver) FROM table_name_48 WHERE gold < 2 AND rank = "4" AND nation = "hungary (hun)" AND bronze < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (silver VARCHAR, bronze VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR) Question: Gold smaller than 2, and a Rank of 4, and a Nation of hungary (hun), and a Bronze smaller than 1 had what tota... |
Total smaller than 7, and a Bronze larger than 1 is what amount of average silver? | CREATE TABLE table_name_35 (silver INTEGER, total VARCHAR, bronze VARCHAR) | SELECT AVG(silver) FROM table_name_35 WHERE total < 7 AND bronze > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (silver INTEGER, total VARCHAR, bronze VARCHAR) Question: Total smaller than 7, and a Bronze larger than 1 is what amount of average silver? [/INST] SELECT AVG(silver) FROM table_name_35 WHERE tota... |
Bronze smaller than 5, and a Silver larger than 0 is which nation? | CREATE TABLE table_name_66 (nation VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT nation FROM table_name_66 WHERE bronze < 5 AND silver > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (nation VARCHAR, bronze VARCHAR, silver VARCHAR) Question: Bronze smaller than 5, and a Silver larger than 0 is which nation? [/INST] SELECT nation FROM table_name_66 WHERE bronze < 5 AND silver > ... |
What player was on the Los Angeles Dodgers? | CREATE TABLE table_name_70 (player VARCHAR, team VARCHAR) | SELECT player FROM table_name_70 WHERE team = "los angeles dodgers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (player VARCHAR, team VARCHAR) Question: What player was on the Los Angeles Dodgers? [/INST] SELECT player FROM table_name_70 WHERE team = "los angeles dodgers" </s> |
Which team did the Boston Beaneaters host at the South End Grounds? | CREATE TABLE table_name_36 (opponent VARCHAR, venue VARCHAR) | SELECT opponent FROM table_name_36 WHERE venue = "south end grounds" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (opponent VARCHAR, venue VARCHAR) Question: Which team did the Boston Beaneaters host at the South End Grounds? [/INST] SELECT opponent FROM table_name_36 WHERE venue = "south end grounds" </s> |
Which team opposed the Milwaukee Braves? | CREATE TABLE table_name_92 (opponent VARCHAR, team VARCHAR) | SELECT opponent FROM table_name_92 WHERE team = "milwaukee braves" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (opponent VARCHAR, team VARCHAR) Question: Which team opposed the Milwaukee Braves? [/INST] SELECT opponent FROM table_name_92 WHERE team = "milwaukee braves" </s> |
What was the venue where Chuck Klein played? | CREATE TABLE table_name_85 (venue VARCHAR, player VARCHAR) | SELECT venue FROM table_name_85 WHERE player = "chuck klein" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (venue VARCHAR, player VARCHAR) Question: What was the venue where Chuck Klein played? [/INST] SELECT venue FROM table_name_85 WHERE player = "chuck klein" </s> |
What was the venue where Josh Hamilton played? | CREATE TABLE table_name_42 (venue VARCHAR, player VARCHAR) | SELECT venue FROM table_name_42 WHERE player = "josh hamilton" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (venue VARCHAR, player VARCHAR) Question: What was the venue where Josh Hamilton played? [/INST] SELECT venue FROM table_name_42 WHERE player = "josh hamilton" </s> |
How man cuts were there of players who had 0 wins but had 1 player in the top 25 with more than 4 events? | CREATE TABLE table_name_76 (cuts_made INTEGER, events VARCHAR, wins VARCHAR, top_25 VARCHAR) | SELECT SUM(cuts_made) FROM table_name_76 WHERE wins = 0 AND top_25 = 1 AND events > 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (cuts_made INTEGER, events VARCHAR, wins VARCHAR, top_25 VARCHAR) Question: How man cuts were there of players who had 0 wins but had 1 player in the top 25 with more than 4 events? [/INST] SELECT ... |
What was the larger number of players that played in 4 events that 2 wins but were less than 6 in the top 10? | CREATE TABLE table_name_16 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR, wins VARCHAR) | SELECT MAX(top_25) FROM table_name_16 WHERE events > 4 AND wins = 2 AND top_10 < 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR, wins VARCHAR) Question: What was the larger number of players that played in 4 events that 2 wins but were less than 6 in the top 10? [/INST] SELECT... |
Which Combination classification has Points classification of daniele bennati, and a Team classification of quick step? | CREATE TABLE table_name_34 (combination_classification VARCHAR, points_classification VARCHAR, team_classification VARCHAR) | SELECT combination_classification FROM table_name_34 WHERE points_classification = "daniele bennati" AND team_classification = "quick step" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (combination_classification VARCHAR, points_classification VARCHAR, team_classification VARCHAR) Question: Which Combination classification has Points classification of daniele bennati, and a Team ... |
Which Mountains classification has a Team classification of quick step? | CREATE TABLE table_name_81 (mountains_classification VARCHAR, team_classification VARCHAR) | SELECT mountains_classification FROM table_name_81 WHERE team_classification = "quick step" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (mountains_classification VARCHAR, team_classification VARCHAR) Question: Which Mountains classification has a Team classification of quick step? [/INST] SELECT mountains_classification FROM table_... |
Which Team classification has a Combination classification of egoi martínez, and a Winner of tom boonen? | CREATE TABLE table_name_28 (team_classification VARCHAR, combination_classification VARCHAR, winner VARCHAR) | SELECT team_classification FROM table_name_28 WHERE combination_classification = "egoi martínez" AND winner = "tom boonen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (team_classification VARCHAR, combination_classification VARCHAR, winner VARCHAR) Question: Which Team classification has a Combination classification of egoi martínez, and a Winner of tom boonen? ... |
Which Combination classification has a Stage of 14? | CREATE TABLE table_name_17 (combination_classification VARCHAR, stage VARCHAR) | SELECT combination_classification FROM table_name_17 WHERE stage = "14" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (combination_classification VARCHAR, stage VARCHAR) Question: Which Combination classification has a Stage of 14? [/INST] SELECT combination_classification FROM table_name_17 WHERE stage = "14" </s... |
Which Mountains classification has a General classification of egoi martínez, and a Stage of 9? | CREATE TABLE table_name_42 (mountains_classification VARCHAR, general_classification VARCHAR, stage VARCHAR) | SELECT mountains_classification FROM table_name_42 WHERE general_classification = "egoi martínez" AND stage = "9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (mountains_classification VARCHAR, general_classification VARCHAR, stage VARCHAR) Question: Which Mountains classification has a General classification of egoi martínez, and a Stage of 9? [/INST] S... |
Which Mountains classification has Points classification of not awarded? | CREATE TABLE table_name_48 (mountains_classification VARCHAR, points_classification VARCHAR) | SELECT mountains_classification FROM table_name_48 WHERE points_classification = "not awarded" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (mountains_classification VARCHAR, points_classification VARCHAR) Question: Which Mountains classification has Points classification of not awarded? [/INST] SELECT mountains_classification FROM tab... |
What subtitles have 15 as the classification? | CREATE TABLE table_name_85 (subtitles VARCHAR, classifaction VARCHAR) | SELECT subtitles FROM table_name_85 WHERE classifaction = "15" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (subtitles VARCHAR, classifaction VARCHAR) Question: What subtitles have 15 as the classification? [/INST] SELECT subtitles FROM table_name_85 WHERE classifaction = "15" </s> |
What country has deltamac (hk) as the publisher? | CREATE TABLE table_name_34 (country VARCHAR, publisher VARCHAR) | SELECT country FROM table_name_34 WHERE publisher = "deltamac (hk)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (country VARCHAR, publisher VARCHAR) Question: What country has deltamac (hk) as the publisher? [/INST] SELECT country FROM table_name_34 WHERE publisher = "deltamac (hk)" </s> |
What is the release date that has english as the subtitles, and magna pacific as the publisher? | CREATE TABLE table_name_61 (release_date VARCHAR, subtitles VARCHAR, publisher VARCHAR) | SELECT release_date FROM table_name_61 WHERE subtitles = "english" AND publisher = "magna pacific" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (release_date VARCHAR, subtitles VARCHAR, publisher VARCHAR) Question: What is the release date that has english as the subtitles, and magna pacific as the publisher? [/INST] SELECT release_date FR... |
What classification has cantonese as the language, and universal pictures japan as the publisher? | CREATE TABLE table_name_55 (classifaction VARCHAR, language VARCHAR, publisher VARCHAR) | SELECT classifaction FROM table_name_55 WHERE language = "cantonese" AND publisher = "universal pictures japan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (classifaction VARCHAR, language VARCHAR, publisher VARCHAR) Question: What classification has cantonese as the language, and universal pictures japan as the publisher? [/INST] SELECT classifaction... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.