Certain Answers Flashcards
In a Codd table, all NULLs are replaced with ________
variables/constants
An incomplete database is a set of _____ tables
Codd
An incomplete database represents infinitely many ______ _____
possible worlds
A possible world is obtained by replacing ______ with actual values
NULLs
A certain answer always gives the same results _________ of how we instantiate the NULLs
independent
In naive implementation of querying incomplete DBs, we treat the variables/NULLs as _______
constants
In naive implementation of querying incomplete DBs, problems arise with ______
negation
SQL does not use ______ evaluation in comparisons
naive
You can never trust the answers you get from a database with _____
NULLS
When talking about correctness in SQL, what does Q+ and Q? represent?
Q+ approximates certain answers
Q? represents possible answers
cert(Q,D) is a subset of ___ and is a superset of ___
Q?, Q+
REVIEW CORRECTNESS IN SQL: TRANSLATION SLIDE
REVIEW CORRECTNESS IN SQL: TRANSLATION SLIDE
The way SQL handles incomplete data is _______, ________, and _____
ambiguous, inconsistent, incorrect