Hi,
Loop is nothing but a closed path.this will happen when you join the tables like Table A-->Table B-->Table C-->table A.
In this situation you wont get the result you wanted. either you may get more or less expected result.
to resolve the loop you need to create either alias or context.
Create an alias table for Table C and join the table with A. Then the path will be open and you will get exact result.