Basic SQL Queries and Commands
Basic SQL Queries and Commands
1. What is SQL?
2. Explain the difference between DDL, DML, and DCL.
3. What is a SELECT statement?
4. Explain the different types of joins in SQL.
5. What is a primary key?
6. What is a foreign key?
7. Explain the difference between UNION and UNION ALL.
8. What is the purpose of the GROUP BY clause?
9. What is the difference between WHERE and HAVING clauses?
10. How do you use the ORDER BY clause?
Database Management:
Miscellaneous:
45. What is the difference between an INNER JOIN and an OUTER JOIN?
46. What is the purpose of the DISTINCT keyword?
47. How do you handle NULL values in SQL Server?
48. What is the role of SQL Server Management Studio (SSMS)?
49. What is the difference between SQL and T-SQL?
50. What are some common SQL Server tools for monitoring and tuning?