> I think this query is wrong
Yes it is. Please try to understand what you are doing in this query, otherwise you won't be very successful in the middle term.