logo

CuriousTab

CuriousTab

Introduction to SQL problems


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

  • Options
  • A. True
  • B. False
  • Discuss
  • 2. The rows of the result relation produced by a SELECT statement can be sorted, but only by one column.

  • Options
  • A. True
  • B. False
  • Discuss
  • 3. 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
  • 4. ORDER BY can be combined with the SELECT statements.

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

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

  • Options
  • A. True
  • B. False
  • Discuss
  • 7. 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
  • 8. The condition in a WHERE clause can refer to only one value.

  • Options
  • A. True
  • B. False
  • Discuss
  • 9. If you are going to use a combination of three or more AND and OR conditions, it is often easier to use the NOT and NOT IN operators.

  • Options
  • A. True
  • B. False
  • Discuss
  • 10. The keyword BETWEEN can be used in a WHERE clause to refer to a range of values.

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

First 2 3 4 5 6 7