I have a table that contains a timestamp. And I wanted to enforce a constraint so that another insert con not occur before the time out period.
Basically, I want to enforce a unique constraint based on less than not equal to. If the difference is less than, let's say 300, it should be considered as a duplicate.
