|
Material code is AABBCCDDDD
The first sentence wzlb = left (wzdm, 2) is the largest class of materials AA, and the finest classification code AABBCCDDDD is stored in wzdm.
If you use datetime grouping, isn't the sum of all the major types of supplies the day after sum?
If group by removes rksj, the error message after execution is
Server: Msg 8120, Level 16, State 1, Line 1
The column 'Material material in storage.rksj' is invalid in the select list because it is neither included in the aggregation function nor in the GROUP BY clause.
If you don't group by rksj, do you use having? |
|