The Congress-led United Democratic Front (UDF) won 12 wards and three independent candidates won the by-polls, but the BJP-led National Democratic Alliance (NDA) failed to win a single seat.