human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Name, Builder, Laid down, Launched, Completed
###Question: When did chatham complete the Hmsmedusa?
gpt
SELECT Completed FROM table WHERE Builder = chatham AND Name = hmsmedusa