RE: [PHP-WIN] MySQL Select
| From: | Gregory_Griffiths at cargill dot com | Date: | Wed, 22 Nov 2000 15:03:58 +0000 |
| Subject: | RE: [PHP-WIN] MySQL Select | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-4053@lists.php.net to get a copy of this message | ||
Ben,
you could try select age from db where age < x and age > y
or you could use BETWEEN as mentioned by kill-9
> -----Original Message-----
> From: BenC@intasept.com [mailto:BenC@intasept.com]
> Sent: 22 November 2000 11:43
> To: php-windows@lists.php.net
> Cc: BenC@intasept.com
> Subject: FW: [PHP-WIN] MySQL Select
>
>
> I have looked in the manual for this, and I don't seem to be
> able to find an
> answer to this question
>
> I have a database called clients.
>
> One of the fields in the DB is age.
>
> I need to be able to select from the age DB if the age is
> less that x but
> greater than y
>
> So i want a select statement do this..
>
>
> -- Ben Cairns, Head Of Technical Operations, Intasept.com
> E-Mail: BenC@intasept.com | Web:
> http://www.intasept.com
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
>