Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
1741 Which keyword removes duplicate values from a SELECT result?
Explanation
DISTINCT removes duplicate rows from the result set so each combination appears once.
Last verified on 27-11-2026
1742 Which pattern finds names ending with ‘n’ using LIKE?
Explanation
A leading % matches any characters before the final n, so %n means ending with n.
Last verified on 27-11-2026
1743 Which statement returns all rows from the Employees table?
Explanation
SELECT * FROM Employees reads every row and every column of the Employees table.
Last verified on 27-11-2026
1744 What does the underscore (_) match in a LIKE pattern?
Explanation
In LIKE, underscore matches exactly one character, while % matches zero or more characters.
Last verified on 27-11-2026
1745 What does SELECT COUNT(*) FROM Students return?
Explanation
COUNT(*) counts all rows in the table, including rows with NULL values.
Last verified on 27-11-2026
1746 Which clause selects marks between 50 and 80 inclusive?
Explanation
BETWEEN includes both endpoints, so it matches 50, 80 and every value in between.
Last verified on 27-11-2026
1747 Which keyword is used in SELECT to give a column a temporary display name?
Explanation
AS defines an alias, a temporary name shown in the result instead of the original column name.
Last verified on 27-11-2026
1748 Which operator checks whether a value is in a given list?
Explanation
IN tests membership in a list, for example City IN ('Lahore', 'Karachi', 'Islamabad').
Last verified on 27-11-2026
1749 What does SELECT Salary * 12 AS AnnualSalary FROM Employees do?
Explanation
The expression multiplies Salary by 12 and AS gives the result the display name AnnualSalary.
Last verified on 27-11-2026
1750 Which SELECT statement shows each price increased by 10 percent without changing stored data?
Explanation
A SELECT expression calculates a value for display only; it does not update the stored Price.
Last verified on 27-11-2026