Top 1000+ Solved DataBase Management System (DBMS) MCQ Questions Answer

From 1141 to 1155 of 1187

Q. To remove a relation from an SQL database, we use the              command.

a. delete

b. purge

c. remove

d. drop table

  • d. drop table

Q. Updates that violate                      are disallowed.

a. integrity constraints

b. transaction control

c. authorization

d. ddl constraints

  • a. integrity constraints

Q. The subset of a super key is a candidate key under what condition?

a. no proper subset is a super key

b. all subsets are super keys

c. subset is a super key

d. each subset is a super key

  • a. no proper subset is a super key

Q. Which one of the following attribute can be taken as a primary key?

a. name

b. street

c. id

d. department

  • c. id

Q. Which one of the following cannot be taken as a primary key?

a. id

b. register number

c. dept_id

d. street

  • d. street

Q. Which of the following statements contains an error?

a. select * from emp where empid = 10003;

b. select empid from emp where empid = 10006;

c. select empid from emp;

d. select empid where empid = 1009 and lastname = ‘geller’;

  • d. select empid where empid = 1009 and lastname = ‘geller’;

Q. If we want to retain all duplicates, we must write                  in place of union.

a. union all

b. union some

c. intersect all

d. intersect some

  • a. union all

Q. The number of attributes in relation is called as its

a. cardinality

b. degree

c. tuples

d. entity

  • b. degree

Q.                    joins are SQL server default

a. outer

b. inner

c. equi

d. none of the mentioned

  • b. inner

Q. The                            is essentially used to search for patterns in target string.

a. like predicate

b. null predicate

c. in predicate

d. out predicate

  • a. like predicate

Q. A            indicates an absent value that may exist but be unknown or that may not exist at all.

a. empty tuple

b. new value

c. null value

d. old value

  • c. null value
Subscribe Now

Get All Updates & News