Recent questions tagged databases

5 votes
2 answers
2465
Purpose of 'Foreign Key' in a table is to ensureNull IntegrityReferential IntegrityDomain IntegrityNull and Domain Integrity
1 votes
3 answers
2466
A relation R={A,B,C,D,E,F,G} is given with following set of functional dependencies: F={AD→E, BE→F, B→C, AF→G}. Which of the following is a candidate key?AABABCAB...
3 votes
1 answer
2467
The maximum length of an attribute of type text is127255256It is variable
1 votes
1 answer
2468
0 votes
2 answers
2470
I have read in theory that multiple aggregation = innermost aggregation ,So I was expecting result as min(price)BUTwhen I run this program on www.w3school.com <SQL ...
0 votes
1 answer
2471
er
1 votes
1 answer
2472
ddl
1 votes
0 answers
2475
Suppose block hold either 3 records or Ten (key ,pointers ) pairs .As a function of n , the number of records . How many block do we need to hold a data file and dense in...
8 votes
5 answers
2478
Embedded pointer providesA secondary access pathA physical record keyAn inverted indexA primary key
0 votes
0 answers
2479
Can anyone explain Indexed Sequential File with , with respect to Cylinder and track number .I am unable to visualize
0 votes
1 answer
2480
Can anyone give me an example of fixed length records and variable length records with respect to any Relational table .?I dont want definition of these terms .
0 votes
2 answers
2481
W1(X)R2(Y)R1(Y)R2(X) ?Is it view Serializable or Conflict or both ?
0 votes
1 answer
2483
what is the difference b/w following two query:-SELECT distinct R.*FROM R,Swhere R.a = S.a;SELECT R.*FROM R,(select distinct a from S) as S1where R.a = S1.a;a is attribut...
3 votes
1 answer
2484
what is the meaning of following query:select R.* from R,S where R.a = S.a and is unique R;
8 votes
2 answers
2485
The physical location of a record determined by a formula that transforms a file key into a record location isHashed file$B$-Tree fileIndexed fileSequential file
26 votes
3 answers
2489
Suppose we have a database consisting of the following three relations:$$\begin{array}{|c|c|} \hline \text {FREQUENTS} & \text {(CUSTOMER, HOTEL)} \\\hline \text {SERVES}...