query_validations