Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Webpage for Databases:
Recent questions tagged databases
0
votes
1
answer
2221
Relation between tables in different databases
Is there any way to establish a Relation between tables in different databases??
Is there any way to establish a Relation between tables in different databases??
sh!va
321
views
sh!va
asked
Nov 7, 2016
Databases
databases
+
–
0
votes
1
answer
2222
What is the difference between database model and database schema?
What is the difference between database model and database schema? Any useful link please....
What is the difference between database model and database schema? Any useful link please....
sh!va
2.0k
views
sh!va
asked
Nov 7, 2016
Databases
databases
+
–
6
votes
2
answers
2223
What is "Strict recoverable" schedule?
Consider the following schedule: $S: r_1(A), w_2(A), Commit_2, w_1(A),w_3(A), Commit_3, Commit_1$ Which of the following is true? a. Schedule is view serializable schedule and strict recoverable schedule b. Schedule is ... know what is "strict schedule" and "recoverable schedule", But then what it means by "strict recoverable"?
Consider the following schedule:$S: r_1(A), w_2(A), Commit_2, w_1(A),w_3(A), Commit_3, Commit_1$Which of the following is true?a. Schedule is view serializable schedule a...
GateAspirant999
6.8k
views
GateAspirant999
asked
Nov 6, 2016
Unknown Category
concurrency
databases
transaction-and-concurrency
+
–
5
votes
1
answer
2224
decomposition
For givem relation R(A,B,C,D,E) F:{B ->D,CD ->E,E->A,A->BC} Is it possible 2 decompose R into two relations R1and R2 such that Decomposition is lossless-join ,dependency-preserving and in BCNF normal form ??
For givem relation R(A,B,C,D,E)F:{B ->D,CD ->E,E->A,A->BC}Is it possible 2 decompose R into two relations R1and R2 such thatDecomposition is lossless-join ,dependency-pr...
saurabh rai
1.4k
views
saurabh rai
asked
Nov 6, 2016
Databases
databases
database-normalization
dependency-preserving
+
–
1
votes
1
answer
2225
How does following SQL translates to relational algebra divide operation?
Book claims that below query translates to relational algebra expression $P/Q$. Can anyone explain how does the below query translates to relational algebra expression $P/Q$? Assume $Q$ has attributes $B_1,B_2,...,B_m$ ... addition the attributes $A_1,A_2,...,A_n$. How above query equates to relation algebra expression $P/Q$?
Book claims that below query translates to relational algebra expression $P/Q$. Can anyone explain how does the below query translates to relational algebra expression $P...
GateAspirant999
1.3k
views
GateAspirant999
asked
Nov 5, 2016
Databases
relational-algebra
sql
databases
relational-calculus
+
–
3
votes
2
answers
2226
foreign key constraint
What is on delete no action,on delete cascade, on delete set null action?? explain through some eg??
What is on delete no action,on delete cascade, on delete set null action??explain through some eg??
Hira Thakur
1.5k
views
Hira Thakur
asked
Nov 3, 2016
Databases
referential-integrity
databases
+
–
0
votes
1
answer
2227
Database mgmt system
Tell whether the following decomposition of relations lossless and dependency preserving or not. 1. R(ABCDEFGHIJ) and FD sets AB->C, A->DE, B->F, F->GH, D->IJ a) D1"={ DIJ, ACE, FGH, BF, ADC} b) D2={ FGH, DIJ, ADEBF, ABC} 2.R(ABCDEG) and FD sets AB->C, AC->B, AD->E, B->D, BC->A, E->G a) D=( ABC, ACDE, ADG)
Tell whether the following decomposition of relations lossless and dependency preserving or not.1. R(ABCDEFGHIJ) and FD setsAB->C, A->DE, B->F, F->GH, D->IJa) D1"={ DI...
Chetnawadhwa
1.6k
views
Chetnawadhwa
asked
Nov 2, 2016
Databases
databases
lossless-join
dependency-preserving
database-normalization
decomposition
+
–
8
votes
3
answers
2228
Number of tuples in natural join
Consider the following relations: $R_1(A,B,C)$ and $R_2(A,D,E)$. $R_1$ has 1000 records and $R_2$ has 2000 records. The attribute $A$ in $R_2$ is referencing attribute $A$ in $R_1$. Let $X$ be minimum number of records in $R_1$ ⨝ $R_2$ and $Y$ be the maximum number of records in $R_1$⨝$R_2$. The sum of $(X+Y)$ is _______.
Consider the following relations: $R_1(A,B,C)$ and $R_2(A,D,E)$. $R_1$ has 1000 records and $R_2$ has 2000 records. The attribute $A$ in $R_2$ is referencing attribute $A...
GateAspirant999
11.2k
views
GateAspirant999
asked
Oct 31, 2016
Databases
natural-join
databases
relational-algebra
+
–
6
votes
1
answer
2229
Number of blocks at different levels of database indexes
Consider a file of 8192 records. Each record is 16 bytes long and its key field is of size 6 bytes. The file is ordered on a key field, and the file organization is unspanned. The file is stored in a file system with block size 512 bytes, ... blocks in the multilevel index are respectively a. 8 and 1 b. 16 and 1 c. 8 and 2 d. None of these
Consider a file of 8192 records. Each record is 16 bytes long and its key field is of size 6 bytes. The file is ordered on a key field, and the file organization is unspa...
GateAspirant999
3.7k
views
GateAspirant999
asked
Oct 30, 2016
Databases
indexing
databases
+
–
2
votes
1
answer
2230
Doubt
Can someone please explain this question? I am not able to understand it
Can someone please explain this question? I am not able to understand it
cse7
561
views
cse7
asked
Oct 29, 2016
Databases
databases
+
–
5
votes
3
answers
2231
Dependency preserving decomposition
Let R(X,Y,Z,W) be a relational schema with the following functional dependencies: $X\rightarrow Y, Y\rightarrow Z, Z\rightarrow W$ and $W\rightarrow Y$ The decomposition of R into (X,Y),(Y,Z),(Y,W) is a. ... preserving b. Lossless join, but is not dependency preserving c. Lossless join and dependency preserving d. Lossy join and not dependency preserving
Let R(X,Y,Z,W) be a relational schema with the following functional dependencies:$X\rightarrow Y, Y\rightarrow Z, Z\rightarrow W$ and $W\rightarrow Y$The decomposition of...
GateAspirant999
2.9k
views
GateAspirant999
asked
Oct 29, 2016
Databases
dependency-preserving
databases
database-normalization
+
–
5
votes
3
answers
2232
Number of minimal candidate keys
A relation R(A,B,C,D,E,F) holds following FDs $AB\rightarrow C$ $C\rightarrow D$ $D\rightarrow EA$ $E\rightarrow F$ $F\rightarrow B$ The number of minimal candidate keys of R are _______.
A relation R(A,B,C,D,E,F) holds following FDs$AB\rightarrow C$$C\rightarrow D$$D\rightarrow EA$$E\rightarrow F$$F\rightarrow B$The number of minimal candidate keys of R a...
GateAspirant999
2.4k
views
GateAspirant999
asked
Oct 29, 2016
Databases
databases
database-normalization
candidate-key
+
–
2
votes
2
answers
2233
Doubt
R(A , b, c) with n tuples, S(A , D, E). How many max tuples in R natural join S? {A is key for both} $\min (m,n)$ $\max(m,n)$ $m*n$ $m+n$
R(A , b, c) with n tuples, S(A , D, E). How many max tuples in R natural join S? {A is key for both}$\min (m,n)$$\max(m,n)$$m*n$$m+n$
cse7
628
views
cse7
asked
Oct 28, 2016
Databases
databases
+
–
11
votes
2
answers
2234
Doubt
for all the above questions answer the following : a ) how many minimum relation tables are required which satisfy 1NF b) how many minimum relation tables are required which satisfy 3NF c) how many minimum relation tables are required which satisfy BCNF d) minimum tables required Note: please provide detailed answer
for all the above questions answer the following :a ) how many minimum relation tables are required which satisfy 1NFb) how many minimum relation tables are required whic...
cse7
2.5k
views
cse7
asked
Oct 28, 2016
Databases
databases
+
–
1
votes
1
answer
2235
Doubt
The relationship between 2 entity A and B is 1:1 and the relationship is optional at the end . Only 50% of B entities are related To A . Now Consider mapping these entity types into relations Select the best statement : A ) A and B should be seperate and foreign key ... B relation c) A and B should be seperate and foreign key should be in A and B both relation d) None of these Verify please
The relationship between 2 entity A and B is 1:1 and the relationship is optional at the end . Only 50% of B entities are related To A .Now Consider mapping these entity ...
cse7
301
views
cse7
asked
Oct 28, 2016
Databases
databases
+
–
0
votes
1
answer
2236
Doubt
Consider the following ER diagram depicting the relationship of an employee and supervisor: What is the possible relation if the above ERD is mapped into a relational model? (a) Employee (EmpID, BirthDate, Salary, Name(FirstName, MiddleName, LastName)) (b) Employee ( ... , SupervisorID). Also mention how the answer will change if instead of 1:N relationship we have 1:1 and m*n relationship
Consider the following ER diagram depicting the relationship of an employee and supervisor:What is the possible relation if the above ERD is mapped into a relational mode...
cse7
1.7k
views
cse7
asked
Oct 28, 2016
Databases
databases
+
–
3
votes
2
answers
2237
Concurrency Strict Schedule
Consider the following database schedule with two transactions T1T1 and T2T2. S=r2(X);r1(X);r2(Y);w1(X);r1(Y);a1;a2 where a1 and a2 stands for abort. Is It a strict schedule? Please explain why or why not?
Consider the following database schedule with two transactions T1T1 and T2T2.S=r2(X);r1(X);r2(Y);w1(X);r1(Y);a1;a2 where a1 and a2 stands for abort. Is It a strict sched...
Tendua
656
views
Tendua
asked
Oct 26, 2016
Databases
databases
concurrency
transaction-and-concurrency
+
–
2
votes
4
answers
2238
General Topic Doubt Databases: Er Diagrams
KISHALAY DAS
2.3k
views
KISHALAY DAS
asked
Oct 25, 2016
Databases
descriptive-attribute
databases
er-diagram
general-topic-doubt
+
–
1
votes
1
answer
2239
Conflict + View + Concurrency
Do they all ensure serializability??? Strict 2PL Rigirous 2PL Conservative 2PL Multiversion 2PL Timestamp Stirct timestamp Multiversion timestamp Graph based protocol Thomas write rule Multiple granuality And among them which policy allows schedules that are not conflict serializable by are view serializable???
Do they all ensure serializability???Strict 2PLRigirous 2PLConservative 2PLMultiversion 2PLTimestampStirct timestampMultiversion timestampGraph based protocolThomas write...
Rahul Jain25
584
views
Rahul Jain25
asked
Oct 22, 2016
Databases
view-serializable
conflict-serializable
transaction-and-concurrency
databases
concurrency
+
–
5
votes
1
answer
2240
#b-tree #DBMS
Let the order of B-tree is 32 and the B-tree is 63% full. What will be the number of <key,data pointer> entries the 2 level B tree holds?
Let the order of B-tree is 32 and the B-tree is 63% full. What will be the number of <key,data pointer entries the 2 level B tree holds?
Lokesh .
1.7k
views
Lokesh .
asked
Oct 21, 2016
Databases
databases
b-tree
+
–
1
votes
2
answers
2241
Natural join
Q1. Suppose in an SQL query I have natural join as : from R1 natural join R2 natural join R3 natural join R4 then how does the natural join works? According to me, First R1 joins with R2 matching common attributes value between R1 and R2 then the ... such as name and course_id, without the relation names " but teaches.course_id is used in the query. WHY? It's not allowed.
Q1. Suppose in an SQL query I have natural join as : from R1 natural join R2 natural join R3 natural join R4then how does the natural join works? According to me, ...
Shivam Chauhan
937
views
Shivam Chauhan
asked
Oct 20, 2016
Databases
natural-join
databases
+
–
6
votes
1
answer
2242
Basic doubt in B+ Tree Indexing
Q : One basic doubt that is coming to my mind is whether number of splits in the process of insertion in B+ Tree indexing going to change if we consider left biasing and right biasing approach.Plz present any example to show if possible..
Q : One basic doubt that is coming to my mind is whether number of splits in the process of insertion in B+ Tree indexing going to change if we consider left biasing and ...
Habibkhan
1.1k
views
Habibkhan
asked
Oct 19, 2016
Databases
databases
b-tree
indexing
+
–
0
votes
0
answers
2243
Delete clause
Suppose I have an instructor relation with relation schema as:: Instructor(ID, name, dept name, salary) and Now " we want to delete the records of all instructors with salary below the average at the university " I know this would do delete from ... will the below query work:: If not, then why delete from instructor having avg(salary) > (select salary from instructor);
Suppose I have an instructor relation with relation schema as:: Instructor(ID, name, dept name, salary)and Now " we want to delete the records of all instructors wit...
Shivam Chauhan
684
views
Shivam Chauhan
asked
Oct 18, 2016
Databases
sql
databases
+
–
3
votes
1
answer
2244
MadeEasy Test Series: Databases - Er Diagram
What does this ----> mean? And How to solve ?
What does this mean?And How to solve ?
Arijit 2
927
views
Arijit 2
asked
Oct 17, 2016
Databases
made-easy-test-series
databases
er-diagram
+
–
0
votes
1
answer
2245
MadeEasy Test Series: Databases - Sql
debanjan sarkar
392
views
debanjan sarkar
asked
Oct 16, 2016
Databases
made-easy-test-series
databases
sql
+
–
1
votes
1
answer
2246
MadeEasy Test Series: Databases - Relational Algebra
debanjan sarkar
342
views
debanjan sarkar
asked
Oct 16, 2016
Databases
made-easy-test-series
databases
relational-algebra
+
–
6
votes
2
answers
2247
MadeEasy Test Series: Databases - Database Normalization
debanjan sarkar
2.6k
views
debanjan sarkar
asked
Oct 16, 2016
Databases
made-easy-test-series
databases
database-normalization
+
–
2
votes
1
answer
2248
MadeEasy Test Series: Databases - Relational Algebra
debanjan sarkar
525
views
debanjan sarkar
asked
Oct 16, 2016
Databases
made-easy-test-series
databases
relational-algebra
+
–
6
votes
1
answer
2249
MadeEasy Test Series: Databases - Er Diagram
Consider the following ER diagram: The minimum number of tables needed to represent ER-diagram are _____ .
Consider the following ER diagram:The minimum number of tables needed to represent ER-diagram are _____ .
debanjan sarkar
3.3k
views
debanjan sarkar
asked
Oct 16, 2016
Databases
made-easy-test-series
databases
er-diagram
+
–
0
votes
0
answers
2250
B+ tree Deletion
I found a PDF for the deletion of B + tree here : http://avid.cs.umass.edu/courses/445/f2008/17-tree-indexes-2.pdf I have probelm with the initial B+ tree itself. What I have studied till date is that every node has a copy in the leaf nodes. But here they have not take the copy for the nodes . like copy of 13 and 17 and 30 is not present in the leafs. What I am doing wrong here.
I found a PDF for the deletion of B + tree here : http://avid.cs.umass.edu/courses/445/f2008/17-tree-indexes-2.pdfI have probelm with the initial B+ tree itself. What I ...
Tendua
1.4k
views
Tendua
asked
Oct 14, 2016
Databases
b-tree
databases
+
–
Page:
« prev
1
...
70
71
72
73
74
75
76
77
78
79
80
...
97
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register