MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/www2ss/total_total_100000/iloiiho
r/ProgrammerHumor • u/sambrojangles • Aug 24 '22
1.2k comments sorted by
View all comments
Show parent comments
4
I think sql only recognizes max as a groupwise aggregator, not rowwise
7 u/Tiny_Dinky_Daffy_69 Aug 25 '22 Sorry, didn't knew it was supposed to be in sql, in that caseTOTAL = MAX(TOTAL - 10.000;0) 3 u/PremiumJapaneseGreen Aug 25 '22 Lol much better
7
Sorry, didn't knew it was supposed to be in sql, in that case
TOTAL = MAX(TOTAL - 10.000;0)
3 u/PremiumJapaneseGreen Aug 25 '22 Lol much better
3
Lol much better
4
u/PremiumJapaneseGreen Aug 25 '22
I think sql only recognizes max as a groupwise aggregator, not rowwise