adplus-dvertising
frame-decoration

Question

______________ returns the rank of rows within the partition of a result set, without any gaps in the ranking.

a.

RANK

b.

NTILE

c.

DENSE_RANK

d.

ROW_NUMBER

Posted under SQL Server

Answer: (c).DENSE_RANK

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. ______________ returns the rank of rows within the partition of a result set, without any gaps in the ranking.

Similar Questions

Discover Related MCQs

Q. Built in Functions in SQL Server is categorized into how many categories?

Q. Which SQL function is used to count the number of rows in a SQL query?

Q. Which of the following SQL clauses is used to DELETE tuples from a database table?

Q. ___________removes all rows from a table without logging the individual row deletions.

Q. Which of the following is not a DDL command?

Q. Which of the following are TCL commands?

Q. ________________ is not a category of SQL command.

Q. If you don’t specify ASC or DESC after a SQL ORDER BY clause, the following is used by default ______________

Q. What is the purpose of the SQL AS clause?

Q. What does DML stand for?

Q. With SQL, how do you select all the records from a table named “Persons” where the value of the column “FirstName” ends with an “a”?

Q. With SQL, how can you return all the records from a table named “Persons” sorted descending by “FirstName”?

Q. With SQL, how can you return the number of not null records in the “Persons” table?

Q. What does the ALTER TABLE clause do?

Q. The UPDATE SQL clause can _____________

Q. The UNION SQL clause can be used with _____________

Q. Which SQL statement is used to return only different values?

Q. How can you change “Hansen” into “Nilsen” in the “LastName” column in the Persons table?

Q. Which TCL command undo all the updates performed by the SQL in the transaction?

Q. SQL query to find all the cities whose humidity is 95.