Using nested logical expressions while using a!queryEntity in SAIL

I need to execute nested logical expressions while using a!queryEntity in SAIL for one of the report. I tried many options but getting multiple errors for duplicate Indices or duplicate keywords. Has anyone used nested logical expression and if yes could you please share the sample to refer. The scenario is: I want to do a OR check on two set of data which has AND conditions in their WHERE Clause [(AND) OR (AND)]

OriginalPostID-198510

OriginalPostID-198510

  Discussion posts and replies are publicly visible