In the erl shell,i input as below<br>*********begin*******************<br>Tab=ets:new(client,[set,{keypos,1}]).<br>ets:insert(Tab,{1,1}).<br>ets:insert(Tab,{2,2}).<br>ets:insert(Tab,{5,5}).<br>ets:insert(Tab,{3,3}).<br>ets:insert(Tab,{4,4}).<br>
 ets:fun2ms(fun({M,N}) when N>3 ->M,N end).<br>ets:select_count(Tab,[{{'$1','$2'},[{'>','$2',1}],['$1','$2']}]). <br>*********end*******************<br>the last line return 0, <br>
i want get the count of the ets:Tab  when column 2>1,<br>if i want get Max column2's record([5,5]),how to do ?<br><br>Best Regards<br><br>Wenew Zhang<br><br>