add post of sql optimization