Here is an expansion on the code to handle both Males and Females
Names Default To Here( 1 );
dt = Open( "$sample_data\big class.jmp" );
Show(
:name[((dt << get rows where( :sex == "F" & :height == Col Max( If( :sex == "F", :height, . ) ) ))[1])],
:name[((dt << get rows where( :sex == "M" & :height == Col Max( If( :sex == "M", :height, . ) ) ))[1])]
);
The Show() function writes the results to the log
:name[(dt << get rows where(:sex == "F" & :height == Col Max(If(:sex == "F", :height, .))))[1]] = "JACLYN";
:name[(dt << get rows where(:sex == "M" & :height == Col Max(If(:sex == "M", :height, .))))[1]] = "LAWRENCE";
The formula returns the row where the maximum height for the male or female is located, so all column values for that row are available for query. This query can surface almost display or action you need. I chose just writing it to the log, to illustrate that the query results in the correct answer.
Jim