Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
RaghuramKrishnan
aditi19
asked
in
Databases
Nov 26, 2018
337
views
0
votes
0
votes
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?
databases
relational-calculus
tuple-relational-calculus
aditi19
asked
in
Databases
Nov 26, 2018
by
aditi19
337
views
answer
comment
Follow
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
0
votes
For TRC -
{c.sid | catalog(c) AND (∃p)(parts(p) AND c.pid = p.pid AND p.color = "red")}
For DRC -
we will give each attribute a name parts(a,b,c) and catalog(d,e,f)
{d | (∃a)(∃e)(∃c)(catalog(def) AND parts(abc) AND e=a AND c="red")}
Muffin
answered
Mar 4, 2019
by
Muffin
comment
Follow
share this
0 Comments
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
1
vote
1
vote
0
answers
1
ajaysoni1924
asked
in
Databases
Mar 26, 2019
586
views
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)
ajaysoni1924
asked
in
Databases
Mar 26, 2019
by
ajaysoni1924
586
views
databases
korth-edition6
relational-model
relational-algebra
relational-calculus
tuple-relational-calculus
1
vote
1
vote
1
answer
2
ajaysoni1924
asked
in
Databases
Mar 26, 2019
1,286
views
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)
ajaysoni1924
asked
in
Databases
Mar 26, 2019
by
ajaysoni1924
1.3k
views
databases
korth-edition6
relational-model
relational-algebra
relational-calculus
tuple-relational-calculus
1
vote
1
vote
2
answers
3
Harsh Kumar
asked
in
Databases
Jul 2, 2018
1,240
views
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 ?
Harsh Kumar
asked
in
Databases
Jul 2, 2018
by
Harsh Kumar
1.2k
views
tuple-relational-calculus
relational-calculus
databases
0
votes
0
votes
1
answer
4
Harsh Kumar
asked
in
Databases
Jul 1, 2018
358
views
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.
Harsh Kumar
asked
in
Databases
Jul 1, 2018
by
Harsh Kumar
358
views
tuple-relational-calculus
relational-calculus
databases
relational-algebra
Subscribe to GATE CSE 2023 Test Series
Subscribe to GO Classes for GATE CSE 2023
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
GATE CSE 2023 Paper & Analysis - Memory Based
From GATE to Australia
DRDO Previous Year Papers
From Rank 4200 to 64: My Journey to Success in GATE CSE Exam
What are the key things to focus on during the final 10-15 days before the GATE exam to improve performance?
Subjects
All categories
General Aptitude
(2.5k)
Engineering Mathematics
(9.3k)
Digital Logic
(3.3k)
Programming and DS
(5.9k)
Algorithms
(4.6k)
Theory of Computation
(6.7k)
Compiler Design
(2.3k)
Operating System
(5.0k)
Databases
(4.6k)
CO and Architecture
(3.8k)
Computer Networks
(4.6k)
Non GATE
(1.3k)
Others
(2.4k)
Admissions
(649)
Exam Queries
(842)
Tier 1 Placement Questions
(17)
Job Queries
(74)
Projects
(9)
Unknown Category
(853)
Recent Blog Comments
@Aakash_Bhardwaj all the best bro . For your...
What's the answer for keystroke question
Same,easy to moderate
I felt paper was very much like AIMT 3!!
very easy paper, I don't want to discuss paper...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy