By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
3 rows affected
| BOM_NODE | SumQty | MaxArea | Result |
|---|---|---|---|
| 1 | 30 | 1.5 | 12 |
| 2 | 5 | 1.5 | 72 |
3 rows affected
| BOM_NODE | SumQty | MaxArea | Result |
|---|---|---|---|
| 1 | 30 | 0.5 | 6 |
| 2 | 5 | 0.5 | 36 |
| (No column name) |
|---|
| 6 |
Msg 8120 Level 16 State 1 Line 2
Column 'TABLE.WIDTH' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.
Msg 8120 Level 16 State 1 Line 2
Column 'TABLE.HEIGHT' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.
| (No column name) |
|---|
| 6 |
| 36 |