Tuesday, June 9, 2015

SQL EXISTS CONDITION

select *
 from trn_log tl
 where Exists( select 1
 from trn_queue aq
 where aq.track_num=tl.track_num and aq.code=tl.code
 )

No comments:

Post a Comment