styling the sql