I
I
Ivanoff-i2016-05-22 21:01:43
MySQL
Ivanoff-i, 2016-05-22 21:01:43

Group by date, make count for different conditions for each date in one query. Really?

There is a table with events of different types. You need to display how many events of each type were in a certain time interval. For example by day. The time of each event in the table is stored in UNIX format. Is it possible to fit this into 1 request?
f3a8e37b48914fc5925d1140a43a3e30.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Savostin, 2016-05-22
@savostin

something like this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question