Alias in Joins

Why do we use aliases during joining two tables?

Questions by manishayadav_1   answers by manishayadav_1

Showing Answers 1 - 6 of 6 Answers

Alias name it temporary name given to a tablen or  columns of a table.
It has its existence until the satement is executed. 

For example in the following example instead of typing tablenames emp and dept every time you may simply use  its alias names.

SELECT a.empno, a.ename, a.sal  , a.job, b.deptno, b.dname
FROM  emp a , dept b
WHERE a.deptno = b.deptno

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions