I have a table called Organization, in that I will be having duplicate records but createdDate column would be different, I need to select all distinct records with max(createdD