instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
What Nationality is Dave Hynes? | CREATE TABLE table_name_74 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_74 WHERE player = "dave hynes" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (nationality VARCHAR, player VARCHAR) Question: What Nationality is Dave Hynes? [/INST] SELECT nationality FROM table_name_74 WHERE player = "dave hynes" </s> |
The Estevan Bruins (WCHL) are affiliated with what NHL team? | CREATE TABLE table_name_51 (nhl_team VARCHAR, college_junior_club_team VARCHAR) | SELECT nhl_team FROM table_name_51 WHERE college_junior_club_team = "estevan bruins (wchl)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (nhl_team VARCHAR, college_junior_club_team VARCHAR) Question: The Estevan Bruins (WCHL) are affiliated with what NHL team? [/INST] SELECT nhl_team FROM table_name_51 WHERE college_junior_club_team... |
what's the number of games with a Goals Against smaller than 14, and a Wins larger than 1, and a Draws smaller than 2, and a Goals For of 3? | CREATE TABLE table_name_27 (games INTEGER, goals_for VARCHAR, draws VARCHAR, goals_against VARCHAR, wins VARCHAR) | SELECT MAX(games) FROM table_name_27 WHERE goals_against < 14 AND wins > 1 AND draws < 2 AND goals_for = 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (games INTEGER, goals_for VARCHAR, draws VARCHAR, goals_against VARCHAR, wins VARCHAR) Question: what's the number of games with a Goals Against smaller than 14, and a Wins larger than 1, and a Dra... |
what's the total win count for Games smaller than 7, and a Goals For larger than 2, and a Goals Against smaller than 6, and Draws of 1 | CREATE TABLE table_name_85 (wins VARCHAR, draws VARCHAR, goals_against VARCHAR, games VARCHAR, goals_for VARCHAR) | SELECT COUNT(wins) FROM table_name_85 WHERE games < 7 AND goals_for > 2 AND goals_against < 6 AND draws = 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (wins VARCHAR, draws VARCHAR, goals_against VARCHAR, games VARCHAR, goals_for VARCHAR) Question: what's the total win count for Games smaller than 7, and a Goals For larger than 2, and a Goals Agai... |
for a Goals Against smaller than 9, and a Goal Differential of 0, and a Draws smaller than 2, and a Wins of 1, what's the goal total? | CREATE TABLE table_name_81 (goals_for INTEGER, wins VARCHAR, draws VARCHAR, goals_against VARCHAR, goal_differential VARCHAR) | SELECT SUM(goals_for) FROM table_name_81 WHERE goals_against < 9 AND goal_differential = "0" AND draws < 2 AND wins = 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (goals_for INTEGER, wins VARCHAR, draws VARCHAR, goals_against VARCHAR, goal_differential VARCHAR) Question: for a Goals Against smaller than 9, and a Goal Differential of 0, and a Draws smaller th... |
What tournament happened on 12 november 2006? | CREATE TABLE table_name_88 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_88 WHERE date = "12 november 2006" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (tournament VARCHAR, date VARCHAR) Question: What tournament happened on 12 november 2006? [/INST] SELECT tournament FROM table_name_88 WHERE date = "12 november 2006" </s> |
what was the score on 6 june 2010? | CREATE TABLE table_name_82 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_82 WHERE date = "6 june 2010" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (score VARCHAR, date VARCHAR) Question: what was the score on 6 june 2010? [/INST] SELECT score FROM table_name_82 WHERE date = "6 june 2010" </s> |
When was the railmotor made? | CREATE TABLE table_name_26 (date_made VARCHAR, type VARCHAR) | SELECT date_made FROM table_name_26 WHERE type = "railmotor" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (date_made VARCHAR, type VARCHAR) Question: When was the railmotor made? [/INST] SELECT date_made FROM table_name_26 WHERE type = "railmotor" </s> |
What are the fleet number for the 4-6-4t locomotive? | CREATE TABLE table_name_19 (fleet_numbers VARCHAR, type VARCHAR) | SELECT fleet_numbers FROM table_name_19 WHERE type = "4-6-4t" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (fleet_numbers VARCHAR, type VARCHAR) Question: What are the fleet number for the 4-6-4t locomotive? [/INST] SELECT fleet_numbers FROM table_name_19 WHERE type = "4-6-4t" </s> |
How many fast laps have 0 points in the World Series by Nissan? | CREATE TABLE table_name_54 (fast_laps VARCHAR, points VARCHAR, series VARCHAR) | SELECT fast_laps FROM table_name_54 WHERE points = "0" AND series = "world series by nissan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (fast_laps VARCHAR, points VARCHAR, series VARCHAR) Question: How many fast laps have 0 points in the World Series by Nissan? [/INST] SELECT fast_laps FROM table_name_54 WHERE points = "0" AND seri... |
How many fast laps are in 6 races with 30 points in the World Series by Nissan? | CREATE TABLE table_name_28 (fast_laps VARCHAR, points VARCHAR, series VARCHAR, races VARCHAR) | SELECT fast_laps FROM table_name_28 WHERE series = "world series by nissan" AND races = "6" AND points = "30" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (fast_laps VARCHAR, points VARCHAR, series VARCHAR, races VARCHAR) Question: How many fast laps are in 6 races with 30 points in the World Series by Nissan? [/INST] SELECT fast_laps FROM table_name... |
Which team has the points category of test driver? | CREATE TABLE table_name_74 (team VARCHAR, points VARCHAR) | SELECT team FROM table_name_74 WHERE points = "test driver" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (team VARCHAR, points VARCHAR) Question: Which team has the points category of test driver? [/INST] SELECT team FROM table_name_74 WHERE points = "test driver" </s> |
What is the position with 0 points in Season of 2007–08? | CREATE TABLE table_name_37 (pos VARCHAR, points VARCHAR, season VARCHAR) | SELECT pos FROM table_name_37 WHERE points = "0" AND season = "2007–08" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (pos VARCHAR, points VARCHAR, season VARCHAR) Question: What is the position with 0 points in Season of 2007–08? [/INST] SELECT pos FROM table_name_37 WHERE points = "0" AND season = "2007–08" </s> |
Name the least wins for 6 points | CREATE TABLE table_name_69 (wins INTEGER, points VARCHAR) | SELECT MIN(wins) FROM table_name_69 WHERE points = 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (wins INTEGER, points VARCHAR) Question: Name the least wins for 6 points [/INST] SELECT MIN(wins) FROM table_name_69 WHERE points = 6 </s> |
Name the wins for 1963 bultaco | CREATE TABLE table_name_15 (wins VARCHAR, year VARCHAR, team VARCHAR) | SELECT wins FROM table_name_15 WHERE year = 1963 AND team = "bultaco" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (wins VARCHAR, year VARCHAR, team VARCHAR) Question: Name the wins for 1963 bultaco [/INST] SELECT wins FROM table_name_15 WHERE year = 1963 AND team = "bultaco" </s> |
Year larger than 2008, and a Nationality of director of lebanon is what director? | CREATE TABLE table_name_49 (director VARCHAR, year VARCHAR, nationality_of_director VARCHAR) | SELECT director FROM table_name_49 WHERE year > 2008 AND nationality_of_director = "lebanon" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (director VARCHAR, year VARCHAR, nationality_of_director VARCHAR) Question: Year larger than 2008, and a Nationality of director of lebanon is what director? [/INST] SELECT director FROM table_name... |
ilm of taukukauppiaat has how many total number of years? | CREATE TABLE table_name_52 (year VARCHAR, film VARCHAR) | SELECT COUNT(year) FROM table_name_52 WHERE film = "taukukauppiaat" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (year VARCHAR, film VARCHAR) Question: ilm of taukukauppiaat has how many total number of years? [/INST] SELECT COUNT(year) FROM table_name_52 WHERE film = "taukukauppiaat" </s> |
Award of troisième prix, and a Year smaller than 2010, and a Director of jan komasa is what film? | CREATE TABLE table_name_10 (film VARCHAR, director VARCHAR, award VARCHAR, year VARCHAR) | SELECT film FROM table_name_10 WHERE award = "troisième prix" AND year < 2010 AND director = "jan komasa" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (film VARCHAR, director VARCHAR, award VARCHAR, year VARCHAR) Question: Award of troisième prix, and a Year smaller than 2010, and a Director of jan komasa is what film? [/INST] SELECT film FROM ta... |
Film of um sol alaranjado director is what nationality? | CREATE TABLE table_name_65 (nationality_of_director VARCHAR, film VARCHAR) | SELECT nationality_of_director FROM table_name_65 WHERE film = "um sol alaranjado" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (nationality_of_director VARCHAR, film VARCHAR) Question: Film of um sol alaranjado director is what nationality? [/INST] SELECT nationality_of_director FROM table_name_65 WHERE film = "um sol alar... |
What is the position for round 5 from alabama state? | CREATE TABLE table_name_39 (position VARCHAR, round VARCHAR, college VARCHAR) | SELECT position FROM table_name_39 WHERE round = 5 AND college = "alabama state" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (position VARCHAR, round VARCHAR, college VARCHAR) Question: What is the position for round 5 from alabama state? [/INST] SELECT position FROM table_name_39 WHERE round = 5 AND college = "alabama s... |
what is the pick # when overall is more than 131, position is wide receiver and the round is less than 5? | CREATE TABLE table_name_37 (pick__number VARCHAR, round VARCHAR, overall VARCHAR, position VARCHAR) | SELECT COUNT(pick__number) FROM table_name_37 WHERE overall > 131 AND position = "wide receiver" AND round < 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (pick__number VARCHAR, round VARCHAR, overall VARCHAR, position VARCHAR) Question: what is the pick # when overall is more than 131, position is wide receiver and the round is less than 5? [/INST] ... |
what is the highest round for anthony gonzalez? | CREATE TABLE table_name_53 (round INTEGER, name VARCHAR) | SELECT MAX(round) FROM table_name_53 WHERE name = "anthony gonzalez" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (round INTEGER, name VARCHAR) Question: what is the highest round for anthony gonzalez? [/INST] SELECT MAX(round) FROM table_name_53 WHERE name = "anthony gonzalez" </s> |
How many times is brannon condren with and overall more than 131 drafted? | CREATE TABLE table_name_56 (round VARCHAR, name VARCHAR, overall VARCHAR) | SELECT COUNT(round) FROM table_name_56 WHERE name = "brannon condren" AND overall > 131 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (round VARCHAR, name VARCHAR, overall VARCHAR) Question: How many times is brannon condren with and overall more than 131 drafted? [/INST] SELECT COUNT(round) FROM table_name_56 WHERE name = "brann... |
Which rider has the time of +31.426? | CREATE TABLE table_name_10 (rider VARCHAR, time_retired VARCHAR) | SELECT rider FROM table_name_10 WHERE time_retired = "+31.426" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (rider VARCHAR, time_retired VARCHAR) Question: Which rider has the time of +31.426? [/INST] SELECT rider FROM table_name_10 WHERE time_retired = "+31.426" </s> |
What is the grid for the rider who rides a Suzuki and has the time of +1:01.894? | CREATE TABLE table_name_9 (grid INTEGER, manufacturer VARCHAR, time_retired VARCHAR) | SELECT MAX(grid) FROM table_name_9 WHERE manufacturer = "suzuki" AND time_retired = "+1:01.894" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (grid INTEGER, manufacturer VARCHAR, time_retired VARCHAR) Question: What is the grid for the rider who rides a Suzuki and has the time of +1:01.894? [/INST] SELECT MAX(grid) FROM table_name_9 WHERE... |
What is the score for Australia with a place of 4? | CREATE TABLE table_name_87 (score VARCHAR, country VARCHAR, place VARCHAR) | SELECT score FROM table_name_87 WHERE country = "australia" AND place = "4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (score VARCHAR, country VARCHAR, place VARCHAR) Question: What is the score for Australia with a place of 4? [/INST] SELECT score FROM table_name_87 WHERE country = "australia" AND place = "4" </s> |
What is the place of To par of e when Arron Oberholser was the player ? | CREATE TABLE table_name_66 (place VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT place FROM table_name_66 WHERE to_par = "e" AND player = "arron oberholser" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (place VARCHAR, to_par VARCHAR, player VARCHAR) Question: What is the place of To par of e when Arron Oberholser was the player ? [/INST] SELECT place FROM table_name_66 WHERE to_par = "e" AND play... |
What is the score with a place of t6 for the player k.j. choi? | CREATE TABLE table_name_83 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_83 WHERE place = "t6" AND player = "k.j. choi" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (score VARCHAR, place VARCHAR, player VARCHAR) Question: What is the score with a place of t6 for the player k.j. choi? [/INST] SELECT score FROM table_name_83 WHERE place = "t6" AND player = "k.j.... |
What is the country for the player Tiger Woods? | CREATE TABLE table_name_3 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_3 WHERE player = "tiger woods" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (country VARCHAR, player VARCHAR) Question: What is the country for the player Tiger Woods? [/INST] SELECT country FROM table_name_3 WHERE player = "tiger woods" </s> |
What is the name of the player with a score of 72-68-70=210? | CREATE TABLE table_name_30 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_30 WHERE score = 72 - 68 - 70 = 210 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (player VARCHAR, score VARCHAR) Question: What is the name of the player with a score of 72-68-70=210? [/INST] SELECT player FROM table_name_30 WHERE score = 72 - 68 - 70 = 210 </s> |
What is the name of the player with t6 as his place and a country of United states? | CREATE TABLE table_name_85 (player VARCHAR, place VARCHAR, country VARCHAR) | SELECT player FROM table_name_85 WHERE place = "t6" AND country = "united states" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (player VARCHAR, place VARCHAR, country VARCHAR) Question: What is the name of the player with t6 as his place and a country of United states? [/INST] SELECT player FROM table_name_85 WHERE place =... |
What is the fineness of the 2008 chinese cuju sport Reverse? | CREATE TABLE table_name_11 (fineness VARCHAR, year VARCHAR, reverse VARCHAR) | SELECT fineness FROM table_name_11 WHERE year = 2008 AND reverse = "chinese cuju sport" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (fineness VARCHAR, year VARCHAR, reverse VARCHAR) Question: What is the fineness of the 2008 chinese cuju sport Reverse? [/INST] SELECT fineness FROM table_name_11 WHERE year = 2008 AND reverse = "... |
What's the diameter of the 2006 equestrian Reverse? | CREATE TABLE table_name_49 (diameter VARCHAR, year VARCHAR, reverse VARCHAR) | SELECT diameter FROM table_name_49 WHERE year = 2006 AND reverse = "equestrian" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (diameter VARCHAR, year VARCHAR, reverse VARCHAR) Question: What's the diameter of the 2006 equestrian Reverse? [/INST] SELECT diameter FROM table_name_49 WHERE year = 2006 AND reverse = "equestria... |
What denomination was produced in 2006? | CREATE TABLE table_name_80 (denomination VARCHAR, year VARCHAR) | SELECT denomination FROM table_name_80 WHERE year = 2006 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (denomination VARCHAR, year VARCHAR) Question: What denomination was produced in 2006? [/INST] SELECT denomination FROM table_name_80 WHERE year = 2006 </s> |
What was the fineness prior to 2007? | CREATE TABLE table_name_28 (fineness VARCHAR, year INTEGER) | SELECT fineness FROM table_name_28 WHERE year < 2007 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (fineness VARCHAR, year INTEGER) Question: What was the fineness prior to 2007? [/INST] SELECT fineness FROM table_name_28 WHERE year < 2007 </s> |
What does the ii Series weigh? | CREATE TABLE table_name_73 (weight VARCHAR, series VARCHAR) | SELECT weight FROM table_name_73 WHERE series = "ii series" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (weight VARCHAR, series VARCHAR) Question: What does the ii Series weigh? [/INST] SELECT weight FROM table_name_73 WHERE series = "ii series" </s> |
What loss has 10-16 as the record? | CREATE TABLE table_name_83 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_83 WHERE record = "10-16" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (loss VARCHAR, record VARCHAR) Question: What loss has 10-16 as the record? [/INST] SELECT loss FROM table_name_83 WHERE record = "10-16" </s> |
What is the least attendance that has 3-5 as a record? | CREATE TABLE table_name_25 (attendance INTEGER, record VARCHAR) | SELECT MIN(attendance) FROM table_name_25 WHERE record = "3-5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (attendance INTEGER, record VARCHAR) Question: What is the least attendance that has 3-5 as a record? [/INST] SELECT MIN(attendance) FROM table_name_25 WHERE record = "3-5" </s> |
What is the average attendance for the date of april 4? | CREATE TABLE table_name_23 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_23 WHERE date = "april 4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (attendance INTEGER, date VARCHAR) Question: What is the average attendance for the date of april 4? [/INST] SELECT AVG(attendance) FROM table_name_23 WHERE date = "april 4" </s> |
Which opponent has april 2 as the date? | CREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_93 WHERE date = "april 2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR) Question: Which opponent has april 2 as the date? [/INST] SELECT opponent FROM table_name_93 WHERE date = "april 2" </s> |
What is the Remark of Airline of Dutch Antilles Express? | CREATE TABLE table_name_79 (remarks VARCHAR, airline VARCHAR) | SELECT remarks FROM table_name_79 WHERE airline = "dutch antilles express" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (remarks VARCHAR, airline VARCHAR) Question: What is the Remark of Airline of Dutch Antilles Express? [/INST] SELECT remarks FROM table_name_79 WHERE airline = "dutch antilles express" </s> |
What Category has a Year that's smaller than 2006, has Result of Nominated, and a Title of Cold Feet? | CREATE TABLE table_name_25 (category VARCHAR, title VARCHAR, year VARCHAR, result VARCHAR) | SELECT category FROM table_name_25 WHERE year < 2006 AND result = "nominated" AND title = "cold feet" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (category VARCHAR, title VARCHAR, year VARCHAR, result VARCHAR) Question: What Category has a Year that's smaller than 2006, has Result of Nominated, and a Title of Cold Feet? [/INST] SELECT catego... |
What is recorded as the lowest Year that has the Title of Cold Feet? | CREATE TABLE table_name_96 (year INTEGER, title VARCHAR) | SELECT MIN(year) FROM table_name_96 WHERE title = "cold feet" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (year INTEGER, title VARCHAR) Question: What is recorded as the lowest Year that has the Title of Cold Feet? [/INST] SELECT MIN(year) FROM table_name_96 WHERE title = "cold feet" </s> |
What Category has a Result of Nominated, Year of 2006, and the Title of Pierrepoint? | CREATE TABLE table_name_64 (category VARCHAR, title VARCHAR, result VARCHAR, year VARCHAR) | SELECT category FROM table_name_64 WHERE result = "nominated" AND year = 2006 AND title = "pierrepoint" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (category VARCHAR, title VARCHAR, result VARCHAR, year VARCHAR) Question: What Category has a Result of Nominated, Year of 2006, and the Title of Pierrepoint? [/INST] SELECT category FROM table_nam... |
What Title is listed for the Year of 1999? | CREATE TABLE table_name_63 (title VARCHAR, year VARCHAR) | SELECT title FROM table_name_63 WHERE year = 1999 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (title VARCHAR, year VARCHAR) Question: What Title is listed for the Year of 1999? [/INST] SELECT title FROM table_name_63 WHERE year = 1999 </s> |
What is the total number of Year for the Title of The Queen, has an Award of British Academy Film Award, and has a Result of Won? | CREATE TABLE table_name_82 (year VARCHAR, result VARCHAR, title VARCHAR, award VARCHAR) | SELECT COUNT(year) FROM table_name_82 WHERE title = "the queen" AND award = "british academy film award" AND result = "won" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (year VARCHAR, result VARCHAR, title VARCHAR, award VARCHAR) Question: What is the total number of Year for the Title of The Queen, has an Award of British Academy Film Award, and has a Result of W... |
What was the date of the game against Northwestern? | CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_62 WHERE opponent = "northwestern" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR) Question: What was the date of the game against Northwestern? [/INST] SELECT date FROM table_name_62 WHERE opponent = "northwestern" </s> |
Who was the opponent when the city was Louisville? | CREATE TABLE table_name_44 (opponent VARCHAR, city VARCHAR) | SELECT opponent FROM table_name_44 WHERE city = "louisville" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (opponent VARCHAR, city VARCHAR) Question: Who was the opponent when the city was Louisville? [/INST] SELECT opponent FROM table_name_44 WHERE city = "louisville" </s> |
What was the score of the game against Minnesota? | CREATE TABLE table_name_55 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_55 WHERE opponent = "minnesota" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (score VARCHAR, opponent VARCHAR) Question: What was the score of the game against Minnesota? [/INST] SELECT score FROM table_name_55 WHERE opponent = "minnesota" </s> |
On what date was a friendly competition and a result of 3–0? | CREATE TABLE table_name_69 (date VARCHAR, competition VARCHAR, result VARCHAR) | SELECT date FROM table_name_69 WHERE competition = "friendly" AND result = "3–0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (date VARCHAR, competition VARCHAR, result VARCHAR) Question: On what date was a friendly competition and a result of 3–0? [/INST] SELECT date FROM table_name_69 WHERE competition = "friendly" AND ... |
When was the score 1–0, and the result 4–0? | CREATE TABLE table_name_67 (date VARCHAR, score VARCHAR, result VARCHAR) | SELECT date FROM table_name_67 WHERE score = "1–0" AND result = "4–0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (date VARCHAR, score VARCHAR, result VARCHAR) Question: When was the score 1–0, and the result 4–0? [/INST] SELECT date FROM table_name_67 WHERE score = "1–0" AND result = "4–0" </s> |
What was the result at dakar , senegal, on 3 september 2011, and with a Score of 2–0? | CREATE TABLE table_name_17 (result VARCHAR, score VARCHAR, venue VARCHAR, date VARCHAR) | SELECT result FROM table_name_17 WHERE venue = "dakar , senegal" AND date = "3 september 2011" AND score = "2–0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (result VARCHAR, score VARCHAR, venue VARCHAR, date VARCHAR) Question: What was the result at dakar , senegal, on 3 september 2011, and with a Score of 2–0? [/INST] SELECT result FROM table_name_17... |
Which time has a Rank larger than 3, and a Name of andrey kapralov? | CREATE TABLE table_name_31 (time VARCHAR, rank VARCHAR, name VARCHAR) | SELECT time FROM table_name_31 WHERE rank > 3 AND name = "andrey kapralov" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (time VARCHAR, rank VARCHAR, name VARCHAR) Question: Which time has a Rank larger than 3, and a Name of andrey kapralov? [/INST] SELECT time FROM table_name_31 WHERE rank > 3 AND name = "andrey kap... |
Which Nationality has a Name of igor koleda? | CREATE TABLE table_name_42 (nationality VARCHAR, name VARCHAR) | SELECT nationality FROM table_name_42 WHERE name = "igor koleda" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (nationality VARCHAR, name VARCHAR) Question: Which Nationality has a Name of igor koleda? [/INST] SELECT nationality FROM table_name_42 WHERE name = "igor koleda" </s> |
Where is the headquarters of the getinge group located? | CREATE TABLE table_name_26 (headquarters VARCHAR, company VARCHAR) | SELECT headquarters FROM table_name_26 WHERE company = "getinge group" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (headquarters VARCHAR, company VARCHAR) Question: Where is the headquarters of the getinge group located? [/INST] SELECT headquarters FROM table_name_26 WHERE company = "getinge group" </s> |
How much is the total assets of a company based in Stockholm, Sweden with a market capitalization smaller than 39.8 with revenues greater than 5.8 and profit of 1.1? | CREATE TABLE table_name_14 (s_asset__billion_ VARCHAR, profits__billion_$_ VARCHAR, revenue__billion_$__ VARCHAR, headquarters VARCHAR, market_value__billion_$_ VARCHAR) | SELECT COUNT(s_asset__billion_) AS $_ FROM table_name_14 WHERE headquarters = "stockholm, sweden" AND market_value__billion_$_ < 39.8 AND revenue__billion_$__ > 5.8 AND profits__billion_$_ = 1.1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (s_asset__billion_ VARCHAR, profits__billion_$_ VARCHAR, revenue__billion_$__ VARCHAR, headquarters VARCHAR, market_value__billion_$_ VARCHAR) Question: How much is the total assets of a company ba... |
Name the date for zi yan jie zheng opponent | CREATE TABLE table_name_64 (date VARCHAR, opponents VARCHAR) | SELECT date FROM table_name_64 WHERE opponents = "zi yan jie zheng" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (date VARCHAR, opponents VARCHAR) Question: Name the date for zi yan jie zheng opponent [/INST] SELECT date FROM table_name_64 WHERE opponents = "zi yan jie zheng" </s> |
Name the partner for 14 october 2007 | CREATE TABLE table_name_75 (partner VARCHAR, date VARCHAR) | SELECT partner FROM table_name_75 WHERE date = "14 october 2007" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (partner VARCHAR, date VARCHAR) Question: Name the partner for 14 october 2007 [/INST] SELECT partner FROM table_name_75 WHERE date = "14 october 2007" </s> |
Name the partner for opponents of alexandra dulgheru magdaléna rybáriková | CREATE TABLE table_name_43 (partner VARCHAR, opponents VARCHAR) | SELECT partner FROM table_name_43 WHERE opponents = "alexandra dulgheru magdaléna rybáriková" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (partner VARCHAR, opponents VARCHAR) Question: Name the partner for opponents of alexandra dulgheru magdaléna rybáriková [/INST] SELECT partner FROM table_name_43 WHERE opponents = "alexandra dulgh... |
Name the opponents for 24 july 2011 | CREATE TABLE table_name_45 (opponents VARCHAR, date VARCHAR) | SELECT opponents FROM table_name_45 WHERE date = "24 july 2011" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (opponents VARCHAR, date VARCHAR) Question: Name the opponents for 24 july 2011 [/INST] SELECT opponents FROM table_name_45 WHERE date = "24 july 2011" </s> |
What is Ken Walter's lowest pick number with an overall pick number larger than 195? | CREATE TABLE table_name_28 (pick__number INTEGER, name VARCHAR, overall VARCHAR) | SELECT MIN(pick__number) FROM table_name_28 WHERE name = "ken walter" AND overall > 195 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (pick__number INTEGER, name VARCHAR, overall VARCHAR) Question: What is Ken Walter's lowest pick number with an overall pick number larger than 195? [/INST] SELECT MIN(pick__number) FROM table_name... |
What does Polyphenyl Ether of 3- and 4-ring oxythio look like? | CREATE TABLE table_name_80 (appearance VARCHAR, polyphenyl_ether VARCHAR) | SELECT appearance FROM table_name_80 WHERE polyphenyl_ether = "3- and 4-ring oxythio" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (appearance VARCHAR, polyphenyl_ether VARCHAR) Question: What does Polyphenyl Ether of 3- and 4-ring oxythio look like? [/INST] SELECT appearance FROM table_name_80 WHERE polyphenyl_ether = "3- and... |
How long was the course from Naples to Foggia? | CREATE TABLE table_name_2 (distance VARCHAR, course VARCHAR) | SELECT distance FROM table_name_2 WHERE course = "naples to foggia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (distance VARCHAR, course VARCHAR) Question: How long was the course from Naples to Foggia? [/INST] SELECT distance FROM table_name_2 WHERE course = "naples to foggia" </s> |
Name the score with opponent of milos raonic | CREATE TABLE table_name_82 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_82 WHERE opponent = "milos raonic" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (score VARCHAR, opponent VARCHAR) Question: Name the score with opponent of milos raonic [/INST] SELECT score FROM table_name_82 WHERE opponent = "milos raonic" </s> |
Name the date with a hard surface and tournament of usa f5, brownsville | CREATE TABLE table_name_83 (date VARCHAR, surface VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_83 WHERE surface = "hard" AND tournament = "usa f5, brownsville" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (date VARCHAR, surface VARCHAR, tournament VARCHAR) Question: Name the date with a hard surface and tournament of usa f5, brownsville [/INST] SELECT date FROM table_name_83 WHERE surface = "hard" A... |
Name the outcome with tournament of mexico f12, obregón | CREATE TABLE table_name_57 (outcome VARCHAR, tournament VARCHAR) | SELECT outcome FROM table_name_57 WHERE tournament = "mexico f12, obregón" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (outcome VARCHAR, tournament VARCHAR) Question: Name the outcome with tournament of mexico f12, obregón [/INST] SELECT outcome FROM table_name_57 WHERE tournament = "mexico f12, obregón" </s> |
Name the tournament for march 25, 2012 | CREATE TABLE table_name_24 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_24 WHERE date = "march 25, 2012" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (tournament VARCHAR, date VARCHAR) Question: Name the tournament for march 25, 2012 [/INST] SELECT tournament FROM table_name_24 WHERE date = "march 25, 2012" </s> |
What was the final score for the August 25, 1996 match? | CREATE TABLE table_name_29 (score_in_the_final VARCHAR, date VARCHAR) | SELECT score_in_the_final FROM table_name_29 WHERE date = "august 25, 1996" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (score_in_the_final VARCHAR, date VARCHAR) Question: What was the final score for the August 25, 1996 match? [/INST] SELECT score_in_the_final FROM table_name_29 WHERE date = "august 25, 1996" </s> |
What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine? | CREATE TABLE table_name_25 (year INTEGER, points VARCHAR, engine VARCHAR) | SELECT AVG(year) FROM table_name_25 WHERE points < 6 AND engine = "maserati straight-6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (year INTEGER, points VARCHAR, engine VARCHAR) Question: What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine? [/INST] SELECT AVG(year) FROM table_na... |
What entrant had a Maserati 250F chassis and fewer than 6 points before 1957? | CREATE TABLE table_name_17 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_17 WHERE chassis = "maserati 250f" AND year < 1957 AND points < 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, year VARCHAR) Question: What entrant had a Maserati 250F chassis and fewer than 6 points before 1957? [/INST] SELECT entrant FROM table_name_17 WH... |
What chassis has a year of 1951? | CREATE TABLE table_name_7 (chassis VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_7 WHERE year = 1951 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (chassis VARCHAR, year VARCHAR) Question: What chassis has a year of 1951? [/INST] SELECT chassis FROM table_name_7 WHERE year = 1951 </s> |
What is the chassis of Officine Alfieri Maserati with a Maserati Straight-6 engine and fewer than 6 points? | CREATE TABLE table_name_55 (chassis VARCHAR, points VARCHAR, engine VARCHAR, entrant VARCHAR) | SELECT chassis FROM table_name_55 WHERE engine = "maserati straight-6" AND entrant = "officine alfieri maserati" AND points < 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (chassis VARCHAR, points VARCHAR, engine VARCHAR, entrant VARCHAR) Question: What is the chassis of Officine Alfieri Maserati with a Maserati Straight-6 engine and fewer than 6 points? [/INST] SELE... |
Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank? | CREATE TABLE table_name_87 (lane INTEGER, rank VARCHAR, time VARCHAR, name VARCHAR) | SELECT MAX(lane) FROM table_name_87 WHERE time < 49.67 AND name = "michael klim" AND rank < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (lane INTEGER, rank VARCHAR, time VARCHAR, name VARCHAR) Question: Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank? [/INST] SELECT MAX(lane) FROM table_name_87 WHER... |
What is the lowest lane with Lorenzo Vismara and a time higher than 49.67? | CREATE TABLE table_name_69 (lane INTEGER, name VARCHAR, time VARCHAR) | SELECT MIN(lane) FROM table_name_69 WHERE name = "lorenzo vismara" AND time > 49.67 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (lane INTEGER, name VARCHAR, time VARCHAR) Question: What is the lowest lane with Lorenzo Vismara and a time higher than 49.67? [/INST] SELECT MIN(lane) FROM table_name_69 WHERE name = "lorenzo vis... |
Who was the home team on January 8? | CREATE TABLE table_name_41 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_41 WHERE date = "january 8" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (home VARCHAR, date VARCHAR) Question: Who was the home team on January 8? [/INST] SELECT home FROM table_name_41 WHERE date = "january 8" </s> |
Who was the Opponent when the Attendance was 38,150? | CREATE TABLE table_name_25 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_25 WHERE attendance = "38,150" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (opponent VARCHAR, attendance VARCHAR) Question: Who was the Opponent when the Attendance was 38,150? [/INST] SELECT opponent FROM table_name_25 WHERE attendance = "38,150" </s> |
Where is NCAA division ii Franklin Pierce University located at? | CREATE TABLE table_name_54 (location VARCHAR, classification VARCHAR, institution VARCHAR) | SELECT location FROM table_name_54 WHERE classification = "ncaa division ii" AND institution = "franklin pierce university" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (location VARCHAR, classification VARCHAR, institution VARCHAR) Question: Where is NCAA division ii Franklin Pierce University located at? [/INST] SELECT location FROM table_name_54 WHERE classific... |
Post University has what nickname? | CREATE TABLE table_name_4 (nickname VARCHAR, institution VARCHAR) | SELECT nickname FROM table_name_4 WHERE institution = "post university" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (nickname VARCHAR, institution VARCHAR) Question: Post University has what nickname? [/INST] SELECT nickname FROM table_name_4 WHERE institution = "post university" </s> |
The River Hawks belonged to what current conference? | CREATE TABLE table_name_6 (current_conference VARCHAR, nickname VARCHAR) | SELECT current_conference FROM table_name_6 WHERE nickname = "river hawks" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (current_conference VARCHAR, nickname VARCHAR) Question: The River Hawks belonged to what current conference? [/INST] SELECT current_conference FROM table_name_6 WHERE nickname = "river hawks" </s> |
What is the nickname of the school located in Manchester, New Hampshire? | CREATE TABLE table_name_54 (nickname VARCHAR, location VARCHAR) | SELECT nickname FROM table_name_54 WHERE location = "manchester, new hampshire" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (nickname VARCHAR, location VARCHAR) Question: What is the nickname of the school located in Manchester, New Hampshire? [/INST] SELECT nickname FROM table_name_54 WHERE location = "manchester, new ... |
What is the classification for the school in the NEC Conference located in New Britain, Connecticut? | CREATE TABLE table_name_4 (classification VARCHAR, current_conference VARCHAR, location VARCHAR) | SELECT classification FROM table_name_4 WHERE current_conference = "nec" AND location = "new britain, connecticut" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (classification VARCHAR, current_conference VARCHAR, location VARCHAR) Question: What is the classification for the school in the NEC Conference located in New Britain, Connecticut? [/INST] SELECT c... |
What institution is a NCAA Division i school and part of the NEC conference with a nickname the Blue Devils? | CREATE TABLE table_name_48 (institution VARCHAR, nickname VARCHAR, classification VARCHAR, current_conference VARCHAR) | SELECT institution FROM table_name_48 WHERE classification = "ncaa division i" AND current_conference = "nec" AND nickname = "blue devils" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (institution VARCHAR, nickname VARCHAR, classification VARCHAR, current_conference VARCHAR) Question: What institution is a NCAA Division i school and part of the NEC conference with a nickname the... |
What was the record at the home of the Montreal Maroons | CREATE TABLE table_name_59 (record VARCHAR, home VARCHAR) | SELECT record FROM table_name_59 WHERE home = "montreal maroons" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (record VARCHAR, home VARCHAR) Question: What was the record at the home of the Montreal Maroons [/INST] SELECT record FROM table_name_59 WHERE home = "montreal maroons" </s> |
which school shows #/county of 29 hamilton? | CREATE TABLE table_name_49 (school VARCHAR, _number___county VARCHAR) | SELECT school FROM table_name_49 WHERE _number___county = "29 hamilton" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (school VARCHAR, _number___county VARCHAR) Question: which school shows #/county of 29 hamilton? [/INST] SELECT school FROM table_name_49 WHERE _number___county = "29 hamilton" </s> |
what is the mascot for the enrollment 08-09 of 320? | CREATE TABLE table_name_73 (mascot VARCHAR, enrollment_08_09 VARCHAR) | SELECT mascot FROM table_name_73 WHERE enrollment_08_09 = 320 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (mascot VARCHAR, enrollment_08_09 VARCHAR) Question: what is the mascot for the enrollment 08-09 of 320? [/INST] SELECT mascot FROM table_name_73 WHERE enrollment_08_09 = 320 </s> |
what is the school in michigantown? | CREATE TABLE table_name_93 (school VARCHAR, location VARCHAR) | SELECT school FROM table_name_93 WHERE location = "michigantown" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (school VARCHAR, location VARCHAR) Question: what is the school in michigantown? [/INST] SELECT school FROM table_name_93 WHERE location = "michigantown" </s> |
Which episode number was associated with Vibhav Gautam? | CREATE TABLE table_name_1 (episode_number VARCHAR, name VARCHAR) | SELECT episode_number FROM table_name_1 WHERE name = "vibhav gautam" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (episode_number VARCHAR, name VARCHAR) Question: Which episode number was associated with Vibhav Gautam? [/INST] SELECT episode_number FROM table_name_1 WHERE name = "vibhav gautam" </s> |
Which city/state was associated with a contestant whose status was 2nd runner-up? | CREATE TABLE table_name_52 (city_state VARCHAR, status VARCHAR) | SELECT city_state FROM table_name_52 WHERE status = "2nd runner-up" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (city_state VARCHAR, status VARCHAR) Question: Which city/state was associated with a contestant whose status was 2nd runner-up? [/INST] SELECT city_state FROM table_name_52 WHERE status = "2nd run... |
Which contestant was associated with episode 34? | CREATE TABLE table_name_30 (name VARCHAR, episode_number VARCHAR) | SELECT name FROM table_name_30 WHERE episode_number = "episode 34" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (name VARCHAR, episode_number VARCHAR) Question: Which contestant was associated with episode 34? [/INST] SELECT name FROM table_name_30 WHERE episode_number = "episode 34" </s> |
What is the status of the city/state of Indor, Madhya Pradesh? | CREATE TABLE table_name_1 (status VARCHAR, city_state VARCHAR) | SELECT status AS Date FROM table_name_1 WHERE city_state = "indor, madhya pradesh" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (status VARCHAR, city_state VARCHAR) Question: What is the status of the city/state of Indor, Madhya Pradesh? [/INST] SELECT status AS Date FROM table_name_1 WHERE city_state = "indor, madhya prades... |
What role did John Wayne play in The Trail Beyond, directed by R.N. Bradbury? | CREATE TABLE table_name_56 (role VARCHAR, director VARCHAR, title VARCHAR) | SELECT role FROM table_name_56 WHERE director = "r.n. bradbury" AND title = "the trail beyond" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (role VARCHAR, director VARCHAR, title VARCHAR) Question: What role did John Wayne play in The Trail Beyond, directed by R.N. Bradbury? [/INST] SELECT role FROM table_name_56 WHERE director = "r.n.... |
Who directed the movie The Star Packer? | CREATE TABLE table_name_79 (director VARCHAR, title VARCHAR) | SELECT director FROM table_name_79 WHERE title = "the star packer" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (director VARCHAR, title VARCHAR) Question: Who directed the movie The Star Packer? [/INST] SELECT director FROM table_name_79 WHERE title = "the star packer" </s> |
What role did John Wayne play in The Lawless Frontier, with Sheila Terry as the leading lady? | CREATE TABLE table_name_42 (role VARCHAR, leading_lady VARCHAR, title VARCHAR) | SELECT role FROM table_name_42 WHERE leading_lady = "sheila terry" AND title = "the lawless frontier" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (role VARCHAR, leading_lady VARCHAR, title VARCHAR) Question: What role did John Wayne play in The Lawless Frontier, with Sheila Terry as the leading lady? [/INST] SELECT role FROM table_name_42 WH... |
In what movie did John Wayne play the role of Chris Morrell? | CREATE TABLE table_name_54 (title VARCHAR, role VARCHAR) | SELECT title FROM table_name_54 WHERE role = "chris morrell" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (title VARCHAR, role VARCHAR) Question: In what movie did John Wayne play the role of Chris Morrell? [/INST] SELECT title FROM table_name_54 WHERE role = "chris morrell" </s> |
What role did John Wayne play with Verna Hillie as the leading lady? | CREATE TABLE table_name_80 (role VARCHAR, leading_lady VARCHAR) | SELECT role FROM table_name_80 WHERE leading_lady = "verna hillie" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (role VARCHAR, leading_lady VARCHAR) Question: What role did John Wayne play with Verna Hillie as the leading lady? [/INST] SELECT role FROM table_name_80 WHERE leading_lady = "verna hillie" </s> |
Who directed the movie when John Wayne played the role of John Travers? | CREATE TABLE table_name_54 (director VARCHAR, role VARCHAR) | SELECT director FROM table_name_54 WHERE role = "john travers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (director VARCHAR, role VARCHAR) Question: Who directed the movie when John Wayne played the role of John Travers? [/INST] SELECT director FROM table_name_54 WHERE role = "john travers" </s> |
What is the record for November 26, with the decision made by Prusek? | CREATE TABLE table_name_44 (record VARCHAR, decision VARCHAR, date VARCHAR) | SELECT record FROM table_name_44 WHERE decision = "prusek" AND date = "november 26" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (record VARCHAR, decision VARCHAR, date VARCHAR) Question: What is the record for November 26, with the decision made by Prusek? [/INST] SELECT record FROM table_name_44 WHERE decision = "prusek" A... |
What is the record for game where Columbus is visitor, Phoenix is home, and decision is made by Denis? | CREATE TABLE table_name_3 (record VARCHAR, home VARCHAR, visitor VARCHAR, decision VARCHAR) | SELECT record FROM table_name_3 WHERE visitor = "columbus" AND decision = "denis" AND home = "phoenix" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (record VARCHAR, home VARCHAR, visitor VARCHAR, decision VARCHAR) Question: What is the record for game where Columbus is visitor, Phoenix is home, and decision is made by Denis? [/INST] SELECT reco... |
What is the record for November 4, with a decision made by Denis? | CREATE TABLE table_name_10 (record VARCHAR, decision VARCHAR, date VARCHAR) | SELECT record FROM table_name_10 WHERE decision = "denis" AND date = "november 4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (record VARCHAR, decision VARCHAR, date VARCHAR) Question: What is the record for November 4, with a decision made by Denis? [/INST] SELECT record FROM table_name_10 WHERE decision = "denis" AND da... |
What is the Intergiro classification of Nicolaj bo Larsen, who has a Fabrizio guidi point classification? | CREATE TABLE table_name_34 (intergiro_classification VARCHAR, points_classification VARCHAR, winner VARCHAR) | SELECT intergiro_classification FROM table_name_34 WHERE points_classification = "fabrizio guidi" AND winner = "nicolaj bo larsen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (intergiro_classification VARCHAR, points_classification VARCHAR, winner VARCHAR) Question: What is the Intergiro classification of Nicolaj bo Larsen, who has a Fabrizio guidi point classification?... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.