Update doc for sql condition