Home / CSE / Database System 2 - CS :: SQL for Database Construction

CSE :: Database System 2 - CS

  1. The SQL MAKE TABLE command is used to construct tables, define columns, define column constraints and create relationships.

  2. A.

     True

    B.

     False


  3. SQL has a JOIN ON syntax that can be used to create inner joins and outer joins.

  4. A.

     True

    B.

     False


  5. Standard SQL-92 views are constructed from SQL SELECT statements that do not contain the GROUP BY clause.

  6. A.

     True

    B.

     False


  7. The SQL CHECK constraint is fully defined by the SQL-92 standard, and is consistently implemented by all DBMS vendors.

  8. A.

     True

    B.

     False


  9. SQL Server does not support the BEFORE trigger.

  10. A.

     True

    B.

     False


  11. A updatable view has its own data.

  12. A.

     True

    B.

     False


  13. The SQL DELETE statement is used to delete both the table structure and table data.

  14. A.

     True

    B.

     False


  15. Common types of SQL CHECK constraints include range checks and limiting columns values.

  16. A.

     True

    B.

     False


  17. If any required (NOT NULL) columns are missing from the view, the view cannot be used for inserting new data.

  18. A.

     True

    B.

     False


  19. When a foreign key column is created without a corresponding foreign key constraint, we have created a "casual relationship" between the two tables.

  20. A.

     True

    B.

     False