I included a screenshot of a demo entry to the table. I know how to write an SQL query to select data when all the information is on the same row, but this presents a new challenge to me. I want to select the meta_value result to a meta_key for a user_id only if pw_user_status has the value of approved. I'm not sure how to write this kind of query.
Source data:
