What is a synonym in database terms? MCQ with Answer and Explanation

What is a synonym in database terms?
A. A data type
B. A foreign key
C. An alias for a table or view
D. A type of index
Answer: Option C
Solution (By JKExamLibrary)
A synonym is an alternative name for a database object, allowing simpler references.

This question belongs to: Computer Database Management System (DBMS)

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1 Report Error
Any set of one or more attributes that collectively allow us to uniquely identify tuples in a relation is termed as a what?
A. Super Key
B. Foreign Key
C. Secondary Key
D. Local Key

Correct Answer: Option A


Explanation:
A Super Key is any set of attributes within a table that can uniquely identify a row. A candidate key is a minimal super key.

This question belongs to: Computer Database Management System (DBMS)
Question #2 Report Error
Which type of subquery executes once for each row evaluated by the outer query, depending on values provided by the outer statement?
A. Correlated Subquery
B. Independent Subquery
C. Static Subquery
D. Scalar Subquery

Correct Answer: Option A


Explanation:
A Correlated Subquery is an inner query that references columns from the outer query, meaning it must be executed repeatedly for each row evaluated by the outer query.

This question belongs to: Computer Database Management System (DBMS)
Question #3 Report Error
Which of the following is a type of lock in a database?
A. Both A and B
B. None
C. Exclusive lock
D. Shared lock

Correct Answer: Option A


Explanation:
Shared locks allow multiple transactions to read a resource, while exclusive locks allow only one transaction to write.

This question belongs to: Computer Database Management System (DBMS)