0% found this document useful (0 votes)
117 views3 pages

11

The DESCRIBE command can be used to confirm that a table was created. You can decrease the width of a column if the decrease is not less than existing values in that column and the column contains only null values or the table has no rows. When you drop a table, the database loses all the data in the table.

Uploaded by

Pegy Rahayu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
117 views3 pages

11

The DESCRIBE command can be used to confirm that a table was created. You can decrease the width of a column if the decrease is not less than existing values in that column and the column contains only null values or the table has no rows. When you drop a table, the database loses all the data in the table.

Uploaded by

Pegy Rahayu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

1.

Once you
have Mark for Review
created a (1) Points
table, you
can run
the
DESCRIBE
command
to confirm
that it
was
created.
True (*)

False

Correct

2. When altering a table, you can decrease the width of a column if ...
Mark for Review
(1) Points
(Choose all correct answers)
The decrease in column width is not less than the existing values in
that column (*)
The column contains only null values (*)

The table has no rows (*)

The column contains numeric values

Correct

3. When you drop a table, the database loses all the data in the table.
Mark for Review
(1) Points
True (*)

False

Correct

4. You can decrease the width of a column if:


Mark for Review
(1) Points
(Choose all correct answers)
The column contains only null values (*)

The table has no rows (*)

The decrease in column width is not less than the existing values in
that column (*)
The column width can only be increased and not decreased.

Correct

5. Structured Query Language (SQL)is the set-based, declarative language


used to access data in an Oracle database. Mark for Review
(1) Points
True (*)
False
Correct
6. You can
logically Mark for Review
relate (1) Points
data
from
multiple
tables
using
foreign
keys.
True (*)

False

Correct

7. A primary key must contain a value and the value must be unique.
Mark for Review
(1) Points
True (*)

False

Correct

8. The stages of SQL Processing are Parsing, Optimization, Row Source


Generation and _____________ . Mark for Review
(1) Points
Analyzing

Execution (*)

Both

None

Correct

9. It is possible to place conditions on the data retrieved by an SQL statement


using the WHEN clause. Mark for Review
(1) Points
True

False (*)

Correct

10. In Application Express a schema is a collection of logical structures of data. A


schema is owned by a database user and has the same name as that user. Mark for Review
(1) Points
True (*)

False

Correct

11. SQL
Commands is Mark for Review
a component (1) Points
in the SQL
Workshop of
APEX that
allows multiple
SQL
statements to
be run
simultaneously
within the
current
application
users assigned
database
schema.
True

False (*)

Correct

12. In Oracle Application Express (APEX), you can import and run a SQL
Script from the _____________ component of SQL Workshop. Mark for Review
(1) Points
SQL Worksheet

Schema

SQL Scipts (*)

Scripts and Tutorials

Correct

13. The UPDATE statement modifies the values of a specific row or rows if
the _______ clause is specified. Mark for Review
(1) Points
VALUE

WHERE (*)

SET

MODIFY

Incorrect. Refer to Section 6 Lesson 4.


14. You can delete a row that contains a primary key that is used as a
foreign key in another table. Mark for Review
(1) Points
True

False (*)

Correct

15. The command that removes all rows from a table, leaving the table
empty and the table structure intact is ... Mark for Review
(1) Points
TRUNCATE (*)

DELETE

Both

None

Correct

You might also like