uhm... forse non ho ben capito... ma non ti manca una INNER JOIN in quella query?