implement query kehadiran