• edited by
1,282 views
5 5 votes

A relational table Employee (ENo, EName, Dept) has $88$ number of tuples. What will be the result of following SQL statement?

SELECT COUNT (ENo) FROM Employee WHERE ENo NOT IN (NULL);

  1. $88$
  2. $44$
  3. $0$
  4. $87$

1 Answer

Best answer
10 10 votes
Where E_no not in NULL - the predicate evaluates to unknown. so no rows will be printed.
• selected by
Position:
Show:

Related questions

1 1 vote
1 1 answer
4.9k
4.9k views
Isha Gupta asked Jun 12, 2016
4,862 views
which operation is used to extract specific columns from a table?
3 3 votes
1 answers 1 answer
5.1k
5.1k views
Rahul Jain25 asked Oct 4, 2016
5,093 views
0 0 votes
0 0 answers
3.2k
3.2k views
mohit chawla asked Jan 25, 2017
3,232 views
I want to know as we know codd's rule says that no two tuples in a relation should be same. i.e we can not have 2 tuples with same values in clm feilds. now to maintain t...