Database: ship_mission

Question: Show the name of ships whose nationality is either United States or United Kingdom.
SQL: SELECT Name FROM ship WHERE Nationality  =  "United States" OR Nationality  =  "United Kingdom"

Question: What is the name of the ship with the largest tonnage?
SQL: SELECT Name FROM ship ORDER BY Tonnage DESC LIMIT 1

Question: Please show the most common type of ships.
SQL: SELECT TYPE FROM ship GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1

Question: List the nations that have more than two ships.
SQL: SELECT Nationality FROM ship GROUP BY Nationality HAVING COUNT(*)  >  2

Question: Show names of ships involved in a mission launched after 1928.
SQL: SELECT T2.Name FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID  =  T2.Ship_ID WHERE T1.Launched_Year  >  1928

Question: Show the distinct fate of missions that involve ships with nationality "United States"
SQL: SELECT DISTINCT T1.Fate FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID  =  T2.Ship_ID WHERE T2.Nationality  =  "United States"

Question: List the name of ships that are not involved in any mission
SQL: SELECT Name FROM ship WHERE Ship_ID NOT IN (SELECT Ship_ID FROM mission)