logo

CuriousTab

CuriousTab

Discussion


Home Database Introduction to SQL Comments

  • Question
  • The rows of the result relation produced by a SELECT statement can be sorted, but only by one column.


  • Options
  • A. True
  • B. False

  • Correct Answer
  • False 


  • Introduction to SQL problems


    Search Results


    • 1. The result of every SQL query is a table.

    • Options
    • A. True
    • B. False
    • Discuss
    • 2. The ADD command is used to enter one row of data or to add multiple rows as a result of a query.

    • Options
    • A. True
    • B. False
    • Discuss
    • 3. There is an equivalent join expression that can be substituted for all subquery expressions.

    • Options
    • A. True
    • B. False
    • Discuss
    • 4. The qualifier DISTINCT must be used in an SQL statement when we want to eliminate duplicate rows.

    • Options
    • A. True
    • B. False
    • Discuss
    • 5. The SQL statement: SELECT Name, COUNT(*) FROM NAME_TABLE; counts the number of name rows and displays this total in a table with a single row and a single column.

    • Options
    • A. True
    • B. False
    • Discuss
    • 6. The SQL keyword GROUP BY instructs the DBMS to group together those rows that have the same value in a column.

    • Options
    • A. True
    • B. False
    • Discuss
    • 7. ORDER BY can be combined with the SELECT statements.

    • Options
    • A. True
    • B. False
    • Discuss
    • 8. Each index consumes extra storage space and also requires overhead maintenance time whenever indexed data change value.

    • Options
    • A. True
    • B. False
    • Discuss
    • 9. To establish a range of values, < and > can be used.

    • Options
    • A. True
    • B. False
    • Discuss
    • 10. SQL provides the AS keyword, which can be used to assign meaningful column names to the results of queries using the SQL built-in functions.

    • Options
    • A. True
    • B. False
    • Discuss


    Comments

    There are no comments.

Enter a new Comment