There are two columns, one of them is a certain identifier (NOT a primary key - it can be duplicated), the other is a boolean, which indicates which of the same identifiers stores actual data in its row.
That is something like this:
1|124|true 2|124|false 3|124|false 4|541|true 5|138|true How to describe in the table schema, that for any number of equal identifiers, there can be only one value true (actual), and the rest - only false (irrelevant)?