Hi,
This is a nice post, but I am trying to solve a similar problem.
Can anyone please clarify the following doubts for me ?
a. What does Logview stands for (It's used in the with clause where UID is not in )
b. What's the UID in logtable. Is it a primary key on that table ?
Thanks a lot in advance.