Default sort by ID for all tables in MySQL

I have a MySQL database consisting of around 20 tables.

Whenever I query any table, it gives me the rows in a random order.

I want it to always sort the result by ID (default Row ID) when no other "ORDER BY" clause is given.

In other words, I want it to give rows in chronological order(of insertion) by default.

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.