adplus-dvertising
frame-decoration

Question

Select count (____ ID)
from teaches
where semester = ’Spring’ and year = 2010;
If we do want to eliminate duplicates, we use the keyword ______in the aggregate expression.

a.

Distinct

b.

Count

c.

Avg

d.

Primary key

Posted under DBMS

Answer: (a).Distinct

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Select count (____ ID) from teaches where semester = ’Spring’ and year = 2010; If we do want to eliminate duplicates, we use the keyword ______in the aggregate expression.

Similar Questions

Discover Related MCQs

Q. The ____ connective tests for set membership, where the set is a collection of values produced by a select clause. The ____ connective tests for the absence of set membership.

Q. We can test for the nonexistence of tuples in a subquery by using the _____ construct.

Q. Dates must be specified in the format

Q. An ________ on an attribute of a relation is a data structure that allows the database system to find those tuples in the relation that have a specified value for that attribute efficiently, without scanning through all the tuples of the relation.

Q. Which of the following is used to store movie and image files ?

Q. The user defined data type can be created using

Q. Values of one type can be converted to another domain using which of the following ?

Q. Which of the following closely resembles Create view ?

Q. In contemporary databases the top level of the hierarchy consists of ______, each of which can contain _____.

Q. Which of the following statements creates a new table temp instructor that has the same schema as instructor.

Q. The____condition allows a general predicate over the relations being joined.

Q. Which of the join operations do not preserve non matched tuples.

Q. What type of join is needed when you wish to include rows that do not have matching values?

Q. How many join types in join condition:

Q. Which join refers to join records from the right table that have no matching key in the left table are include in the result set:

Q. In SQL the statement select * from R, S is equivalent to

Q. Which join condition contains an equality operator:

Q. A __________ is a special kind of a store procedure that executes in response to certain action on the table like insertion, deletion or updation of data.

Q. The CREATE TRIGGER statement is used to create the trigger. THE _____ clause specifies the table name on which the trigger is to be attached. The ______ specifies that this is an AFTER INSERT trigger.

Q. What are the after triggers ?