Consider the Datalog rule H(x,y) <- S(x, y) AND x > 2 AND y < 6. Relation S(x, y) has 3 tuples (2, 3), (3, 5), and (4, 6). What is about H?

Consider the Datalog rule H(x,y) <- S(x, y) AND x > 2 AND y < 6. Relation S(x, y) has 3 tuples (2, 3), (3, 5), and (4, 6). What is about H? 




a. H has a tuple (3, 5)
b. H has a tuple (2, 3)
c. H has 2 tuples (2, 3) and (3, 5)
d. H has 3 tuples (2, 3) and (3, 5) and (4, 6)


Answer: A


Learn More :