Ordinary SELECT ... INTO statements can raise NO_DATA_FOUND or TOO_MANY_ROWS when their result cardinality is not handled.

Single-group aggregate queries without GROUP BY, HAVING, set operators, row-limiting clauses, or MODEL always produce one result row and are ignored by this rule. This guarantee concerns result cardinality only; aggregate queries can still raise other runtime exceptions.