Use a string value from a CTE in an IN-clause in a simple SQL query
Advertisements I am trying to make a simple SQL query in PostgreSQL to use in our team: with findData as ( select ‘(”XXX”,”YYYY”)’ as dataList ) select * from findData That gives the result: (‘XXX’,’YYYY’) Exactly what I wanted ! But I want to use it like this in a simple SQL script: select t.variabel1,… Read More Use a string value from a CTE in an IN-clause in a simple SQL query