MS SQL Server – 12 – SQL Basic MCQ

12 – SQL Basic MCQ

Best of luck!

1 / 25

1. What are literal values in SQL?

2 / 25

2. Which of the following is an example of a string literal in SQL?

3 / 25

3. In SQL, what is the purpose of identifiers?

4 / 25

4. Which of the following is an example of an identifier in SQL?

5 / 25

5. What is the role of delimiters in SQL?

6 / 25

6. In SQL, how are string literals typically enclosed?

7 / 25

7. Which of the following is a valid SQL delimiter?

8 / 25

8. What is the purpose of comments in SQL?

9 / 25

9. Which SQL operator is used to add comments to a single line of code?

10 / 25

10. What is the purpose of reserved keywords in SQL?

11 / 25

11. Which of the following is a reserved keyword in SQL?

12 / 25

12. In SQL, what is the role of square brackets ([ ])?

13 / 25

13. Which of the following is NOT a valid SQL comment syntax?

14 / 25

14. What is the primary purpose of adding comments to SQL code?

15 / 25

15. In SQL, what is the role of double quotation marks (” “)?

16 / 25

16. Which of the following is a valid SQL comment syntax for multiline comments?

17 / 25

17. What is the purpose of adding square brackets ([ ]) around an identifier in SQL?

18 / 25

18. Which of the following is a valid SQL delimiter for terminating statements?

19 / 25

19. In SQL, how are multiline comments typically enclosed?

20 / 25

20. Which SQL operator is used to add multiline comments to code?

21 / 25

21. What is the primary role of reserved keywords in SQL?

22 / 25

22. In SQL, how are comments typically indicated?

23 / 25

23. Which of the following is a valid SQL delimiter for terminating statements?

24 / 25

24. In SQL, what is the role of double slashes (//)?

25 / 25

25. What is the primary advantage of using delimiters in SQL statements?

Your score is

0%