SELECT
    a.USER_ID userId,
    a.USER_NAME userName,
    a.STATUS status,
    a.FULL_NAME fullName,
    a.USER_TYPE_ID userTypeId,
    a.CREATE_DATE createDate,
    a.DESCRIPTION description,
    a.STAFF_CODE staffCode,
    a.MANAGER_ID managerId,
    a.LOCATION_ID locationId,
    a.DEPT_ID deptId,
    a.DEPT_LEVEL deptLevel,
    a.POS_ID posId,
    a.DEPT_NAME deptName,
    a.GROUP_ID groupId,
    a.SITE_ID siteId,
    a.COMPANY_SITE_ID companySiteId,
    a.AGENT_TYPE agentType,
    a.MOBILE_NUMBER mobileNumber,
    a.FACEBOOK_ID facebookId,
    a.LOGIN_TYPE loginType,
    a.GOOGLE_ID googleId,
    a.EMAIL email,
    a.AVAILABLE_TICKET availableTicket,
    a.USER_KAZOO_ID userKazooId,
    b.FILTER_TYPE filterType
FROM VSA_USERS a
--          LEFT JOIN CAMPAIGN_AGENT b on a.USER_ID = b.AGENT_ID
-- WHERE 1 = 1
--   AND a.COMPANY_SITE_ID = :p_company_site_id
