I have a SQL query as follows
SELECT * FROM
epf_applicationWHEREapplication_idIN
(SELECTapplication_idFROMepf_application_device_typeWHERE device_type_id IN
(SELECTdevice_type_idFROMepf_device_typeWHEREname="someDevice") LIMIT 30) LIMIT 30
When I run it in phpMyAdmin, I get the following error
1235 - This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'
From the error, I am guessing that there is a problem with placing LIMIT in a subquery. Any suggestions on how I can fix this?
JOINS.JOINS