Answer the question
In order to leave comments, you need to log in
How to select data that satisfies two time intervals with grouping?
There are two tables:
user
- user_id
comment
- ...
- created_at // Ymd H:i:s
- is_shown tinyint
-
user_id were there more than 3? This should be one request.
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