Hi,
I have a table with a document's history. The table's fields are: docid (int), name (varchar), version(int), status(varchar)
status could be = under construction, published, expired
with each editing of a document, a new record is inserted and the version number is incremented. Here is...