Hi Aryan,
Check here how a query works and query the required database to show your required data to the specific user.
https://www.wix.com/corvid/reference/wix-data/wixdataquery
Also if you want to detect the user use this
https://www.wix.com/corvid/reference/wix-users/currentuser