SQL match cols by JSON on other table
✔ Recommended Answer
we can try to use json_contains
function to filter JSON
value with subquery.
select *from members mwhere exists ( select 1 from clubhouse c where json_contains(c.members, concat('"', m.id, '"')) AND c.id = 55)
Source: stackoverflow.com
Answered By: D-Shih
Comments
Post a Comment