Merge SelectAll() and SelectAllBy()