Problem regarding 'select...as...'
| From: | Bernie Huang | Date: | Mon, 12 Jun 2000 22:32:25 +0000 |
| Subject: | Problem regarding 'select...as...' | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-359@lists.php.net to get a copy of this message | ||
Hi, I have a following query:
"select equip_attr[1], equip_attr[2]
as year, make
from vehicle_tb;"
which gives me the following error:
"ERROR: Attribute 'make' not found"
Is there something wrong with my "as" usage? Thanks
- Bernie