0% found this document useful (0 votes)
4 views1 page

Database System Lab

The document outlines a lab assignment requiring the creation of three separate databases, each containing a table with at least eight columns and eight rows of sample data. Students must implement various SQL concepts, including primary and foreign keys, constraints, and data manipulation statements. The assignment emphasizes the importance of originality and real-world applicability in database design.

Uploaded by

Urwa Urwa
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)
4 views1 page

Database System Lab

The document outlines a lab assignment requiring the creation of three separate databases, each containing a table with at least eight columns and eight rows of sample data. Students must implement various SQL concepts, including primary and foreign keys, constraints, and data manipulation statements. The assignment emphasizes the importance of originality and real-world applicability in database design.

Uploaded by

Urwa Urwa
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/ 1

DATABASE SYSTEM LAB

Lab # 1

Task 1

Create 3 separate databases. In each database, create 1 table that contains at least:
 8 columns with appropriate data types
 8 rows of sample data

You must apply the following SQL concepts in each table:


 Primary Key
 At least one Foreign Key (you may create a second supporting table if required)
 NOT NULL, UNIQUE, CHECK, and DEFAULT constraints where appropriate
 Use INSERT, UPDATE, and DELETE statements to manipulate data

Note:
 Make sure each table is designed according to a real-world use case (e.g., Library,
Hospital, School, E-Commerce, etc.)
 Use meaningful column names and realistic data
 If two or more students submit the same or highly similar assignment, it will be
considered plagiarism, and all involved will receive zero marks.
Make sure your work is unique and done individually.

You might also like