Question: what is email id of Mary | Did you mean what is the email of Mary or uid or her? | yes  user profiles email id of mary
SQL: SELECT email FROM user_profiles WHERE name  =  "Mary"