ER modeling represents data entities, their attributes, and the relationships between them.
Incorrect! Try again.
2What is the main purpose of an ER diagram?
Basics of ER Modelling
Easy
A.To calculate query execution time
B.To define programming syntax
C.To show database structure
D.To display computer hardware
Correct Answer: To show database structure
Explanation:
An ER diagram provides a visual representation of the structure of a database.
Incorrect! Try again.
3What is an entity in an ER model?
Entities, Attributes, and Relationships
Easy
A.A database command
B.A type of query
C.A real-world object
D.A table constraint
Correct Answer: A real-world object
Explanation:
An entity is a distinguishable real-world object, such as a student, course, or employee.
Incorrect! Try again.
4Which of the following is an example of an entity?
Entities, Attributes, and Relationships
Easy
A.Student
B.StudentName
C.Enrolls
D.Primary key
Correct Answer: Student
Explanation:
Student represents an entity, while StudentName is an attribute and Enrolls is a relationship.
Incorrect! Try again.
5What is an attribute?
Entities, Attributes, and Relationships
Easy
A.A rule for network access
B.A group of SQL statements
C.A connection between databases
D.A property of an entity
Correct Answer: A property of an entity
Explanation:
An attribute describes a characteristic of an entity, such as a student's name or identification number.
Incorrect! Try again.
6Which attribute can be divided into smaller components?
Entities, Attributes, and Relationships
Easy
A.Derived attribute
B.Multivalued attribute
C.Simple attribute
D.Composite attribute
Correct Answer: Composite attribute
Explanation:
A composite attribute consists of smaller components, such as an address divided into street, city, and postal code.
Incorrect! Try again.
7What does a relationship describe in an ER model?
Entities, Attributes, and Relationships
Easy
A.An association between entities
B.A restriction on a column
C.A duplicate database record
D.A value stored in a field
Correct Answer: An association between entities
Explanation:
A relationship shows how two or more entities are associated with one another.
Incorrect! Try again.
8Which shape commonly represents an entity in an ER diagram?
ER Diagrams and Notations
Easy
A.Oval
B.Rectangle
C.Diamond
D.Triangle
Correct Answer: Rectangle
Explanation:
In the common Chen notation, an entity is represented by a rectangle.
Incorrect! Try again.
9Which shape commonly represents an attribute in an ER diagram?
ER Diagrams and Notations
Easy
A.Rectangle
B.Oval
C.Hexagon
D.Diamond
Correct Answer: Oval
Explanation:
In standard ER notation, an attribute is commonly represented by an oval.
Incorrect! Try again.
10Which shape commonly represents a relationship in Chen notation?
ER Diagrams and Notations
Easy
A.Circle
B.Diamond
C.Oval
D.Rectangle
Correct Answer: Diamond
Explanation:
A diamond is commonly used to represent a relationship between entities.
Incorrect! Try again.
11What does a double oval usually represent?
ER Diagrams and Notations
Easy
A.A weak relationship
B.A primary key
C.A derived entity
D.A multivalued attribute
Correct Answer: A multivalued attribute
Explanation:
A double oval indicates an attribute that can have multiple values for one entity.
Incorrect! Try again.
12During ER-to-relational conversion, an entity is usually mapped to what?
Conversion of ER Models to Relational Schemas
Easy
A.A relation
B.An index only
C.A transaction
D.A constraint
Correct Answer: A relation
Explanation:
Each regular entity set is generally converted into a relation, also called a table.
Incorrect! Try again.
13How is a one-to-many relationship commonly represented in relational schemas?
Conversion of ER Models to Relational Schemas
Easy
A.Using a database view
B.Using a transaction log
C.Using a foreign key
D.Using a stored procedure
Correct Answer: Using a foreign key
Explanation:
A foreign key from the many-side relation commonly references the primary key of the one-side relation.
Incorrect! Try again.
14What is commonly created for a many-to-many relationship?
Conversion of ER Models to Relational Schemas
Easy
A.A new database server
B.A duplicate primary key
C.A separate relation
D.A transaction schedule
Correct Answer: A separate relation
Explanation:
A separate relation, often called a junction or associative table, represents a many-to-many relationship.
Incorrect! Try again.
15What does the letter A in ACID stand for?
Introduction and implementation of ACID properties
Easy
A.Authorization
B.Atomicity
C.Aggregation
D.Availability
Correct Answer: Atomicity
Explanation:
Atomicity ensures that a transaction is treated as one complete unit of work.
Incorrect! Try again.
16Which ACID property ensures that committed data is not lost after a system failure?
Introduction and implementation of ACID properties
Easy
A.Consistency
B.Durability
C.Isolation
D.Atomicity
Correct Answer: Durability
Explanation:
Durability ensures that the results of a committed transaction are permanently preserved.
Incorrect! Try again.
17What does isolation ensure in database transactions?
Introduction and implementation of ACID properties
Easy
A.Queries always run instantly
B.All data is stored twice
C.Every table has one column
D.Transactions do not interfere improperly
Correct Answer: Transactions do not interfere improperly
Explanation:
Isolation keeps concurrent transactions from producing incorrect results through improper interference.
Incorrect! Try again.
18Which constraint prevents a column from containing NULL values?
Constraints on relations
Easy
A.UNIQUE
B.NOT NULL
C.DEFAULT
D.CHECK
Correct Answer: NOT NULL
Explanation:
The NOT NULL constraint requires every row to contain a value in the specified column.
Incorrect! Try again.
19Which constraint requires values in a column to be different?
Constraints on relations
Easy
A.UNIQUE
B.DEFAULT
C.FOREIGN KEY
D.CHECK
Correct Answer: UNIQUE
Explanation:
The UNIQUE constraint prevents duplicate values in the specified column or group of columns.
Incorrect! Try again.
20What is a primary key used for?
Types of Keys
Easy
A.Connecting to a network
B.Uniquely identifying rows
C.Formatting query results
D.Storing repeated values
Correct Answer: Uniquely identifying rows
Explanation:
A primary key uniquely identifies each row in a relation and cannot contain NULL values.
Incorrect! Try again.
21A university system stores information about students, courses, and enrollments. Which ER modeling approach best represents the fact that one student can enroll in many courses and one course can have many students?
Basics of ER Modelling
Medium
A.Create a one-to-one relationship between Student and Course
B.Store all courses as attributes of Student
C.Create a many-to-many relationship between Student and Course
D.Store all students as attributes of Course
Correct Answer: Create a many-to-many relationship between Student and Course
Explanation:
A student may enroll in multiple courses, and each course may contain multiple students, so the relationship is many-to-many.
Incorrect! Try again.
22In a hospital database, a patient has multiple phone numbers, and each phone number may be shared by members of the same household. How should phone number be modeled?
Entities, Attributes, and Relationships
Medium
A.As a single-valued attribute of Patient
B.As a derived attribute of Patient
C.As a composite attribute of Patient
D.As a multivalued attribute of Patient
Correct Answer: As a multivalued attribute of Patient
Explanation:
Because a patient can have several phone numbers, phone number is multivalued. Its shared use does not change that basic classification.
Incorrect! Try again.
23In standard Chen notation, which symbol represents a relationship set in an ER diagram?
ER Diagrams and Notations
Medium
A.Double rectangle
B.Oval
C.Diamond
D.Rectangle
Correct Answer: Diamond
Explanation:
In Chen notation, entity sets use rectangles, attributes use ovals, and relationship sets use diamonds.
Incorrect! Try again.
24An ER model contains an entity Employee with key EmployeeID and a multivalued attribute Skill. Which relational mapping is appropriate?
Conversion of ER Models to Relational Schemas
Medium
A.EmployeeSkill(EmployeeID, Skill)
B.Skill(EmployeeID, Skill)
C.Employee(EmployeeID, Skill)
D.Employee(EmployeeID), Skill(Skill)
Correct Answer: EmployeeSkill(EmployeeID, Skill)
Explanation:
A multivalued attribute is mapped to a separate relation containing the owner key and one attribute value. The composite key is typically .
Incorrect! Try again.
25A transaction transfers money from Account A to Account B. Which ACID property ensures that both the debit and credit occur together or neither occurs?
Introduction and implementation of ACID properties
Medium
A.Consistency
B.Atomicity
C.Durability
D.Isolation
Correct Answer: Atomicity
Explanation:
Atomicity treats the transaction as one indivisible unit. A failure causes the complete transaction to be rolled back.
Incorrect! Try again.
26A relation Student(StudentID, Name, DepartmentID) contains a foreign key DepartmentID referencing Department(DepartmentID). Which operation may violate referential integrity?
Constraints on relations
Medium
A.Inserting a student with an existing department
B.Selecting students from one department
C.Updating a student's name
D.Inserting a student with an unknown department
Correct Answer: Inserting a student with an unknown department
Explanation:
A non-null foreign-key value must match a candidate or primary key value in the referenced relation.
Incorrect! Try again.
27A relation Employee has attributes EmployeeID, Email, Name, and Department. Both EmployeeID and Email uniquely identify every employee, and EmployeeID is selected as the primary key. What is Email?
Types of Keys
Medium
A.A candidate key
B.A foreign key
C.A partial key
D.A non-key attribute
Correct Answer: A candidate key
Explanation:
Email is a minimal attribute set that uniquely identifies employees, so it is a candidate key. The selected candidate key is the primary key.
Incorrect! Try again.
28A company wants to record the date on which each employee joins a project. Where should JoinDate be modeled when an employee can work on many projects and a project can have many employees?
Basics of ER Modelling
Medium
A.As an attribute of Project
B.As an attribute of Employee
C.As an attribute of Department
D.As an attribute of the WorksOn relationship
Correct Answer: As an attribute of the WorksOn relationship
Explanation:
JoinDate depends on the particular employee-project association, so it belongs to the many-to-many relationship.
Incorrect! Try again.
29A dependent cannot be uniquely identified without the Employee who supports the dependent. Which ER concept best represents Dependent?
Entities, Attributes, and Relationships
Medium
A.Strong entity
B.Multivalued attribute
C.Weak entity
D.Recursive relationship
Correct Answer: Weak entity
Explanation:
A weak entity depends on an owner entity for identification. The employee key combines with the dependent's partial key.
Incorrect! Try again.
30In an ER diagram, a double line connects the entity Employee to the relationship AssignedTo. What does this notation usually indicate?
ER Diagrams and Notations
Medium
A.Total participation
B.A derived attribute
C.A multivalued attribute
D.Partial participation
Correct Answer: Total participation
Explanation:
A double line indicates total participation, meaning every Employee instance must participate in AssignedTo.
Incorrect! Try again.
31For a one-to-many relationship between Department and Employee, where one department has many employees, where is the foreign key normally placed?
Conversion of ER Models to Relational Schemas
Medium
A.In a separate relationship relation
B.In both relations as duplicate keys
C.In the Department relation
D.In the Employee relation
Correct Answer: In the Employee relation
Explanation:
The foreign key from Department is placed on the many side, Employee, so each employee can reference its department.
Incorrect! Try again.
32A transaction commits successfully, but the database server loses power immediately afterward. Which mechanism primarily supports recovery of the committed changes?
Introduction and implementation of ACID properties
Medium
A.Domain constraint checking
B.Foreign-key validation
C.Write-ahead logging
D.Entity participation
Correct Answer: Write-ahead logging
Explanation:
Write-ahead logging records required changes in durable log storage before or with commit processing, allowing committed work to be recovered.
Incorrect! Try again.
33Which constraint prevents two rows in a relation from having the same value for a declared primary key?
Constraints on relations
Medium
A.Referential integrity constraint
B.Participation constraint
C.Domain constraint
D.Entity integrity constraint
Correct Answer: Entity integrity constraint
Explanation:
Entity integrity requires primary-key values to be unique and not null, ensuring each row can be identified.
Incorrect! Try again.
34A relation OrderLine(OrderID, ProductID, Quantity) uses the combination of OrderID and ProductID to identify each row. What type of key is this combination?
Types of Keys
Medium
A.Partial primary attribute
B.Composite candidate key
C.Simple candidate key
D.Foreign superkey
Correct Answer: Composite candidate key
Explanation:
The key contains more than one attribute and is minimal for uniquely identifying an order line, so it is a composite candidate key.
Incorrect! Try again.
35A library records books and their authors. A book may have several authors, and an author may write several books. Which modeling decision is most appropriate?
Basics of ER Modelling
Medium
A.Use a one-to-one Writes relationship
B.Use a many-to-many Writes relationship
C.Use a one-to-many Writes relationship
D.Make Author a multivalued attribute of Book
Correct Answer: Use a many-to-many Writes relationship
Explanation:
Both entity types can participate in multiple associations, so Writes should be modeled as a many-to-many relationship.
Incorrect! Try again.
36A customer address is stored as Street, City, State, and PostalCode, and users sometimes need the complete address and sometimes only the city. What type of attribute is Address?
Entities, Attributes, and Relationships
Medium
A.Keyless attribute
B.Composite attribute
C.Simple attribute
D.Derived attribute
Correct Answer: Composite attribute
Explanation:
Address consists of meaningful subattributes that can be accessed individually, so it is composite.
Incorrect! Try again.
37An ER diagram contains a relationship connecting the Employee entity to itself to represent supervision. What type of relationship is this?
ER Diagrams and Notations
Medium
A.Recursive relationship
B.Binary relationship
C.Ternary relationship
D.Identifying relationship
Correct Answer: Recursive relationship
Explanation:
A recursive relationship connects instances of the same entity set, with roles such as supervisor and subordinate.
Incorrect! Try again.
38A ternary relationship Supplies connects Supplier, Part, and Project. Which mapping preserves each specific supplier-part-project association?
Conversion of ER Models to Relational Schemas
Medium
A ternary relationship is represented by a separate relation containing the primary keys of all participating entity relations.
Incorrect! Try again.
39Two concurrent transactions update the same inventory item. Which ACID property prevents one transaction from observing an inconsistent intermediate update by the other?
Introduction and implementation of ACID properties
Medium
A.Consistency
B.Atomicity
C.Durability
D.Isolation
Correct Answer: Isolation
Explanation:
Isolation controls the visibility of concurrent transaction effects so intermediate states are not improperly exposed.
Incorrect! Try again.
40A column Age is defined to accept integer values from 18 through 65. Which constraint enforces this requirement?
Constraints on relations
Medium
A.Domain constraint
B.Key constraint
C.Referential constraint
D.Cardinality constraint
Correct Answer: Domain constraint
Explanation:
A domain constraint restricts the allowable data type and value range for an attribute.
Incorrect! Try again.
41A university system stores students, courses, and enrollments. A student may enroll in many courses, and a course may have many students. Each enrollment has a grade and a registration timestamp. What is the most semantically accurate ER modeling choice?
Basics of ER Modelling
Hard
A.Model Enrollment as a multivalued attribute of Student
B.Model Enrollment as an associative entity for an M:N relationship
C.Model Enrollment as a weak entity owned by Course
D.Model Enrollment as a derived attribute of Course
Correct Answer: Model Enrollment as an associative entity for an M:N relationship
Explanation:
Enrollment has attributes of its own and represents occurrences of an M:N association, so an associative entity is the appropriate abstraction.
Incorrect! Try again.
42A person can have several phone numbers, each phone number can belong to multiple people, and the same number may be labeled differently for each person. Which model best captures this requirement?
Entities, Attributes, and Relationships
Hard
A.A composite Phone attribute containing Number and Label
B.A multivalued Phone attribute of Person
C.A Phone entity with a 1:N relationship to Person
D.A Phone entity with an M:N relationship and relationship attribute Label
Correct Answer: A Phone entity with an M:N relationship and relationship attribute Label
Explanation:
Phone numbers have independent identity, can participate with multiple people, and Label depends on the particular Person–Phone association.
Incorrect! Try again.
43In an ER diagram, every dependent must be associated with exactly one employee, while an employee may have zero or many dependents. Which cardinality and participation combination is correct?
ER Diagrams and Notations
Hard
A.Employee 0..1, Dependent 1..N; both partial
B.Employee 1..N, Dependent 0..1; both total
C.Employee exactly 1, Dependent 0..N; Employee total
D.Employee 0..N, Dependent exactly 1; Dependent total
Correct Answer: Employee 0..N, Dependent exactly 1; Dependent total
Explanation:
Each dependent must participate exactly once, whereas an employee may participate repeatedly or not at all. Thus Dependent has total participation.
Incorrect! Try again.
44An identifying relationship connects strong entity Employee to weak entity Dependent. Dependent has partial key DependentName, and its owner key is EmployeeID. Which relational design is correct?
Conversion of ER Models to Relational Schemas
Hard
A.Dependent(DependentName, EmployeeID) with both columns independently unique
B.Dependent(EmployeeID, DependentName) with a composite primary key
C.Dependent(DependentName) with EmployeeID stored only in Employee
D.Dependent(EmployeeID) with DependentName stored as a nullable attribute
Correct Answer: Dependent(EmployeeID, DependentName) with a composite primary key
Explanation:
A weak entity is identified by its owner's key plus its partial key, so the composite key is .
Incorrect! Try again.
45A transaction transfers money by debiting one account and crediting another. The system must ensure that a crash cannot leave only one update committed. Which ACID property and implementation mechanism are most directly involved?
Introduction and implementation of ACID properties
Hard
A.Atomicity enforced through write-ahead logging
B.Consistency enforced through denormalization
C.Durability enforced through dirty reads
D.Isolation enforced through index rebuilding
Correct Answer: Atomicity enforced through write-ahead logging
Explanation:
Atomicity requires all transfer updates to commit or none to commit. Write-ahead logging supports undo and rollback after failure.
Incorrect! Try again.
46A relation Employee(EmployeeID, ManagerID) represents a management hierarchy. Every non-null ManagerID must reference an existing EmployeeID, but the top-level employee has no manager. Which constraint combination is required?
Constraints on relations
Hard
A.ManagerID PRIMARY KEY and EmployeeID CHECK constraint
B.EmployeeID UNIQUE and ManagerID NOT NULL
C.EmployeeID PRIMARY KEY and ManagerID FOREIGN KEY permitting NULL
D.EmployeeID FOREIGN KEY and ManagerID UNIQUE NOT NULL
EmployeeID uniquely identifies employees, while ManagerID is a nullable self-referencing foreign key because the hierarchy has a root.
Incorrect! Try again.
47For relation Registration(StudentID, CourseID, Semester, Grade), assume a student can register for a course once per semester. Which statement correctly identifies a candidate key?
Types of Keys
Hard
A.(StudentID, CourseID) is a candidate key
B.CourseID alone is a candidate key
C.StudentID alone is a candidate key
D.(StudentID, CourseID, Semester) is a candidate key
Correct Answer: (StudentID, CourseID, Semester) is a candidate key
Explanation:
The stated business rule makes the three-attribute combination unique, and removing any one attribute allows duplicates, so it is minimal and therefore a candidate key.
Incorrect! Try again.
48A hospital treats recurring episodes for patients. Each treatment episode has its own diagnosis and admission date, while a patient may have many episodes. Which modeling choice avoids incorrectly attaching episode-specific data to the patient?
Basics of ER Modelling
Hard
A.Create TreatmentEpisode as an entity related to Patient
B.Represent each episode as a subtype of Patient
C.Store diagnosis as a multivalued Patient attribute
D.Store admission date as a derived Patient attribute
Correct Answer: Create TreatmentEpisode as an entity related to Patient
Explanation:
An episode has independent occurrences and attributes, so it should be modeled as an entity with a relationship to Patient.
Incorrect! Try again.
49A customer address consists of street, city, state, and postal code, but customers may have multiple addresses, each classified as billing or shipping. Which decomposition is most appropriate?
Entities, Attributes, and Relationships
Hard
A.Separate atomic attributes Street, City, and PostalCode only
B.A composite multivalued Address attribute with an address type
C.A derived address value computed from customer transactions
D.A single atomic Address attribute of Customer
Correct Answer: A composite multivalued Address attribute with an address type
Explanation:
Address is structurally composite and may occur multiple times; its classification belongs to each address occurrence.
Incorrect! Try again.
50A relationship has cardinality 1:N from Department to Employee, and every employee must belong to exactly one department. In standard ER notation, which interpretation is correct?
ER Diagrams and Notations
Hard
A.Both sides have total participation
B.Department participation is partial and Employee participation is total
C.Department participation is total and Employee participation is partial
D.Both sides have partial participation
Correct Answer: Department participation is partial and Employee participation is total
Explanation:
A department may have no employees, but every employee must participate in the relationship with one department.
Incorrect! Try again.
51An M:N relationship WorksOn between Employee and Project has attributes Hours and AssignmentDate. Which mapping is correct?
Conversion of ER Models to Relational Schemas
Hard
A.WorksOn(Hours, AssignmentDate) with no entity identifiers
An M:N relationship becomes a separate relation containing the participating primary keys as foreign keys and its relationship attributes.
Incorrect! Try again.
52Transaction T1 reads a balance, transaction T2 updates and commits that balance, and T1 later reads it again during the same transaction. Which isolation phenomenon occurs if the two values differ?
Introduction and implementation of ACID properties
Hard
A.Lost update
B.Non-repeatable read
C.Dirty read
D.Phantom insertion
Correct Answer: Non-repeatable read
Explanation:
A non-repeatable read occurs when the same row returns different committed values during one transaction because another transaction modified it.
Incorrect! Try again.
53A database requires every order item to reference an existing order, prohibits negative quantities, and prevents duplicate products within one order. Which constraint set enforces all three rules?
Constraints on relations
Hard
A.CHECK constraint, trigger, and nullable foreign key
B.PRIMARY KEY, NULL constraint, and single-column index
C.Composite key, default value, and view definition
D.Foreign key, CHECK constraint, and composite UNIQUE constraint
Correct Answer: Foreign key, CHECK constraint, and composite UNIQUE constraint
Explanation:
Referential integrity requires a foreign key, valid quantity requires CHECK, and one product per order requires UNIQUE(OrderID, ProductID).
Incorrect! Try again.
54Relation Flight(FlightNo, FlightDate, Origin, Destination) permits the same flight number on different dates. Which key choice is most appropriate if a flight instance is uniquely identified by its number and date?
Types of Keys
Hard
A.FlightNo as the sole primary key
B.FlightDate as the sole primary key
C.(Origin, Destination) as a composite primary key
D.(FlightNo, FlightDate) as a composite primary key
Correct Answer: (FlightNo, FlightDate) as a composite primary key
Explanation:
Neither FlightNo nor FlightDate alone is unique under the stated rules; their combination uniquely identifies an instance.
Incorrect! Try again.
55A 1:1 relationship between Person and Passport is mandatory for Passport but optional for Person. Passport is best stored with a foreign key to Person. Where should the relationship's attribute IssueDate be stored?
Conversion of ER Models to Relational Schemas
Hard
A.Only in Passport
B.Only in Person
C.Duplicated in both relations
D.In a separate relation without foreign keys
Correct Answer: Only in Passport
Explanation:
Since Passport participates totally and carries the foreign key, storing IssueDate there preserves the relationship without unnecessary duplication.
Incorrect! Try again.
56After a transaction commits, the database server loses power before dirty pages reach disk. Which mechanism primarily ensures the committed changes can be recovered?
Introduction and implementation of ACID properties
Hard
A.Read-committed isolation
B.Foreign-key validation
C.Strict two-phase locking
D.Write-ahead logging with redo
Correct Answer: Write-ahead logging with redo
Explanation:
Durability is supported by recording log records before data pages and replaying committed changes during recovery.
Incorrect! Try again.
57A company employs people who may serve as engineers, managers, or both. Every employee must belong to at least one of these categories, and category-specific attributes differ. Which specialization constraint is appropriate?
Basics of ER Modelling
Hard
A.Disjoint and total
B.Overlapping and total
C.Disjoint and partial
D.Overlapping and partial
Correct Answer: Overlapping and total
Explanation:
Employees may belong to multiple subtypes, requiring overlapping specialization, and every employee must belong to one or more, requiring total specialization.
Incorrect! Try again.
58A project has multiple phases, and phase numbers are unique only within a project. A phase cannot exist independently of its project. How should Phase be modeled?
Entities, Attributes, and Relationships
Hard
A.As a subtype of Project identified by ProjectID
B.As a strong entity identified by PhaseNumber
C.As a multivalued attribute of Project
D.As a weak entity with Project as owner and PhaseNumber as partial key
Correct Answer: As a weak entity with Project as owner and PhaseNumber as partial key
Explanation:
Phase lacks a globally unique identifier and depends on Project; the owner key plus PhaseNumber identifies it.
Incorrect! Try again.
59In a ternary relationship Supplies(Supplier, Part, Project), the constraint says that for a given Supplier and Project, at most one Part is supplied. Which key constraint does this imply?
ER Diagrams and Notations
Hard
A.(Supplier, Part) determines Project
B.(Supplier, Project) determines Part
C.Project determines Part
D.Supplier determines Project
Correct Answer: (Supplier, Project) determines Part
Explanation:
The stated restriction permits at most one Part for each Supplier–Project pair, so that pair functionally determines Part.
Incorrect! Try again.
60A table stores nullable values in a column covered by a UNIQUE constraint. Under standard SQL semantics, which statement is generally correct?
Constraints on relations
Hard
A.Only one NULL is permitted
B.Every NULL must match a referenced key
C.Multiple NULLs may be permitted because NULL is not equal to NULL
D.NULL values automatically violate uniqueness
Correct Answer: Multiple NULLs may be permitted because NULL is not equal to NULL
Explanation:
In standard SQL, NULL represents an unknown value and comparisons involving NULL are not equal, so UNIQUE commonly permits multiple NULLs.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →