Just to echo the previous posters:
A Master of Divinity (M.Div.) degree is the typical degree for a minister. As mentioned, most of the older denominations, or those with older constituent denominations (i.e. PCUSA, UCC, UMC, etc) have stricter educational standards. Some ministers, regardless of denomination, will obtain a bachelor’s degree at a Bible college or other Christian college (while others may get their undergrad in a different program, such as English) with a major in Biblical Studies or “Pre-Theology”, although Bible colleges seem to be more common amongst the more conservative groups.
There are many denominations that do not have educational requirements. The church in which I have been serving the last few years is one of those. There are 2 year, unaccredited “Bible colleges” (basically discipleship programs), but no degree/certificate/etc. is required for ministry. In general, a local pastor will ordain someone (often along with a few local elders).
So, to answer your question:
It depends!