Couldn't execute query: select PATTERN_ID from order by COLLECTION_ID