Recent questions tagged databases

6 6 votes
1 1 answer
1.6k
1.6k views
How is redundancy reduced in the following models?HierarchicalNetworkRelational
32 32 votes
6 answers 6 answers
6.4k
6.4k views
Suppose a database consist of the following relations:SUPPLIER (SCODE,SNAME,CITY). PART (PCODE,PNAME,PDESC,CITY). PROJECTS (PRCODE,PRNAME,PRCITY). SPPR (SCODE,PCODE,PRCOD...
100 100 votes
8 answers 8 answers
48.7k
48.7k views
Consider the following relational schemes for a library database:Book (Title, Author, Catalog_no, Publisher, Year, Price) Collection(Title, Author, Catalog_no)with the fo...
106 106 votes
4 answers 4 answers
31.1k
31.1k views
Let R and S be two relations with the following schema$R(\underline{P,Q}, R1, R2, R3)$$S(\underline{P,Q}, S1, S2)$where $\left\{P, Q\right\}$ is the key for both schemas....
72 72 votes
6 answers 6 answers
38.2k
38.2k views
A B-tree of order $4$ is built from scratch by $10$ successive insertions. What is the maximum number of node splitting operations that may take place?$3$$4$$5$$6$
43 43 votes
5 answers 5 answers
20.9k
20.9k views
A clustering index is defined on the fields which are of typenon-key and orderingnon-key and non-orderingkey and orderingkey and non-ordering
57 57 votes
7 answers 7 answers
24.7k
24.7k views
Which of the following tuple relational calculus expression(s) is/are equivalent to $\forall t \in r \left(P\left(t\right)\right)$?$\neg \exists t \in r \left(P\left(t\ri...
90 90 votes
8 answers 8 answers
48.6k
48.6k views
Consider the following $\text{ER}$ diagramThe minimum number of tables needed to represent $M$, $N$, $P$, $R1$, $R2$ is$2$$3$$4$$5$
100 100 votes
7 answers 7 answers
40.9k
40.9k views
Consider a file of $16384$ records. Each record is $32\;\text{bytes}$ long and its key field is of size $6\;\text{bytes}$. The file is ordered on a non-key field, and the...
1 1 vote
1 answers 1 answer
1.3k
1.3k views
92 92 votes
8 answers 8 answers
58.3k
58.3k views
Which of the following statements are TRUE about an SQL query?P : An SQL query can contain a HAVING clause even if it does not have a GROUP BY clauseQ : An SQL query can ...
50 50 votes
7 answers 7 answers
26.7k
26.7k views
Given the basic ER and relational models, which of the following is INCORRECT?An attribute of an entity can have more than one valueAn attribute of an entity can be compo...
90 90 votes
9 answers 9 answers
35.1k
35.1k views
Which of the following is TRUE?Every relation in $\text{3NF}$ is also in $\text{BCNF}$A relation $\text{R}$ is in $\text{3NF}$ if every non-prime attribute of $\text{R}$ ...