Continue with your mobile number
Explanation: The correct query uses SQL’s GROUP BY to aggregate data by department , calculates the sum of salary for each department using SUM(salary) , and orders the results in descending order with ORDER BY . Finally, the LIMIT 3 clause retrieves only the top three departments. This approach is efficient and aligns with database query standards, ensuring the highest salaries are calculated accurately and in rank order. Option B: MAX(salary) cannot be used without a GROUP BY clause for the entire table, and the syntax is incorrect. Option C: COUNT(salary) measures frequency, not total salary. Option D: DISTINCT eliminates duplicates but does not aggregate data for rankings. Option E: MAX(salary) sorts by individual highest salaries, not aggregated totals, leading to incorrect results.
The Financial Services Institutions Bureau (FSIB) is responsible for making recommendations for the appointment of full-time directors and non-execut...
A tendency for managers to evaluate most of their employees as "average", is called?
In a period of falling prices, a firm reporting under LIFO compared to reporting under FIFO, will have a higher:
Which Indian NBFC was selected for the FATF Mutual Evaluation report 2023-24?
Byron Ltd reported 32000 in earnings during the current financial year. The total shares outstanding are 40000 at a market price of 18 per share. What i...
What among the following is the correct formula to calculate the cost of Equity under CAPM model?
When a borrower opts for an insurance policy in connection with a loan, it is a case of _______
In a process account, the costs which will be borne by the good production units include _____.
1. Normal loss
2. ...
Whether sufficient appropriate audit evidence has been obtained to reduce audit risk to an acceptable low level, and thereby enable the auditor to draw...
The settlement of which of the following instruments is facilitated by Clearing Corporation of India Limited (CCIL)?