I have a database with the user id, I want to check the total number of times each user id occurred and fetch only the ones which their total number of occurrence is odd in number.
For example, I have "Sandra" with id 2 and appears 5 times, since 5 is odd it'd fetch all data like that. I tried
SELECT L_UID, count(*) as count from tenter group by L_UID order by count DESC
I was able to get the counts but couldn't check if they are odd or not.