adplus-dvertising

Welcome to the SQL Queries,Constraints and Triggers MCQs Page

Dive deep into the fascinating world of SQL Queries,Constraints and Triggers with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of SQL Queries,Constraints and Triggers, a crucial aspect of DBMS. In this section, you will encounter a diverse range of MCQs that cover various aspects of SQL Queries,Constraints and Triggers, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within DBMS.

frame-decoration

Check out the MCQs below to embark on an enriching journey through SQL Queries,Constraints and Triggers. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of DBMS.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of SQL Queries,Constraints and Triggers. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

SQL Queries,Constraints and Triggers MCQs | Page 9 of 17

Q81.
The problem of ordering the update in multiple update is avoided using
Discuss
Answer: (c).Case
Discuss
Answer: (b).CASE
WHEN pred1 THEN result1
WHEN pred2 THEN result2
. . .
WHEN predn THEN resultn
ELSE result0
END
Discuss
Answer: (d).Both a and c
Discuss
Answer: (a).SELECT *
FROM student INNER JOIN takes USING (ID);
Discuss
Answer: (b).Select * from R cross join S
Q86.
Here the tuples are selected from the view.Which one denotes the view.
SELECT course_id
FROM physics_fall_2009
WHERE building= ’Watson’;
Discuss
Answer: (c).Building
Q87.
For the view Create view instructor_info as

SELECT ID, name, building
FROM instructor, department
WHERE instructor.dept name= department.dept name;

If we insert tuple into the view as insert into instructor info values (’69987’, ’White’, ’Taylor’);

What will be the values of the other attributes in instructor and department relations?
Discuss
Answer: (b).Null
Q88.


Find the error in this query .
CREATE VIEW faculty AS
    SELECT ID, name, dept name
    FROM instructor;
Discuss
Answer: (d).None of the mentioned
Q89.
A _________ consists of a sequence of query and/or update statements.
Discuss
Answer: (a).Transaction
Q90.
Which of the following makes the transaction permanent in the database ?
Discuss
Answer: (b).Commit

Suggested Topics

Are you eager to expand your knowledge beyond DBMS? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!