logo

CuriousTab

CuriousTab

Discussion


Home Database Introduction to SQL Comments

  • Question
  • The command to remove rows from a table 'CUSTOMER' is:


  • Options
  • A. REMOVE FROM CUSTOMER ...
  • B. DROP FROM CUSTOMER ...
  • C. DELETE FROM CUSTOMER WHERE ...
  • D. UPDATE FROM CUSTOMER ...

  • Correct Answer
  • DELETE FROM CUSTOMER WHERE ... 


  • Introduction to SQL problems


    Search Results


    • 1. When three or more AND and OR conditions are combined, it is easier to use the SQL keyword(s):

    • Options
    • A. LIKE only.
    • B. IN only.
    • C. NOT IN only.
    • D. Both IN and NOT IN.
    • Discuss
    • 2. The SQL keyword BETWEEN is used:

    • Options
    • A. for ranges.
    • B. to limit the columns displayed.
    • C. as a wildcard.
    • D. None of the above is correct.
    • Discuss
    • 3. The result of a SQL SELECT statement is a(n) ________ .

    • Options
    • A. report
    • B. form
    • C. file
    • D. table
    • Discuss
    • 4. SQL is:

    • Options
    • A. a programming language.
    • B. an operating system.
    • C. a data sublanguage.
    • D. a DBMS.
    • Discuss
    • 5. The HAVING clause does which of the following?

    • Options
    • A. Acts like a WHERE clause but is used for groups rather than rows.
    • B. Acts like a WHERE clause but is used for rows rather than columns.
    • C. Acts like a WHERE clause but is used for columns rather than groups.
    • D. Acts EXACTLY like a WHERE clause.
    • Discuss
    • 6. ________ was adopted as a national standard by ANSI in 1992.

    • Options
    • A. Oracle
    • B. SQL
    • C. Microsoft Access
    • D. DBase
    • Discuss
    • 7. The SQL WHERE clause:

    • Options
    • A. limits the column data that are returned.
    • B. limits the row data are returned.
    • C. Both A and B are correct.
    • D. Neither A nor B are correct.
    • Discuss
    • 8. You can add a row using SQL in a database with which of the following?

    • Options
    • A. ADD
    • B. CREATE
    • C. INSERT
    • D. MAKE
    • Discuss
    • 9. Which one of the following sorts rows in SQL?

    • Options
    • A. SORT BY
    • B. ALIGN BY
    • C. ORDER BY
    • D. GROUP BY
    • Discuss
    • 10. SQL can be used to:

    • Options
    • A. create database structures only.
    • B. query database data only.
    • C. modify database data only.
    • D. All of the above can be done by SQL.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment