Question
Employees and salaries: Alice=9000, Bob=7000, Carol=9500, Dave=7000. What rank does Dave receive from the following query? SELECT name, salary, RANK() OVER (ORDER BY salary DES
- C AS rnk FROM Employees;
More SQL Questions
- Which type of SQL join returns only those rows that have matching values present in both of the joined tables, excluding any unmatched rows from either sid...
- Which clause is used to sort query results in SQL?
- Table Orders(OrderID, CustomerID) has 10 rows with CustomerID values: C1, C1, C2, C3, C1, C2, C4, C2, C3, C1. How many groups (customers) will be returned ...
- Which join returns rows from the left table even when there is no matching row in the right table, filling with NULLs for the right side?
- Which SQL keyword prevents duplicate rows in result?
- Which SQL operator is used to search for a pattern in a column?
- Which SQL clause is used to filter records based on aggregate functions?
- A table T has exactly 10 rows. Its column X contains 3 NULL values among its 10 entries, and of the remaining 7 non-null values, exactly two are duplicates...
- Materialized views differ from normal views because:
- Which of the following can be used to avoid duplicate entries in a column?
Hey! Ask a query
Please enter email id
The email must be a valid email address.
Please enter Mobile Number
Please enter valid Mobile Number
Please enter your Doubt
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
- 200 Questions with Detailed Solutions
- Section-wise Coverage (GA, English, Quant & Reasoning)