Gestational diabetes

Is it common in all pregnancies or can it happen with one and not the other?