SQL MCQ Questions and answers – 05

3
Created on By admin

SQL MCQ Questions and answers - 05

1 / 10

1. Which of the following query finds the total rating of the sailors who have reserved boat "103"?

 

2 / 10

2. The SELECT statement SELECT 'Hi' FROM DUAL WHERE NULL = NULL; Outputs

 

3 / 10

3. Which of the following is illegal?

 

4 / 10

4. If a query involves NOT, AND, OR with no parenthesis

 

5 / 10

5. Let the statement
SELECT column1 FROM myTable;
return 10 rows. The statement
SELECT ALL column1 FROM myTable;
will return

 

6 / 10

6. Table employee has 10 records. It has a non-NULL SALARY column which is also UNIQUE.
The SQL statement
SELECT COUNT(*) FROM employee WHERE SALARY > ALL (SELECT SALARY FROM EMPLOYEE);
prints

 

7 / 10

7. Which of the following SQL commands can be used to add data to a database table?

 

8 / 10

8. Which of the following join is also called as an 'inner-join'?

 

9 / 10

9. Which of the following is NOT a type of SQL constraint?

 

10 / 10

10. What is an SQL virtual table that is constructed from other tables?

 

Your score is

The average score is 13%

0%

Leave a Reply

Your email address will not be published. Required fields are marked *