How to select a record with an attribute which is maximal in mnesia table?

钱晓明 kyleqian@REDACTED
Wed Apr 14 11:34:39 CEST 2010


Hi, I want to select a record with an attribute which is maximal from mnesia
table, so should I use qlc?
For example, I have to insert a record into a table every 5 minutes, and
when my program start up, it should read the last record to get some
information.
So how can I achieve this?

Thanks!


More information about the erlang-questions mailing list