Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE toimipiste (
- osoite VARCHAR(30) ,
- työntekijä VARCHAR(30) NOT NULL,
- puhnro INT(30) NOT NULL,
- postitoimipaikka VARCHAR(20) NOT NULL,
- postinumero INT(20) NOT NULL,
- sposti VARCHAR(20) NOT NULL,
- lisatty TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
- PRIMARY KEY (osoite),
- FOREIGN KEY(työntekijä) REFERENCES työntekijä(henkilötunnus)
- )ENGINE=innoDB;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement