Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 4729

regarding sqlserver

$
0
0

Hi,

i have one table

empid     name  managerid

1              a        null

2               b        null

3               c         2

4               d         2

my output should be

empid      name    managerid

1              a        null

2               b        null

3               c         b

4               d         b

please help me


Viewing all articles
Browse latest Browse all 4729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>