is it possible to test two fields in a case statement in SQL ?