Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
1671 Which of the following is a non-equi join condition?
Explanation
A non-equi join uses a comparison other than equality, such as greater than, to match rows.
Last verified on 27-11-2026
1672 What does NATURAL JOIN do?
Explanation
NATURAL JOIN automatically matches columns that share the same name in both tables.
Last verified on 27-11-2026
1673 Which join returns matched rows plus unmatched rows from the left table only?
Explanation
LEFT OUTER JOIN is the full name of a LEFT JOIN, keeping all left rows and only matched right rows.
Last verified on 27-11-2026
1674 Which statement correctly uses an alias for a table?
Explanation
A table alias follows the table name, so Students S lets columns be written as S.Name.
Last verified on 27-11-2026
1675 In SELECT E.Name, D.DeptName FROM Employees E JOIN Departments D ON E.DeptID = D.DeptID, what is D?
Explanation
D is the alias defined for Departments, so D.DeptID refers to the DeptID column of Departments.
Last verified on 27-11-2026
1676 What does WITH GRANT OPTION allow a user to do?
Explanation
WITH GRANT OPTION lets the recipient pass the granted privilege on to other users.
Last verified on 27-11-2026
1677 Why are table aliases useful in a self join?
Explanation
Aliases such as E1 and E2 distinguish the two copies of the table in the query.
Last verified on 27-11-2026
1678 Which statement gives Ali permission to create tables?
Explanation
GRANT CREATE TABLE gives a user the system privilege to create new tables.
Last verified on 27-11-2026
1679 Which statement finds employees and their managers using a self join?
Explanation
The employee row E is matched to the manager row M whose EmpID equals the employee's ManagerID.
Last verified on 27-11-2026
1680 Which is the correct order in a transaction that transfers money safely?
Explanation
Both account updates are made first, then a single COMMIT makes the whole transfer permanent together.
Last verified on 27-11-2026