Here is the sample data:
╔═══════╦════════════════╦══════════════════╗
║ Login ║ User_type ║ Type_login_value ║
╠═══════╬════════════════╬══════════════════╣
║ x ║ assignee_ids ║ a ║
║ x ║ subscriber_ids ║ b ║
║ x ║ subscriber_ids ║ c ║
║ x ║ subscriber_ids ║ d ║
║ x ║ subscriber_ids ║ e ║
║ x ║ subscriber_ids ║ f ║
║ y ║ assignee_ids ║ g ║
║ y ║ subscriber_ids ║ h ║
║ y ║ subscriber_ids ║ i ║
║ y ║ subscriber_ids ║ j ║
╚═══════╩════════════════╩══════════════════╝
output should be like
Login assignee_ids subscriber_ids
x a b,c,d,e,f
y g c,h,I,j
There will be some other columns also for grouping. Please suggest what should be the best way to tackle this.