Hello. I apologize for an indiscreet question, but by evening I can’t think of how I can select from the database or just an operation on the resulting array.
Suppose there is a table with 3 columns.
user_id | date | clicks
user_id - just int date - has a format 01/01/2011 clicks - also int
We need to weed out those user_id whose number of clicks was zero or 2 days at a time, or 3 in total for the month.
Tell me at least an approximate condition, I will be very grateful!