hai provato a mettere il where nella select che fai sopra?