Pergunta de entrevista da empresa TATA ELXSI

How would you write a query to retrieve the top 5 highest-selling products from a sales table while avoiding duplicates and ensuring efficient performance?