I want to print the trending row first and then New and then all other row from the table "employee".
Also i want limit the number of row and in descending order
I was trying this
SELECT * FROM (SELECT * FROM employee LIMIT 7) sub ORDER BY id DESC
Expected Result