You are on page 1of 1

Answer Set: Quiz-1

(LBJ Module 1– DBMS & SQL)


Q.1) Which TCL command undo all the updates performed by the SQL in the transaction?
Ans.1) Rollback command can undo all the updates in the transaction.

Q.2) Which constraint does not enforce uniqueness?


Ans.2) Foreign key constraint enforce relationships between tables not uniqueness.

Q.3) Which constraint can be enforced only one per table?


Ans.3) A table can have at most one Primary key constraint.

Q4.) In the relational model, the column of the table is known to be:
Ans.4) A column of a table is a field which represents an attribute.

Q.5) A set of one or more attributes that collectively, allow us to identify uniquely a
tuple in the relation, is known as_________
Ans.5) Super key is collection of one or more attributes that uniquely identifies a tuple.

Q.6) The join operations that do not retain mismatched tuples are called as
______________
Ans6.) The inner join operation does not preserve the mismatched tuples .

Q7.) The _______ clause is used to list the attributes desired in the result of a query.
Ans7.) Select clause is used to retrieve and show the result of a query.

Q.8) We apply the aggregate function to a group of sets of tuples using the ______
clause.
Ans8.) Group by clause is used when we wish to apply aggregate function to a group of
sets of tuple.

Q.9) Using the ______ clause retains only one copy of identical tuples.
Ans.9) Distinct clause is used to retain only different values so only one copy if identical
tuple is obtained.

Q.10) Which of the following is not an aggregate function: SUM, MAX, MIN, COUNT,
UPPER.
Ans.10) UPPER is not an aggregate function rather it converts all the letters in string to
uppercase. (SUM, MAX, MIN, COUNT, AVG are the aggregate functions).

You might also like