PeteAmsterdam
Programmer
When you group based on one or more fields,
there will be other fields that aren't part of the grouping and you have to instruct the query what to do about it. In other words, anytime you use
GROUP BY, any fields not listed in this list have to have some kind of modifier in front of them, like min(), max(), or sum().
I'm having trouble
seeing how common table expressions or a UDF could get around that rule.
there will be other fields that aren't part of the grouping and you have to instruct the query what to do about it. In other words, anytime you use
GROUP BY, any fields not listed in this list have to have some kind of modifier in front of them, like min(), max(), or sum().
I'm having trouble
seeing how common table expressions or a UDF could get around that rule.