DBSQL 5
DBSQL 5
SQL SERVER
Interview Questions
[EXCLUSIVE NOTES]
[SAVE AND SHARE]
Curated By- HIMANSHU KUMAR(LINKEDIN)https://www.linkedin.com/in/himanshukumarmahuri
4. What is SQL?
Answer: SQL stands for Structured Query Language. All
relational database management systems use this domain-
specific language to access and manipulate the stored data. It
enables us to perform various tasks, such as creating a
database , retrieving data from a database, creating records,
tables, views, and procedures in a database, etc. All these
operations make use of SQL queries.
6. Explain PL/SQL.
Answer: An extension to SQL is PL/SQL. It stands for
Procedural Language extensions to Structured Query
Language. PL/SQL combines the SQL’s data manipulation
feature and the procedural language’s processing power.
SQL PL/SQL
It stands for Procedural Language
It stands for Structured Query
extensions to Structured Query
Language.
Language.
SQL executes a single query or PL/SQL executes a block of code or
line of code at a time. multiple lines in one go.
After you hit enter, you will get a message ‘Table created
successfully.’
• To add a column:
Syntax:
• To modify a column:
Syntax:
• One-to-one:
• Many-to-many:
Student_record
Student_Marks
• Predefined Functions:
• User-defined Functions:
It takes all values from different rows and returns their sum value.
• max():
This function accepts values from multiple tuples, compares them, and
returns the maximum value.
• min():
This function accepts values from multiple tuples, compares them, and
returns the minimum value.
• count():
• avg():
HIMANSHU KUMAR(LINKEDIN)
https://www.linkedin.com/in/himanshukumarmahuri
JOIN TELEGRAM TO DOWNLOAD- https://t.me/placement_preparations