The Gateway to Computer Science Excellence
For all GATE CSE Questions
Toggle navigation
Facebook Login
or
Email or Username
Password
Remember
Login
Register

I forgot my password
Activity
Questions
Unanswered
Tags
Subjects
Users
Ask
Prev
Blogs
New Blog
Exams
Recent questions tagged relationalalgebra
0
votes
1
answer
1
ISI2017PCBCS3a
Let $R(A,B,C)$ be a relation with primary key $(A)$ and $S(A, D, E)$ a relation with primary key $(A, D)$. Each of the relations has $n$ tuples. If the number of tuples in $R \: \text{ natural join } S$ is $m$, then determine the number of tuples in $R$ $\text{ natural left outer join } S$.
asked
Sep 20, 2018
in
Databases
by
jothee
Veteran
(
104k
points)

27
views
isi2017pcbcs
databases
relationalalgebra
naturaljoin
0
votes
1
answer
2
MadeEasy Workbook: Databases  Relational Algebra
Caption Can plz any one give solutions of e,f,g,h in relational algebra?
asked
Aug 19, 2018
in
Databases
by
mobashshir
(
129
points)

191
views
madeeasybooklet
relationalalgebra
databases
0
votes
1
answer
3
Verifying Relational Algebra Question
I think it should be option a) All query $1,3,4$ are equivalent but $2$ is not equivalent. Query $2$ should be $\prod \text{Room no,hotel no,type,price}(\sigma \text{type='single' } \wedge \text{price=200 })$
asked
Aug 17, 2018
in
Databases
by
Anand.
Active
(
2.3k
points)

121
views
relationalalgebra
relationalcalculus
+1
vote
2
answers
4
Procedural And Non Procedural Query
What is the difference between procedural query language and nonprocedural query language? Why Relation algebra is called procedural and TRC is called nonprocedural?
asked
Jul 20, 2018
in
Databases
by
Jason
Active
(
1.5k
points)

354
views
relationalalgebra
tuplerelationalcalculus
0
votes
0
answers
5
Natural Join
Consider two relations R(A, B, C) and S(B, D) with R contains 5000 tuples stored in a sequential file sorted on attribute A and S contain 100000 tuples stored in a sequential file sorted on attribute B. Each block can hold 10 R tuples or 10 S tuples. Which one of the following index is most appropriate for answering query R (natural Join) S (Assume index always stored in memory)
asked
Jul 14, 2018
in
Databases
by
Na462
Loyal
(
6.8k
points)

172
views
naturaljoin
databases
relationalalgebra
sql
0
votes
1
answer
6
Tuple relational calculus  Seeking advice
I am not well versed in Predicate calculus and maybe, therefore, I am having problems writing queries in Tuple Relational Calculus and sometimes also in interpreting them. I want to know if there is any specific and definite procedure of ... of good books/lectures on predicate calculus. Any guidance or reference would be highly helpful for me. Thank You.
asked
Jul 1, 2018
in
Databases
by
Harsh Kumar
Active
(
1.2k
points)

108
views
tuplerelationalcalculus
relationalcalculus
databases
relationalalgebra
0
votes
1
answer
7
Ace Test Series: DBMS  Relation Algebra
asked
Jun 29, 2018
in
Databases
by
Na462
Loyal
(
6.8k
points)

80
views
acetestseries
relationalalgebra
relationalcalculus
0
votes
0
answers
8
MadeEasy Test Series: Databases  Relational Algebra
Consider relation R' and S' have n' and m' tuples, respectively. Choose the best matching between ListI (Expression) and ListII (Maximum number of tuple): Soln. According to me Answer should be Option C. 1.R union S = m+n (easy nothing to say) 2. ... 2 3 3 3 5 4 3 3 3 6 Now in R natual join S = m * n So option C should suffice isn't it ?
asked
Jun 14, 2018
in
Databases
by
Na462
Loyal
(
6.8k
points)

136
views
madeeasytestseries
databases
relationalalgebra
naturaljoin
0
votes
0
answers
9
Korth Exercise 6.14
member(memb_no, name, dob) books(isbn, title, authors, publisher) borrowed(memb_no, isbn, date) Write the following queries in relational algebra. Find the names of members who have borrowed any books published by "McGrawHill" Find the name of ... account that if a member does not borrow any books, then that member does not appear in the borrowed relation at all.
asked
May 29, 2018
in
Databases
by
Mk Utkarsh
Boss
(
35.4k
points)

785
views
relationalalgebra
databases
0
votes
0
answers
10
DBMS Relational Algebra
If R1 with N1 tuples and R2 with N2 tuples are two relations which are not union compatible the number of tuples in R1 union R2 is?
asked
May 16, 2018
in
Databases
by
Hakuna Matata
(
353
points)

136
views
relationalalgebra
databases
0
votes
0
answers
11
Understanding theta join operation
Q.1. Does theta join operator requires following union compatibility requirements?: Same number of columns Domain of corresponding columns should be same I feel no, since I came across following fact: $\sigma_\theta( R_1\times R_2)=R_1⋈_\theta R_2$ ... as shown above, does it mean columns of resultant relation will contain ALL columns from both $R_1$ and $R_2$?
asked
May 12, 2018
in
Databases
by
GateAspirant999
Active
(
2.4k
points)

156
views
naturaljoin
relationalalgebra
databases
sql
0
votes
1
answer
12
DBMS Relational Algebra
Which of the following Queries is more Efficient on the given data? 1. In terms of Space. 2. In terms of Calculation. also, How many calculations are necessary for Each?
asked
Mar 20, 2018
in
Databases
by
slowpoke
(
59
points)

132
views
relationalalgebra
databases
0
votes
0
answers
13
Database Management Systems by Raghu Ramakrishnan, Johannes Gehrke ~ 2nd edition Q4.3.5
asked
Mar 11, 2018
in
Databases
by
Aman Janko
(
49
points)

223
views
databases
relationalalgebra
0
votes
2
answers
14
Uttrakhand Asst. Professor Exam51
Which of the following operation of relational algebra, selects certain columns from the table and discards the other columns? SELECT PROJECT DIVISION None of the above
asked
Mar 2, 2018
in
Others
by
gatecse
Boss
(
16.6k
points)

96
views
uttarakhandasstprof2018
databases
relationalalgebra
+17
votes
3
answers
15
GATE201841
Consider the relations $r(A, B)$ and $s(B, C)$, where $s.B$ is a primary key and $r.B$ is a foreign key referencing $s.B$. Consider the query $Q: r \bowtie (\sigma_{B<5} (s))$ Let LOJ denote the natural left outerjoin operation. Assume that $r$ and $s$ contain no null values. ... $r \: LOJ \: (\sigma_{B<5} (s))$ $\sigma_{B<5} (r) \: LOJ \: s$
asked
Feb 14, 2018
in
Databases
by
gatecse
Boss
(
16.6k
points)

3.3k
views
gate2018
databases
relationalalgebra
normal
0
votes
0
answers
16
GeeksForGeeks Mock test 1 2017: Databases  Relational Algebra
Consider the following collection of relation schemes: professor(profname, deptname) department(deptname, building) committee(profname,commname) Find all the professors who are in exactly (i.e., no more and no less) all those committees ... Smith(committee)) R3 < Πcommname(committee)  R2 (committee / R2)  Πprofname(committee ⋈ R3)
asked
Feb 1, 2018
in
Databases
by
Utsav09
Active
(
1.2k
points)

134
views
geeksforgeeksmock2017
databases
relationalalgebra
+1
vote
0
answers
17
MadeEasy Test Series 2018: Databases  Relational Algebra
Consider the following database table Supplier (Sid, Sname, rating) Parts (Pid, Pname, color) Catalog (Sid Pid, cost) Which of the following SQL query correct representation to retrieve Sid’s who supplied every red part.
asked
Jan 29, 2018
in
Databases
by
nikkey123
Active
(
1.2k
points)

114
views
databases
relationalalgebra
madeeasytestseries
+1
vote
1
answer
18
Natural join
My answer is not matching with any of the option.so what is the correct answer
asked
Jan 24, 2018
in
Databases
by
learner_geek
Active
(
3.2k
points)

370
views
naturaljoin
databases
relationalalgebra
sql
+1
vote
0
answers
19
MadeEasy Test Series 2018: Databases  Relational Algebra
Hello, I always have trouble solving queries where the inner most query is referring to the main query. Can someone please explain how the result is obtained for the following question. Thank You The provided answer is: Age more than 30 and not works for every project with project name database
asked
Jan 23, 2018
in
Databases
by
Aman Krishna
(
11
points)

197
views
madeeasytestseries
databases
relationalalgebra
+1
vote
1
answer
20
MadeEay Test Series 2018: Databases  Relational Algebra
here for 1st relation algebra operation the join operation is given without condition , will it be considered as natural join or cartesian product?
asked
Jan 16, 2018
in
Databases
by
charul
Junior
(
805
points)

42
views
databases
relationalalgebra
madeeasytestseries
madeeasytestseries2018
+2
votes
0
answers
21
Relational algebra
I have two doubts: 1) A natural join B What will be the result when B don't have any tuple in it. Like in B their is relational algebra expression which is selecting Cars of green color but their is no green color car in table. What will be the ... B In above divison if B is a relational algebra expression returning nothing ( like the B in case 1). What will be the result ?
asked
Jan 14, 2018
in
Programming
by
♥_Less
Junior
(
923
points)

116
views
relationalalgebra
databases
relationalcalculus
joins
+1
vote
0
answers
22
Relational Algebra
what does this uniform distribution means?
asked
Jan 12, 2018
in
Databases
by
Pawan Kumar 2
Active
(
4.2k
points)

71
views
relationalalgebra
+2
votes
1
answer
23
Full Outer Join
Why is the minimum number of tuples in full outer join equal to max (m,n) ?
asked
Jan 10, 2018
in
Databases
by
hacker16
Active
(
2.7k
points)

431
views
databases
fullouterjoin
relationalalgebra
+1
vote
0
answers
24
Joins
Consider two table R and S. Now suppose if we join the two tables using Natural Join (or any other Join for that matter), is it mandatory for the attributes (common attribute between R and S) must have the same range of values? (It's not mentioned that if it's dependent by a foreign key)
asked
Jan 9, 2018
in
Databases
by
Warlock lord
Active
(
3.3k
points)

101
views
sql
databases
relationalalgebra
0
votes
1
answer
25
Ace Test series: Databases  Relational Algebra
The solution says that it should return 50 tuples. But I think it should be 10 as the selection query is on the relational algebra. Please need your help to clear this confusion. Thanks in advance.
asked
Jan 2, 2018
in
Databases
by
nishitshah
(
181
points)

144
views
databases
relationalalgebra
acetestseries
0
votes
0
answers
26
Number of tuples
Consider the relation schema: Student(roll no, name course no) Enroll(roll no, course no,course name) The number of tuples in the student and enroll table is 30 and 40 respectively The natural join is performed on roll no., what is max. and min. no. of tuples that are possible?
asked
Dec 16, 2017
in
Databases
by
srestha
Veteran
(
116k
points)

218
views
relationalalgebra
databases
naturaljoin
+2
votes
2
answers
27
#DBMS What will be the Minimum Number of Tuples?
Say we have two relations R (a,b,c) and S (b,d,e). Now, R has 200 tuples and S has 300 tuples. What will be Minimum number of tuples when we do R ⋈ S ( ⋈ = Natural Join)?
asked
Dec 6, 2017
in
Databases
by
iarnav
Loyal
(
8.2k
points)

276
views
general
databases
relationalalgebra
naturaljoin
joins
0
votes
0
answers
28
relational calculus
asked
Dec 5, 2017
in
Databases
by
Parshu gate
Active
(
3.1k
points)

200
views
relationalcalculus
databases
tuplerelationalcalculus
database
relationalalgebra
+1
vote
1
answer
29
Relational algebra
Consider the relations r1(P, Q, R) and r2(R, S, T) with primary keys P and R respectively. The relation r1 contains 2000 tuples and r2 contains 2500 tuples. The maximum size of the join r1⋈ r2 is equal to r2⋈ r1 true or false?
asked
Dec 3, 2017
in
Databases
by
learner_geek
Active
(
3.2k
points)

297
views
relationalcalculus
joins
relations
relationalalgebra
databases
+3
votes
0
answers
30
REALTION ALGEBRA
Consider the following relations: The number of records resulted by the following relational algebra expression are _________?
asked
Dec 3, 2017
in
Databases
by
junaid ahmad
Loyal
(
8.5k
points)

190
views
relationalalgebra
Page:
« prev
1
2
3
4
5
6
7
next »
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
IIITH: Winter Research Admissions 2019 (For Spring 2020)
TIFR and JEST exam
Minimal Deterministic Finite Automata
To be aware of fake GATE test series
Standard Book Exercise Questions for Computer Science
Follow @csegate
Recent questions tagged relationalalgebra
Recent Blog Comments
Favorite is not working for blogs.. In favorites...
Favourite option does work. But list options...
Blog favorite button doesnt work?
@Arjun Sir can we have an option to save such...
Thanks Sir
50,666
questions
56,167
answers
193,836
comments
93,997
users