retrieving in a reverse order...

  • hi everybody

    i've the following code:

    SELECT DailyReport.*, DailyReport_ExecutedWorks.Company, DailyReport_ExecutedWorks.ManPower, DailyReport_ExecutedWorks.Equip, DailyReport_ExecutedWorks.Description FROM DailyReport INNER JOIN DailyReport_ExecutedWorks ON DailyReport.DailyReportRef=DailyReport_ExecutedWorks.DailyReportRef;

    that's used to retrieve some records

    but i want to retrieve them in a reverse order

    and i don't mean reverse alphabetical order...

  • Ahmed,

    maybe it would help if you told us what type of order you mean.  WHich field you want to be ordered ? Maybe some sample output would help.

    Markus

    [font="Verdana"]Markus Bohse[/font]

  • Append ORDER BY [COLUMN NAME 1] DESC, [COLUMN NAME2] DESC, etc.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply