sql check if array column contains value