No you can't! MD5 hashing is a one way encryption. That is why to match a password typed by a user to a password saved in the database, the typed password would also be hashed first.
__________________
Logic will get you from A to B. Imagination will take you everywhere. Albert Einstein
Encrypted: yes, you sure can. If you know how it was generated you can reverse it.
Hashed: no. Its purpose is one way, although you may be able to calculate an equivalency phrase (ie: more than one value hash to the same result).
MD5 (don't use btw), sha, and many others are all hashing techniques. You cannot go backwards. Well designed salting techniques would also make creating a comparable phrase through brute a horrendously long task to calculate. As in years, if you're lucky (or by theory, best case scenario would be O(1), but good luck at that).
You never compare the value of a database stored password. You compare the same hashed or encrypted value of a provided one to the database for comparison.