By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,557 Members | 1,416 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,557 IT Pros & Developers. It's quick & easy.

To get the column names based on value

P: 1
I have Employee table
Eg:
Fn Ln Eid EmpOrgStr MngrOrgStr
a a a1 a1 b1
b b b1 b1
c c c1 c1 b1
d d d1 d1 b1

when i use select query i should get the result as below
Fn Ln Eid EmpOrgStr MngrOrgStr MnFn MnLn
a a a1 a1 b1 a a
b b b1 b1
c c c1 c1 b1 a a
d d d1 d1 b1 a a
Nov 18 '11 #1
Share this Question
Share on Google+
1 Reply


Rabbit
Expert Mod 10K+
P: 12,359
I have no idea how you derived those two columns.
Nov 18 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.