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. Des
2. Carl
3. Lola
4. Person
5. Meti