13> ets:select_count(Tab,[{{'$1','$2'},[{'>','$2',1}],[true]}]). 4 yes,it's works,thank you very much! Best Regards Wenew Zhang -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080423/0b4b0916/attachment.htm>