0% found this document useful (0 votes)
8 views2 pages

Bc1902013170 Cs403 2

Uploaded by

UMMAD MANSOOR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views2 pages

Bc1902013170 Cs403 2

Uploaded by

UMMAD MANSOOR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment No.

02 (Graded) Total Marks: 20


SEMESTER Spring 2023
Due Date: 14-7-2023
CS403- Database Management System

Ummad Mansoor
Bc190203170

Question Statement:

Consider following ERD part from scenario of Assignment No. 1.

Tasks Description:

Task 1:

Write SQL statement to create a new database in SQL Server by your VU ID (sample screenshot is provided
on the last page of this file).

Ans)
Task 2:

Write SQL statements for the following:

 Create tables: Stadium, MatchSchedule and Block in database created in Task 1.


 For each table, you have to define all attributes/columns given in ERD with appropriate data types.
 You are also required to define Primary key of each table.
 Transform multi-valued attribute.
 Map all relationships and add foreign keys in appropriate tables according to relationships types.
Ans)

You might also like