結果 : how to use count function in case statement in sql