I\'ve heard about MongoDB, but I\'m not sure I fully understand the concept.
If I have multiple JSON objects stored in MongoDB:
[{\"id\": \"peter\", \
Starting from 5.7, MySQL now has native JSON datatype. Assuming your table is called students and the JSON column is called student, in MySQL 5.7 your select can be written as
students
student
SELECT * FROM students WHERE JSON_EXTRACT(student, '$.age') = 12;