Reputation: 3
My database stores the parking status information 1 The status field has three values (0 for empty, 1 for occupied and 2 for waiting) If the parking status remains 2 for 1 hour I want to set it to 0 and set the username field to null.
Is there any way to do it with triggers.
Upvotes: 0
Views: 827