Added some sql