Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> what this mean ||

what this mean ||

From: Imen Eladham <eladhami_at_eircom.net>
Date: Sun, 24 Jun 2001 22:39:55 +0100
Message-ID: <97tZ6.10791$Fk7.97353@news.indigo.ie>

hi there,

I am just trying to learn SQL, if u can help.

I have Emp Table with the following 3 colomns ename, Salary, Dept No.

Question:
the statement:
SQL> Select 'Name: ' || ename "Employee", Salary "Salary" From emp
where deptno = 30
order by deptno Desc, "Employee"

Why || is used here ???
why 'Name: ' is used here, it is not a column Name.???

thanks

Imen Received on Sun Jun 24 2001 - 16:39:55 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US