You are not logged in.

#1 2015-09-18 06:45:23

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
Website

SQL Statement:

http://interviewquestionsanswers.org/quiz/Database http://interviewquestionsanswers.org/qu … L-Database

Question:
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

Option A):
9
Option B):
5
Option C):
0

Correct Answer is Option C):
0


Failure is the first step towards seccess.

2015-09-18 06:45:23

Advertisement
Ads By Google

Re: SQL Statement:



Board footer