[sql] case statement in SQL, how to return multiple variables?