Practical File ON Information System Management-Lab: Bachelor of Business Administration Batch 2019 - 22
Practical File ON Information System Management-Lab: Bachelor of Business Administration Batch 2019 - 22
Practical File ON Information System Management-Lab: Bachelor of Business Administration Batch 2019 - 22
ON
INFORMATION SYSTEM MANAGEMENT-LAB
This is to certify that the practical titled “Information System Management-Lab” submitted by
PRINCE CHAUHAN to New Delhi Institute of Management, Guru Gobind Singh Indraprastha
University in partial fulfillment of requirement for the award of the Bachelor of Business
Administration degree is an original piece of work carried out under my guidance and may be
submitted for evaluation.
The assistance rendered during the study has been duly
acknowledged. No part of this work has been submitted for any other
degree.
Faculty Guide
Any accomplishment requires the effort of many people and this work is not different.
Regardless of the source, I wish to express my gratitude to those who may have contributed
to this work, even though anonymously.
My final thank goes out to my parents, family members, teachers and friends who
encouraged me countless times to persevere through this entire process.
PRINCE CHAUHAN
INDEX
1 Explain Information System Management.
Objectives:
Data Capturing: It captures data from various internal and external sources of
the Organisation. Data capturing may be manual or through computer terminals.
Processing Of Data: The captured data is processed into information needed for
Planning, Organising, Coordinating, Directing and controlling functionalities at
strategic and operational level.
Storage of Information: MIS stores the processed or unprocessed data for future
use.
Retrieval of Information: Mis retrieves the Information from the storage when
required by various users.
Purpose:
People: These are the users who use the information system to record the day to
day Business transactions.
Business Procedures: These are agreed upon best practices that guide the users
and all other components on how to work efficiently. Business procedures are
developed by the people
Hardware: The hardware provides the computing power for processing data. It
also provides networking and printing capabilities. The hardware speeds up the
processing of data into information.
Software: These are programs that run on the hardware. The software is broken
down into two major categories namely system software and applications
software.
The main aim of a DBMS is to supply a way to store up and retrieve database
information that is both convenient and efficient. By data, we mean known facts
that can be recorded and that have embedded meaning. Usually, people use
software such as DBASE IV or V, Microsoft ACCESS, or EXCEL to store data
in the form of a database. A datum is a unit of data. Meaningful data combined to
form information. Hence, information is interpreted data - data provided with
semantics. MS. ACCESS is one of the most common examples of database
management software.
Knowledge refers to the useful use of information. As you know, that information
can be transported, stored, and shared without any problems and difficulties, but
the same cannot be said about knowledge. Knowledge necessarily involves
personal experience and practice.
Database systems are meant to handle an extensive collection of information.
Management of data involves both defining structures for storage of information
and providing mechanisms that can do the manipulation of those stored
information. Moreover, the database system must ensure the safety of the
information stored, despite system crashes or attempts at unauthorized access.
Advantages of DBMS:
A DBMS manages data and has many benefits. These are:
Components of DBMS:
Syntax:
CREATE TABLE TABLE_NAME (COLUMN_NAME DATATYPES[,....
]) ;
Example:
CREATE TABLE EMPLOYEE(Name VARCHAR2(20), Email VARCHA
R2(100), DOB DATE) ;
b. DROP: It is used to delete both the structure and record stored in the table.
Syntax:
DROP TABLE ;
Example:
c. ALTER: It is used to alter the structure of the database. This change could
be either to modify the characteristics of an existing attribute or probably to
add a new attribute.
Syntax:
To add a new column in the table
ALTER TABLE table_name ADD column_name COLUMN-definition;
Example:
• ALTER TABLE STU_DETAILS ADD(ADDRESS VARCHAR2(20));
• ALTER TABLE STU_DETAILS MODIFY (NAME VARCHAR2(20));
d. TRUNCATE: It is used to delete all the rows from the table and free the
space containing the table.
DML commands are used to modify the database. It is responsible for all form of
changes in the database.
The command of DML is not auto-committed that means it can't permanently
save all the changes in the database. They can be rollback.
For example:
Syntax:
UPDATE table_name SET [column_name1= value1,. .column_nameN = va
lueN] [WHERE CONDITION]
For Example:
For Example:
DELETE FROM javatpoint
WHERE Author="Sonoo";
Aggregate Functions:
SQL aggregation function is used to perform the calculations on multiple rows of
a single column of a table. It returns a single value.
Syntax:
COUNT(*)
or
COUNT( [ALL|DISTINCT] expression )
For Example:
a. COUNT() :
SELECT COUNT(*)
FROM PRODUCT_MAST;
SELECT COUNT(*)
FROM PRODUCT_MAST;
WHERE RATE>=20;
2) SUM FUNCTION: Sum function is used to calculate the sum of all selected
columns. It works on numeric fields only.
Syntax :
SUM()
or
SUM( [ALL|DISTINCT] expression )
For Example:
a. SUM() :
SELECT SUM(COST)
FROM PRODUCT_MAST;
SELECT SUM(COST)
FROM PRODUCT_MAST
WHERE QTY>3;
SELECT SUM(COST)
FROM PRODUCT_MAST
WHERE QTY>3
GROUP BY COMPANY;
d. SUM() with HAVING() :
3) AVG FUNCTION: The AVG function is used to calculate the average value
of the numeric type. AVG function returns the average of all non-Null values.
Syntax :
AVG()
or
AVG( [ALL|DISTINCT] expression )
For Example :
SELECT AVG(COST)
FROM PRODUCT_MAST;
Syntax :
MAX()
or
MAX( [ALL|DISTINCT] expression )
For Example :
Syntax :
MIN()
or
MIN( [ALL|DISTINCT] expression )
For Example :
SELECT MIN(RATE)
FROM PRODUCT_MAST;
Entity :
Data objects detailed by the information in the database. They are Denoted by
Rectangles.
For Example :
Employee Department
Attributes :
Employee
Nam EMP_ID
e
Relationships :
Example of ER Diagram :
Q) Create Employee Table with EMP_ID,
EMP_NAME, EMP_DEPT,
EMP_ADDRESS, MOBILE_NUMBER,
EMP_SALARY and then Use Aggregate
function by Queries :
1) Count() :
2) SUM() :
3) AVG() :
5) MIN() :
Insert :
Update Student_Marks
SET MARKS_OBTAINED = 97
Where SUBJECT_NAME = 'EVS' ;
Like :
SELECT * FROM Student_Marks WHERE SUBJECT_NAME LIKE "E%";