2 answers
The trick is using way less sunscreen than you'd think - most people glob it on and then wonder why everything slides off by noon. Let it set for a minute or two before applying primer, and pick a lightweight, mattifying sunscreen (mineral ones tend to feel heavier). If you're already getting greasy, try a primer with silicone or a pore-minimizing one in between, and consider a powder sunscreen as a touch-up later instead of reapplying the cream stuff over your makeup.
Powder sunscreen over your liquid one cuts the grease problem in half - I switched to that combo a couple months back and my makeup actually stays put now instead of sliding around by afternoon. The key is just not overdoing the liquid layer; a coin-sized amount is genuinely enough, then let it dry for a minute before anything else goes on.
Your answer
Log into answer.