Netenrich Inc. interview question

SQL query to fetch last record from table