Dbms
Dbms
2. No Coding Skills –
For data retrieval, large number of lines of code is not required. All basic
keywords such as SELECT, INSERT INTO, UPDATE, etc are used and
also the syntactical rules are not complex in SQL, which makes it a user-
friendly language.
3. Standardized Language –
Due to documentation and long establishment over years, it provides a
uniform platform worldwide to all its users.
4. Portable –
It can be used in programs in PCs, server, laptops independent of any
platform (Operating System, etc). Also, it can be embedded with other
applications as per need/requirement/use.
5. Interactive Language –
Easy to learn and understand, answers to complex queries can be
received in seconds.
Disadvantages of SQL :
Although SQL has many advantages, still there are a few disadvantages.
Various Disadvantages of SQL are as follows:
Complex Interface –
SQL has a difficult interface that makes few users uncomfortable while dealing with the database.
• Cost –
Some versions are costly and hence, programmers cannot access it.
• Partial Control –
Due to hidden business rules, complete control is not given to the
database.
• Limited Flexibility: SQL databases are less flexible than NoSQL
databases when it comes to handling unstructured or semi-structured
data, as they require data to be structured into tables and columns.
• Lack of Real-Time Analytics: SQL databases are designed for batch
processing and do not support real-time analytics, which can be a
disadvantage for applications that require real-time data processing.
• Limited Query Performance: SQL databases may have limited query
performance when dealing with large datasets, as queries may take
longer to process than in-memory database
Program -1
Write a program to create a table
PROGRAM 3
Create a program to display all the values in the table.
PROGRAM 5
Create a program to modify in the table by adding the new
column in the above table.
Syntax : alter table <table_name> add(column_name1
datatype(size), column_name2 datatype(size),.....
column_name n datatype(size));
PROGRAM 6
Create a program to update the values of in the table.