It will be in whatever the database returns as the first category (ie. not sorted in particular order). Note that if you're using static mode and don't build all the detailed pages into the same directory, then you'll get multiple detailed pages built for the link in each category.
Adrian
Adrian