Recent questions tagged databases

0 0 votes
0 0 answers
312
312 views
if a node R1 is in IS mode then it may be a possibility that some node below it is in exclusivelock then how can we lock R1 in S mode since if I apply S on it that means ...
0 0 votes
2 answers 2 answers
779
779 views
i know how to find whether the decomposition is lossless or lossy . but in this type of question they are actually not defining how they decompose . they are only giving ...
0 0 votes
2 2 answers
854
854 views
 I am not getting that due to Write(A) in T1 and Read(A) in T2 , I will have an edge from T1 to T2 , and then due to Write(B) in T1 and then Read(B) in T1 , we will have ...
0 0 votes
0 0 answers
490
490 views
I am nt getting how this write operation in the first case can be converted into a serial schedule in both the two cases , i.e we are given the first set as the complete ...
0 0 votes
2 answers 2 answers
5.1k
5.1k views
I am unable to get that what advantage do we get when we store only records consisting of primary attributes in case of B+ tree i.e. we do not store record pointers corre...
0 0 votes
1 1 answer
14.6k
14.6k views
R is not in 3NF R is in 3NF but not in BCNF R is in BCNF but not in 4NF R is in 4NF How to approach this ques ?
1 1 vote
1 answers 1 answer
660
660 views
I am just having one confusion that if we have a canonical cover so it doesn't have any extraneous attributes or redundancy , so is it always in normal form, or not alway...
0 0 votes
1 1 answer
1.1k
1.1k views
The database can be configured to do ordered indexing on Ap or hashing on Ap. Which of the following statements is TRUE?(A) Ordered indexing will always outperform hashin...
0 0 votes
1 1 answer
1.4k
1.4k views
BOOK (acc_no, year, title)USER (card_no, name, address)SUPPLIER (s_name, address)BORROWED_BY (acc_no, card_no, date of issue)SUPPLIED_BY (acc_no, date of supply, price,...
0 0 votes
2 2 answers
1.9k
1.9k views
BOOK(acc_no.,year,title)USER(card_no.,names,address)SUPPLIER(s_name,address)BORROWED BY (acc_no.card_no,date of issue)SUPPLIED BY(acc_no,date of supply,price ,s_name)in a...
1 1 vote
1 1 answer
862
862 views
Weak entity set avoids the data duplication and consequent possible inconsistencies caused by duplicating the key of the strong entity..plz clarify this........
1 1 vote
1 1 answer
970
970 views
Each employee is assigned to a project work at only one location for that project, but can be at a different location for a different project. At a given location, an emp...
0 0 votes
1 1 answer
926
926 views
I am not getting that how many attributes must be there in the Borrowed by table which actually represents a table since we have the constraint that one user can borrow o...
6 6 votes
3 answers 3 answers
15.1k
15.1k views
Consider the following set of functional dependency on the scheme (A, B,C)A→BC, B→C, A→B, AB→CThe canonical cover for this set is:A. A→BC and B&r...
1 1 vote
2 answers 2 answers
2.4k
2.4k views
decompose relation into 2NF ,3NF,BCNFR(ABCDE) {AB ->C, DE ->C , B ->D}R(ABCD) {AB ->C,C >D,D >A}
1 1 vote
1 answers 1 answer
5.6k
5.6k views
3 3 votes
3 3 answers
3.1k
3.1k views
Answer is 2 minimal and 2 canonical covers.Please give full explanation of how to solve.
15 15 votes
4 answers 4 answers
7.0k
7.0k views
How many view equal serial schedules possible for the followingschedule?S : w1(A) r2(A) w3(A) r4(A) w5(A) r6(A) w7(A) r8(A
0 0 votes
1 1 answer
671
671 views
Suppose a phone book contain 500 pages and each page can containupto 500 records. Suppose we want to search for a particular name in aphone book. Give a worst case bound ...
1 1 vote
1 1 answer
602
602 views
0 0 votes
2 2 answers
1.9k
1.9k views
If R and S are two relation in BCNF the natural join of R and S is alsoin BCNF.above statement true or false.??
0 0 votes
1 answers 1 answer
676
676 views
4 4 votes
4 answers 4 answers
11.7k
11.7k views
Let $E_1$ and $E_2$ be two entities in E-R diagram with simple single valued attributes. $R_1$ and $R_2$ are two relationships between $E_1$ and $E_2$ where $R_1$ is one-...
0 0 votes
1 1 answer
1.7k
1.7k views
employee(person-name,street,city)works(person-name,company-name,salary)company(company-name,city)manages(person-name,manager-name) Find all employees who earn more than e...
0 0 votes
1 answers 1 answer
859
859 views
Is there any condition in which we can say that dense index is sparse index?
0 0 votes
2 2 answers
1.5k
1.5k views
Manager’s salary details are hidden from the employee. This is called as(A) Conceptual level data hiding (B) Physical level data hiding (C) External level data hiding (D)...
1 1 vote
1 1 answer
4.0k
4.0k views
The student marks should not be greater than 100. This isIntegrity constraintReferential constraintOver-defined constraintFeasible constraint
13 13 votes
3 3 answers
7.1k
7.1k views
If $\text{D}_1,\text{D}_2, \dots \text{D}_n$ are domains in a relational model, then the relation is a table, which is a subset of$\text{D}_1 \oplus \text{D}_2 \oplus \do...
1 1 vote
2 answers 2 answers
2.6k
2.6k views
HOW many minimum relation which satisfy BCNF.??
4 4 votes
2 answers 2 answers
2.4k
2.4k views
Consider a relation $R(A,B,C)$ with the following functional dependencies $AB \to C$ and $AC \to B$. $A$ can take 20 distinct values, $B$ can take 10 distinct values and ...