and a.ID = #{id} and a.DEVICE = #{device} and a.DEVICE_ID = #{deviceId} delete from "SOURCE"."wcs_device_error" where "DEVICE" = #{device} and "DEVICE_ID" = #{deviceId}