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…
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:
From the BB Assistant Programmer February 2023 – Written (BIBM) exam, question 18 of 37.
More from this paper
- Previous: What is the result of compiling and running the following code? public class Test{ public static void main(String[] args){ int[] a = new…
- Next: If the radius is increased by 100% then by how much will the area of circle be increased?
- All questions in BB Assistant Programmer February 2023 – Written (BIBM)