Il tuo non è un problema di query......ma si routine per risolvere il tuo problema.
nr=0
'Crea una matrice bidimensionale tipo:
dim prof (10,100) as string
'dove 10 sono le tesi e 100 sono i docenti
se la query trova delle corrispondenze allora immetti il docente e la sua tesi in matrice
alla fine prima dell'output dei risultati
fai tre cicli for ed elimini i doppioni formattando il tutto per l'output dei risultati
esempio:
for t=1 to 10
for b0=1 to 100
if prof(t,b0)="" then goto avanti
for b1=b0+1 to 100
if prof(t,b0)=prof(t,b1) then prof(t,b1)=""
next b1
next b0
avanti:
next t
......quì pio ti formatti l'output dei risultati......
for t=1 to 10
for b0=1 to 100
if prof(t,b0)="" then nostampa
stampi........prof(t,b0)
TESI 1 | Prof. Lippo Lippi
TESI 2 | Prof.essa Cippa Lippa, Prof. Ciccio Cappuccio
nostampa:
ecc,ecc.
link
homepage
http://%77%77%77%2e%74%77%6f%72%6b%2e%69%74/
software
http://%77%77%77%2e%74%77%6f%72%6b%2...programmi.html
forum
http://%77%77%77%2e%74%77%6f%72%6b%2...um/default.asp