I have the next query:
SELECT
    parent1.name,
    parent2.name
FROM myTable AS child, myTable AS parent1, myTable AS parent2
WHERE
    child.parentId = parent1.id AND
    parent1.parentId = parent2.id;
I put the same in from block 3 times. Does it means that MySQL will scan the table 3 times?
