postgres in operator with comma separated values

Solutions on MaxInterview for postgres in operator with comma separated values by the best coders in the world

showing results for - "postgres in operator with comma separated values"
Elías
29 Aug 2020
1select *
2from DUALS
3where num in (select unnest (string_to_array('1,2', ',')::integer[]))