Deck 13: Views

ملء الشاشة (f)
exit full mode
سؤال
A simple view cannot contain a simple arithmetic operation.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
A view name must be enclosed in single quotation marks if it is referenced in the FROM clause of a SELECT statement.
سؤال
Any DML operation can be performed on a simple view that was not created with the WITH READ ONLY option, unless it violates an existing constraint.
سؤال
Views are not database objects.
سؤال
Rows can be updated through a simple view as long as the operation does not violate existing constraints and the view was created with the WITH READ ONLY option.
سؤال
Column aliases can be used in the subquery to assign new column names to the columns contained in a view.
سؤال
A complex view can retrieve data from more than one table.
سؤال
A complex view cannot contain any group functions.
سؤال
An inline view is a temporary table that only lasts for the duration of the SELECT statement used to create it.
سؤال
Views can be used to restrict a user's access to sensitive data.
سؤال
DML operations can be performed through a simple view even if the operation will violate constraints on the underlying table.
سؤال
A simple view is based upon a subquery that references only one table and doesn't contain any group functions, expressions, or a GROUP BY clause.
سؤال
The WITH READ ONLY option can be used to prevent changes from being made to the data displayed by the view.
سؤال
You cannot create a view if the underlying table does not exist at the time the view is created.
سؤال
A view cannot be given the same name as another database object.
سؤال
The column names used in the view must be the same names as the column names in the underlying table(s).
سؤال
Views are database objects that store data.
سؤال
A view can be created to simplify issuing complex SQL queries.
سؤال
A view can be modified using the MODIFY clause of the ALTER VIEW command.
سؤال
Rows cannot be added to a simple view.
سؤال
Update operations cannot be performed through a complex view that contains an arithmetic expression.
سؤال
"TOP-N" analysis is performed by sorting values in ascending or descending order in an inline view.
سؤال
Values cannot be inserted through a view into columns that are based on arithmetic expressions.
سؤال
DML operations can be performed on a view created with the DISTINCT keyword.
سؤال
When a view includes columns from more than one table, updates can only be applied to the table that includes the primary key for the view.
سؤال
The  NOFORCE \underline { \text { NOFORCE } } keyword can be used to create a view based upon a table that has not yet been created. _________________________
سؤال
 FORCE \underline { \text { FORCE } } is the default mode for the CREATE VIEW command. _________________________
سؤال
When a query references a view, the query in the view is processed, and the results are treated as a(n)  permanent \underline { \text { permanent } } table. _________________________
سؤال
The  WITHOUT UPDATE \underline {\text { WITHOUT UPDATE }} keywords prevent DML operations from being performed through a view. _________________________
سؤال
DML operations cannot be performed on a key-preserved table.
سؤال
An inline view is used to create a(n)  permanent \underline { \text { permanent } } table. _________________________
سؤال
A(n)  simple \underline { \text { simple } } view can contain a GROUP BY clause. _________________________
سؤال
A(n)  view \underline { \text { view } } is a database object, but it does not actually store data. _________________________
سؤال
A view can be thought of as the result of a(n)  stored \underline { \text { stored } } query. _________________________
سؤال
Rows can be added through a complex view that is based upon grouped data.
سؤال
Rows in an underlying table cannot be deleted through a complex view that contains an arithmetic operation.
سؤال
An ORDER BY clause can be used to perform "TOP-N" analysis.
سؤال
Rows can be deleted through a simple view as long as the operation does not violate existing constraints and the view was created with the WITH READ ONLY option.
سؤال
The  WITH CHECK OPTION \underline { \text { WITH CHECK OPTION } } can be used when a view is created to ensure that any DML operations performed on the view will not prevent the row from being accessible by the view at a later time. _________________________
سؤال
A(n)  existing \underline { \text { existing } } view cannot be modified. _________________________
سؤال
An inline analysis can be used to find the  "Top-N" \underline { \text { "Top-N" } } values. _________________________
سؤال
 DML \underline {\text { DML } } operations cannot be performed on non key-preserved tables through a complex view. _________________________
سؤال
Any  DDL \underline {\text { DDL } } operation can be performed on a simple view that was not created with the WITH READ ONLY option, unless it violates an existing constraint. _________________________
سؤال
The UPDATE command cannot be used on a view created with the  WITH CHECK OPTION. \underline {\text { WITH CHECK OPTION. } } . _________________________
سؤال
A(n) ____ stores a query and is used to access data in the underlying tables.

A) view
B) constraint
C) function
D) argument
سؤال
Which of the following statements about views is incorrect?

A) Views assist users who do not have the training to issue complex SQL inquiries.
B) Views restrict users' access to sensitive data.
C) Views are database objects that actually store data.
D) A view can be referenced in a SELECT...FROM statement, just like any table.
سؤال
The pseudo column  ROW \underline { \text { ROW } } can be used to perform a "TOP-N" analysis. _________________________
سؤال
Which of the following describes a type of view that is based on a subquery that retrieves or derives data from one or more tables, and may also contain functions or grouped data?

A) simple view
B) complex view
C) inline view
D) "TOP-N" analysis
سؤال
 Rows \underline {\text { Rows } } cannot be added to a table through a complex view that is based on a group function. _________________________
سؤال
A(n)  complex \underline { \text { complex } } view can contain data from more than one table. _________________________
سؤال
Which of the following describes a subquery used in a FROM clause to create a "temporary" table that can be referenced by the SELECT and WHERE clauses of the outer query?

A) simple view
B) complex view
C) inline view
D) "TOP-N" analysis
سؤال
A view can be dropped or deleted using the  DELETE VIEW \underline {\text { DELETE VIEW } } command. _________________________
سؤال
"TOP-N" analysis can be used to find the highest values in a column by sorting the data in  ascending \underline { \text { ascending } } order. _________________________
سؤال
A(n)  UPDATE \underline {\text { UPDATE } } operation can be performed on a complex view that contains an arithmetic operation. _________________________
سؤال
The  OR REPLACE \underline { \text { OR REPLACE } } clause is only necessary if another view may already exist with the same name. _________________________
سؤال
 Rows \underline {\text { Rows } } cannot be deleted from a table through a complex view that is based on a group function. _________________________
سؤال
Rows cannot be added to a table through a complex view that was created with the  ORDER BY \underline {\text { ORDER BY } } clause. _________________________
سؤال
The  DELETE \underline { \text { DELETE } } operation can be performed through a complex view that contains an arithmetic operation. _________________________
سؤال
Rows cannot be deleted if the complex view was created with a(n)  GROUP BY \underline { \text { GROUP BY } } clause. _________________________
سؤال
Which of the following describes a type of view that is based upon a subquery that only references one table and does not include any group functions, expressions, or GROUP BY clauses?

A) simple view
B) complex view
C) inline view
D) "TOP-N" analysis
سؤال
Which statement is True about the view created with the following command? CREATE OR REPLACE VIEW inventory
AS SELECT isbn, title, retail price
FROM books;

A) The command creates a complex view.
B) DML operations are not allowed on the data displayed by the view.
C) A database object named INVENTORY may already exist.
D) all of the above
سؤال
Which type of view is created with the following command? CREATE VIEW inventory AS SELECT isbn, title, retail price
FROM books
WITH READ ONLY;

A) simple
B) complex
C) derived
D) inline
سؤال
The ____ constraint ensures that any DML operations performed on the view (e.g., adding rows, changing data) will not prevent the row from being accessed by the view because it no longer meets the condition in the WHERE clause.

A) ON UPDATE CHECK
B) WITH CHECK OPTION
C) WITH READ ONLY
D) READ-WRITE ONLY
سؤال
Which statement is True about the view created with the following command? CREATE VIEW inventory AS SELECT isbn, title, retail price
FROM books
WITH READ ONLY;

A) The command creates a simple view.
B) DML operations are NOT allowed on the data displayed by the view.
C) A view named INVENTORY did not previously exist.
D) all of the above
سؤال
Which type of view is created with the following command? CREATE VIEW OR REPLACE outstanding
AS SELECT customer#, order#, orderdate, shipdate
FROM orders
WHERE shipdate IS NULL
WITH READ ONLY;

A) simple
B) complex
C) derived
D) inline
سؤال
Which of the following types of views cannot contain grouped data?

A) simple
B) complex
C) inline view
D) all of the above
سؤال
Which statement is not True about the view created with the following command? CREATE VIEW inventory
AS SELECT isbn, title, retail price
FROM books;

A) The command creates a simple view.
B) DML operations are not allowed on the data displayed by the view.
C) A view named INVENTORY did not previously exist.
D) all of the above
سؤال
If you want to create a view based upon a table or tables that do not yet exist, or are currently unavailable (e.g.,off-line), what keyword can you use to avoid receiving an error message?

A) FORCE
B) NOERROR
C) OVERRIDE
D) none of the above
سؤال
A user can perform a DML operation (add, modify, delete) on a simple view if it does not violate which type of existing constraint on the underlying base table?

A) PRIMARY KEY
B) WITH CHECK OPTION
C) UNIQUE
D) all of the above
سؤال
Which of the following types of views cannot include a GROUP BY clause?

A) simple view
B) inline view
C) complex view
D) all of the above
سؤال
What is the procedure for assigning new names for the columns that are displayed by a view?

A) The new column names can be listed after the VIEW keyword, enclosed in parentheses.
B) Column aliases can be used in the subquery, and Oracle11g will use the aliases as column names in the view that is created.
C) all of the above
D) none of the above
سؤال
Which statement is True about the view created with the following command? CREATE VIEW OR REPLACE outstanding
AS SELECT customer#, order#, orderdate, shipdate
FROM orders
WHERE shipdate IS NULL
WITH READ ONLY;

A) The order# of an order cannot be changed through the view.
B) The shipping date of an order cannot be changed through the view.
C) No DML operations are permitted through the view.
D) all of the above
سؤال
Which of the following options will prevent any DML operations from being performed on the underlying table of a view?

A) WITH READ ONLY
B) WITH CHECK ONLY
C) WITH CHECK OPTION
D) NO WRITE OPTION
سؤال
Which of the following types of views cannot include a group function?

A) simple view
B) inline view
C) complex view
D) all of the above
سؤال
____ aren't allowed in the CREATE VIEW command.

A) Arithmetic expressions
B) ORDER BY clauses
C) Group functions
D) GROUP BY clauses
سؤال
Which of the following types of views cannot include an arithmetic expression?

A) simple view
B) inline view
C) complex view
D) all of the above
سؤال
The OR REPLACE clause is not required if ____.

A) another view does not exist with the same name
B) the view is not based on a group function
C) the view does not contain data from more than one table
D) the CREATE command does not specify the WITH CHECK OPTION option
سؤال
Which of the following statements is incorrect?

A) A view can be created with the CREATE VIEW command.
B) Views can be modified by using the ALTER VIEW...MODIFY command.
C) A view cannot be modified; if you need to change it, you must use the CREATE OR REPLACE VIEW keywords.
D) A view cannot be given the same name as another database object in the same schema.
سؤال
Which constraint ensures that the data in a view cannot be changed?

A) WITH CHECK OPTION
B) WITH READ OPTION
C) WITH READ ONLY
D) NO WRITE OPTION
سؤال
What is the default mode for the CREATE VIEW command?

A) COMPILE
B) NOCOMPILE
C) FORCE
D) NOFORCE
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/133
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 13: Views
1
A simple view cannot contain a simple arithmetic operation.
True
2
A view name must be enclosed in single quotation marks if it is referenced in the FROM clause of a SELECT statement.
False
3
Any DML operation can be performed on a simple view that was not created with the WITH READ ONLY option, unless it violates an existing constraint.
True
4
Views are not database objects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
5
Rows can be updated through a simple view as long as the operation does not violate existing constraints and the view was created with the WITH READ ONLY option.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
6
Column aliases can be used in the subquery to assign new column names to the columns contained in a view.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
7
A complex view can retrieve data from more than one table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
8
A complex view cannot contain any group functions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
9
An inline view is a temporary table that only lasts for the duration of the SELECT statement used to create it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
10
Views can be used to restrict a user's access to sensitive data.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
11
DML operations can be performed through a simple view even if the operation will violate constraints on the underlying table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
12
A simple view is based upon a subquery that references only one table and doesn't contain any group functions, expressions, or a GROUP BY clause.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
13
The WITH READ ONLY option can be used to prevent changes from being made to the data displayed by the view.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
14
You cannot create a view if the underlying table does not exist at the time the view is created.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
15
A view cannot be given the same name as another database object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
16
The column names used in the view must be the same names as the column names in the underlying table(s).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
17
Views are database objects that store data.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
18
A view can be created to simplify issuing complex SQL queries.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
19
A view can be modified using the MODIFY clause of the ALTER VIEW command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
20
Rows cannot be added to a simple view.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
21
Update operations cannot be performed through a complex view that contains an arithmetic expression.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
22
"TOP-N" analysis is performed by sorting values in ascending or descending order in an inline view.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
23
Values cannot be inserted through a view into columns that are based on arithmetic expressions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
24
DML operations can be performed on a view created with the DISTINCT keyword.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
25
When a view includes columns from more than one table, updates can only be applied to the table that includes the primary key for the view.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
26
The  NOFORCE \underline { \text { NOFORCE } } keyword can be used to create a view based upon a table that has not yet been created. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
27
 FORCE \underline { \text { FORCE } } is the default mode for the CREATE VIEW command. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
28
When a query references a view, the query in the view is processed, and the results are treated as a(n)  permanent \underline { \text { permanent } } table. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
29
The  WITHOUT UPDATE \underline {\text { WITHOUT UPDATE }} keywords prevent DML operations from being performed through a view. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
30
DML operations cannot be performed on a key-preserved table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
31
An inline view is used to create a(n)  permanent \underline { \text { permanent } } table. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
32
A(n)  simple \underline { \text { simple } } view can contain a GROUP BY clause. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
33
A(n)  view \underline { \text { view } } is a database object, but it does not actually store data. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
34
A view can be thought of as the result of a(n)  stored \underline { \text { stored } } query. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
35
Rows can be added through a complex view that is based upon grouped data.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
36
Rows in an underlying table cannot be deleted through a complex view that contains an arithmetic operation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
37
An ORDER BY clause can be used to perform "TOP-N" analysis.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
38
Rows can be deleted through a simple view as long as the operation does not violate existing constraints and the view was created with the WITH READ ONLY option.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
39
The  WITH CHECK OPTION \underline { \text { WITH CHECK OPTION } } can be used when a view is created to ensure that any DML operations performed on the view will not prevent the row from being accessible by the view at a later time. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
40
A(n)  existing \underline { \text { existing } } view cannot be modified. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
41
An inline analysis can be used to find the  "Top-N" \underline { \text { "Top-N" } } values. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
42
 DML \underline {\text { DML } } operations cannot be performed on non key-preserved tables through a complex view. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
43
Any  DDL \underline {\text { DDL } } operation can be performed on a simple view that was not created with the WITH READ ONLY option, unless it violates an existing constraint. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
44
The UPDATE command cannot be used on a view created with the  WITH CHECK OPTION. \underline {\text { WITH CHECK OPTION. } } . _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
45
A(n) ____ stores a query and is used to access data in the underlying tables.

A) view
B) constraint
C) function
D) argument
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
46
Which of the following statements about views is incorrect?

A) Views assist users who do not have the training to issue complex SQL inquiries.
B) Views restrict users' access to sensitive data.
C) Views are database objects that actually store data.
D) A view can be referenced in a SELECT...FROM statement, just like any table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
47
The pseudo column  ROW \underline { \text { ROW } } can be used to perform a "TOP-N" analysis. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
48
Which of the following describes a type of view that is based on a subquery that retrieves or derives data from one or more tables, and may also contain functions or grouped data?

A) simple view
B) complex view
C) inline view
D) "TOP-N" analysis
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
49
 Rows \underline {\text { Rows } } cannot be added to a table through a complex view that is based on a group function. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
50
A(n)  complex \underline { \text { complex } } view can contain data from more than one table. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
51
Which of the following describes a subquery used in a FROM clause to create a "temporary" table that can be referenced by the SELECT and WHERE clauses of the outer query?

A) simple view
B) complex view
C) inline view
D) "TOP-N" analysis
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
52
A view can be dropped or deleted using the  DELETE VIEW \underline {\text { DELETE VIEW } } command. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
53
"TOP-N" analysis can be used to find the highest values in a column by sorting the data in  ascending \underline { \text { ascending } } order. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
54
A(n)  UPDATE \underline {\text { UPDATE } } operation can be performed on a complex view that contains an arithmetic operation. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
55
The  OR REPLACE \underline { \text { OR REPLACE } } clause is only necessary if another view may already exist with the same name. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
56
 Rows \underline {\text { Rows } } cannot be deleted from a table through a complex view that is based on a group function. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
57
Rows cannot be added to a table through a complex view that was created with the  ORDER BY \underline {\text { ORDER BY } } clause. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
58
The  DELETE \underline { \text { DELETE } } operation can be performed through a complex view that contains an arithmetic operation. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
59
Rows cannot be deleted if the complex view was created with a(n)  GROUP BY \underline { \text { GROUP BY } } clause. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
60
Which of the following describes a type of view that is based upon a subquery that only references one table and does not include any group functions, expressions, or GROUP BY clauses?

A) simple view
B) complex view
C) inline view
D) "TOP-N" analysis
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
61
Which statement is True about the view created with the following command? CREATE OR REPLACE VIEW inventory
AS SELECT isbn, title, retail price
FROM books;

A) The command creates a complex view.
B) DML operations are not allowed on the data displayed by the view.
C) A database object named INVENTORY may already exist.
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
62
Which type of view is created with the following command? CREATE VIEW inventory AS SELECT isbn, title, retail price
FROM books
WITH READ ONLY;

A) simple
B) complex
C) derived
D) inline
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
63
The ____ constraint ensures that any DML operations performed on the view (e.g., adding rows, changing data) will not prevent the row from being accessed by the view because it no longer meets the condition in the WHERE clause.

A) ON UPDATE CHECK
B) WITH CHECK OPTION
C) WITH READ ONLY
D) READ-WRITE ONLY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
64
Which statement is True about the view created with the following command? CREATE VIEW inventory AS SELECT isbn, title, retail price
FROM books
WITH READ ONLY;

A) The command creates a simple view.
B) DML operations are NOT allowed on the data displayed by the view.
C) A view named INVENTORY did not previously exist.
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
65
Which type of view is created with the following command? CREATE VIEW OR REPLACE outstanding
AS SELECT customer#, order#, orderdate, shipdate
FROM orders
WHERE shipdate IS NULL
WITH READ ONLY;

A) simple
B) complex
C) derived
D) inline
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
66
Which of the following types of views cannot contain grouped data?

A) simple
B) complex
C) inline view
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
67
Which statement is not True about the view created with the following command? CREATE VIEW inventory
AS SELECT isbn, title, retail price
FROM books;

A) The command creates a simple view.
B) DML operations are not allowed on the data displayed by the view.
C) A view named INVENTORY did not previously exist.
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
68
If you want to create a view based upon a table or tables that do not yet exist, or are currently unavailable (e.g.,off-line), what keyword can you use to avoid receiving an error message?

A) FORCE
B) NOERROR
C) OVERRIDE
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
69
A user can perform a DML operation (add, modify, delete) on a simple view if it does not violate which type of existing constraint on the underlying base table?

A) PRIMARY KEY
B) WITH CHECK OPTION
C) UNIQUE
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
70
Which of the following types of views cannot include a GROUP BY clause?

A) simple view
B) inline view
C) complex view
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
71
What is the procedure for assigning new names for the columns that are displayed by a view?

A) The new column names can be listed after the VIEW keyword, enclosed in parentheses.
B) Column aliases can be used in the subquery, and Oracle11g will use the aliases as column names in the view that is created.
C) all of the above
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
72
Which statement is True about the view created with the following command? CREATE VIEW OR REPLACE outstanding
AS SELECT customer#, order#, orderdate, shipdate
FROM orders
WHERE shipdate IS NULL
WITH READ ONLY;

A) The order# of an order cannot be changed through the view.
B) The shipping date of an order cannot be changed through the view.
C) No DML operations are permitted through the view.
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
73
Which of the following options will prevent any DML operations from being performed on the underlying table of a view?

A) WITH READ ONLY
B) WITH CHECK ONLY
C) WITH CHECK OPTION
D) NO WRITE OPTION
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
74
Which of the following types of views cannot include a group function?

A) simple view
B) inline view
C) complex view
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
75
____ aren't allowed in the CREATE VIEW command.

A) Arithmetic expressions
B) ORDER BY clauses
C) Group functions
D) GROUP BY clauses
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
76
Which of the following types of views cannot include an arithmetic expression?

A) simple view
B) inline view
C) complex view
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
77
The OR REPLACE clause is not required if ____.

A) another view does not exist with the same name
B) the view is not based on a group function
C) the view does not contain data from more than one table
D) the CREATE command does not specify the WITH CHECK OPTION option
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
78
Which of the following statements is incorrect?

A) A view can be created with the CREATE VIEW command.
B) Views can be modified by using the ALTER VIEW...MODIFY command.
C) A view cannot be modified; if you need to change it, you must use the CREATE OR REPLACE VIEW keywords.
D) A view cannot be given the same name as another database object in the same schema.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
79
Which constraint ensures that the data in a view cannot be changed?

A) WITH CHECK OPTION
B) WITH READ OPTION
C) WITH READ ONLY
D) NO WRITE OPTION
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
80
What is the default mode for the CREATE VIEW command?

A) COMPILE
B) NOCOMPILE
C) FORCE
D) NOFORCE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 133 في هذه المجموعة.