Advertisement
Guest User

Untitled

a guest
Apr 5th, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. select id
  2. from acq.lineitem
  3. where id = 35
  4. and (state <> 'received'
  5. or (cancel_reason in (
  6. select id
  7. from acq.cancel_reason
  8. where keep_debits = true
  9. )
  10. ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement