yes
select t1.name from ship as t1 join captain as t2 on t1.ship_id = t2.ship_id where t2.rank = 'Lieutenant'
give me the ship id
select t1.ship_id from ship as t1 join captain as t2 on t1.ship_id = t2.ship_id where t2.rank = 'Lieutenant'
what is the captain's age?
select t2.age from ship as t1 join captain as t2 on t1.ship_id = t2.ship_id where t2.rank = 'Lieutenant'