SELECT SPLIT_PART(code,'|',2)::text AS id FROM public.variables WHERE code ILIKE 'log_VEHIC-PHP%' AND TRIM(valor) ILIKE 'INSERT%' AND COALESCE(NULLIF(SPLIT_PART(code,'|',2)::text,''),'0')::int>0 ORDER BY id DESC;0
Nothing