The first link is more search engine friendly and it essentially replaces the ? and = and & 's with / slashes. Google and other engines then rank this page higher as it appears to be a static file instead of a script generated file.
I'm not an expert on the subject so thats all I'll say, but you can read up here:
http://en.wikipedia.org/wiki/Search_engine_optimization