Question: What is the home port of M40?
SQL: SELECT "Home port" FROM "2-1162013-1" WHERE "Pennant" = 'M40';

Question: What is the navy for Middleton with a home port of Portsmouth after 1983?
SQL: SELECT "Navy" FROM "2-1162013-1" WHERE "Home port" = 'Portsmouth' AND "Commissioned" > 1983.0 AND "Name" = 'Middleton';