Questions Related to technology

Multiple choice technology databases
  1. Constraints provide data independence

  2. Constraints make complex queries easy

  3. Constraints enforce rules at the view level

  4. Constraints enforce rules at the table level

  5. Constraints prevent the deletion of a table if there are dependencies

  6. Constraints prevent the deletion of an index if there are dependencies

Reveal answer Fill a bubble to check yourself
C,D,E Correct answer
Multiple choice technology databases
  1. The main query executes with the first value returned by the subquery

  2. The main query executes with the last value returned by the subquery

  3. The main query executes with all the values returned by the subquery

  4. The main query fails because the multiple-row subquery cannot be used with the comparison operator

  5. You cannot define a multiple-row subquery in the WHERE clause of a SQL query

Reveal answer Fill a bubble to check yourself
D Correct answer
Multiple choice technology databases
  1. You can join a maximum of two tables through an equijoin

  2. You can join a maximum of two columns through an equijoin

  3. You specify an equijoin condition in the SELECT or FROM clauses of a SELECT statement

  4. To join two tables through an equijoin, the columns in the join condition must be primary key and foreign key columns.

  5. You can join n tables (all having single column primary keys) in a SQL statement by specifying a minimum of n-1 join conditions.

Reveal answer Fill a bubble to check yourself
E Correct answer