Meltwater Interview Question

Write an SQL query to get the last 5 records from a table. Create an HTML page with an image, form etc.