I have the following table
ID p_name p_value
---- ------ --------------
1 name index.htm
1 path c:\web\site1
1 size 400
1 date 2011-03-12
1 note 'test site'
2 name login.htm
2 path c:\web\site1
2 size 500
... ... ...
... ... ...
I need to make it look like this
ID Name Path
--- ---------- -------------
1 index.htm c:\web\site1
2 login.htm c:\web\site1
... ... ...
I was reading few other posts, but I could not figure out how to apply it on my example!
I just need mainly the “Name” and the “Path” and I may add others when needed!
Simplest way is to case it out since it seems you have a finite number of p_names for a given ID.
Attempt 2 – revised
Attempt 1 – Blunder