Guest User

Untitled

a guest
Dec 12th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. SELECT
  2.  
  3. if 1=(select nds_purchase from orders_tehnika where id_orders_tehnika=777)
  4. THEN SUM((hours*1000)*18/118) as nds_purchase
  5. else 0 as nds purchase,
  6.  
  7. FROM worked_hours
Add Comment
Please, Sign In to add comment