Aggregate functions cant be used in a WHERE clause because WHERE clause iterates through each record solo, but what about this case:
But take example of two tables :<