|
- SELECT
- dt,
- product_id,
- JSON_EXTRACT ( result, '$.TestResult' ) AS 'TestResult',
- JSON_EXTRACT ( result, '$."172"' ) AS 'FR_172',
- JSON_EXTRACT ( result, '$."215"' ) AS 'FR_215',
- FROM
- tt_noise
- WHERE<b> <font color="#ff0000">result->'$.TestResult'</font> </b>>0
- ORDER BY
- dt DESC
复制代码 Json查询的时候,如果把以上红字换为TestResult是不对的。
|
|