3 ms·
SQL could really use some standard aggregation function that returns null for no rows, the value of a single row and error if there is more than one row. That
by marcosdumay 6y ago
SQL could really use some standard aggregation function that returns null for no rows, the value of a single row and error if there is more than one row.
That kind of query happens all the time, and min/max behavior isn't the safest one.