I work in mysql 8 and have a problem on counting data in json format field. This is my table:
I want to count data in absensi
field where the key is "657" and the value is "0". So, by this table it must give me result 4.
I tried to use JSON_EXTRACT(absensi, '$.657')
but always give me some error [42000][3143] Invalid JSON path expression. The error is around character position 6.
Can you help me how to solved this problem?
Thank's in advance...