Can I get more explanation on distinct records while Query all records ? Also want to know when to use this.