在以下查询中,我在圆括号中收到错误'('任何人都可以帮我解决问题
select t1 from UserCardCertificates t1
inner join **(**
select min(y.userCardCertificatesId) from UserCardCertificates y
where y.ucmsCardId in (:selectedcards) group by y.ucmsCardId
) t2
on t1.userCardCertificatesId=t2.userCardCertificatesId