logo

CuriousTab

CuriousTab

Discussion


Home Database Introduction to SQL Comments

  • Question
  • Which one of the following sorts rows in SQL?


  • Options
  • A. SORT BY
  • B. ALIGN BY
  • C. ORDER BY
  • D. GROUP BY

  • Correct Answer
  • ORDER BY 


  • Introduction to SQL problems


    Search Results


    • 1. 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
    • 2. 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
    • 3. ________ was adopted as a national standard by ANSI in 1992.

    • Options
    • A. Oracle
    • B. SQL
    • C. Microsoft Access
    • D. DBase
    • Discuss
    • 4. 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 ...
    • Discuss
    • 5. 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
    • 6. 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
    • 7. The SQL statement that queries or reads data from a table is ________ .

    • Options
    • A. SELECT
    • B. READ
    • C. QUERY
    • D. None of the above is correct.
    • Discuss
    • 8. Which of the following is the original purpose of SQL?

    • Options
    • A. To specify the syntax and semantics of SQL data definition language
    • B. To specify the syntax and semantics of SQL manipulation language
    • C. To define the data structures
    • D. All of the above.
    • Discuss
    • 9. Read-only databases are ________ updated.

    • Options
    • A. always
    • B. commonly
    • C. seldom
    • D. never
    • Discuss
    • 10. Each answer below shows example data from a table. Which answer is an example of the inconsistent values problem?

    • Options
    • A. Three columns have the values 534-2435, 534-7867, and 546-2356 in the same row.
    • B. Three rows have the values Brown Small Chair, Small Chair Brown, and Small Brown Chair in the same column.
    • C. Three rows have the values Brown, NULL, and Blue in the same column.
    • D. One row has the value "He is interested in a Silver Porsche from the years 1978-1988" in a column.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment