Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged relational-calculus
0
votes
0
answers
1
NIELIT 2017
If r is a relation in relational data model and a1,a2,..an are the attributes of relation r, what is the cardinality of r expressed in terms of domain of attributes? (a) |R|<=|dom(A1)X dom(A2)..dom(An)| (b) |R|>=|dom(A1)X dom(A2)..dom(An)| (c) |R|=max(|dom(A1)|,|dom(a2)|,..|dom(An)|) (d) |R|=min(|dom(A1)|,|dom(a2)|,..|dom(An)|)
If r is a relation in relational data model and a1,a2,..an are the attributes of relation r, what is the cardinality of r expressed in terms of domain of attributes?(a) |...
mohit jain
249
views
mohit jain
asked
Jun 25, 2022
Databases
databases
relational-calculus
+
–
3
votes
1
answer
2
GATE Overflow Test Series | Databases | Test 1 | Question: 9
Which of the following statements is/are correct? (Mark all the appropriate choices) For every relational algebra expression there is an equivalent expression in the relational calculus For every safe tuple ... expression For every safe tuple relational calculus expression there is an equivalent safe domain relational calculus expression
Which of the following statements is/are correct? (Mark all the appropriate choices)For every relational algebra expression there is an equivalent expression in the relat...
gatecse
246
views
gatecse
asked
Oct 8, 2020
Databases
go2025-dbms-1
relational-calculus
relational-algebra
multiple-selects
+
–
2
votes
1
answer
3
GATE Overflow Test Series | Databases | Test 1 | Question: 13
Consider the following relation instance. $\textbf{Student}$ ... Select Enrol.CourseId from Enrol,Student where Student.weight > 45
Consider the following relation instance.$$\textbf{Student}$$$$\begin{array}{|c|c|c|c|c|}\hline \textbf{Roll}& \textbf{FirstName} & \textbf{LastName} & \textbf{Weight}\\\...
gatecse
274
views
gatecse
asked
Oct 8, 2020
Databases
go2025-dbms-1
relational-calculus
sql
relational-algebra
multiple-selects
+
–
1
votes
1
answer
4
NIELIT 2016 MAR Scientist B - Section C: 42
The relational algebra expression equivalent to the tuple calculus expression $\{t\mid t \in r \land (t[A]=10 \land t[B]=20)\}$ is $\sigma_{(A=10\:\lor\:B=20)}(r)$ $\sigma_{(A=10)}(r)\cup\sigma_{(B=20)}(r)$ $\sigma_{(A=10)}(r)\cap\sigma_{(B=20)}(r)$ $\sigma_{(A=10)}(r)-\sigma_{(B=20)}(r)$
The relational algebra expression equivalent to the tuple calculus expression$\{t\mid t \in r \land (t[A]=10 \land t[B]=20)\}$ is$\sigma_{(A=10\:\lor\:B=20)}(r)$$...
admin
947
views
admin
asked
Mar 31, 2020
Databases
nielit2016mar-scientistb
databases
relational-calculus
+
–
2
votes
2
answers
5
NIELIT 2017 July Scientist B (IT) - Section B: 19
If $R$ is a relation in Relational Data Model and $A_1,A_2,\dots A_n$ are the attributes of relation $R$, what is the cardinality of $R$ ...
If $R$ is a relation in Relational Data Model and $A_1,A_2,\dots A_n$ are the attributes of relation $R$, what is the cardinality of $R$ expressed in terms of domain of a...
admin
937
views
admin
asked
Mar 30, 2020
Databases
nielit2017july-scientistb-it
databases
relational-model
relational-calculus
+
–
4
votes
5
answers
6
UGC NET CSE | June 2019 | Part 2 | Question: 31
Which of the following has same expressive power with regard to relational query language? Rational algebra and domain relational calculus Relational algebra and tuples relational calculus Relational algebra and domain relational calculus restricted to safe expression ... to safe expression i and ii only iii and iv only i and iii only ii and iv only
Which of the following has same expressive power with regard to relational query language?Rational algebra and domain relational calculusRelational algebra and tuples rel...
Arjun
3.7k
views
Arjun
asked
Jul 2, 2019
Databases
ugcnetcse-june2019-paper2
relational-calculus
+
–
1
votes
2
answers
7
Raghuramkrishnan Exercise-4.3 question 11 page no-127 Relational Algebra
Suppliers(sid, sname, address) Parts(pid, pname, color) Catalog(sid, pid, cost) Find the pids of the most expensive parts supplied by suppliers named Yosemite Sham
Suppliers(sid, sname, address)Parts(pid, pname, color)Catalog(sid, pid, cost)Find the pids of the most expensive parts supplied by suppliers named Yosemite Sham
aditi19
1.3k
views
aditi19
asked
May 8, 2019
Databases
databases
relations
relational-algebra
relational-calculus
joins
+
–
0
votes
1
answer
8
Raghuramkrishnan Exercise-4.3 page-127
Given relation catalog(sid, pid, cost) Find pairs of sids such that the supplier with the first sid charges more for some part than the supplier with the second sid what is the relational algebra expression for this?
Given relationcatalog(sid, pid, cost)Find pairs of sids such that the supplier with the first sid charges more for some part than the supplier with the second sidwhat is ...
aditi19
935
views
aditi19
asked
May 7, 2019
Databases
databases
relational-calculus
relations
relational-algebra
joins
+
–
5
votes
3
answers
9
Raghuramkrishnan Exercise 4.1 Relational Algebra
Given two relations R1 and R2, where R1 contains N1 tuples, R2 contains N2 tuples, and N2>N1> 0, give the minimum and maximum possible sizes (in tuples) for the result relation produced by each of the following relational algebra expressions. In each ... $σa=5(R1)$ (selection) $\pi a(R1)$ (projection) $R1/R2$ (division)
Given two relations R1 and R2, where R1 contains N1 tuples, R2 contains N2 tuples, and N2>N1 0, give the minimum and maximum possible sizes (in tuples) for the result rel...
aditi19
8.8k
views
aditi19
asked
Apr 11, 2019
Databases
databases
relational-algebra
relational-calculus
relations
+
–
0
votes
0
answers
10
ISI2017-PCB-CS-3-b
Consider the following relations: $\text{STD_CHOICES } (\underline{\text{Student_ID}}, \underline{\text{Course_ID}}, \text{Semester})$ and $\text{COURSE_ASSIGN} (\underline{\text{Teacher_ID}}, \underline{\text{Course_ID}}, \underline{\text{Semester}})$. The ... the ID for all the students who have not been taught by the same teacher in more than one course across all semesters.
Consider the following relations:$\text{STD_CHOICES } (\underline{\text{Student_ID}}, \underline{\text{Course_ID}}, \text{Semester})$ and$\text{COURSE_ASSIGN} (\underline...
akash.dinkar12
764
views
akash.dinkar12
asked
Apr 8, 2019
Databases
isi2017-pcb-cs
databases
relational-algebra
relational-calculus
descriptive
+
–
0
votes
0
answers
11
DBMS Korth Edition 6 Exercise 6 Question 17 (Page No. 254)
Let R = (A, B) and S = (A, C), and let r (R) and s(S) be relations. Write SQL Queries equivalent to the following domain relational- calculus expressions: a. {< a > | $\exists b (< a, b > \epsilon¸r \wedge b$ = 17)} b. ... ))}
Let R = (A, B) and S = (A, C), and let r (R) and s(S) be relations.Write SQL Queries equivalent to the following domain relational-calculus expressions:a. {< a | $\exist...
ajaysoni1924
572
views
ajaysoni1924
asked
Mar 30, 2019
Databases
databases
korth-edition6
relational-model
relational-calculus
sql
+
–
0
votes
1
answer
12
DBMS Korth Edition 6 Exercise 6 Question 18 (Page No. 254)
Let R = (A, B) and S = (A, C), and let r (R) and s(S) be relations. Using the special constant null, write tuple-relational-calculus expressions equivalent to each of the following: a. r $ROJ$ s b. r $FOJ$ s c. r $LOJ$ s
Let R = (A, B) and S = (A, C), and let r (R) and s(S) be relations.Using the special constant null, write tuple-relational-calculus expressionsequivalent to each of the f...
ajaysoni1924
703
views
ajaysoni1924
asked
Mar 27, 2019
Databases
databases
korth-edition6
relational-model
relational-algebra
relational-calculus
+
–
0
votes
0
answers
13
DBMS Korth Edition 6 Exercise 6 Question 19 (Page No. 254)
Give a tuple-relational-calculus expression to find the maximum value in relation r (A).
Give a tuple-relational-calculus expression to find the maximum value inrelation r (A).
ajaysoni1924
602
views
ajaysoni1924
asked
Mar 26, 2019
Databases
databases
korth-edition6
relational-model
relational-calculus
+
–
1
votes
0
answers
14
DBMS Korth Edition 6 Exercise 6 Question 15 (Page No. 253-254)
Consider the employee database shown here. Give expressions in tuple relational calculus and domain relational calculus for each of the following queries: a. Find the names of all employees who work for First Bank Corporation . b ... (person name, company name, salary) company (company name, city) manages (person name, manager name)
Consider the employee database shown here. Give expressions in tuplerelational calculus and domain relational calculus for each of the followingqueries:a. Find the names ...
ajaysoni1924
863
views
ajaysoni1924
asked
Mar 26, 2019
Databases
databases
korth-edition6
relational-model
relational-algebra
relational-calculus
tuple-relational-calculus
+
–
1
votes
1
answer
15
DBMS Korth Edition 6 Exercise 6 Question 8 (Page No. 251)
Consider the relational database given below where the primary keys are underlined. Give an expression in tuple relational calculus for each of the following queries: a. Find all employees who work directly for Jones. b. Find all ... works (person name, company name, salary) company (company name, city) manages (person name, manager name)
Consider the relational database given below where the primary keys areunderlined. Give an expression in tuple relational calculus for each of thefollowing queries:a. Fin...
ajaysoni1924
1.8k
views
ajaysoni1924
asked
Mar 26, 2019
Databases
databases
korth-edition6
relational-model
relational-algebra
relational-calculus
tuple-relational-calculus
+
–
1
votes
0
answers
16
DBMS Korth Edition 6 Exercise 6 Question 7 (Page No. 251)
Let R = (A, B) and S = (A,C), and let r (R) and s(S) be relations.Write expressions in relational algebra for each of the following queries: a. {< a > | ∃ b (< a, b > ∈ r ∧ b = 7)} b. {< a, b, c > | < a, b > ∈ r ∧ < ... | ∃ c (< a, c > ∈ s ∧ ∃ b1, b2 (< a, b1 > ∈ r ∧ < c, b2 > ∈ r ∧ b1 > b2))}
Let R = (A, B) and S = (A,C), and let r (R) and s(S) be relations.Writeexpressions in relational algebra for each of the following queries:a. {< a | ∃ b (< a, b ∈ r...
ajaysoni1924
429
views
ajaysoni1924
asked
Mar 26, 2019
Databases
databases
korth-edition6
relational-model
relational-algebra
relational-calculus
+
–
1
votes
0
answers
17
DBMS Korth Edition 6 Exercise 6 Question 6 (Page No. 251)
Let R = (A, B, C), and let r1 and r2 both be relations on schema R. Give an expression in the domain relational calculus that is equivalent to each of the following: a. $\prod _A(r1)$ b. $\sigma _{B =17} (r1)$ c. r1 ∪ r2 d. r1 ∩ r2 e. r1 − r2 f. $\prod _{A,B}(r1) \Join \prod _{B,C}(r2)$
Let R = (A, B, C), and let r1 and r2 both be relations on schema R. Give an expression in the domain relational calculus that is equivalent to each of the following:a. $\...
ajaysoni1924
1.1k
views
ajaysoni1924
asked
Mar 26, 2019
Databases
databases
korth-edition6
relational-calculus
+
–
0
votes
1
answer
18
Relational algebra and SQL
SQL Aggregation is possible by extended relational algebra operators? SQL grouping is possible in relational algebra. Relational algebra is equivalent to safe relational calculus expressions, then grouping and aggregation possible in tuple relational calculus ... calculus? What about ordering? Please explain how will we consider these questions from GATE point of view.
SQL Aggregation is possible by extended relational algebra operators? SQL grouping is possible in relational algebra. Relational algebra is equivalent to safe relational ...
Aman Janko
844
views
Aman Janko
asked
Jan 27, 2019
Databases
databases
relational-calculus
relational-algebra
sql
+
–
0
votes
0
answers
19
UGC-NET CS 2016 question
Given i= 0, j = 1, k = – 1 x = 0.5, y = 0.0 What is the output of given ‘C’ expression ? x * 3 & & 3 || j | k explanation please….
Given i= 0, j = 1, k = – 1x = 0.5, y = 0.0What is the output of given ‘C’ expression ?x * 3 & & 3 || j | kexplanation please….
shiva0
393
views
shiva0
asked
Jan 19, 2019
Programming in C
relational-calculus
+
–
0
votes
1
answer
20
RaghuramKrishnan
relation parts(pid, pname, color) catalog(sid, pid, cost) find the sids of suppliers who supply every red part. can someone give the TRC and DRC expression for this?
relationparts(pid, pname, color)catalog(sid, pid, cost)find the sids of suppliers who supply every red part.can someone give the TRC and DRC expression for this?
aditi19
406
views
aditi19
asked
Nov 26, 2018
Databases
databases
relational-calculus
tuple-relational-calculus
+
–
0
votes
1
answer
21
Zeal Workbook: Databases - Relational Calculus
Answer is all Doubt ---how (1,4) is present in O/p
Answer is all Doubt -how (1,4) is present in O/p
Prince Sindhiya
475
views
Prince Sindhiya
asked
Nov 18, 2018
Databases
zeal
databases
relational-calculus
zeal-workbook
+
–
0
votes
1
answer
22
Korth
give domain relation calculus expression works(person-name, company-name, salary) find the names of all employees who earn more than every employee of Small Bank Corporation
give domain relation calculus expressionworks(person-name, company-name, salary)find the names of all employees who earn more than every employee of Small Bank Corporatio...
aditi19
393
views
aditi19
asked
Nov 4, 2018
Databases
databases
relational-calculus
+
–
0
votes
0
answers
23
Relational Algebra
Online Site For practicing Relational Algebra https://dbis-uibk.github.io/relax/calc.htm
Online Site For practicing Relational Algebrahttps://dbis-uibk.github.io/relax/calc.htm
kumar.dilip
539
views
kumar.dilip
asked
Oct 27, 2018
Databases
relational-algebra
databases
relations
relational-calculus
joins
+
–
0
votes
1
answer
24
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 })$
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='...
Anand.
678
views
Anand.
asked
Aug 17, 2018
Databases
relational-algebra
relational-calculus
+
–
1
votes
2
answers
25
Tuple Relational Calculus Query - Confirm the Answer
Relation Schema : Employee (Name, Ssn, Bdate, Address, Dept_number) Project (Pname, Pno, Dept_number) WorksOn (Essn, Pno, Hours) List the names of employees who work on all the projects controlled by department number 10. My Answer : ... name will be printed who work for some project at department no. 5 and not for the department no. 10 ?
Relation Schema : Employee (Name, Ssn, Bdate, Address, Dept_number)Project (Pname, Pno, Dept_number)WorksOn (Essn, Pno, Hours)List the names of employees who work on all ...
Harsh Kumar
1.8k
views
Harsh Kumar
asked
Jul 2, 2018
Databases
tuple-relational-calculus
relational-calculus
databases
+
–
0
votes
1
answer
26
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.
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...
Harsh Kumar
467
views
Harsh Kumar
asked
Jul 1, 2018
Databases
tuple-relational-calculus
relational-calculus
databases
relational-algebra
+
–
0
votes
1
answer
27
Ace Test Series: DBMS - Relation Algebra
Na462
648
views
Na462
asked
Jun 29, 2018
Databases
ace-test-series
relational-algebra
relational-calculus
+
–
1
votes
2
answers
28
Tuple Relational Calculus - What is the difference between these two types of bounded variables in the expressions?
If there are three tables to choose from -Sailors(sid,sname); Reserves(sid,bid); Boats(bid,color)Question is to choose a sailor who reserved a red boat.My question is wha...
tarunmaganti
772
views
tarunmaganti
asked
Apr 15, 2018
Databases
tuple-relational-calculus
databases
relational-calculus
+
–
Page:
1
2
3
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register