Update query in TableInfoCache so it doesn't return duplicate rows for a single column.