What is the best approach to retrieve records from one table that stores it's history?
I have one dummy table 'Users', let's call it U, and another table 'DataFromUsers', DU. From time to time i'll save a new record into DU, related to one U, and now we have 2 records pointing to the same user U. It'll come the time when i'll have lots of entries in DU resembling to this condition. The best approach i can see to solve this problem is always storing it's insertion date, once all i care is the most recent DU from U, and am only keeping the old entries for analytical purposes. Another way would be having a FK in U pointing straight to the most recent record from DU, but that would