I have got table with 300 000 rows. There is specially dedicated field (called order\_number) in this table to story the number, which is later used to present the data from this table ordered by order\_number field. What is the best and easy way to assign the random number/hash for each of the records in order to select the records ordered by this numbers? The number of rows in the table is not stable and may grow to 1 000 000, so the rand method should take it into the account.