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 16 of 17

Q151.
Which of these query will display the the table given below ?
Discuss
Answer: (c).Select name from employee
Q152.
Select * from employee where employee_id>1009;

Which of the following employee_id will be displayed?
Discuss
Answer: (d).1018
Discuss
Answer: (a).CREATE VIEW instructor_info AS
SELECT ID, name, building
FROM instructor, department
WHERE instructor.dept name= department.dept name;
Discuss
Answer: (b).Grant update(budget) on department to Raj
Q155.
Which of the following statement is used to remove the privilege from the user Amir ?
Discuss
Answer: (b).Revoke update on employee from Amir
Discuss
Answer: (c).CREATE ROLE instructor;
GRANT DELETE ON takes
TO instructor;
Discuss
Answer: (c).If a user creates a view on which no authorization can be granted, the system will allow the view creation request
Q158.
If we wish to grant a privilege and to allow the recipient to pass the privilege on to other users, we append the __________ clause to the appropriate grant command.
Discuss
Answer: (d).With grant option
Discuss
Answer: (c).If DBA & u1 revokes authorization from u1 then u2 authorization is also revoked
Discuss
Answer: (b).Revoke select on department from Amit, Satoshi restrict;

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!