Accept array of values as value list in SQL