aliases are always needed when you add the same table twice; here'a i'm using an aribtrary T1 and T2;
it especially helps the query as well, as with your example, it looks like you are only selecting columns from the rxproductivity
table, so it seems like there's no value to joining to the other tables;
maybe you were going to further enhance it to get the names from the other tables?
here's my best guess, without having the tables DDL to confirm anything:
R1.whochecked AS 'userid',
T1.Name as VerifiedUser,
T2.Name as WhoCheckedUser,
COUNT (*) whochecked
FROM rxproductivity R1
JOIN users T1
ON R1.whoverified = T1.userid
JOIN users T2
ON R1.whochecked = T2.userid
COUNT(R1.whoverified) > 1
help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!