R
riota
Unregistered / Unconfirmed
GUEST, unregistred user!
SQL: select f01.LOC_CODE,f01.LOT_NO,f01.ITEM_NO,f02.ITEM_GRP,f02.SOURCE
from INVBATCH f01 left outer join ITEMMSTR f02
on f01.ITEM_NO=f02.ITEM_NO order by f01.LOC_CODE,f02.ITEM_GRP
我想再统计select LOC_CODE,ITEM_GRP,CNT=COUNT(*) from [该结果集]
group by LOC_CODE,ITEM_GRP
应该怎样做?
from INVBATCH f01 left outer join ITEMMSTR f02
on f01.ITEM_NO=f02.ITEM_NO order by f01.LOC_CODE,f02.ITEM_GRP
我想再统计select LOC_CODE,ITEM_GRP,CNT=COUNT(*) from [该结果集]
group by LOC_CODE,ITEM_GRP
应该怎样做?