The tune is the 18th-century French song “Ah! vous dirai-je, maman”. Mozart wrote 12 variations on it, and the alphabet song uses it too.