SQL MCQ Questions and answers – 03

0
Created on By admin

SQL MCQ Questions and answers - 03

1 / 10

1. 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 > ANY (SELECT SALARY FROM EMPLOYEE);
prints

 

2 / 10

2. The SQL statement
SELECT SUBSTR('abcdefghij', INSTR('123321234', '2', 3, 2), 2) FROM DUAL;
prints

 

3 / 10

3. The SQL statement
SELECT ROUND(45.926, -1) FROM DUAL;

 

4 / 10

4. Which of the following must be enclosed in double quotes?

 

5 / 10

5. Which of the following command makes the updates performed by the transaction permanent in the database?

 

6 / 10

6. Which command undo all the updates performed by the SQL in the transaction?

 

7 / 10

7. Find all the cities whose humidity is 89

 

8 / 10

8. Find the temperature in increasing order of all cities

 

9 / 10

9. What is the meaning of LIKE '%0%0%'

 

10 / 10

10. Find the names of these cities with temperature and condition whose condition is neither sunny nor cloudy

 

Your score is

The average score is 0%

0%

Leave a Reply

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