Answer the question
In order to leave comments, you need to log in
How to do SUM and COUNT on LEFT JOIN query?
Good evening, please tell me about this issue. There are 2 tables in the database, in the first one there is roughly an identifier, in the second there is also a column with this id. The bottom line is, is it possible to make a selection of identifiers from the first table and then get from the second table by these id get SUM and COUNT from the second grouped by id?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question