Professional Documents
Culture Documents
OF
PROJECT REPORT
ON
This is to certify that the project work of “Information System Management” made by Ishan
Saxena, BBA, 4th semester, 04324001720 is an authentic work carried out by him/her under
guidance and supervision of Ms Neha.
The project report submitted has been found satisfactory for the partial fulfilment of the
degree of Bachelors of Business Administration.
They have provided me with the valuable guidance sustained and friendly approach
otherwise it would have been difficult to achieve the results in such a short span of time
without their help.
I deem it my duty to record my gratitude towards my internal project supervisor Ms. Neha
who devoted her precious time to interact, guide, and gave me the right approach to
accomplish the task and also helped me to enhance my knowledge understanding of the
project.
ISHAN SAXENA
BBA(G) 4th SEMESTER
SHIFT-2
04324001720
DECLARATION
I hereby declare that the following documented project report on “Information System
Management” is an original and authentic work done by me for the partial fulfilment of
Bachelor Business Administration degree program.
I hereby declare that the entire endeavour put in the fulfilment of the task are genuine and
original to the best of my knowledge & I have not submitted it earlier elsewhere.
SIGNATURE:
STUDENT’S NAME: ISHAN SAXENA
BBA SEMESTER- 4 TH / 2ND YEAR
SHIFT- 2nd
TABLE CONTENTS
S No. Topic Signature
1) Introduction to SQL
1.1 What is SQL
1.2 Types of Commands
2) Practical is SQL
3) Practical 1
1.1 Create a table with column name roll no., Name, Course,
Percentage
1.2 Describe Table
1.3 Insert 10 records in the table
1.4 Display details of the table
1.5 Display the details of students whose percentage is greater
than 60%
1.6 Display the details of students whose course is ‘BBA’.
1.7 Display the details of students whose name starts with ‘A’
3) Practical 2
2.1Create a table with Employee with columns Employee Id.,
Name, Designation, Address, Contact No.
2.2Update the address of employee whose employee Id is 105.
“MOTHERBOARD”
4.7 Display the record of those items whose name starts with 'S'
4.8 Display the details of those items whose price is either 35000
or 75000
4.9 Display the details of those items whose price is between
35000 and 40000
4.10 Display the details of all those items whose name is
'DESKTOP' or 'LAPTOP'
4.11 Update the price of the item to 5000 whose item no is 5
What is SQL?
SQL stands for Structured Query Language. SQL is used to create, remove, alter the
database and database objects in a database management system and to store, retrieve, update
the data in a database. SQL is a standard language for creating, accessing, manipulating
database management system. SQL works for all modern relational database management
systems, like SQL Server, Oracle, MySQL, etc.
SQL commands are instructions. It is used to communicate with the database. It is also used
to perform specific tasks, functions, and queries of data.
SQL can perform various tasks like create a table, add data to tables, drop the table, modify
the table, set permission for users. There are five types of SQL commands: DDL, DML,
DCL, TCL, and DQL.
DDL
DDL stands for Data Definition Language. DDL commands are used for creating and
altering the database and database object in the relational database management system, like
CREATE DATABASE, CREATE TABLE, ALTER TABLE, etc. The most used DDL
commands are CREATE, DROP, ALTER, and TRUNCATE.
CREATE
CREATE command is used to create a database and database object like a
table, index, view, trigger, stored procedure, etc.
Syntax: CREATE TABLE Employee (Id INT, Name VARHCAR (50), Address VARCHAR
(100));
ALTER
ALTER command is used to restructure the database object and the settings in the database.
SYNTAX: ALTER TABLE Employee ADD Salary INT;
DROP
DROP command is used to remove the data and the database.
SYNTAX: DROP TABLE Employee
TRUNCATE
The TRUNCATE command is used to remove all the data from the table. TRUNCATE
command empties the table.
SYNTAX: TRUNCATE TABLE Employee
DML
DML stands for data manipulation language. DML commands are used for manipulating
data in a relational database management system. DML commands are used for adding,
removing, updating data in the database system, like INSERT INTO Table Name, DELETE
FROM Table Name, UPDATE table Name set data, etc. The most used DML commands are
INSERT INTO, DELETE FROM, UPDATE.
INSERT INTO
INSERT INTO commands is used to add the data in the database.
UPDATE
UPDATE is used to update the data in the database table.
DELETE
DELETE command is used to delete the data from the database table.
DCL
DCL stands for data control language. DCL commands are used for providing and taking
back the access rights on the database and database objects. DCL command used for
controlling user’s access on the data. Most used DCL commands are GRANT and REVOKE.
GRANT
GRANT is used to provide access right to the user.
Syntax: GRANT INSERT, DELETE ON Employee TO user;
REVOKE
REVOKE command is used to take back access right from the user, it cancels access right of
the user from the database object.
TCL
TCL stands for transaction control language. TCL commands are used for handling
transactions in the database. Transactions ensure data integrity in the multi-user
environment. TCL commands can rollback and commit data modification in the database.
The most used TCL commands are COMMIT, ROLLBACK, SAVEPOINT, and SET
TRANSACTION.
COMMIT
COMMIT command is used to save or apply the modifications in the database.
ROLLBACK
ROLLBACK command is used to undo the modification in the database.
SAVEPOINT
SAVEPOINT command is used to temporarily save a transaction, the transaction can roll
back to this point when it's needed.
DQL
DQL stands for the data query language. DQL command is used for fetching the data. DQL
command is used for selecting data from the table, view, temp table, table variable, etc.
There is only one command under DQL which is the SELECT command.
-Create a table with column name roll no., Name, Course, Percentage
CREATE TABLE STUDENT_DETAILS
-> (ROLL_NO INTEGER(10),
-> NAME VARCHAR(10),
-> COURSE VARCHAR(10),
-> PERCENTAGE INTEGER(5));
-Describe Table
DESC STUDENT_DETAILS;
-Insert 10 records in the table
INSERT INTO STUDENT_DETAILS
-> VALUES(01,'KHUSHI','BBA',88);
Query OK, 1 row affected (0.15 sec)
- Display the record of those items whose name starts with 'S'
-Display the details of those items whose price is either 35000 or 75000
-Display the details of those items whose price is between 35000 and 40000
-Display the details of all those items whose name is 'DESKTOP' or 'LAPTOP'
-Update the price of the item to 5000 whose item no is 5
-Add a column named 'Supplier Phone Number' and data type is 'number'
-Delete the column whose name is 'Supplier Phone Number'