Rather than listing unique things using DISTINCT you might want to see how many times that user appears in the table. Or you might want to add up the number of different fruits he has eaten (or logins he has made).
Rather than listing unique things using DISTINCT you might want to see how many times that user appears in the table. Or you might want to add up the number of different fruits he has eaten (or logins he has made).