I want to pick a random row after doing an order by.
My result can sometime return 2 rows with same value. So what i want to do it that i want to select 1 row randomtly between the same rows returned.
In the below example i want to return 1 row between the 2 same rows returned.
Thanks.
select nondox, account, id
from rates2 where weight='32' and country_code='US'
and service like '%INT%'
order by nondox,account
Result of the above query is
nondox account id
276.16 610661731 25805209
276.16 610798714 2108989
391.68 610662766 1281799