0

我从这个视图中看到了似乎重复的记录。您认为此视图是否导致重复记录?

create view astccdta.acaudia AS                      
( select d.IARCC9,b.ItQty#,a.IhDocd,b.ItPRT#        
       from astdta.OEINHDIH a                        
 join astdta.ICDETLIT     b on                      

 b.Itcom# = a.IhCom#                                
 and                                                
 b.ItTrn# = a.IhIdc#                                


 left join astdta.ICECTLCT      c on                

 c.CtCom#= b.ItCom# and                              

 c.CtCtr# = ' ' and                                  

 c.CtPrt# =b.ItPrt#                                  
left join astdta.Audia d                        
on d.IAprt# = b.ItPrt#                          

where b.ItTscc = 'I'   and  a.IHDOCD > 20120105  
and d.IARCC9 > ''                                
) 
4

0 回答 0