Capgemini interview question

How can you retrive the 5th entry in a database using python.