First off try searching the forums for "multiple categories" - restrict your search to only Links SQL (All Forums)
I looked at this recently and brought together some threads which would be worth looking at;
http://www.gossamer-threads.com/...i?post=225360#225360 In my first posting also look at the links to "Other relevant threads"
Hope this helps as a starter.