Hi guy i have a field in the database as json field
table some_table
field| {"number":34,"name":"john"}
field| {"number":60,"name":"mary"}
field| {"number":44,"name":"mark"}
I want to make a query and select data where number > some value
select from some_table where field regexp (get_number) > 40
Is this possible?
I found this example to make a regexp select but only matching data
SELECT id FROM table_name WHERE field_name REGEXP '"key_name":"([^"]*)key_word([^"]*)"';
but i want to make a select inside a json where some number inside is bigger than...
thank you all for your future help.