Hacker News new | ask | show | jobs
by ryanbrunner 1433 days ago
That's not quite the same, since the previous solution of unique (EmployeeName, CarID) allowed for one employee to have 2 separate cars. You have to use conditional indexes to solve this.