Guest User

Untitled

a guest
Nov 21st, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. select (select (select(select sum(paquetes) from koc4 where Material = '1000230')*((select AVG (convert(decimal (10,2),(Prom_lote)))as prom_lot
  2. from QM where Material = '1000230')/1000) )-((select (select sum(paquetes) from koc4 where Material = '1000230')
  3. *((select convert (decimal (10,2),Peso_bruto) from Maestro where Material = '1000230')/1000) )))
  4. /((select (select sum(paquetes) from koc4 where Material = '1000230')*((select [Peso neto]
  5. from Maestro where Material = '1000230')/1000)))*100 as percentaje
  6.  
  7. percentaje
  8. 1.64220000000002
Add Comment
Please, Sign In to add comment