Postgresql – Usage of 'in' operator in Postgres sql
I have created a CTE using 'with' clause and I am using case when expression to populate a column in CTE and I wanted to use the result of case when expression in where condition as a criteria value to…