Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following three relations Employee (E) ename James Emma Ava John Olivia sala 500,000 500,000 700,000 400,000 400,000 sex 101 102 103 104 105
Consider the following three relations Employee (E) ename James Emma Ava John Olivia sala 500,000 500,000 700,000 400,000 400,000 sex 101 102 103 104 105 Work_On (W) 101 101 101 102 102 103 104 2016 2017 2018 2017 2018 2017 Project (P) id r eid 101 102 103 name et 10,000,000 20,000,000 30,000,000 Database DataMini SpatialData The key attributes are underlined. Work_On.eid refers to Employee.eid, Work On.pid refers to Project.pid, and Project.mgreid refers to Employee.eid. Let E be Employee let W be Work_On, and let P be Project Show the Result of the following Relatonal Algebra expression. 1) TT ename, pame ((salary300,000 E) D WP) 2) ename, pname ( E Da w pd ( budget 20,000,000 P) ) or pname DataMning' P)) 4) ename ( E ba W Da ( pname."DataMining, and pname"SpatialData. P) ) 5) ( EWP (19e eid, 2e-ename, 3w eid, 4wpid, 5p-pid, 6-p-pname) , (m eid, ename salary > 400.000 E ) eid, pid W TT pid, pname P ) TT e-ename, p-pname e_cidan_cid and wpid-p_pid EWP 6) TT ename ( ( (TTE eid E) b4E eid Pmg, eid P ) ba TT eid, ename E ) 8) TT enarne ( E, year 2016 w ) n TT ename (E DA year = 2017 W ) T ename ( TT eid.pid ( EE ( 1 eid1, 2salary!, 3eid2 4salary2 ) , E ) (TT eid, salary 10) (Meid, salary E) ) (Teid E-TT eidi salary!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started