Added some sql statements