php-db | 2002122
Date: 12/23/02
- Next message: Leif K-Brooks: "Re: [PHP-DB] Checking if number is in bottom three?"
- Previous message: Bernain, Fernando G.: "RE: [PHP-DB] Questions regarding primary keys, updates, and autoi ncrement"
- Next in thread: Leif K-Brooks: "Re: [PHP-DB] Checking if number is in bottom three?"
- Maybe reply: Leif K-Brooks: "Re: [PHP-DB] Checking if number is in bottom three?"
- Reply: Doug Thompson: "Re: [PHP-DB] Checking if number is in bottom three?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I need a way to check if a number is in the bottom three of a column in
my database. For example, if I had a list of number in my table like this:
1
5
8
12
60
10000
10001
I might need to know if 5 was in the bottom three, which it would be.
But if I checked 60, it wouldn't be. I could check the lowest number
and add 3 to it, but it may have gaps. Any ideas?
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Leif K-Brooks: "Re: [PHP-DB] Checking if number is in bottom three?"
- Previous message: Bernain, Fernando G.: "RE: [PHP-DB] Questions regarding primary keys, updates, and autoi ncrement"
- Next in thread: Leif K-Brooks: "Re: [PHP-DB] Checking if number is in bottom three?"
- Maybe reply: Leif K-Brooks: "Re: [PHP-DB] Checking if number is in bottom three?"
- Reply: Doug Thompson: "Re: [PHP-DB] Checking if number is in bottom three?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

