In message <[EMAIL PROTECTED]>, Tonu Samuel 
<[EMAIL PROTECTED]> writes
>On 29 May 2001 09:28:04 +0200, Signe Hasseriis wrote:
>> Please tell me how to select the 10 (or 5) newest records or posts 
>>from a MySql table.
>>
>
>
>SELECT * FROM table ORDER BY posttime DESC LIMIT 5

is the column/field posttime put in by one self or is this a special 
built in function?

M.
-- 
Work:- postmasterAThinwick.demon.co.uk  WEB:- http://www.hinwick.demon.co.uk
Work:- mworsdallATshaftesburysoc.org.uk REPLACE AT with @
Home:- hinwickATworsdall.demon.co.uk    WEB:- http://www.wizdom.org.uk
Shadow:- webmasterATshadow.org.uk       WEB:- http://www.shadow.org.uk

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to