plbuild/plcore_overlap.pg.sql

2 lines
164 B
MySQL
Raw Normal View History

2023-09-13 17:06:57 -04:00
select stlc,jsonb_agg(distinct substring(listcode,1,1)) from rlarp.plcore group by stlc having jsonb_array_length(jsonb_agg(distinct substring(listcode,1,1))) > 1;