I have a question how to create constraints for repeating non-key field values? fields: -number (key, autoincrement) -year -discipline -course -flow etc
I want the combination year + discipline + course + flow to be unique, but at the same time, what would be the key field as well as the number field! (Of course, you can make these fields key, but I have to work with the number field in the future, and it should be key).
Tell me how to do this? (I get confused with triggers ..... I can’t do it with restrictions so that all these fields are unique)