Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8635

Re: BOM history report - avoid the duplicate data

$
0
0

Hi,

 

try this

 

SELECT  distinct T0.[Code], T0.[CreateDate], T0.[UpdateDate], T0.[ToWH], T1.[Father], T1.[Code], T1.[Quantity], T1.[Warehouse], T1.[Price]

FROM dbo.AITT T0

INNER JOIN dbo.ATT1 T1 ON T1.Father = T0.Code

WHERE T0.Code = '[%0]'

ORDER BY T0.LogInstac DESC


Viewing all articles
Browse latest Browse all 8635

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>