Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
1681 In a LEFT JOIN, what appears in right-table columns for an unmatched left row?
Explanation
Unmatched columns in an outer join are filled with NULL to show that no matching row exists.
Last verified on 27-11-2026
1682 What happens if a transaction fails before COMMIT?
Explanation
A failed uncommitted transaction is rolled back so the database returns to its state before the transaction.
Last verified on 27-11-2026
1683 Which join is best for listing all departments, including those with no employees?
Explanation
A LEFT JOIN from Departments keeps every department, even one with no matching employee rows.
Last verified on 27-11-2026
1684 Which TCL statement ends a transaction without saving changes?
Explanation
ROLLBACK ends the transaction and discards its uncommitted changes.
Last verified on 27-11-2026
1685 Which join is best for listing all customers, including those who have placed no order?
Explanation
A LEFT JOIN keeps customers with no orders, showing NULL in the order columns for them.
Last verified on 27-11-2026
1686 What is a privilege in database security?
Explanation
A privilege, such as SELECT or INSERT, authorises a user to perform a specific action on an object.
Last verified on 27-11-2026
1687 Which of the following is a system privilege rather than an object privilege?
Explanation
CREATE TABLE is a system-level privilege, while SELECT or INSERT on a named table is an object privilege.
Last verified on 27-11-2026
1688 Which join returns only rows that have matching values in both tables?
Explanation
INNER JOIN returns rows only when the join condition matches in both tables.
Last verified on 27-11-2026
1689 Which statement lists each student together with the name of their department?
Explanation
INNER JOIN with ON matches each student to the department whose DeptID equals the student's DeptID.
Last verified on 27-11-2026
1690 In a join, what does the ON clause do?
Explanation
ON gives the join condition, usually equality between a foreign key and a primary key.
Last verified on 27-11-2026