The Generate Definition Query From Selection tool has a SQL Expression section that appears when the user enables the Overwrite SQL Clause checkbox.
That works, but I’m wondering if it would be more intuitive if we could click a down-arrow that would expand/collapse a section that contains the parameters.
The section could be dependent on other parameters. For example, if the Generation Method parameter is set to Match Selection, then the expandable section would be greyed out. But if the Use Field Values option is chosen, then the expandable section would be available.

