分析:涉及到的表:Movie表
利用自身连接查询:

select title,year
from Movie
where length>any
 (
     select length
     from Movie
     where title='M1'
 )

>any 即查找所有长度比其长的电影

Logo

一站式 AI 云服务平台

更多推荐