Which property of an entity can become a column in a table?
In database design, attributes of an entity become columns in a relational table.
Example Usage:
For an Employee entity, attributes might include:

CREATE TABLE Employees (
EmployeeID INT PRIMARY KEY,
Name VARCHAR(50),
Salary DECIMAL(10,2),
DepartmentID INT
);
Each attribute (e.g., Name, Salary) becomes a column in the table.
Why Other Options Are Incorrect:
Option A (Modality) (Incorrect): Describes optional vs. mandatory relationships, not table structure.
Option B (Uniqueness) (Incorrect): Ensures distinct values but is not a column property.
Option D (Non-null values) (Incorrect): Ensures that columns must contain data but does not define attributes.
Thus, the correct answer is Attribute, as attributes of entities become table columns.
Which keyword can be used to combine two results into one table?
The UNION keyword in SQL is used to combine the results of two or more SELECT queries into a single result set while removing duplicate rows.
Example:
sql
SELECT Name FROM Employees
UNION
SELECT Name FROM Managers;
Option A (Correct): UNION combines results from multiple queries into one set, removing duplicates.
Option B (Incorrect): MERGE is not a valid SQL keyword for combining result sets (it is used in some database systems for data merging).
Option C (Incorrect): INTEGRATE is not a SQL keyword.
Option D (Incorrect): CONSOLIDATE is not an SQL keyword.
Which type of join is demonstrated by the following query?
sql
SELECT *
FROM Make, Model
WHERE Make.ModelID = Model.ID;
This query performs a join operation where records from the Make table and Model table are combined based on the condition Make.ModelID = Model.ID. This condition tests for equality, which is the definition of an EQUIJOIN.
Types of Joins in SQL:
EQUIJOIN (Correct Answer):
Uses an equality operator (=) to match rows between tables.
Equivalent to an INNER JOIN ON condition.
Example:
sql
SELECT *
FROM Employees
JOIN Departments ON Employees.DeptID = Departments.ID;
NON-EQUIJOIN (Incorrect):
Uses comparison operators other than = (e.g., <, >, BETWEEN).
Example:
sql
SELECT *
FROM Employees e
JOIN Salaries s ON e.Salary > s.MedianSalary;
SELF JOIN (Incorrect):
A table is joined with itself using table aliases.
Example:
sql
SELECT e1.Name, e2.Name AS Manager
FROM Employees e1
JOIN Employees e2 ON e1.ManagerID = e2.ID;
CROSS JOIN (Incorrect):
Produces Cartesian product (each row from Table A combines with every row from Table B).
Example:
sql
SELECT *
FROM Employees
CROSS JOIN Departments;
Thus, since our given query uses an equality condition (=) to join two tables, it is an EQUIJOIN.
Which relationship is shown in the following diagram?

The given diagram represents a unary relationship (also called a recursive relationship), which occurs when an entity is related to itself. In this case, salespersons back each other up, meaning a salesperson is associated with another salesperson from the same entity.
Key Observations from the Diagram:
Single Entity (Salesperson)
The table contains only one entity type, Salesperson, which has attributes such as Salesperson Number, Name, Commission, Percentage, and Year of Hire.
Self-Referencing Relationship (Backs-up and Backed-up by)
The diagram shows that a salesperson can back up another salesperson.
This means that the relationship exists within the same entity rather than between two different entities.
Cardinality (One-to-One Relationship in a Unary Form)
The notation ( |---| ) in the ER diagram indicates a one-to-one recursive relationship.
One salesperson can back up only one other salesperson, and each salesperson is backed up by only one.
What is the role of the transaction manager within the database system architecture?
A Transaction Manager ensures ACID (Atomicity, Consistency, Isolation, Durability) properties in database transactions. It manages concurrent transactions, ensuring no conflicts occur and logs modifications to support recovery mechanisms.
Option A (Incorrect): Query optimization is managed by the query processor, not the transaction manager.
Option B (Incorrect): The transaction manager is a component of the database architecture but is not composed of the entire system (query processor, storage manager, etc.).
Option C (Correct): The transaction manager logs transactions like INSERT, UPDATE, and DELETE, ensuring consistency and recoverability.
Option D (Incorrect): The storage manager is responsible for translating queries into file system commands.
Nancy Anderson
4 days agoJoseph King
26 days agoEric Lee
1 month agoMelissa Hall
2 months agoMelissa Nguyen
2 months agoJeffrey Cooper
3 months agoMaria Mitchell
2 months agoKimberly Scott
2 months agoSteven Ramirez
2 months agoJustin Murphy
2 months agoAndrew Reed
3 months agoKristine
3 months agoFiliberto
4 months agoLino
4 months agoLouvenia
4 months agoCarmela
4 months agoKenda
5 months agoJoni
5 months agoYolande
5 months agoEugene
6 months agoGraciela
6 months agoJulieta
6 months agoGary
6 months agoQueenie
7 months agoHaydee
7 months agoLamonica
7 months agoGayla
7 months agoMyong
7 months agoJamal
8 months agoGolda
8 months agoPa
8 months ago