Hello when I'm executed the below query in oracle it works fine but in MySQL it is showing error for ROWNUM.
SELECT ROWNUM , key_value , new_rec
FROM table1
WHERE NOT EXISTS ( SELECT key_value
FROM table2
WHERE table1.key_value = table2.key_value
);
what is the alternative for for this in MySQL.