Start learning 50% faster. Sign in now
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.
Select the most appropriate indirect form of the given sentence.
Cornelius said to Pauline, “You will have to agree to drive me to town from ...
Select the most appropriate direct form of the given sentence.
Veena informed me that there would be an online art class for the children at 4 ...
“What a nice man Mr Sharma is !” one of the guests at the party said.
Change the following sentence to Indirect Speech.
"It's high time you found a job," said Granny to Uncle Ken one day.
Select the indirect narration of the given sentence.
He said to the hotel receptionist, “Can you tell me the tariff of rooms?
He said to his partner, "I will not be responsible if the project fails."
Change the following sentence to Indirect Speech.
He said to her, "I've been waiting here in the queue for over an hour".
"Why don't you see a doctor?" said Mrs. Lal to Nina.
Find the Figure of Speech of the given statement.
The open secret was known by everyone but not openly discussed.
Directions: In each of the questions, a sentence has been divided into four parts, one of which may contain an error. Identify that fragment and mark...