Let's assume I have a table with the following rows and columns
EmpCode Empname Goals
------- ---- ------
101 kiran readsql
101 kiran coding
101 kiran readcss
102 rohit coding
102 rohit readjava
103 pradi do nothing
I want to display above table in below format:
EmpCode Empname Goal1 Goal2 Goal3
------- ---- ------ ------ ------
101 kiran readsql coding readcss
101 rohit coding readjava
103 pradi do nothing
The field goals is dynamic, please help me out. Thank you.