SQL MCQs
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 20% Most missed: “A sequence in SQL can generate a maximum number:”
SQL MCQs
Time left 00:00
25 Questions

1. What is the full form of SQL?
2. What is the difference between a PRIMARY KEY and a UNIQUE KEY?
3. Which of the following statement is correct to display all the cities with the condition, temperature, and humidity whose humidity is in the range of 60 to 75 from the 'whether' table?
4. Which of the following are the synonyms for Column and ROW of a table? 1. Row = [Tuple, Record] 2. Column = [Field, Attribute] 3. Row = [Tuple, Attribute] 4. Columns = [Field, Record]
5. Which data manipulation command is used to combines the records from one or more tables?
6. Which statement is true regarding procedures?
7. Which of the following is the correct order of a SQL statement?
8. Sequence can generate
9. What is returned by INSTR ('JAVAT POINT', 'P')?
10. SQL Views are also known as
11. Which operator is used to compare a value to a specified list of values?
12. Which of the following are TCL commands?
13. Which statement is used to delete all rows in a table without having the action logged?
14. The SQL statement: SELECT ROUND (65.726, -1) FROM DUAL; Prints:
15. When the wildcard in a WHERE clause is useful?
16. A command that lets you change one or more field in a table is:
17. Which data dictionary table can be used to show the object privileges granted to the user on specific columns?
18. What operator tests column for absence of data
19. A CASE SQL statement is ________?
20. Which operator is used to compare the NULL values in SQL?
21. Which of the following is also called an INNER JOIN?
22. Which of the following options are correct regarding these three keys (Primary Key, Super Key, and Candidate Key) in a database?
I. Minimal super key is a candidate key
II. Only one candidate key can be a primary key
III. All super keys can be a candidate key
IV. We cannot find a primary key from the candidate key
23. Which statement is used to get all data from the student table whose name starts with p?
24. Which command is used to change the definition of a table in SQL?
25. _______ clause creates temporary relation for the query on which it is defined.