Need some help with a bit of Badge SQL please

I’m still quite new to SQL, but is it the MIN? Won’t that return the first rather than the last?