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

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

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

ios - CFRelease causing crash in iPad application -