sql - Why order of the result varies on using extra brackets in select query -


select distinct (upper(cd)) table end_date > '08-12-2013' 

and

select distinct upper(cd) table end_date > '08-12-2013' 

the results of both queries same order varies. there explanation ?

as understand there no default 'order' of results unless order clause specified.

this may dependent on rdbms afaik standard sql.


Comments

Popular posts from this blog

Issues changing the value of an element in an array in matlab -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

vb.net - Alternative to the T-SQL AS keyword -