indicative, imperative, interrogative, conditional, and subjunctive

If it had worked out, we could have been together.

conditional