Hi all,
i have a table as follows
empid empname mgrid deptid
1 a 3 4
2 b 1 5
3 c 2 3
4 d 3 6
5 e 4 7
i want the output as
empname mgrname
a c
b a
c b
d c
e d
Answer Posted / nanne saheb c
select e.empname,m.ename mgrname from emp e,emp m
where e.mgrid=m.empid;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is difference between nchar and nvarchar?
What is the starting oracle error number? What is meant by forward declaration in functions?
What is a procedure in pl sql?
what are the join types in tsql? : Transact sql
How to call shell script from pl sql procedure?
Are pl sql variables case sensitive?
Does truncate free space?
What do you understand by exception handling in pl/sql?
How does an execution block start and end in pl sql?
What is example of database?
Is crud a cuss word?
How many clustered indexes can be created on a table?
What is pessimistic concurrency control? : Transact sql
What are the benefits of triggers?
How do you truncate?