Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 20

INFORMATION SYSTEM MANAGEMENT

A PRACTICAL FILE

Submitted in partial fulfillment of the requirement for the award of degree of


bachelor of business administration
(May 2019)

SUBMITTED BY:

ENROLLMENT NO.:

Under the guidance of

(Sr. Assistant Professor, IT Department)

(Affiliated to G.G.S. Indraprastha University)


ACKNOWLEDGEMENT

I am preparing this practical file of Information system Management


for the program of Bachelor of Business Administration for Ideal
Institute of Management & Technology and School of Law, Affiliated
to Guru Gobind Singh Indraprastha University.
It has been a great challenge but a plenty of learning and opportunities
to gain a huge amount of knowledge on the way of preparing this file.
I could not have completed my work without the constant guidance of,
my faculty, who helped me along the way and was always prepared to
give me feedback and guidelines whenever I needed it.
CERTIFICATE

This is to certify that Practical file of Information system Management


which is submitted by in partial fulfillment of the requirement for the
award of degree of Bachelor of Business Administration to (affiliated to
GGSIP University, Delhi) is a record of the candidate’s own work carried
out by her under my supervision. The matter embodied in this file is
bonafide and has not been submitted for the award of any other
degree.

.………………………….

(Sr. Assistant Professor)


INTRODUCTION TO SQL

SQL stands for Structured Query Language, which is a standardized language for
interacting with RDBMS (Relational Database Management System). Some of
the popular relational database examples are: My SQL, Oracle, maria DB,
postgre SQL etc. SQL is used to perform C.R.U.D (Create, Retrieve, Update &
Delete) operations on relational databases. SQL can also perform administrative
tasks on database such as database security, backup, user management etc. We
can create databases and tables inside database using SQL.

TYPES OF SQL

1. Data Definition Language (DDL)- These SQL commands are used to


create, modify, and drop the structure of database objects like table, view,
procedure, indexes etc. In this category we have CREATE, ALTER, DROP and
TRUNCATE commands.
2. Data Manipulation Language (DML)- These SQL commands are used to
store, modify, and delete data from database tables. In this category we have
INSERT, UPDATE, and DELETE commands.
3. Data Query Language (DQL)- These SQL commands are used to
fetch/retrieve data from database tables. In this category we have only SEELCT
command.
4. Transaction Control Language (TCL)- These SQL commands are used to
handle changes which affect the data in database. Basically we use these
commands within the transaction or to make a stable point during changes in
database at which we can rollback the database state if required. In this category
we have SAVEPOINT, ROLLBACK and COMMIT commands.
5. Data Control Language (DCL)- These SQL commands are used to
implement security on database objects like table, view, stored procedure etc. In
this category we have GRANT and REVOKE commands.

FEATURES OF SQL
 SQL is an English-like language. It uses words such as select, insert ,
delete as part of its commend set.
 SQL is a non-procedural language.
 SQL processes sets of records rather than a single record at a time . The
most common form of a set of records is a table.
 SQL can be used by a range of user including DBAs application
programmers, management personal, and many other types of end users.
 SQL Provides command for a variety of tasks including:
 querying data
 Inserting, updating and deleting rows in a table
 Creating, modifying and deleting database objects
 controlling access to the database and database objects
 guaranteeing database consistency.
COMMANDS

1. CREATING A TABLE

2. INSERTING THE DATA


3. VIEWING THE TABLE
4. FETCH THE FIRST NAME FROM THEN TABLE

5. TO FETCH FIRSTNAME FROM THE TABLE IN UPPER CASE


6. TO FETCH UNIQUE VALUES FROM THE TABLE

7. TO PRINT THE FIRST NAME FROM THE TABLE AFTER REMOVING


WHITE SPACES FROM THE RIGHT SIDE
8. TO FETCH THE UNIQUE VALUE FROM THE TABLE AND PRINT ITS
LENGTH
9. TO PRINT ALL THE DETAILS FROM THE TABLE ORDER BY FIRST
NAME ASCENDING

10. TO PRINT ALL THE DETAILS FROM THE TABLE ORDER BY FIRST
NAME ASCENDING AND LAST NAME DESCENDING
11.TO PRINT FIRST NAME AS ‘SHALU’ AND ‘KHUSHBU’ FROM THE
TABLE
12. TO PRINT LAST NAME EXCLUDING FIRST NAMES,’SHALU’ AND
‘KHUSHBU’ FROM THE TABLE

13. TO PRINT DETAILS WITH JOBID AS “ADMIN”


14.TO PRINT DETAILS OF THE TABLE WHOSE FIRST NAME CONTAIN
‘A’

15. TO PRINT DETAILS OF THE TABLE WHOSE EMPLOYEES ID LIES


BETWEEN 002 TO 004
16. TO FETCH THE DETAILD OF THE EMPLOYEES WORKING IN
DEPARTMENT ‘ADMIN’

17.TO CLONE A NEW TABLE FROM ANOTHER TABLE


18. TO SHOW THE CURRENT DATE AND TIME

19. TO SHOW MAXIMUM COMMANDS


20. TO SHOW MINIMUM COMMANDS

21.

TO DISPLAY THE FIRST NAME AND LAST NAME IN ASCENDING


ORDER
22. TO GET UNIQUE JOB ID FROM THE TABLE

23. TO UPDATE THE MOBILENUMBER


24.TO FETCH THE MAXIMUM EMPLOYEE ID FROM THE TABLE

25.TO FETCH MINIMUM EMPLOYEE ID FROM THE TABLE


26. TO FETCH THE DISTINCT JOB ID FROM THE TABLE

You might also like