I've found that it makes better sense to SELECT 1 WHERE deterministic() == deterministic() In this way the function is only called once.
I've found that it makes better sense to SELECT 1 WHERE deterministic() == deterministic() In this way the function is only called once.