Your
comments table is not complete.
You have a line like this:
Code:
73 2012-11-15 09:47:48 383 100 owner emma(ABC3EF) comment by jason(100)
But WHERE in that data does it say the
Emma (or userid
ABC3EF) is the owner of that itemid???
In your prior posts, the "owner" of an itemid could be determined. Can't be done with this limited data.
Back to the drawing board.