Run Initial SQL on Looker

Do we have any place in looker to Run the Initial query while connecting to the Database? Please help.

I need to call the dbms session set identifier while connecting to database. So that the data filters based on the logged in user.