SQL query to determine if a JSON value contains a specified attribute SQL query to determine if a JSON value contains a specified attribute json json