Can someone give me an example of how to simply connect to a database - insert, update, delete, select

Thank You