Recent questions tagged relational-calculus

2 votes
1 answer
3
Consider the following relation instance.$$\textbf{Student}$$$$\begin{array}{|c|c|c|c|c|}\hline \textbf{Roll}& \textbf{FirstName} & \textbf{LastName} & \textbf{Weight}\\\...
2 votes
2 answers
5
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...
1 votes
2 answers
7
0 votes
1 answer
8
0 votes
0 answers
19
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….
0 votes
1 answer
20
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?
0 votes
1 answer
22
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...
0 votes
0 answers
23
Online Site For practicing Relational Algebrahttps://dbis-uibk.github.io/relax/calc.htm
0 votes
1 answer
24
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='...
1 votes
2 answers
28
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...