DBMS Lab: Basic SQL Important Questions
- Explain the difference between DDL, DML, and DCL commands with examples.
- Write an SQL query to find the second highest salary from an Employee table.
- Differentiate between INNER JOIN, LEFT JOIN, and RIGHT JOIN.
- What is the difference between the WHERE and HAVING clauses?