Given the following SAS data set ONE:; ONE LEVEL AGE -------------------- 110 220 320 210 110 230 310 220 330 110 The following SAS program is submitted:; procsql; select level, max(age) as MAX from one groupby level having max(age) > (select avg(age) from one); quit;