An action for any one of the following causes must be brought in the county in which the subject matter of the action, or some part thereof, is situated, subject to the power of the court to change the place of trial upon agreement of counsel or in other cases provided by statute:
Where the subject matter of the action is situated in more than one county, only one action need be brought in one of the counties and the judgment rendered in that county is effective as to all other counties upon its being docketed therein, and further or supplemental proceedings may be held in each county where the judgment is docketed as though the action had originally been commenced therein.
N.D.C.C. § 28-04-01