You are not logged in.

#1 2015-09-18 06:06:07

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

SQL Table:

Database Quizzes SQL

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

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

Correct Answer is Option C):
9


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-09-18 06:06:07

Advertisement
Ads By Google

Re: SQL Table:



Board footer