So in a gaseous equilibrium the values factored into the equilibrium constant expression are partial pressure values right? A solid or liquid has no partial pressure because it has no pressure because it's not a gas, so it cannot be factored in.
With aqueous equilibrium it's a bit less obvious: the values in the k expression here are molar concentrations right? Molarity is moles solute over liters solution, so even though there is a certain mass (number of moles) of solid sitting in the solution, it doesn't exist as solute, so it cannot have a concentration and cannot be factored in. Same for pure liquids in solution.