EPAM Systems Interview Question

Question like how to improve query performance and remove duplicated data