結果 : case is not null postgresql