Alternative to AS? - Mailing list pgsql-novice

From Helgi Örn
Subject Alternative to AS?
Date
Msg-id AANLkTinSCQ9ux33BUeJwkqsA19mV-pPwhpdQNJYdy7U2@mail.gmail.com
Whole thread Raw
Responses Re: Alternative to AS?  (Lukasz Brodziak <lukasz.brodziak@gmail.com>)
Re: Alternative to AS?  (Thomas Kellerer <spam_eater@gmx.net>)
List pgsql-novice
Hi! I am moving a database project from MySQL to PostgreSQL I was a
newbie there and now I am a newbie here :)

I have this form mysql:
SELECT tid_in, TIME_FORMAT(tid_in, '%H.%i')AS format FROM timmar;

Which I have gotten postgre to accept thus far:
SELECT pack_tidin TIME_FORMAT, pack_tidin '%H.%i', AS format FROM timmar;

it stops at AS which doesn't seem to exist is postgre, what is
postgres alternative to AS?


Thank's in advance,
Helgi Örn

pgsql-novice by date:

Previous
From: Mladen Gogala
Date:
Subject: Re: WHEN NO_DATA_FOUND THEN....
Next
From: Lukasz Brodziak
Date:
Subject: Re: Alternative to AS?