Answer the question
In order to leave comments, you need to log in
How to find the maximum and minimum value in a JSON array using sql query in MySQL?
The task is this, a database in MySQL, the table has 10 rows, one of the columns is of the JSON type.
I need to find the maximum and minimum value in a JSON column using sql query.
Table example:
id JSON_Col
1 {"Strength": [0]}
2 {"Strength": [12, 20, 35]}
3 {"Strength": [3]}
4 {"Strength": [3]}
5 {"Strength": [3]}
6 {"Strength": [0,23,58]}
7 {"Strength": [3]}
8 {"Strength": [3]}
9 {"Strength": [ 3]}
10 {"Strength": [3]}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question