You are here: Re: Ranking function in PHP/MySQL « PHP Programming Language « IT news, forums, messages
Re: Ranking function in PHP/MySQL

Posted by Shelly on 10/06/07 22:19

"macca" <ptmcnally@googlemail.com> wrote in message
news:1191705301.404195.116550@22g2000hsm.googlegroups.com...
> >select casualtyID, deathdate from the_table order by deathdate
>
>
> Just to eloborate on that you can use the keywords ASC and DESC for
> ascending order and descending order respectively, such as
>
> "SELECT casualtyID, deathdate FROM the_table ORDER BY deathdate ASC"

If you don't specify anything, ASC is taken by default.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация