SELECT `a` . `Id` , `a` . `Answer` , `a` . `AnswerType` , `a` . `AuditId` , `a` . `Comments` , `a` . `ComplinaceType` , `a` . `Consequence` , `a` . `CreatedDate` , `a` . `Createdby` , `a` . `DocumentUrl` , `a` . `EA_Answer` , `a` . `EA_Comments` , `a` . `EA_DocumentUrl` , `a` . `EA_Id` , `a` . `Exposure` , `a` . `IA_Answer` , `a` . `IA_Comments` , `a` . `IA_DocumentUrl` , `a` . `IA_Id` , `a` . `IsActive` , `a` . `IsDeleted` , `a` . `IsEAStatus` , `a` . `IsIAStatus` , `a` . `IsStatus` , `a` . `Likelihood` , `a` . `QuestionId` , `a` . `QuestionTitle` , `a` . `QuestionType` , `a` . `SM_Id` , `a` . `ScheduledId` , `a` . `UpdatedDate` , `a` . `Updatedby` , `a` . `UserId` , `a` . `sm_Comments` FROM `AuditSchedule_Application` AS `a` WHERE ( ( ( ( `a` . `UserId` = ? ) AND ( `a` . `AuditId` = ? ) ) AND ( `a` . `ScheduledId` = ? ) ) AND NOT ( `a` . `IsDeleted` ) ) AND `a` . `IsActive` 