I misread your question — and I will make it clear that you don’t need to get snarky when folks are

I misread your question — and I will make it clear that you don’t need to get snarky when folks are trying to help you.

SELECT time FROM (SELECT time, count(*) as cnt FROM accesslog WHERE ip = ?1 GROUP BY time) WHERE cnt = 3 will give you want you want. Get a count of all occurrences of each time entry in a sub query and then filter for 3.
Was this page helpful?