in this example, I have different values about same user. so I have to get all those values in single row.
user_id key value
------- -------- -----------
123 name thomps
123 url thomps.com
123 email thomps@me.com
456 name hond
456 url hond.com
456 email hond@me.com
how to get a list merging rows like this:
user_id name url email
------- ---- ---- ------
123 thomps thomps.com thomps@me.com
456 hond hond.com hond@me.com
I tried using grop_concat and join sub-query but no success