Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged relational-algebra
3
votes
1
answer
211
Test by Bikram | Databases | Test 2 | Question: 25
Consider a relational table $T$ with sufficient number of records having attributes $T1, T2, \dots ,Tn$ (where $1 \leq p \leq n)$ Two queries $S1$ and $S2$ ... queries. Hashing will outperform ordered indexing on $S2$ but not $S1$. Hashing will outperform ordered indexing on $S1$ but not $S2$.
Consider a relational table $T$ with sufficient number of records having attributes $T1, T2, \dots ,Tn$ (where $1 \leq p \leq n)$Two queries $S1$ and $S2$ are given belo...
Bikram
321
views
Bikram
asked
Aug 26, 2017
Databases
tbb-dbms-2
databases
relational-algebra
+
–
0
votes
1
answer
212
Test by Bikram | Databases | Test 2 | Question: 24
Consider the relation schemas: Rank (name, rank) and student (name, country), where name in student table is a foreign key in table Rank. Which of the following TRC Queries displays all the student names from India along with their respective ranks? ...
Consider the relation schemas:Rank (name, rank) and student (name, country), where name in student table is a foreign key in table Rank.Which of the following TRC Queries...
Bikram
395
views
Bikram
asked
Aug 26, 2017
Databases
tbb-dbms-2
databases
relational-algebra
+
–
3
votes
2
answers
213
Test by Bikram | Databases | Test 2 | Question: 16
$\sigma_{A=B \text{ and } B=C \text{ and } C=A} \bigg( \Pi_A (R) \times \Pi_B (R) \times \Pi_C (R) \bigg)$ The number of rows returned by the above relational algebraic expression is ________.
$\sigma_{A=B \text{ and } B=C \text{ and } C=A} \bigg( \Pi_A (R) \times \Pi_B (R) \times \Pi_C (R) \bigg)$The number of rows returned by the above relational algebraic ex...
Bikram
444
views
Bikram
asked
Aug 26, 2017
Databases
tbb-dbms-2
numerical-answers
databases
relational-algebra
+
–
2
votes
1
answer
214
Relational algebra gateforum sample questions
https://gateoverflow.in/?qa=blob&qa_blobid=7899832711610886100 How can we know that when we have to use natural join and when Cartesian product??
https://gateoverflow.in/?qa=blob&qa_blobid=7899832711610886100How can we know that when we have to use natural join and when Cartesian product??
Ankit Saurav 1
806
views
Ankit Saurav 1
asked
Aug 13, 2017
Databases
relational-algebra
databases
+
–
3
votes
1
answer
215
Relational Algebra
Consider the following schema: Student (Sid, Sname, age) Course Info (Cid, Cname, Instructor SSN) Enroll (Sid, Cid, grade). The relational algebra expression for “find the Cid’s of courses enrolled by two different students” is ??
Consider the following schema:Student (Sid, Sname, age)Course Info (Cid, Cname, Instructor SSN)Enroll (Sid, Cid, grade).The relational algebra expression for “find the ...
just_bhavana
1.6k
views
just_bhavana
asked
Aug 4, 2017
Databases
databases
relational-algebra
+
–
1
votes
3
answers
216
DBMS Relational Algebra
How the following two expressions are equal? The LHS will remove duplicates but RHS will not.Please explain
How the following two expressions are equal?The LHS will remove duplicates but RHS will not.Please explain
rahul sharma 5
2.4k
views
rahul sharma 5
asked
Jul 13, 2017
Databases
relational-algebra
databases
relations
+
–
1
votes
0
answers
217
Dbms relation algebra
Nitesh Choudhary
335
views
Nitesh Choudhary
asked
Jul 12, 2017
Databases
relational-algebra
databases
+
–
4
votes
1
answer
218
Relation and Partial order
Is (S, R) a poset if S is the set of all people in the world and (a, b) ∈ R, where a and b are people, if a is not taller than b?
Is (S, R) a poset if S is the set of all people in the world and (a, b) ∈ R, where a and b are people,if a is not taller than b?
ram_18051996
2.6k
views
ram_18051996
asked
Jul 7, 2017
Set Theory & Algebra
engineering-mathematics
relations
relational-algebra
partial-order
set-theory&algebra
+
–
2
votes
1
answer
219
[DBMS] Number of tuples in RA
rahul sharma 5
1.1k
views
rahul sharma 5
asked
Jul 5, 2017
Databases
databases
relational-algebra
natural-join
+
–
4
votes
2
answers
220
DBMS Conditional Join
Does out put of conditional join contains duplicates?I know that it gives distinct in natural join as the projection operator removes duplicate rows. But in conditional join does this thing holds true?
Does out put of conditional join contains duplicates?I know that it gives distinct in natural join as the projection operator removes duplicate rows. But in conditional j...
rahul sharma 5
1.7k
views
rahul sharma 5
asked
Jul 5, 2017
Databases
databases
relational-algebra
+
–
1
votes
2
answers
221
Test by Bikram | Mock GATE | Test 4 | Question: 3
With the help of which of the following relations operation set can a division operation on relations be performed? $\left \{ selection, \times,- \right \}$ $\left \{ \times,- \right \}$ $\left \{ \times \right \}$ $\left \{ projection, \times, -\right \}$
With the help of which of the following relations operation set can a division operation on relations be performed?$\left \{ selection, \times,- \right \}$$\left \{ \time...
Bikram
380
views
Bikram
asked
May 14, 2017
Databases
tbb-mockgate-4
databases
relational-algebra
+
–
4
votes
4
answers
222
Join Number of Tuples
Suppose you are given relations r(A, B) and s(A, C). Suppose that r has 10000 tuples, and s has 5000 tuples. Suppose attribute r.A has 1001 distinct values, and s.A also has 1001 distinct values. The maximum possible size of the join result is
Suppose you are given relations r(A, B) and s(A, C). Suppose that r has 10000 tuples, and s has 5000 tuples. Suppose attribute r.A has 1001 distinct values, and s.A also ...
kauray
3.8k
views
kauray
asked
May 9, 2017
Databases
natural-join
databases
relational-algebra
+
–
52
votes
5
answers
223
GATE CSE 2017 Set 1 | Question: 46
Consider a database that has the relation schema CR(StudentName, CourseName). An instance of the schema CR is as given below. ... $T2 \leftarrow CR\div T1$ The number of rows in $T2$ is ______________ .
Consider a database that has the relation schema CR(StudentName, CourseName). An instance of the schema CR is as given below.$$\begin{array}{|c|c|} \hline \textbf{Student...
Arjun
13.0k
views
Arjun
asked
Feb 14, 2017
Databases
gatecse-2017-set1
databases
relational-algebra
normal
numerical-answers
+
–
10
votes
2
answers
224
Test by Bikram | Mock GATE | Test 3 | Question: 30
Consider three tables with the following number of tuples in each: $X$\left ( a,b,c \right )$ $= 100$ || $Y$\left ( a,d,e \right )$ $= 80$ || $Z$\left ( x,d,f \right )$ $= 90$ Tuples in $X$ and $ ... value of attribute '$d$' $= 70$. The maximum number of tuples in ( $X$ left outer join $Y$ ) full outer join $Z$ is ________.
Consider three tables with the following number of tuples in each:$X$$\left ( a,b,c \right )$ $= 100$ || $Y$$\left ( a,d,e \right )$ $= 80$ || $Z$$\left ( x,d,f \...
Bikram
874
views
Bikram
asked
Feb 9, 2017
GATE
tbb-mockgate-3
numerical-answers
databases
relational-algebra
joins
+
–
0
votes
1
answer
225
MadeEasy Subject Test: Databases - Relational Algebra
pkb
420
views
pkb
asked
Feb 7, 2017
Databases
made-easy-test-series
databases
relational-algebra
+
–
3
votes
3
answers
226
Doubt about joins on keys
Consider the following relation: R (A B C) A primary key with 100 tuples. S (E F G) E primary key with 50 tuples. T (AE D) AE primary key with 80 tuples. U (D G H) H primary key with 10 tuples. The maximum number of possible records in the result of _______.
Consider the following relation:R (A B C) A primary key with 100 tuples.S (E F G) E primary key with 50 tuples.T (AE D) AE primary key with 80 tuples.U (D G H) H primary ...
Pankaj Joshi
2.3k
views
Pankaj Joshi
asked
Feb 1, 2017
Databases
databases
relational-algebra
+
–
0
votes
0
answers
227
MadeEasy Subject Test: Databases - Relational Algebra
Which of the following relational alzebra queries correct representation to retrieve Eid's of female employees whose salary more than all male employees of the company over database relation Emp (Eid, Salary, Sex) how can q3 be correct according to me ... try to to mach eid to eid but we have renamed eid of male to I hence it wont find any match
Which of the following relational alzebra queries correct representation to retrieve Eid’s of female employees whose salary more than all male employees of the company ...
Pankaj Joshi
1.2k
views
Pankaj Joshi
asked
Jan 31, 2017
Databases
databases
made-easy-test-series
relational-algebra
+
–
1
votes
1
answer
228
Mock Test
Is statement 1 true for all safe expressions ?
Is statement 1 true for all safe expressions ?
Harsh181996
886
views
Harsh181996
asked
Jan 24, 2017
Databases
databases
relational-algebra
relational-calculus
+
–
0
votes
1
answer
229
made-easy mock test2
Nashreen Sultana
710
views
Nashreen Sultana
asked
Jan 23, 2017
Databases
relational-algebra
+
–
1
votes
0
answers
230
Testbook
What if depositor and borrower contain duplicate names? They havent given name as primary key?
What if depositor and borrower contain duplicate names? They havent given name as primary key?
Sushant Gokhale
398
views
Sushant Gokhale
asked
Jan 23, 2017
Databases
relational-algebra
+
–
1
votes
1
answer
231
MadeEasy Subject Test: Databases - Relational Algebra
Can anyone tell why 1st is not correct? My approach:-When we will join drinker and bar,we will get tuples of the drinker and the bar corresponding to his/her city.One tuple per drinker will come.Then we will join this with frequent , ... one tuple,so that will be matched at max. one tuple only.And we project drinker's name. What did i miss?
Can anyone tell why 1st is not correct?My approach:-When we will join drinker and bar,we will get tuples of the drinker and the bar corresponding to his/her city.One tupl...
rahul sharma 5
726
views
rahul sharma 5
asked
Jan 16, 2017
Databases
made-easy-test-series
databases
relational-algebra
+
–
3
votes
2
answers
232
MadeEasy Subject Test: Databases - Relational Algebra
Options A) B) C) Both A and B D) None Explain...????
OptionsA)B)C) Both A and BD) NoneExplain...????
Meghashyam Sujay
1.1k
views
Meghashyam Sujay
asked
Jan 15, 2017
Databases
made-easy-test-series
databases
relational-algebra
+
–
9
votes
1
answer
233
Relational operators property
An operator on relations is called monotone whenever we add a tuple to one of its arguments, the result contains all the tuples that it contained before adding the tuple plus perhaps more tuples. Which of the following operator is monotone? $\Join$ $\cap$ $-$ $\large \sigma$
An operator on relations is called monotone whenever we add a tuple to one of its arguments, the result contains all the tuples that it contained before adding the tuple ...
thor
2.4k
views
thor
asked
Jan 7, 2017
Databases
relational-algebra
databases
+
–
1
votes
1
answer
234
MadeEasy Subject Test: Databases - Sql
vaishali jhalani
377
views
vaishali jhalani
asked
Jan 7, 2017
Databases
databases
made-easy-test-series
sql
relational-algebra
+
–
6
votes
1
answer
235
Division Operation - Relational Algebra
Consider Table R1 R2 actname branch branch das tsr tsr das tvm pkd raju tsr raju pkd radha tsr radha pkd R1 / R2 means " customers who have account in all branches of bank described in R2 " Output raju radha Right ? What if R2 contains 0 tuples ? Will it work ? If so How ?
Consider Table R1 R2actname branch branchdas tsr ...
pC
3.2k
views
pC
asked
Jan 6, 2017
Databases
databases
relational-algebra
division-operation
+
–
2
votes
1
answer
236
Natural vs conditional join dbms
Say I have two tables and they have some attributes in common, assume x is common, now will x will appear once in the output or twice for following cases? Natural join Cross product Conditional join Please explain.
Say I have two tables and they have some attributes in common, assume x is common, now will x will appear once in the output or twice for following cases? Natural joinCro...
rahul sharma 5
1.0k
views
rahul sharma 5
asked
Jan 5, 2017
Databases
natural-join
databases
relational-algebra
+
–
0
votes
1
answer
237
find the number of tuples
Given enroll table as follows: What is the number of tuples in the output of the following query? Select Stud.Id FROM ENROLL WHERE grade = A' UNION ALL Select Stud.Id FROM ENROLL WHERE grade = B'; in this table ,select operation will select distinct student id values or it ... wherever grade = A or B?? i.e first select operation on A will select (1,2,3) or (1,2,1,3) ??
Given enroll table as follows:What is the number of tuples in the output of the following query?Select Stud.Id FROM ENROLL WHERE grade = ‘A’UNION ALLSelect Stud.Id FR...
Akriti sood
1.5k
views
Akriti sood
asked
Dec 6, 2016
Databases
databases
relational-algebra
+
–
3
votes
4
answers
238
Gateforum DBMS assesment test(Relational Algebra)(see the image below)
smartmeet
898
views
smartmeet
asked
Dec 6, 2016
Databases
gateforum-test-series
databases
relational-algebra
+
–
0
votes
1
answer
239
MadeEasy Test Series: Databases - Relational Algebra
#plz check 3rd statement:
#plz check 3rd statement:
Hradesh patel
658
views
Hradesh patel
asked
Dec 6, 2016
Databases
made-easy-test-series
databases
relational-algebra
+
–
1
votes
0
answers
240
Given the following relational schemas
Given the following relational schemas Student (studId, name, age, sex, deptNo, advisor) Department (deptId, DName, hod, phoneNo) Which of the following will be the TRC query to obtain the department names that do not have any girl students? {d.Dname | department(d) ∧ ~ ... (d) ∧ ~ ((∃(s)) student(s) ∧ s.sex = F' ∧ s.deptNo = d.deptId)} None of these
Given the following relational schemasStudent (studId, name, age, sex, deptNo, advisor)Department (deptId, DName, hod, phoneNo)Which of the following will be the TRC quer...
Akriti sood
1.9k
views
Akriti sood
asked
Dec 2, 2016
Databases
databases
relational-algebra
relational-calculus
+
–
Page:
« prev
1
...
3
4
5
6
7
8
9
10
11
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register