I have the column name devices in one table. In this column, I have JSON Data like this for each row
{"os": "Apple iPhone", "mac_address": "58:7f:57:d7:32:f2", "manufacturer": "Apple"}
If I Want to check whether the mac_address is present in that cell that has this JSON data or not, which query should I make? ( IF it is not present then the whole cell will be NULL.)
This is the task.
retrieve id for each mac address from users table in rds db (if available). if not available, new row should be inserted and id created;