I haven't tested it in EG3, but using EG4, there is no problem writing conditions such as
WHERE age > (SELECT MEAN(age) FROM sashelp.class)
in a condition.
The only thing is that you do not have a graphic interface to write the subquery code for you.
Catch up on SAS Innovate 2026
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.