finish SQL Object class