Similar Collections


    No collections found

questions

Title
By constraining a SQL statement, we limit the ____________ according to certain conditions or restrictions

By constraining a SQL statement, we limit the ____________ according to certain conditions or restrictions.


  1. Row
  2. Column
  3. Table
  4. Database
discuss
Which of the following is/are type of SQL Constraint?

Which of the following is/are type of SQL Constraint?


  1. Column Level
  2. Table Level
  3. Both A and B
  4. None of the above
discuss
What is the difference between Column Level and Table Level Constraints?

What is the difference between Column Level and Table Level Constraints?


  1. Constraints are applied to a single row using Column Level Constraints whereas Multiple rows can be constrained using a Table Level Constraint.
  2. Constraints are applied to multiple rows using Column Level Constraints whereas a single row can be constrained using a Table Level Constraint.
  3. Constraints are applied to a single column using Column Level Constraints whereas Multiple columns can be constrained using a Table Level Constraint.
  4. Constraints are applied to multiple columns using Column Level Constraints whereas only a single column can be constrained using a Table Level Constraint.
discuss
Which of the following constraints are TRUE to be put in Password system?

Which of the following constraints are TRUE to be put in Password system?


  1. One uppercase character must be included in the password.
  2. An eight-character minimum password is required.
  3. At least one symbol must appear in the password.
  4. All of the above
discuss
Select the correct constraint in SQL?

Select the correct constraint in SQL?


  1. NOT NULL
  2. CHECK
  3. DEFAULT
  4. All of the above
discuss
What is TRUE about NOT NULL Constraint?

What is TRUE about NOT NULL Constraint?


  1. In columns that are subject to the NOT NULL constraint, duplicate values are not allowed.
  2. When a table's column is declared as NOT NULL, no record in the table can have an empty value for that column.
  3. By applying the NOT NULL constraint, we will always ensure that the column contains a unique value and won't allow nulls.
  4. The value will first be checked for certain conditions before inserting it into the column when a NOT NULL constraint applies to a column in the table.
discuss
NULL means –

NULL means –


  1. 0
  2. -1
  3. 1
  4. Empty
discuss
Which of the following is TRUE about UNIQUE constraint?

Which of the following is TRUE about UNIQUE constraint?


  1. In columns that are subject to the UNIQUE constraint, duplicate values are not allowed.
  2. Unique values will always be present in the column containing the unique constraint.
  3. A single table can have more than one unique constraint, since it can be applied to more than one column.
  4. All of the above
discuss
You can also _______ the existing tables by using the UNIQUE constraint

You can also _______ the existing tables by using the UNIQUE constraint.


  1. Change
  2. Delete
  3. Modify
  4. Drop
discuss
___________ and __________constraints form the core of the PRIMARY KEY constraint

___________ and __________constraints form the core of the PRIMARY KEY constraint.


  1. NOT NULL , CHECK
  2. NOT NULL , DEFAULT
  3. NOT NULL , FOREIGN KEY
  4. NOT NULL , UNIQUE
discuss
___________ integrity is achieved by using a foreign key

___________ integrity is achieved by using a foreign key.


  1. Referential Integrity
  2. Domain Integrity
  3. User-defined Integrity
  4. Entity Integrity
discuss
What is TRUE about DEFAULT constraint?

What is TRUE about DEFAULT constraint?


  1. The value will first be checked for certain conditions before inserting it into the column when a DEFAULT constraint applies to a column in the table.
  2. In the event of a DEFAULT constraint being applied to a table's column without a user specifying the value to be inserted when that constraint was applied, the default value that was specified when the constraint was applied will be put into that column.
  3. An index can be created on the table using the DEFAULT constraint.
  4. None of the above
discuss
total MCQs: 12

MCQs

12

Views

72

Best Answers

299

Points

5