Re: [PHP-DB] Problem regarding 'select...as...'

Поиск
Список
Период
Сортировка
От Vince LaMonica
Тема Re: [PHP-DB] Problem regarding 'select...as...'
Дата
Msg-id Pine.WNT.4.21.0006121539160.256-100000@vlamonica.quest.com
обсуждение исходный текст
Ответ на Problem regarding 'select...as...'  (Bernie Huang <bernie.huang@ec.gc.ca>)
Список 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

Try: "select equip_attr[1] as year, equip_attr[2] as make"
instead.

HTH,

/vjl/



В списке pgsql-sql по дате отправления:

Предыдущее
От: Bernie Huang
Дата:
Сообщение: Problem regarding 'select...as...'
Следующее
От: Alex
Дата:
Сообщение: Simple search question