I have this type of table and I'd like to convert:
This kind of table:
customer_name product_type total_paid
Lian car 100
Lian motorbike 200
Carl car 300
Carl motorbike 500
In this other kind of table:
customer_name car motorbike
Lian 100 200
Carl 300 500
Using Postgresql, I would really appreciate if someone can help me please.