Tag: databases

Questions Related to databases

  1. SELECT

  2. DENY

  3. APPLY

  4. UPDATE

  5. None of the above


Correct Option: B
  1. The field mentioned in the where clause should be one of the columns selected

  2. The distinct function can not be used on a field of type Char

  3. The Integer value mentioned in the where clause should not be enclosed by quotes since it is of integer type.

  4. none of the above.


Correct Option: C
  1. Select employee_name,count() from employee_Details group by employee_id where count()>2;

  2. Select employee_name,employee_id,count() from employee_Details group by employee_id having count()>2;

  3. Select employee_name,employee_id,count() from employee_Details order by employee_id where count()>2;

  4. NONE of THE ABOVE


Correct Option: B
  1. Under Read

  2. neither a,c or d

  3. Uncommitted Read

  4. Uncommitted Ride


Correct Option: C
  1. can read data that has been changed and committed.

  2. can read data that has been changed but is not yet committed.

  3. both a and b

  4. neither a or b


Correct Option: C
  1. delete * from employee_Details

  2. delete from employee_Details

  3. truncate table employee_Details

  4. drop table employee_Details


Correct Option: B,C