Guest passwords and member passwords

Yisrael,
So i just need to copy this query and paste it in the OnReady() function on the page I create and change Members to my actual collection name?

Yisrael, I am not experienced with writting queries. I apologize if I am asking too many questions, but I feel like you are giving me bits and peices each time. I understand how the database and data sets and all that work. I am just really frustrated by all of this issur I am having. Does Wix offer remote desktop support?