What types of ships have both ships that have Panama Flags and Malta flags?
select type from ship where flag = 'Panama' intersect select type from ship where flag = 'Malta'