SQL statement Validator Engine