How do I use conditions properly in PSQL? – Postgresql
I wanted to do a condition wherein I put values (000000) in DATE_COMPLETED if it see's the FLAG_CLOSED = Y and if its not Y then do nothing SELECT "JOB", "SUFFIX", "SUFFIX", "DATE_COMPLETED", "FLAG_CLOSED", CASE "DATE_COMPLETED" WHEN "FLAG_CLOSED"='Y' THEN "DATE_COMPLETED"='000000'…