Minimal code which creates a SQLite database, collects data and displays it. Follow this link to find the code and a detailed explanation.
Each time this script runs it deletes all but the 5 most recent entries, this is to stop this sample database growing indefinitely.
1. Lucinda Bolts
2. Marsha de Penguins