Depends on the functionality you want to go for but you have 2 two options:
If you do this in a datagrid: Just sort on createddate descending and show 10 rows, also disable the paging buttons. This will always show the latest 10 db entries.
If you do this in microflow: also sort on createdddate descending but set the retrieve options to ‘custom’ and add the amout of 10. This will limit your retrieve to the 10 latest entries.
You need to somehow define ‘latest’. Usually, we do this by saving a timestamp in an attribute. If you have such an attribute, in the retrieve you use the Custom setting with offset 0 and amount 10. You sort by the attribute containing the timestamp, descending. This will give you the latest 10 results.
store createdDate and use that to sort.
So much for build in features ;-)