Postgresql case statement in join. Mar 16, 2021 · SELECT a.

Postgresql case statement in join. 870117'), COALESCE(MAX(phone_calls.