Re: SQL ?
| From: | Analysis & Solutions | Date: | Mon, 12 Aug 2002 14:26:55 +0000 |
| Subject: | Re: SQL ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112133@lists.php.net to get a copy of this message | ||
On Mon, Aug 12, 2002 at 02:15:23PM +0000, Tyler Durdin wrote:
> SELECT *, IF (answer = 'a', TRUE, FALSE) AS Answer-A
> What does the As Answer-A mean and what does it do?
Why not examine the manual for the answer to such a basic question,
especially one that is off topic for the list you posted to?
Assuming you're using MySQL read http://www.mysql.com/doc/en/SELECT.html
and you'll quickly come across the meaning of AS.
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409