Tag: databases

Questions Related to databases

  1. Determines if a value matches any of the values in a list or a sub-query.

  2. Defines the tables we are selecting or deleting data from.

  3. Is used with the DISTINCT SQL keyword only.

  4. Is used to select data from a view


Correct Option: A
  1. a special type of table

  2. a special type of store procedure, executed when certain event occurs

  3. a special type of view

  4. an event


Correct Option: B
  1. DML

  2. MDL

  3. DDL

  4. All the above


Correct Option: A
  1. Alter table Tbl_Test Insert column New_Column varchar 20

  2. Alter table Tbl_Test Alter column New_Column varchar 20

  3. Alter table Tbl_Test add New_Column varchar 20

  4. Either a or b could be used


Correct Option: C
  1. Truncate

  2. Create

  3. Alter

  4. All the above


Correct Option: A