Quantcast
Channel: Active questions tagged cte - Database Administrators Stack Exchange
Viewing all articles
Browse latest Browse all 216

calculate or get price of parent items on bill of materials

$
0
0

i want to calculate or get the price of parent items on bill of materials query

here is the fiddle-> https://www.db-fiddle.com/f/o3jLgZxKNLG14mna8QGdVN/6

please note in the second row, betax has qty = 2 and the other parent items could behave the same

qty of the first row, always will be 1

what i need is to get the 'price' and 'subtotal' for every parent


Viewing all articles
Browse latest Browse all 216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>