Consider a polynomial in $d$ variables, $p:\mathbb{R}^{d}\rightarrow\mathbb{R}$. Denote by $\mathcal{C}$ its set of zeros, i.e. $$\mathcal{C}=\{x\in\mathbb{R}^{d}\ |\ p(x)=0\}.$$
Q. Is it possible to find finitely many (not necessarily disjoint) manifolds $M_{1},\dots, M_{n}\subset\mathbb{R}^{d}$, with possibly different dimensions, such that $$\mathcal{C}=\bigcup_{k=1}^{n}M_{k}?$$
My question arises in the context of degenerate real matrices, namely, the case where $\mathcal{C}$ consists on the set of symmetric real matrices with at least one repeated eigenvalue (in this context, $p(x)$ is the discriminant of the symmetric real matrix $x$). Any suggestion on how to apporach this problem or a reference related to the problem will be greatly appreciated.