non ho capito bene:
vuoi fare una select per ogni risultato oppure vuoi una select che contenga tutti i risultati?