Stumped by Equality

Too much SQL and too little sleep.