Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Lage mange til mange relasjon, man kan også legge til constraint
- CREATE table Reise(Ank_Avr VARCHAR(45) NULL,
- AntPerson VARCHAR(45) NULL,
- Fly_FKode INT NOT NULL,
- RKode INT NOT NULL,
- Tid VARCHAR(50) NOT NULL,
- PRIMARY KEY (Tid, RKode),
- FOREIGN KEY (RKode)
- REFERENCES rullebane (RKode),
- FOREIGN KEY (Tid)
- REFERENCES tid (Tid)
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement