By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
3 rows affected
3 rows affected
name | account_id | type | element_id | raw_cost | component_account_id | component_type | component_element_id | component_cost | rd |
---|---|---|---|---|---|---|---|---|---|
First | 1 | type1 | element1 | 0.1 | -1 | null | null | 0.1 | 1 |
First | 11 | type2 | element11 | 0.11 | 11 | type2 | element11 | 0.11 | 1 |
Second | 2 | type2 | element2 | 0.2 | 2 | type2 | null | 0.2 | 1 |