I'm quite aware how dangerous is to let pp make own queries.
This is only for admins of that software.
Why two tables? There are one table which contains only id of that item and its' activity.
Other table contains all fields in key-value-way, so one can add fields as many as one wants without altering db-schema.
That order and limit gets only latest value, cause there is no alter or delete, just inserts, so it builds history of changes.
In reply to Re^2: How to interpolate sql-output
by Seq
in thread How to interpolate sql-output
by Seq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |