igital marketing and SEO could be considered to be the same thing; but they are two separate entities.
...To sum up the difference in the two is to say that the SEO professional is working on obtaining organic visits where the digital marketing professional is increasing the online presence of a company which expands beyond and SEO campaign.
SEO is a tool. (And I am desperately trying not to call those who focus so much on SEO as tools!)