Show your declarations (don't forget type bodies when there are methods) and the successful compilation of the declarations. Remember that the slash is needed to cause compilation.
Note that it is possible for one relation to satisfy all these conditions, but it is up to you how many new relations you choose to create. Write INSERT statements to populate your new relations from the data in the original relations of your PDA. Show the correct compilation of your declaration and correct execution of your insertion statements.
We do not know in what order these three transactions execute.
|1||A||GRANT p to B WITH GRANT OPTION|
|2||A||GRANT p to C WITH GRANT OPTION|
|3||B||GRANT p to D|
|4||C||GRANT p to D WITH GRANT OPTION|
|5||D||GRANT p to E WITH GRANT OPTION|
|6||E||GRANT p to F|
REVOKE p FROM C CASCADEwhat will be the resulting grant diagram?
Write the following queries in Datalog: