I have the below query in Oracle . How can I convert this to MySQL as we don't have rowid and rownum in MySQL?
update test_dalpu
set data_present ='true'
where rowid
in (select rowid from
(select rowid
from test_dalpu
where EXP_TIME < current_date ORDER BY PRIORITY)
where rownum <= 7 );