- Trigger to prevent inserting 2 same values in one table
- CREATE TABLE Concert
- (
- ... (filled in with your existing table definition)
- CONSTRAINT concert_place_unique UNIQUE (id_place, date)
- );
- ALTER TABLE Concert
- add CONSTRAINT concert_place_unique UNIQUE (id_place, date);