added code to add ItemData instances only when the row passes the where condition.
eplaced the current join algorithm with the new one.

The current version may be faster than the new. we might use both
depending on the situation. So we keep the current one with
commented out.

NOTE: This version doesn't still work completely.
- It doesn't pass some tests
- Inner Join in SQLFromParser has not implemented yet.