from CmsVideoExt where poststatus = 1 and videoId in(select entityId from MeAppLearnlog where userId =:userId and kind =:kind)order by videoId desc 我想先在MeAppLearnlog 表里的根据userId、kind获得entityId并按照时间time倒序输出,然后在根据entityId到CmsVideoExt 表里面查,该怎样改?