SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: order by

  1. #1
    SitePoint Guru
    Join Date
    Apr 2001
    Location
    BC, Canada
    Posts
    630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    order by

    I have a collum called date_entered in my database, In it are timestamps, using orderby .. how can I list the most current dates first
    I think its the opposite of

    ORDER BY date_entered ASC

    but Im not sure what the opposite of ASC is

  2. #2
    SitePoint Guru
    Join Date
    Apr 2001
    Location
    BC, Canada
    Posts
    630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nevermind

    found it
    DESC


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •