logo

CuriousTab

CuriousTab

Discussion


Home Database SQL for Database Construction Comments

  • Question
  • The SQL statement to create a view is:


  • Options
  • A. CREATE VIEW.
  • B. MAKE VIEW.
  • C. SELECT VIEW.
  • D. INSERT VIEW.

  • Correct Answer
  • CREATE VIEW. 


  • SQL for Database Construction problems


    Search Results


    • 1. What is not an advantage of stored procedures?

    • Options
    • A. Greater security
    • B. SQL can be optimized
    • C. Code sharing
    • D. Increased network traffic
    • Discuss
    • 2. Which of the following refers to an entity in which the identifier of one entity includes the identifier of another entity?

    • Options
    • A. Weak entity
    • B. Strong entity
    • C. ID-dependent entity
    • D. ID-independent entity
    • Discuss
    • 3. In which of the following is a single-entity instance of one type of related to a single-entity instance of another type?

    • Options
    • A. One-to-One Relationship
    • B. One-to-Many Relationship
    • C. Many-to-Many Relationship
    • D. Composite Relationship
    • Discuss
    • 4. In a one-to-many relationship, the entity that is on the many side of the relationship is called a(n) ________ entity.

    • Options
    • A. parent
    • B. child
    • C. instance
    • D. subtype
    • Discuss
    • 5. Which of the following refers to something that can be identified in the users' work environment, something that the users want to track?

    • Options
    • A. Entity
    • B. Attribute
    • C. Identifier
    • D. Relationship
    • Discuss
    • 6. The DROP TABLE statement:

    • Options
    • A. deletes the table structure only.
    • B. deletes the table structure along with the table data.
    • C. works whether or not referential integrity constraints would be violated.
    • D. is not an SQL statement.
    • Discuss
    • 7. A ________ is a program that performs some common action on database data and that is stored in the database.

    • Options
    • A. trigger
    • B. stored procedure
    • C. pseudofile
    • D. None of the above is correct.
    • Discuss
    • 8. Which of the following is NOT a type of SQL constraint?

    • Options
    • A. PRIMARY KEY
    • B. FOREIGN KEY
    • C. ALTERNATE KEY
    • D. UNIQUE
    • Discuss
    • 9. What is an SQL virtual table that is constructed from other tables?

    • Options
    • A. Just another table
    • B. A view
    • C. A relation
    • D. Query results
    • Discuss
    • 10. For what purposes are views used?

    • Options
    • A. To hide columns only
    • B. To hide rows only
    • C. To hide complicated SQL statements only
    • D. All of the above are uses for SQL views.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment