I am trying to create function of existing SELECT query.
SELECT
SELECT uta.StartDate, uta.EndDate FROM user_timesheets_absence uta WHERE uta.UserID =