advids.co Interview Question

basic SQL query for first 5 record in list