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      i@i.i          contact
4          2         landline      453          contact
5          2          mobile       888          contact
6          2          email      d@i.i          contact
I want to create a view called view_contact_details that looks like this:
 staff_id  |  landline  |  mobile  | email
    1          456          777      i@i.i
    2          453          888      d@i.i
Is this possible to do? I appreciate any help and thank you in advance.
 
    