Could you please Explain how to write the query? How to find the log itme,count(how many times it has been runned),start date & end date for a perticular pocedure?