it's a noob question so hope somebody can help on this
I want to transform the resultset from the query which has a multiple lines for one user to a single row of data for one activity
i get this data
userid, date,      activity_id, parameter_id,   parameter_value
545,  2011/9/11,  1,    4, 20
545,    2011/9/11,  1,  5, 10,
545,  2011/9/11,  1,  6, 30,
i want it to convert to
userid, date,   activity_id,  parameter_4_id_value, parameter_5_id_value, parameter_6_id_value
545,    2011/9/11,  1, 20,10,30
any example will be really helpful. Thank you
 
     
     
    