I'm just learning sql and having lots of misunderstanding about how to write queries. I want the users password to go to his/her specific page (like MyPage). I have each individual setup in the database and each page setup in the database but dont know how to write the query so that the user can open up his page and not just a page. How do I write that query. This is what I've done so far

SELECT pwd
FROM tblbm_user
WHERE = URL(%MyPage)

I know this is not right but how do I do make it right