SQL: set(), list() and map() now works in both aggregate or not modes