PostgreSQL EXISTS and null value
Advertisements For example use Test table with only positive id value. Query select 1 from public.Test where id = 0 return empty result. But when I use this query: select case when exists(select 1 from public.Test where id = 0) then ‘exist’ else ‘not exist’ end result is – not exist For query: select case… Read More PostgreSQL EXISTS and null value