An introduction to Database Systems