Question

I have problem with following sql code:error says

apex -ORA-00907: missing right parenthesis

SELECT (ime,', ',prez,', ',br_tel) AS POŠTARI
FROM postari

It keeps telling me I miss right parenthesis.

I want multiple columns to be selected as ALIAS, because it works on mySql but I do not really know how to do it here.

Était-ce utile?

La solution

For oracle 10g try this one

SELECT (ime||  ',' || prez|| ',' || br_tel) "POŠTARI"
FROM postari

Concatenation Operator

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top