added example for sql object