I have problem in mysql json that I want to compare one item of object in json array. example: in my table i have column aJson that is array :
[{"Name":"Mohsen","Code":3},{"Name":"Ali","Code":5},{"Name":"Reza","Code":2}]
I want to find the records where Code is greater than 3
output:
[{"Name":"Mohsen","Code":3},{"Name":"Ali","Code":5},{"Name":"Reza","Code":8}]
same for equal,less,like ...