logo

CuriousTab

CuriousTab

Discussion


Home Database Introduction to SQL Comments

  • Question
  • SQL data definition commands make up a(n) ________ .


  • Options
  • A. DDL
  • B. DML
  • C. HTML
  • D. XML

  • Correct Answer
  • DDL 


  • Introduction to SQL problems


    Search Results


    • 1. A subquery in an SQL SELECT statement is enclosed in:

    • Options
    • A. braces -- {...}.
    • B. CAPITAL LETTERS.
    • C. parenthesis -- (...) .
    • D. brackets -- [...].
    • Discuss
    • 2. SQL query and modification commands make up a(n) ________ .

    • Options
    • A. DDL
    • B. DML
    • C. HTML
    • D. XML
    • Discuss
    • 3. To define what columns should be displayed in an SQL SELECT statement:

    • Options
    • A. use FROM to name the source table(s) and list the columns to be shown after SELECT.
    • B. use USING to name the source table(s) and list the columns to be shown after SELECT.
    • C. use SELECT to name the source table(s) and list the columns to be shown after USING.
    • D. use USING to name the source table(s) and list the columns to be shown after WHERE.
    • Discuss
    • 4. A subquery in an SQL SELECT statement:

    • Options
    • A. can only be used with two tables.
    • B. can always be duplicated by a join.
    • C. has a distinct form that cannot be duplicated by a join.
    • D. cannot have its results sorted using ORDER BY.
    • Discuss
    • 5. The command to eliminate a table from a database is:

    • Options
    • A. REMOVE TABLE CUSTOMER;
    • B. DROP TABLE CUSTOMER;
    • C. DELETE TABLE CUSTOMER;
    • D. UPDATE TABLE CUSTOMER;
    • Discuss
    • 6. The Microsoft Access wildcards are ____ and ____ .

    • Options
    • A. asterisk (*); percent sign (%)
    • B. percent sign (%); underscore (_)
    • C. underscore(_); question mark (?)
    • D. question mark (?); asterisk (*)
    • Discuss
    • 7. ON UPDATE CASCADE ensures which of the following?

    • Options
    • A. Normalization
    • B. Data Integrity
    • C. Materialized Views
    • D. All of the above.
    • Discuss
    • 8. The wildcard in a WHERE clause is useful when?

    • Options
    • A. An exact match is necessary in a SELECT statement.
    • B. An exact match is not possible in a SELECT statement.
    • C. An exact match is necessary in a CREATE statement.
    • D. An exact match is not possible in a CREATE statement.
    • Discuss
    • 9. The SQL -92 wildcards are ____ and ____ .

    • Options
    • A. asterisk (*); percent sign (%)
    • B. percent sign (%); underscore (_)
    • C. underscore(_); question mark (?)
    • D. question mark (?); asterisk (*)
    • Discuss
    • 10. Which of the following are the five built-in functions provided by SQL?

    • Options
    • A. COUNT, SUM, AVG, MAX, MIN
    • B. SUM, AVG, MIN, MAX, MULT
    • C. SUM, AVG, MULT, DIV, MIN
    • D. SUM, AVG, MIN, MAX, NAME
    • Discuss


    Comments

    There are no comments.

Enter a new Comment