So I get such an array coming in my procedure
{"4":false,"5":true,"6":false,"sch":"28"}
Previously I used JSON_UNQUOTE(JSON_EXTRACT( DATAA, '$.sch')) to get the sch value from an array and put it in a cell, but now the task has changed and I need to get such records in the tables after the INSERT procedure
MARKS_ID | SCHEDULE_ID | STUDENT_ID | MARKS_BOOL | MARKS_DATE
-------: | -----------: | ---------: | ---------: | --------:
1 | 28 | 4 | false | CURTIME()
2 | 28 | 5 | true | CURTIME()
3 | 28 | 6 | false | CURTIME()
- MARKS_ID, SCHEDULE_ID, STUDENT_ID = INT
- MARKS_BOOL = BOOLEAN
- MARKS_DATE = DATETIME