adplus-dvertising
frame-decoration

Question

Point out the wrong statement.

a.

RANK() returns the rank of each row in the result set of partitioned column

b.

DENSE_RANK() is same as RANK() function. Only difference is returns rank without gaps

c.

NTILE() distributes the columns in an ordered partition into a specified number of groups

d.

ROW_NUMBER() returns the serial number of the row order by specified column

Posted under SQL Server

Answer: (c).NTILE() distributes the columns in an ordered partition into a specified number of groups

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Point out the wrong statement.

Similar Questions

Discover Related MCQs

Q. Which of the function provides consecutive numbering except in the case of a tie?

Q. Which of the following will not raise error if not used?

Q. Which of the following error message will be displayed if ORDER CLAUSE is not mentioned in ROW NUMBER function?

Q. Which of the following functions are similar?

Q. Which of the following function is used when you want all tied rows to have the same ranking?

Q. Select __________ from instructor where dept name= ’Comp. Sci.’;

Which of the following should be used to find the mean of the salary?

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. Select ID, GPA from student grades order by GPA ____________

Inorder to give only 10 rank on the whole we should use.

Q. Suppose we are given a view tot credits (year, num credits) giving the total number of credits taken by students in each year.The query that computes averages over the 3 preceding tuples in the specified sort order is _________

Q. Which server can join the indexes when only multiple indexes combined can cover the query?

Q. Select ________ dept_name from instructor;

Here which of the following displays the unique values of the column?

Q. To delete a database ___________ command is used.

Q. Which is a duplicate copy of a file program that is stored on a different storage media than the original location?

Q. _______________ joins are SQL server default.

Q. To alter a database ___________ command is used.

Q. The EXISTS keyword will be true if ____________

Q. Which of the following is an aggregate function?

Q. Which is the duplication of computer operations and routine backups to combat any unforeseen problems?

Q. The UNION SQL clause can be used with ____________

Q. Find all the tuples having temperature greater than ‘Paris’.