added sql object example for active record