scusami ancora non ti seguo...scrivi un mini esempio di quello che hai e di quello che vorresti ottenere es:

campo1 campo2 campo3
a b c
a a c

risultato where campo2='b'

campo1 campo2 campo3
a b c
Poi vediamo come ottenere quello che chiedi...ciao!