I have never used json data to store any values inside my database, now the situation prompted me to use that.
Below is my json format I'm storing that into MySQL database
{
"wrestling_board": [{
"Price": "400",
"Quantity": "1",
"Amount": "400"
}],
"sign_board": [{
"Price": "200",
"Quantity": "1",
"Amount": "200"
}],
"total": [{
"Price": null,
"Quantity": null,
"Amount": "600" <-- total price
}]
}
How to search all results where total.amount > 3000?