I have a query where one of the columns value are coming a json formatted value as:
column1 {"type":"a","main":"/documents/500/a.pdf","id":500}
i want to use the id in the where clause to search like
where column1 = 500
i want to use the 500
on the left hand side for matching to a search