Re: MySQL Select

From: Date: Thu, 23 Nov 2000 03:19:16 +0000
Subject: Re: MySQL Select
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-4066@lists.php.net to get a copy of this message
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..
SELECT age FROM clients WHERE age < x AND age > y; or WHERE age BETWEEN y AND x; where y < x. Bob Hall Know thyself? Absurd direction!
Bubbles bear no introspection.     -Khushhal Khan Khatak


« previous php.windows (#4066) next »