Welding electrode for welding dissimilar metals