0% found this document useful (0 votes)
6 views5 pages

DBMS File Index

Uploaded by

anshul2005mehta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views5 pages

DBMS File Index

Uploaded by

anshul2005mehta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

MAHARAJA SURAJMAL INSTITUTE

C-4, Janakpuri, New-Delhi, 110058

Department of Computer Applications

DBMS PRACTICAL FILE


Course Code: BCA 176

Course Name: Practical-VI DBMS Lab

Submitted By:
Submitted to:
Name: Anshul Mehta
Ms. Vinita Tomar
Enroll. no: 03514902023 Asst. Professor
Semester: 2m Dept. of Computer Applications
INDEX
ASSIGN TOPIC DATE SIGNATURE
MENT
NO.
1. Introduction to SQL, Characteristics of SQL & its
Advantages
2. SQL Command Types (DDL, DML, DCL & TCL).
3. SQL Datatypes.
4. Create Online Book Database with the following
tables: -
1. Book (ISBN varchar (10), Book_Title
varchar (30), Category varchar (30), Price
int, Copyright_Date date, Year_of_publishing
year, Page_count int)
2. Publisher (P_ID varchar (10),
Name_of_publication varchar (30), Address
varchar (50), Phone_no int, Email_ID varchar
(30))
3. Author (A_ID varchar (10), Name varchar (30),
Address varchar (50), Phone_no int, Email_ID varchar
(30)
4. 4) Review (R_ID varchar (10), ISBN varchar (10),
Rating int)
5. Insert five meaningful records in each above table.
6. Demonstrate the use of SELECT Command with the
use of
WHERE clause.
7. Demonstrate the use of ALTER TABLE Command.
8. Define TRUNCATE Command and DROP Command.
9. Demonstrate the use of Logical operators.
10. Demonstrate the use of Comparison operators.
11. Demonstrate the use of ORDER BY Keyword.
12. Demonstrate the use of UPDATE Command, and
DELETE
Command with WHERE Clause.
13. Demonstrate the use of the LIKE Operator. String
operations.
14. Demonstrate the use of Aggregate Functions.
15. Demonstrate the use of Date & Time and Version
Function etc.
16. Demonstrate the use of Numeric functions.
17. Demonstrate the use of String functions.
18. Demonstrate the use of Group by Clause and Having
Clause.
19. Demonstrate the use of selecting records using
NULL and NOT NULL values.
20. Add constraints to the columns in the already
created tables.
21. Demonstrate the use of Set Operators (Union,
Intersect, Minus).
22. Demonstrate the use of Join Operations (Inner Join).

23. Demonstrate the use of Join Operations (Outer Join).


25. Demonstrate the use of NESTED QUERIES. QUERY
with various operators ANY, ALL, EXISTS, NOT
EXISTS, IN.
26. Demonstrate the use of Views.
27. Demonstrate the use of Sequences.
28. Demonstrate the use of Index.
29. Demonstrate the use of Triggers.
30. Demonstrate the use of the Stored Procedure
31. Practice Questions
32. Create an ER Diagram of the Online Book database
in MS Word
ASSIGNMENT 1

Introduction
Advantages to SQL, Characteristics of SQL & its

INTRODUCTION TO SQL:

SQL is a standard database language used to access and manipulate


data in databases. SQL stands for Structured Query Language. SQL was
developed by IBM Computer Scientists in the 1970s. By executing
queries SQL can create, update, delete, and retrieve data in databases
like MySQL, Oracle, PostgreSQL, etc. Overall, SQL is a query language
that communicates with databases.

SQL helps you to easily get information from data with high efficiency.
To manipulate the data in databases like Create, Read, Edit, and
Delete, we use SQL queries. Users can interact with data stored in
relational database management systems. Anyone who knows the
English language can easily write SQL queries. Some of the key
features of SQL are given below:

1. Without a lot of coding knowledge, we can manage a database with SQL.


2. SQL works with database systems from Oracle, IBM, Microsoft, etc.
3. Simple and easy to learn.
4. SQL is an ANSI and ISO standard language for database manipulation.
5. SQL retrieves large amounts of data very fast.

Characteristics and Benefits of Structured Query


Language:
The ANSI SQL provides with:

1. Specific syntax and semantics of SQL data definition and data manipulation
languages.

2. It also provides with basic data structure and operations for designing,
assessing, maintaining, controlling and protecting SQL databases.

3. Portability of database definition and application is also provided.


Applications can be moved from one machine to another.

4. IS professionals share a common language and reduce training costs.

5. Professionals can become proficient in its use and increase the productivity.
6. It provides with longevity.

Rules to write commands:

A classic query engine allows data professionals and users to maintain


non-SQL queries. The architecture of SQL is shown in the following
diagram:

You might also like