Question: Find the ship type that are used by both ships with Panama and Malta flags.
Schema: create table ship (type varchar, flag varchar, PRIMARY KEY (type))
SQL: select type from ship where flag = 'panama' intersect select type from ship where flag = 'malta'