這裡只查「分裝回桶」的資料

罐裝量:代表分裝回桶的公斤數,例如4公斤回桶25桶,罐裝量就是100


使用SQL:

SELECT TOP 3000 v_REPMA600.stno,m_store.stnm,v_REPMA600.yy,v_REPMA600.yyymm,v_REPMA600.trndt,v_REPMA600.tot

FROM v_REPMA600

left join m_store on v_REPMA600.stno=m_store.stno where 1=1  

ORDER BY v_REPMA600.stno,m_store.stnm,v_REPMA600.yy

Created with the Personal Edition of HelpNDoc: Benefits of a Help Authoring Tool