Recent questions tagged databases

7 7 votes
2 2 answers
5.7k
5.7k views
A relation R is in 3NF if every non-prime attribute of R is fully functionally dependent on every key of RTrue/False
0 0 votes
1 answers 1 answer
1.9k
1.9k views
How aggrigate functions in query will behave in data contains NULL values.I think answer should be D as all aggrigatre functions EXCEPT count will ignore NULL values. so,...
3 3 votes
3 3 answers
1.8k
1.8k views
how many tables will get generated for following E-RI believe an answer is 3.2 tables for 2 different multivalued attributes and one for entity "Dept.".
0 0 votes
1 1 answer
852
852 views
2 2 votes
1 1 answer
5.3k
5.3k views
Consider the following database table:Create table test( one integer, two integer, primary key(one), unique(two), check(one>=1 and <=10), check (two>=1 and <=5) );How man...
1 1 vote
1 1 answer
831
831 views
I am getting sum 22, answer given was 18.Here is my B+ tree :
1 1 vote
0 0 answers
360
360 views
3 3 votes
2 2 answers
1.6k
1.6k views
A relation $R$ with $5$ attributes $A_1,A_2,A_3,A_4,A_5$. Given the following FDs $A_1\rightarrow A_2$ $A_2A_3\rightarrow A_5$ $A_...
5 5 votes
1 answers 1 answer
8.6k
8.6k views
Maximum number of nodes in B+ tree possible with order 4 and height 6 is ___________.Is the answer should be 1365 or 5461.
0 0 votes
1 1 answer
522
522 views
4 4 votes
2 answers 2 answers
2.4k
2.4k views
Given the following functional dependencies$\left\{X \rightarrow W, X \rightarrow Y, Y \rightarrow Z, Z \rightarrow PQ\right\}$Consider the $FD$ set implied using above $...
6 6 votes
1 1 answer
2.7k
2.7k views
Consider the following Two Transactions.How many Cascadeless schedules are possible over $T1$ & $T2$ ?$32$ $42$ $51$ $52$
1 1 vote
1 1 answer
826
826 views
2 2 votes
1 answers 1 answer
727
727 views
THE DIFFERENCE BETWEEN FOLLOWING 2 EXPRESSIONS?a. (selection)year≥2009(takes) NATURAL JOIN  studentb. (selection)year≥2009(takes NATURAL JOIN student)
18 18 votes
1 answers 1 answer
6.8k
6.8k views
Consider the following Two Transactions.A) How many recoverable schedules can be formed over $T_{1}$ & $T_{2}$ ?$51$$52$$55$$56$ B) How many cascadeless recoverable s...
6 6 votes
3 answers 3 answers
1.5k
1.5k views
Suppose we have a relation $R(X, Y, Z, W)$ with the FD's:$$X \to Y, Y \to Z, Z \to W$$Which one of the following decompositions is not lossless (i.e., for some instance o...
4 4 votes
1 answers 1 answer
3.3k
3.3k views
Consider a relation R(A B C) with attribute size of A as 8 bytes. Disk block size is 512 bytes and block pointer is 8 bytes. The best choice for degree (maximum value) fo...
6 6 votes
4 answers 4 answers
7.7k
7.7k views
Given R(ABCD) andAB → C ;ABD → C ;ABC → D ;AC → Dwhich the highest possible normal form for the above relation ?
3 3 votes
3 answers 3 answers
13.1k
13.1k views
Given a relation R (ABCD), and the following FDs- A->BCDBC->ADD->B.which is the highest normal form the table is in.a) 1NFb) 2NFc)3NFd) BCNF
5 5 votes
4 4 answers
3.7k
3.7k views
Suppose that cardinalities of relations $A$ and $B$ are $m$ and $n$ respectively, then the maximum cardinality of the resultant relation $A \div B$ is ($A$ divides $B$)(A...
4 4 votes
1 1 answer
1.5k
1.5k views
I am revising DBMS for the GATE exam... Often I find it confusing that which dependency should be considered as partial , which should be considered as transitive..due to...
0 0 votes
1 answers 1 answer
1.6k
1.6k views
________ index is denseA) Primary indexB) clustered indexC) secondary index on candidate keyD) all
3 3 votes
2 answers 2 answers
1.9k
1.9k views
Use the following tables for the below queries wherever table $1$ and table $2$ are used:Select *From Table 1Where not exists (Select $T_{2}B$ From Table 2 where $T_{2}B ...
1 1 vote
1 answers 1 answer
9.2k
9.2k views
I am confused about this problem:Relation A - m tuplesRelation B - n tuplesWhat is the maximum and minimum size of natural join?According to this, maximum can be - min(m...
0 0 votes
2 answers 2 answers
1.2k
1.2k views
Given answer: DPlease explain
0 0 votes
2 answers 2 answers
942
942 views
ABC52110NULL21523In the above relation T the output of query:select * from T group by B;ABC10NULL2521Can anyone explain why this is the output?
0 0 votes
1 1 answer
646
646 views
Given answer: BI don't know how to deal with NULL in such query operations. Please explain.
0 0 votes
1 1 answer
1.5k
1.5k views
Given answer: BI don't know how to deal with NULL in such query operations. Please explain.
0 0 votes
0 0 answers
549
549 views
Given answer: BI don't know what are closed set in databases. Please give some references for explaining it.
1 1 vote
1 answers 1 answer
4.9k
4.9k views
Given answer is 2, but I think that for each multivalue attribute we need a relation and one for the main entity, therefore 3 should be the answer. Please correct me if I...