Question: Database Systems: The Complete Book (2nd Edition) :P238 5.4.8 Exercises for Section 5.4 Exercise 5.4.1: Let R(a,b,c), S(a,b,c), and T(a,b,c) be three relations. Write one
Database Systems: The Complete Book (2nd Edition) :P238
5.4.8 Exercises for Section 5.4
Exercise 5.4.1: Let R(a,b,c), S(a,b,c), and T(a,b,c) be three relations. Write one or more Datalog rules that define the result of each of the following expressions of relational algebra: a) R U S. b) R n S. 5.4. RELATIONAL ALGEBRA AND DATALOG 239 c) R - S . d) (R U S) - T. ! e) ( R - S ) n ( R - T ) . f) n a ,b(R )- ! g) * a ,b (R ) n P U (a,b ){ ^b A S )) -
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
