Question 1
Let X and Y be two rows in the “Library” table. We call X and Y compatible if books in rows X and Y are either published in the same year or under the same genre but not both. Let Compatible(X, Y) be a procedure to find whether X and Y are compatible. Choose the correct implementation of the procedure Compatible.