Database Management Systems Mcqs

Page No. 5

The number of attributes in relation is called as its


aCardinality

✖


bDegree

✓


cTuples

✖


dEntity

✖


View Answer Degree

If we want to retain all duplicates, we must write ________ in place of union.


aUnion all

✓


bUnion some

✖


cIntersect all

✖


dIntersect some

✖


View Answer Union all

The union operation automatically __________ unlike the select clause.


aAdds tuples

✖


bEliminates unique tuples

✖


cAdds common tuples

✖


dEliminates duplicate

✓


View Answer Eliminates duplicate

The intersection operator is used to get the _____ tuples.


aDifferent

✖


bCommon

✓


cAll

✖


dRepeating

✖


View Answer Common

The union operation is represented by


a∩

✖


bU

✓


c–

✖


d*

✖


View Answer U

The result of _____unknown is unknown.


aXor

✖


bOr

✖


cAnd

✖


dNot

✓


View Answer Not

You attempt to query the database with this command:
SELECT nvl (100 / quantity, NONE) FROM inventory;
Why does this statement cause an error when QUANTITY values are null?


aThe expression attempts to divide by a null value

✓


bThe data types in the conversion function are incompatible

✖


cThe character string none should be enclosed in single quotes (‘ ‘)

✖


dA null value used in an expression cannot be converted to an actual value

✖



The primary key must be


aUnique

✖


bNot null

✖


cBoth Unique and Not null

✓


dEither Unique or Not null

✖



Using the ______ clause retains only one copy of such identical tuples.


aNull

✖


bUnique

✖


cNot null

✖


dDistinct

✓


View Answer Distinct

In an employee table to include the attributes whose value always have some value which of the following constraint must be used?


aNull

✖


bNot null

✓


cUnique

✖


dDistinct

✖


View Answer Not null

Goto Page No.

Page 5 of 101

Alphabetical MCQs Categories
—

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"
—

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan