
October 13th, 2012, 04:19 AM
|
|
|
Hi,
MySQL tables aren't ordered by default. Tables in the relational database model are mathematical sets, so there is no order. Well, the rows are of course displayed one after another, but that's arbitrary.
If you want to sort the rows in a specific way, you have to add an ORDER BY clause to your SELECT query:
Code:
SELECT
`id_voice`
, `id_project`
, `description`
FROM
`yourtable`
ORDER BY
`id_voice` ASC
;
|