Re: Suggestions for table design
Posted by: Peter Brawley
Date: July 01, 2020 01:59PM

For recency you need timestamps of some sort. If there can be multiple timestamps & statuses for a computerid, you need a table for 'puters and a table for statuses.

To me your model looks a bit sparse, you might want to take a more thporough approach eg https://www.artfulsoftware.com/dbdesignbasics.html

Several approaches for the query pattern you're asking about are discussed under "Within-group aggregates" at https://www.artfulsoftware.com/queries.php

Options: ReplyQuote


Subject
Written By
Posted
Re: Suggestions for table design
July 01, 2020 01:59PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.