Guest User

Untitled

a guest
May 20th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. select t.trade_date_time, t.product_id, t.book_id, t.quantity, pb.bond_name, t.cpty_id,
  2. t.accrual
  3. from trade t
  4. left join product_bond pb on pb.product_id = t.product_id
  5. where trade_date_time > to_date('2010-JAN-01 00:00:00', 'YYYY-MON-DD HH24:MI:SS')
  6. and trade_status = 'FULLY_ALLOCATED' or trade_status = 'ALLOCATED'
Add Comment
Please, Sign In to add comment