human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Date, Ship Name, Tonnage, Ship Type, Location, Disposition of Ship
###Question: What date was a brig type ship located in SW Approaches?
gpt
SELECT Date FROM table WHERE Ship Type = brig AND Location = sw approaches