GoConqr has a new look! Let us know what you think.

Quiz

Using DDL Statements to Create and Manage Tables ( Section 2)

Craig Willey 16 questions

Take the quiz

Questions in this quiz (16)

  1. 1A table is which of the following?
    1. AA schema object
    2. BA nonschema object
    3. CA role
    4. DAll of these
  2. 2Which of the following are schema objects? (Choose all that apply.)
    1. ASEQUENCE
    2. BPASSWORD
    3. CINDEX
    4. DROLE
  3. 3A CONSTRAINT is assigned to which of the following?This
    1. ATABLE
    2. BSYNONYM
    3. CSEQUENCE
    4. DINDEX
  4. 4Which of the following are valid CREATE TABLE statements? (Choose three.)
    1. ACREATE TABLE $ORDERS
      (ID NUMBER,
      NAME VARCHAR2(30));
    2. BCREATE TABLE CUSTOMER_HISTORY
      (ID NUMBER,
      NAME VARCHAR2(30));
    3. CCREATE TABLE "Boat Inventory"
      (ID NUMBER,
      NAME VARCHAR2(30));
    4. DCREATE TABLE workSchedule
      (ID NUMBER,
      NAME VARCHAR2(30));
  5. 5Which of the following options can be used with the reserved word CREATE to form the beginning of a complete SQL statement? (Choose three.)
    1. ATABLE
    2. BVIEW
    3. CCONSTRAINT
    4. DSEQUENCE
  6. 6You are logged in to user FINANCE. It is currently the only schema in the entire database. The following exist in the database:
    A VIEW named VENDORS
    A CONSTRAINT named VENDORS
    An INDEX named CUSTOMER#ADDRESS
    Image for question 6
    1. AThe question is flawed because you cannot have an INDEX named CUSTOMER#ADDRESS.
    2. BThe question is flawed because you cannot have a VIEW and a CONSTRAINT with identical names in the same schema.
    3. CThe SQL statement will fail to execute and result in an error message because you cannot create a TABLE name with the # character.
    4. DThe SQL statement will fail to execute and result in an error message because you cannot create a TABLE that has the same name as an INDEX in the same schema.
    5. EThe SQL statement will execute, and the TABLE will be created.
  7. 7You have a single database, with only one schema. The following four objects exist in the database:
    A TABLE named PRODUCT_CATALOG
    A TABLE named ADS
    A USER named PRODUCT_CATALOG
    A VIEW named CONFERENCE_SCHEDULE
    How many of the four objects are owned by the schema?
    1. A0
    2. B2
    3. C3
    4. D4
  8. 8Which of the following is true about ROLES?
    1. ARoles are schema objects but only when created from within a user account.
    2. BRoles are in the same namespace as CONSTRAINTS.
    3. CRoles are in the same namespace as TABLES.
    4. DRoles are in the same namespace as USERS.
  9. 9The DESC command can be used to do which of the following?
    1. AShow a table's columns and the data types of those columns
    2. BShow a brief paragraph describing what the table does
    3. CShow a table's name and who created it
    4. DShow the data that is contained within a table
  10. 10Which one of the following is true?Image for question 10
    1. AThe execution fails because there is no precision indicated for NUMBER.
    2. BThe execution fails because there is no precision indicated for VARCHAR2.
    3. CThe execution fails because there is no precision indicated for CHAR.
    4. DThe execution succeeds, and the table is created.

Information

Description
Databases
Language
English
Views
70
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?