query rule

Hi 

how can i write above query in ER? 

can anyone help me with this?

i have tried but it gives error

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data