Postgres defaults to ID DESC, MySQL defaults to ID ASC

(My point of view) Order the result by ID is also a bad idea, if you switch to another ID schema (for example UUID, descending sequence, etc.) you must rewrite a lot of code. The ID is something the application must not "know", order for example by name, by a created_at field (and that have more sense if you want "the last created user").


Franco Catena.