logo

CuriousTab

CuriousTab

Advanced SQL problems


  • 1. A function returns one value and has only output parameters.

  • Options
  • A. True
  • B. False
  • Discuss
  • 2. When AUTOCOMMIT is set on, changes will be made automatically at the end of each SQL statement.

  • Options
  • A. True
  • B. False
  • Discuss
  • 3. With the UNION clause, each query involved must output the same number of columns, and they must be UNION compatible.

  • Options
  • A. True
  • B. False
  • Discuss
  • 4. The most frequently used relational operation, which brings together data from two or more related tables into one resultant table, is called an equi-join.

  • Options
  • A. True
  • B. False
  • Discuss
  • 5. Triggers are stored blocks of code that have to be called in order to operate.

  • Options
  • A. True
  • B. False
  • Discuss
  • 6. ROLLBACK WORK asks SQL to empty the log file.

  • Options
  • A. True
  • B. False
  • Discuss
  • 7. The UNION clause is used to combine the output from multiple queries together into a single result table.

  • Options
  • A. True
  • B. False
  • Discuss
  • 8. Subqueries can be nested multiple times.

  • Options
  • A. True
  • B. False
  • Discuss
  • 9. Outer join is the same as equi-join, except one of the duplicate columns is eliminated in the result table.

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

First 2 3