Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

SQL Query

289018Nov 22 2004 — edited Sep 22 2008
SQL> select ename from emp where job='CLERK';

ENAME
----------
Smith
Adams
James
Miller

SQL> select ename from emp where job='SALESMAN';

ENAME
----------
Allen
Ward
Martin
Turner

SQL> select ename from emp where job='MANAGER'
2 /

ENAME
----------
Jones
Blake
Clark


I need a SQL query to get data in this format .

CLERK SALESMAN MANAGER
----- -------- ---------
Smith Allen Jones
Adams Ward Blake
James Martin Clark

thanks!

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 20 2008
Added on Nov 22 2004
2 comments
1,163 views