Skip site navigation (1) Skip section navigation (2)

Re: [PHP-DB] Problem regarding ''

From: Vince LaMonica <Vince(dot)LaMonica(at)quest(dot)com>
To: Bernie Huang <bernie(dot)huang(at)ec(dot)gc(dot)ca>
Cc: PHP Database <php-db(at)lists(dot)php(dot)net>, PGSQL-SQL <pgsql-sql(at)postgresql(dot)org>
Subject: Re: [PHP-DB] Problem regarding ''
Date: 2000-06-12 22:40:27
Message-ID: (view raw or whole thread)
Lists: pgsql-sql
On 2000-06-12, Bernie Huang stated:

} "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

	"select equip_attr[1] as year, equip_attr[2] as make"



In response to

pgsql-sql by date

Next:From: AlexDate: 2000-06-12 23:42:01
Subject: Simple search question
Previous:From: Bernie HuangDate: 2000-06-12 22:32:25
Subject: Problem regarding ''

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group