Course Hero Logo

Assignment#2.docx - Introduction to Database Concepts...

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 1 out of 1 page.

Introduction to Database ConceptsCOMP122Assignment 2 – SQL CommandsDue Date:Midnight of June 17, 2022 (Friday)Purpose:The purpose of this assignment is to help you:Become familiar with creating table, populating dataDistinguish column level constraint and table level constraintInstructions:Be sure to read the following general instructions carefully:This assignment should be completed individually by all the students. Submit yoursolutionthrough the dropbox,Your submission should include sql command and thescreenshot of command execution result, the submission must be named according to thefollowing rule:studentID(yourlastname)_Assignment#number.doce.g.,300123456(smith)_Assignemt#2.doc.Questions[12 marks]Create 3 tables based on the ER model shown below. Include necessary constraints in theCREATE TABLE statements. Name all constraints except NOT NULL properly
End of preview. Want to read the entire page?

Upload your study docs or become a

Course Hero member to access this document

Term
Spring
Professor
NoProfessor
Tags
Relational model, Gender column

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture