Added sql query for retrive host services