Infosys Interview Question

Basic DSA, OOPs , DBMS write a simple query to get top 5 employee from joining two tables