Database Management Systems Mcqs

Page No. 8

The problem of ordering the update in multiple updates is avoided using


aSet

✖


bWhere

✖


cCase

✓


dWhen

✖


View Answer Case

_________ are useful in SQL update statements, where they can be used in the set clause.


aMultiple queries

✖


bSub queries

✖


cUpdate

✖


dScalar subqueries

✓


View Answer Scalar subqueries

UPDATE instructor _____ salary= salary * 1.05;
Fill in with correct keyword to update the instructor relation.


aWhere

✖


bSet

✓


cIn

✖


dSelect

✖


View Answer Set

Which one of the following deletes all the entries but keeps the structure of the relation.


aDelete from r where P;

✖


bDelete from instructor where dept name= ’Finance’;

✖


cDelete from instructor where salary between 13000 and 15000;

✖


dDelete from instructor;

✓



Delete from r where P;
The above command


aDeletes a particular tuple from the relation

✓


bDeletes the relation

✖


cClears all entries from the relation

✖


dAll of the mentioned

✖



A Delete command operates on ______ relation.


aOne

✓


bTwo

✖


cSeveral

✖


dNull

✖


View Answer One

In SQL the statement select * from R, S is equivalent to


aSelect * from R natural join S

✖


bSelect * from R cross join S

✓


cSelect * from R union join S

✖


dSelect * from R inner join S

✖



The operation which is not considered a basic operation of relational algebra is


aJoin

✓


bSelection

✖


cUnion

✖


dCross product

✖


View Answer Join

Which join refers to join records from the right table that have no matching key in the left table are include in the result set:


aLeft outer join

✖


bRight outer join

✓


cFull outer join

✖


dHalf outer join

✖


View Answer Right outer join

How many tables may be included with a join?


aOne

✖


bTwo

✖


cThree

✖


dAll of the mentioned

✓


View Answer All of the mentioned

Goto Page No.

Page 8 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