Check if an element is contained in the values (array) of a json column in MySql
问题 I have the following values inside a cell of a json column in MySql: { "produttori": [ "8", "9" ], "articoli_alternativi": [ "3", "9" ], "articoli_accessori": [ "5", "6", "7", "8" ], "tecnologie": [], "fornitori": [ "9", "8" ], "classificazioni": [ "3", "4" ] } I would like to make a query that extracts data based on the existence of a value in the array at the fornitori key. For now I've tried this: query = 'SELECT nome, formulati_commerciali FROM articolo WHERE JSON_CONTAINS(JSON_EXTRACT