adding sql used on create