Exam 8: Advanced Sql
Exam 1: Database Systems75 Questions
Exam 2: Data Models75 Questions
Exam 3: The Relational Database Model75 Questions
Exam 4: Entity Relationship Er Modeling75 Questions
Exam 5: Advanced Data Modeling75 Questions
Exam 6: Normalization of Database Tables75 Questions
Exam 7: Introduction to Structured Query Language Sql75 Questions
Exam 8: Advanced Sql75 Questions
Exam 9: Database Design75 Questions
Exam 10: Transaction Management and Concurrency Control74 Questions
Exam 11: Database Performance Tuning and Query Optimization75 Questions
Exam 12: Distributed Database Management Systems74 Questions
Exam 13: Business Intelligence and Data Warehouses74 Questions
Exam 14: Big Data and Nosql75 Questions
Exam 15: Database Connectivity and Web Technologies73 Questions
Exam 16: Database Administration and Security74 Questions
Select questions type
_____ words are words used by SQL to perform specific functions.
Free
(Short Answer)
4.8/5
(37)
Correct Answer:
Reserved
How can a table be deleted from the database? Provide an example.
Free
(Essay)
4.9/5
(22)
Correct Answer:
A table can be deleted from the database using the DROP TABLE command.For example, a user can delete the PART table with the following command:
DROP TABLE PART;
The user can drop a table only if it is not the "one" side of any relationship.If the user tries to drop a table otherwise, the RDBMS will generate an error message indicating that a foreign key integrity violation has occurred.
A(n) _____ view is a view that can be used to update attributes in the base table(s) that are used in the view.
Free
(Short Answer)
4.8/5
(39)
Correct Answer:
updatable
The _____ command permanently saves all changes-such as rows added, attributes modified, and rows deleted-made to any table in the database.
(Multiple Choice)
4.7/5
(43)
The most useful feature of PL/SQL blocks is that they let a designer create code that can be named, stored, and executed by the DBMS.
(True/False)
4.9/5
(32)
The _____ specification creates an individualindex ona respective attribute; use it to avoid having duplicated values in a column.
(Multiple Choice)
4.9/5
(33)
Which command would be used to delete the table row where the P_CODE is 'BRT-345'?
(Multiple Choice)
5.0/5
(37)
All changes in a table structure are made using the _____ TABLE command, followed by a keyword that produces the specific changes a user wants to make.
(Multiple Choice)
4.9/5
(34)
_____ is the term used to describe an environment in which the SQL statement is not known in advance and is generated at run time.
(Short Answer)
4.8/5
(39)
In Oracle, you can use the SQL*Plus command SHOW ERRORS to help you diagnose errors found in PL/SQL blocks.
(True/False)
4.8/5
(41)
Summarize the hierarchy of steps involved in creating and running an executable program with embedded SQL statements.
(Essay)
5.0/5
(36)
Words used by a system that cannot be used for any other purpose are called _____ words. For example, in Oracle SQL, the word INITIAL cannot be used to name tables or columns.
(Multiple Choice)
4.9/5
(33)
In Oracle, _____ retrieves the current value of a sequence.
(Multiple Choice)
4.9/5
(36)
When a user issues the DELETE FROM tablename command without specifying a WHERE condition, _____.
(Multiple Choice)
4.9/5
(43)
A(n) _____-length character data type, like VARCHAR, is typically specified with a maximum length.
(Short Answer)
4.8/5
(36)
Showing 1 - 20 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)