>I want to look through the last 15 records 
ORDER BY ?? LIMIT 0,15

>d find the highest and/or
> lowest number

SELECT MAX(field),MIN(field)

Op dinsdag 12 maart 2002 03:19, schreef u:
> Could anyone give me an example of how to use GREATEST
> and LEAST in a MySQL query. I want to look through the
> last 15 records in a certain field and find the highest and/or
> lowest number. Thanks.
> Jeff Oien



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to