想知道下下面2条数据Oracle 是怎么执行的,,有无这方面书籍。select count(*)  
  from wh_outbound_line whline, wh_outbound_head whhead
 where whline.outbound_head_id = whhead.outbound_head_id
   and whhead.outboundtype <> 106
   and whline.requirement_line_id = 1682
   and rownum = 1;select 1
  from dual
 where exists ( 
select 1  
  from wh_outbound_line whline, wh_outbound_head whhead
 where whline.outbound_head_id = whhead.outbound_head_id
   and whhead.outboundtype <> 106
   and whline.requirement_line_id = 1682
         )