Flash-ZA

Untitled

Feb 15th, 2022
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. DROP TABLE IF EXISTS `viu_itas`.`transcript_t`;
  2. CREATE TABLE IF NOT EXISTS `viu_itas`.`transcript_t` (
  3. `student_id` INT NOT NULL,
  4. `course_id` VARCHAR(15) NOT NULL,
  5. `course_fg` FLOAT NULL,
  6. `course_lg` VARCHAR(2) NULL,
  7. CONSTRAINT
  8. PRIMARY KEY (`student_id`, `course_id`),
  9. CONSTRAINT
  10. FOREIGN KEY (`student_id`)
  11. REFERENCES `student_t`(`student_id`),
  12. CONSTRAINT
  13. FOREIGN KEY (`course_id`)
  14. REFERENCES `course_t`(`course_id`));
Advertisement
Add Comment
Please, Sign In to add comment