I have a table with 5 columns,
column1, column2, column3, column4, column5
of which column1, column2 and column3 constitute 'primary key'
temp_table
Column1 Column2 Column3 Column4 Column5
2 209 Raj Kumar K
2 27 Arvind Ram R
2 227 Mahesh Kumar M
whenever i query the table, the results would be ordered by the primary key columns even if i do not give order by in the query.
Select Column1, Column2, Column3 from temp_table;
every time i run this query i do get the result as,
Column1 Column2 Column3
2 27 Arvind
2 209 Raj
2 227 Mahesh
But at one particular instance only, the query result was not ordered by primary key columns.
The result was like below,
Column1 Column2 Column3
2 209 Raj
2 27 Arvind
2 227 Mahesh
Can somebody help to find the reason why.