Lab 09
Lab 09
Semester: 7th
Signature: ____________________________
23
EE432 Computer Networks
9.1 Task 1
Show all steps and attach the files that were used to import data and that were populated after exporting data from database
FLOAT: Price
II. Populate each table with at least 3 rows by importing data from the CSV file
9.2 Task 2
Data Definition Language (DDL) statements are used to define the database structure or schema. Some examples:
o TRUNCATE - removes all records from a table, including all spaces allocated for the records are removed
Data Manipulation Language (DML) statements are used for managing data within schema objects. Some examples:
o DELETE - deletes records from a table, the space for the records remain
24
Error! Reference source not found.
Transaction Control (TCL) statements are used to manage the changes made by DML statements. It allows statements to
be grouped together into logical transactions.
o SAVEPOINT - identifies a point in a transaction to which you can later roll back
9.3 Task 3
I. Create Table Departments with column DepartmentID, DepartmentName, DeptHeadID with DepartmentID as
primary key. Set the data types in accordance to the real time scenario.
II. Create Table Employees with column EmployeeID, EmployeeName with EmployeeID as primary key. Set the
data types in accordance to the real time scenario.
VI. Implement referential integrity constraint of Set Null on Delete Rule on above relationship.
VII. Implement referential integrity constraint of Set Cascade on Update Rule on above relationship.
Note:
Please zip your report and CSV files and name the zipped folder with your roll no. Please send your zip folder.
EE432 Computer Networks
Performance Exceeds expectation (5-4) Meets expectation (3-2) Does not meet expectation (1) Marks
Realization Downloads and installs Incapable of selecting relevant
Needs guidance to set up
of required software and sets up software to the experiment and
the system according to the
experiment the system according to the unable to setup the system with
experiment requirements
(a) experiment requirements required software tools
Carries out each procedural Needs assistance or
Conducting step in a satisfactory manner guidance to proceed Unable to carry out procedural
experiment and studies outputs of the through experiment steps, steps and make any useful
(a, c) software application studies outputs with minor observations of outputs
rigorously errors in interpretation
Laboratory
Observes lab safety rules; Observes safety rules and
safety and Disregards lab safety and
adheres to the lab disciplinary disciplinary guidelines with
disciplinary disciplinary rules
guidelines aptly minor deviations
rules (b)
Completes data collection
Completes data collection Fails at collecting data by
from the experiment setup by
with minor error and enters giving proper inputs and
Data following procedural steps,
data in lab manual with observing output states of
collection (c) ensures that the data is entered
slight deviation from experiment setup, unable to fill
in the lab manual according to
guidelines the lab manual properly
the specified instructions
Analyzes the data obtained Analyzes data with minor
from experiment thoroughly error and correlates it with Unable to establish the
and accurately verifies it with theoretical values relationship between practical
Data analysis
theoretical understanding, reasonably. Attempts to and theoretical values and lacks
(a, c)
accounts for any discrepancy account for any the theoretical understanding to
in data from theory with discrepancy in data from explain any discrepancy in data
sound explanation theory
26