relational database examples using LAMP