D
D
Dmitry2017-09-13 15:41:19
MySQL
Dmitry, 2017-09-13 15:41:19

How to combine data from two queries to one table?

Good afternoon.
There are queries with a choice of fields from the table: 'date', 'number', 'external', 'minutes'
In the first one there is SUM('minutes') and GROUP BY 'number'.
The second one is the same but with the condition for 'external'
How can the result of the second query be attached to the first one with a separate field?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
d-stream, 2017-09-13
@d-stream

join

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question