What is unsafe query?

1

1 Answers

zhu mi Profile
zhu mi answered
I met about this question's answer like this :This query is syntactically correct. However, it asks for all tuples S such that S is not in (the given instance of) Sailors. The set of such S tuples is obviously infinite, in the context of infinite domains such as the set of all integers. This simple example illustrates an unsafe query. It is desirable to restrict relational calculus to disallow unsafe queries.I'm sured if it works for you.

Answer Question

Anonymous