🗂️ SQL & Databases

Time Remaining:

1. Which SQL function is used to get the rank of a row in a result set with gaps in ranking?

2. What does the EXISTS keyword do in a SQL query?

3. In SQL, which of the following statements about INDEX is TRUE?

4. What is the purpose of the WITH clause (CTE - Common Table Expression)?

5. What happens if you omit the WHERE clause in an UPDATE statement?

6. Which type of JOIN returns all unmatched rows from both tables?

7. What is the purpose of VIEW in SQL?

8. Which SQL isolation level provides the highest level of data integrity?

9. Which normal form removes partial dependency?

10. What is the output of this query? SELECT department, COUNT(*) OVER (PARTITION BY department) FROM employees;