Sowmya, a software engineer, got 42,777 votes, while Congress's Rao secured 10,279 votes after the sixth round of counting.
By-election to Nandigama seat in Krishna district was necessitated due to death of Sowmya's father T Prabhakar days after he was elected in the May elections.