0% found this document useful (0 votes)
5 views3 pages

Assignment No 3 120325

This document outlines the assignment details for BS (IT) students at GC University, Faisalabad, focusing on Database Systems. It includes instructions for submission, objectives related to RDBMS and SQL tasks, and specific tasks such as creating databases and tables, inserting records, and executing SQL queries. Students must adhere to submission guidelines to avoid receiving zero marks for their assignment.

Uploaded by

ayeshanoor777325
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)
5 views3 pages

Assignment No 3 120325

This document outlines the assignment details for BS (IT) students at GC University, Faisalabad, focusing on Database Systems. It includes instructions for submission, objectives related to RDBMS and SQL tasks, and specific tasks such as creating databases and tables, inserting records, and executing SQL queries. Students must adhere to submission guidelines to avoid receiving zero marks for their assignment.

Uploaded by

ayeshanoor777325
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/ 3

Department of Information Technology

Faculty of Physical Sciences


GC University, Faisalabad.
Assignment No. 2
Session: 2020-2026
Class: BS (IT) Semester: 3rd
Course Title: Database Systems Course Code: CSI-408
Instructor: Prof. Dr. Mariam Rehman Credit Hour: 04(3-1)

Instructions
Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit (zero marks) if:
 The assignment is submitted after due date.
 The submitted assignment does NOT open or file is corrupted.
 The assignment is copied (from other student or ditto copy from handouts or
internet).
 You are supposed to submit your assignment in .doc / Docx format. Any other
formats like scan images, PDF, Zip, rar, bmp will not be accepted.
Objectives
The objectives of this assignment are,

 To give students the idea of the most commonly used RDBMS for designing
physical database systems i.e. Oracle.
 To build and manage database.
 To apply constraints e.g., Primary Key and foreign key on attributes.
 To insert data in SQL tables, retrieve and manipulate data with SQL queries from
tables.
Important Note: The assignment will be marked zero if the assignment solution does
not have student own ID as a database name. Copy all screenshots of SQL code and
paste code screenshots in MS Word as your solution.
Note: Students can also use online SQL Editors to write and run the SQL commands
for the given tasks.
For any query about the assignment, contact at [email protected]

Page 1 of 3
Note: You can use MS Word or MS Visio for drawing the final ER Diagram.

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

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).
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.
Task 3:
Write SQL Statements to insert 2 records in each table.
Task 4:
Write SQL Statements to:
1. Display name and capacity of all blocks.
2. Display Average charges/amount of blocks using appropriate function.
3. Remove column StadName from Stadium table.

You might also like