Query your database without guessing its structure.
Recent revisions are kept. Restoring one creates a new revision.