If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > How to read out records in an descent order from a table with using ORDER BY clause

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-16-09, 23:51
cy163 cy163 is offline
Registered User
 
Join Date: Apr 2007
Posts: 127
How to read out records in an descent order from a table with using ORDER BY clause

Hi ALL,

I have a table looking like,
Code:
AccuntNo   char
Amount      float
When populating records into the table, records are inserted in descending order of Amount column.

I wonder whether all records can be read out in descending order with a SQL statement without using 'ORDER BY Amount DESC' clause?


Thanks
Reply With Quote
  #2 (permalink)  
Old 08-17-09, 02:31
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,258
possibly, but you cannot rely on that behaviour
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On