简体   繁体   中英

how to write inner join query in DQL(DOCTRINE) for select inside select

i want to write this SQL query in DQL (DOCTRINE)

select <cols> from profile INNER JOIN (
 SELECT <primary key cols> FROM PROFILES
WHERE x.sex='M' ORDER BY rating LIMIT 100000,10
) AS x USING (<primary key cols>);

Hey guys please help me

any help will be appreciated

thank you

DQLFROM子句当前不支持子查询。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM