Reputation: 2514
I likely lack the correct vocabulary, which is why my google searches were unsuccessful to achieve the following rowmax
type of operation: I want to create a new column that is for each row the maximum of two existing columns and is bounded by 0.
SELECT a,b, rowmax(a,b,0) as c
FROM ...
Upvotes: 0
Views: 109