Revert "Revert "Implement recent_sold""

This reverts commit 0cfc8b4808e3dc29026c487486155f9f3392a92b.
one liner query