Lab Manual (CS-408 Database Systems)
Lab Manual (CS-408 Database Systems)
Lab Manual (CS-408 Database Systems)
Marks Distribution:
Midterm Exam 12 marks
Assignments 04 marks
Theory Paper 24 marks
Practical Paper 20 marks
(Lab work, Practical copy, Viva Voce)
Total Marks: 60 marks
Table of Contents
Lab No. Topics Remarks
Basic of Database & Relational Database Model
Lab#01 Schema, Database, DBMS, Database Instance & (Relation,
Attributes, Domain, Degree, Tuples, Cardinality, View)
Relational Keys in Database
Lab#02 Super Key, Candidate key, Composite Key, Alternate Key,
Primary Key, Foreign Key,
Introduction to SQL
Performing Query Languages & Statements, Select Statement
Lab#03 Using arithmetic op, parenthesis, column aliases,
concatenation, literal characters, distinct & describe keyword,
Restricting and sorting data
Performing Select query modifiers, limiting row selection,
Lab#04 WHERE, IN, BETWEEN & AND, LIKE, NULL, Logical
Operator, Rules of precedence, ORDER BY
Single Row functions and Set operators
Lab#05 Performing Single Row functions, Set operators and type
conversions, Character Manipulation, Number Functions
Displaying Data from Multiple Tables
Lab#06 Performing SQL Join operations (Equijoins, Non equijoins,
Outer joins, self joins etc.)
Aggregating Data Using Group Functions
Lab#07 Performing aggregation and group functions, group by, having
clause,
Lab#08 Sub-Queries
Performing multiple column sub-queries
MIDTERM EXAMINATION
SQL as Data Manipulations Language
Lab#09 Performing DML Operations
_________________________