0
I have the data (nested) below in a column of type JSON:
[{"modSelecionado": "13"}, {"modSelecionado": "15"}, {"modSelecionado":
"16"}, {"supMaxima": "5,00", "tensaoMotor": "1", "comunicacaoMotor": "1"}]
How do I perform a query, for example whether supMaxima is greater than or equal to a certain value?
This was not answered in Friday’s question?
– Jéf Bueno
Hello @LINK, the structure of the data that is stored in the column is different.
– lucasbento
Try the following: SELECT * FROM
Tabela
WHERE column->"$. supMaxima" > 5;– Caique Romero
Hello @Caiqueromero, notice that the structure is different of this, I mean, it doesn’t work. =\
– lucasbento