The maximum likelihood estimator of the mean m of a normal distribution

The maximum likelihood estimator of the mean m of a normal distribution is the sample mean . Consider the model E(y) = μ. Show that the least-squares estimator of μ is also y̅. Minimize SSE = Σ(yi - µ̂ )2 with respect to µ̂.