I have a table in which I am trying to calculate the number of hours spent for all application to complete processing. To do so I need to consider only the applications that have both stages.So I need to get a list of all applications at processing and all applications at pre-processing.Compare the 2 lists and delete applications that only have pre-processing.How do I achieve this?