332 views
0 votes
0 votes

consider the raletion schema:-

R(A,B,C) with functional dependency {A->B}

which of the following query returns “0” if no records of R violates A->B functional dependency[assume no NULL’s]

 

for this question I directly marked (d) option as they have used count(*) and count func  gives 1 even for null.

am i wrong??

1 Answer

0 votes
0 votes

Count(*) returns the number of tuples . 1st case wont return any tuple so 0 .

Related questions

0 votes
0 votes
0 answers
1
Gate Fever asked Jan 13, 2019
761 views
consider the following languages M and NM={W$W^{R}$W$W^{R}$ | W$\epsilon$(0,1)*}N={W1$W1^{R}$W2$W2^{R}$ | W1,W2$\epsilon$(0,1)*which of the following languages are CFL?
0 votes
0 votes
1 answer
2
Gate Fever asked Jan 13, 2019
1,184 views
FIFO replacement policy ignores locality of reference.true/false
0 votes
0 votes
2 answers
3
Chaitrasj asked Jan 14, 2019
772 views
Can anyone explain how this is to be solved?
0 votes
0 votes
0 answers
4
Chaitrasj asked Jan 14, 2019
649 views