4 ms·
It's asking for a running total of all weights, so you shouldn't partition by name. Use an ORDER BY instead of PARTITION BY.
by papercrane 9y ago
It's asking for a running total of all weights, so you shouldn't partition by name. Use an ORDER BY instead of PARTITION BY.
- picardo 9y agoAh, I get it. Thanks!