I have a table like this:
ID | staff_id | Meta_key | Meta_Value | Meta_Group
1 1 landline 456 contact
2 1 mobile 777 contact
3 1 email [email protected] contact
4 2 landline 453 contact
5 2 mobile 888 contact
6 2 email [email protected] contact
I want to create a view called view_contact_details that looks like this:
staff_id | landline | mobile | email
1 456 777 [email protected]
2 453 888 [email protected]
Is this possible to do? I appreciate any help and thank you in advance.