This query:
SELECT * FROM table WHERE field = 'EN'
I would like to modify selection in reverse (desc) order by it physically has been inserted to db, without any index usage (something like: DESC NO-INDEX)?
Is it possible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
MyISAM store items with insertion order, and fill deleted rows with a new one (you can see it in select * from… without order). the insertion orde not saved in DB by default (you can, if you want to use Auto Incerment field to store this order).
INNODB store rows by PK, so you can
select ... from ... order by PK desc, regardless when the rows was inserted.