How to get the 1st occurrence of Sex (male & female both) from sashelp.class
I am trying to get all the details in a row for the first occurence of sex=’m’ and sex=’f’ from sashelp.class. Sex is a column in sashelp.class Till now I have done this: Proc sql; Select * From sashelp.class Where sex=’m’ or sex=’f’ Order by sex Limit 1; Quit; This gives me an error in… Read More How to get the 1st occurrence of Sex (male & female both) from sashelp.class