Tania Chikwature, 32, was more than three times the drink-drive limit when she lost control of her Nissan Qashqai as she drove to a wake, Peterborough Magistrates' Court heard on Monday.
The defendant drank vodka the night before and a vodka bottle was found in the car, said Corinne Soanders-Silk, prosecuting.
A lorry driver who witnessed the crash said he did not think those in the car would survive it, and that the car cleared the roundabout and hit a tree before landing on its roof.
Chikwature's 20-month-old son was unhurt in the crash which was captured on dashcam footage as she illegally overtook a lorry on the approach to a roundabout on the A606 in Peterborough.