I'm aware of the Fisher exact test, for determining the probability distribution for a $2\times2$ contingency table.
Is there an exact test for a $3\times3$ table? Or is there a way to combine the results of three Fisher tests, for each of the $2\times2$ tables for each pair of variables, so as to give an exact probability?