Existence and non-existence of solutions to elliptic equations related to the Caffarelli–Kohn–Nirenberg inequalities