16,605 views
61 61 votes

Which of the following relational query languages have the same expressive power?

  1. Relational algebra
  2. Tuple relational calculus restricted to safe expressions
  3. Domain relational calculus restricted to safe expressions
  1. II and III only
  2. I and II only
  3. I and III only
  4. I, II and III

7 Answers

0 0 votes
Option D: Expressive power means whether we can transform a query from one query language to another. Relational Algebra always returns a finite result. Any query written in safe TRC can be converted into an equivalent Relational Algebra query, and any Relational Algebra query can also be converted into an equivalent safe TRC query. Therefore, both have the same expressive power. Similarly, safe DRC can also be converted to and from Relational Algebra, so Relational Algebra, safe TRC, and safe DRC all have the same expressive power.
Answer:
Position:
Show:

Related questions

1 1 vote
0 0 answers
1.2k
1.2k views
ajaysoni1924 asked Mar 26, 2019
1,156 views
Consider the employee database shown here. Give expressions in tuplerelational calculus and domain relational calculus for each of the followingqueries:a. Find the names ...
52 52 votes
3 answers 3 answers
14.2k
14.2k views
Ishrat Jahan asked Nov 1, 2014
14,218 views
An array $X$ of $n$ distinct integers is interpreted as a complete binary tree. The index of the first element of the array is $0$. If only the root node does not satisfy...
25 25 votes
1 answers 1 answer
9.6k
9.6k views
Ishrat Jahan asked Oct 31, 2014
9,619 views
Which of the following sequences of array elements forms a heap?$\{23, 17, 14, 6, 13, 10, 1, 12, 7, 5\}$$\{23, 17, 14, 6, 13, 10, 1, 5, 7, 12\}$$\{23, 17, 14, 7, 13, 10, ...
48 48 votes
7 answers 7 answers
17.5k
17.5k views
Ishrat Jahan asked Oct 31, 2014
17,537 views
Let $L$ be a context-free language and $M$ a regular language. Then the language $L ∩ M$ isalways regularnever regularalways a deterministic context-free languagealways a...