Table gr has 2 fields named ph and flag
Table ep has a field named ph
Now I need to check that for count of ph>20 in ep I should get a count of 0 for flag i