EMP Table AS Follows;
EMPID EMPNAME MGRNo MGRNAME
1 Raj Null RAvi
2 Ram 1 Sam
3 Hari 2 Yogi
from the above EMP Table i wan the output as follows;
I want the output
EMPID EMPNAME MGRNAME
1 Raj RAvi
2 Ram Sam
3 Hari Yogi
For that how to write the query in sql server.please help me. uisng sqlserver

Pradip PandeyRank #452 · 5.6K reputationPosted Nov 25, 2012, 10:50 PM EST
GO
Hope it will help.
Vishnujeet KumarRank #1,019 · 1.9K reputationPosted Nov 25, 2012, 10:50 PM EST
basic sql you can learn below link..
http://www.w3schools.com/sql/default.asp
venkata kumarRank #5,034 · 314 reputationPosted Nov 25, 2012, 11:02 PM EST
SELECT EMPID,EMPNAME,MGRNAME FROM EMP
Thanks & Regrads
Kumar
Satyapriya NayakRank #47 · 31.5K reputationPosted Nov 26, 2012, 3:25 AM EST
Thanks