why case statement with double precision in postgresql error?
I'm having problems with the case statement in PostgreSQL. Here I want to change the output of the month (number) to text, like January, February, etc. select date_part('month', tanggal) bulan, case when date_part('month', tanggal)= 1 then 'January' when date_part('month', tanggal)…