Answer the question
In order to leave comments, you need to log in
Can there be simple fields and fields with aggregate functions in one SQL query?
If I have a request text like
SELECT any_expr, SUM(field1), COUNT(field2) FROM any_table
Answer the question
In order to leave comments, you need to log in
the field must be either in a group by or under an aggregate function. alternative behavior is not standard
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question