logo

CuriousTab

CuriousTab

Discussion


Home Database Introduction to SQL Comments

  • Question
  • 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.

  • Correct Answer
  • An exact match is not possible in a SELECT statement. 


  • Introduction to SQL problems


    Search Results


    • 1. ON UPDATE CASCADE ensures which of the following?

    • Options
    • A. Normalization
    • B. Data Integrity
    • C. Materialized Views
    • D. All of the above.
    • Discuss
    • 2. The Microsoft Access wildcards are ____ and ____ .

    • Options
    • A. asterisk (*); percent sign (%)
    • B. percent sign (%); underscore (_)
    • C. underscore(_); question mark (?)
    • D. question mark (?); asterisk (*)
    • Discuss
    • 3. SQL data definition commands make up a(n) ________ .

    • Options
    • A. DDL
    • B. DML
    • C. HTML
    • D. XML
    • Discuss
    • 4. A subquery in an SQL SELECT statement is enclosed in:

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

    • Options
    • A. DDL
    • B. DML
    • C. HTML
    • D. XML
    • Discuss
    • 6. The SQL -92 wildcards are ____ and ____ .

    • Options
    • A. asterisk (*); percent sign (%)
    • B. percent sign (%); underscore (_)
    • C. underscore(_); question mark (?)
    • D. question mark (?); asterisk (*)
    • Discuss
    • 7. 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
    • 8. Find the SQL statement below that is equal to the following: SELECT NAME FROM CUSTOMER WHERE STATE = 'VA';

    • Options
    • A. SELECT NAME IN CUSTOMER WHERE STATE IN ('VA');
    • B. SELECT NAME IN CUSTOMER WHERE STATE = 'VA';
    • C. SELECT NAME IN CUSTOMER WHERE STATE = 'V';
    • D. SELECT NAME FROM CUSTOMER WHERE STATE IN ('VA');
    • Discuss
    • 9. Which of the following is valid SQL for an Index?

    • Options
    • A. CREATE INDEX ID;
    • B. CHANGE INDEX ID;
    • C. ADD INDEX ID;
    • D. REMOVE INDEX ID;
    • Discuss
    • 10. To sort the results of a query use:

    • Options
    • A. SORT BY.
    • B. GROUP BY.
    • C. ORDER BY.
    • D. None of the above is correct.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment