Referential integrity constraints should disallow adding a new row to a child table when the foreign key does not match a primary key value in the parent table.
True or False
All database applications send and receive database data by sending SQL statements to the DBMS.
True or False
A candidate key is a combination of one or more columns that is used to identify particular records in a table.
True or False
Which of the following is a candidate key for R(ABCD) FD's: BD → C; AB → D; AC → B; BD → A
| A. |
(B, D) |
|
| B. |
(A, D) |
|
| C. |
(C, D) |
|
| D. |
(B, C) |
Referential integrity constraints should disallow adding a new row to a child table when the foreign...
D. Check that integrity constraints are addressed Document that all integrity constraints are considered in the design. Create checklists to ensure that all four levels of integrity constraint – domain, entity, referential, and user – have been addressed. For example, Entity integrity requires that each table contains a primary key that uniquely identifies each row in the table, preventing duplicate rows. Domain integrity requires that the data entered is appropriate. A domain is defined as the set of all unique...
Which of the following describes referential integrity? A. A Primary Key of a relational table must not contain a null value B. One fact must not be in multiple places C. The value for a foreign key attribute must either be null or match the one of the data value of that attribute in the table in which the attribute is a primary key D. Referential Integrity is a principle that prevents the use of redundancy, avoids null values and...
when you establish a relationship between a primary and foriegn key, the dbms can enforce integrity constraints? true or false what database key links one table to another? what data base function allows you to define the data your database is storing?
Match the following words and explanations Domain Integrity Entity integrity Referential Integrity Explanations: A: All values in a single column belong to the same scope of meaning B: Each primary key value must have a matching value in the Foreign Key C: The table has a primary key, which may be NULL D: Each Foreign Key value must have a matching value in the Primary key E: The table has a Primary key, which is never NULL
Identify, in the list below, a row in the result. Dragons B) Giants C) Lions D) Ham Fighters 26. If all function dependencies in a table are "very good" or "bad", the table is in A) 1NF B) 2NF C) 3NF D) BCNF 27·Determine the normal form for the relation R(ABCD) and FD's: AD ? C; D A) 1NF B) 2NF C) BCNF D) 3NF -28. Which of the following is not a candidate key for R(ABCD) FD's: BD ?...
This is questions of Accounting Information Systems
1) Fo a database. Each row in this spreadsheet represents a: ur Tet Industries tracks customer information using various Microsoft Excel spreadsheets stored in a. Field b. Record c. File d. Database 2) A d tables is a. What is the correct term for the database field in Table 1? latabase field in Table 1 that serves as a unique identifier in Table 2 and is used to link both of the a....
QUESTION 1 What is the most common relationship within a relational database? Select the best answer from the following. One-To-One relationship. o One-To-Many relationship. Many-To-Many relationship. Zero-To-Zero relationship. QUESTION 2 What is an "entity'? Select the best answer from the following. An entity, for our purposes, is the same as a table in the database. An entity represents one of the columns in an individual table. There are no entities in a relational database. Entities are only part of NoSQL...
_______ ensures that related data exist in parent table before allowing an entry into a child table. A. SQL B. Data redundancy C. Data Integrity D. Referential integrity
True or False questions: 1. A data type mismatch error would occur when the primary key data data type is auto number and the foreign key in the related table is number. 2. The data type long integer is the same as integer. 3. When using SQL, the SELECT clause isolates tables in the database. 4. A Referential Integrity violation occur when the primary key is null. 5. When an REA model has 7 entities ,2 linking tables, 3 Resource...
Assume that The Queen Anne Curiosity Shop designs a database with the following tables. CUSTOMER (CustomerID, LastName, FirstName, EmailAddress, EncyptedPassword, City, State, ZIP, Phone, ReferredBy) EMPLOYEE (EmployeeID, LastName, FirstName, Position, Supervisor, OfficePhone, EmailAddress) VENDOR (VendorID, CompanyName, ContactLastName, ContactFirstName, Address, City, State, ZIP, Phone, Fax, EmailAddress) ITEM (ItemID, ItemDescription, PurchaseDate, ItemCost, ItemPrice, VendorID) SALE (SaleID, CustomerID, EmployeeID, SaleDate, SubTotal, Tax, Total) SALE_ITEM (SaleID, SaleItemID, ItemID, ItemPrice) The referential integrity constraints are: ReferredBy in CUSTOMER must exist in CustomerID in CUSTOMER Supervisor...