|
|
|
Re: Group By clause [message #395031 is a reply to message #394742] |
Tue, 31 March 2009 02:28 |
|
Michel Cadot
Messages: 68718 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Don't put solution only hint or clue as requested in OraFAQ Forum Guide, "Responding to Posts" section:
Quote: | When responding to questions, if it is obviously a student with a homework assignment or someone else just learning, especially in the homework and newbies forums, it is usual to provide hints or clues, perhaps links to relevant portions of the documentation, or a similar example, to point them in the right direction so that they will research and experiment on their own and learn, and not provide complete solutions to problems. In cases where someone has a real-life complex work problem, or at least it may seem complex to them, it may be best to provide a complete demo and explanation.
|
Now OP didn't learn nothing when if you posted the link to MAX and analytic functions, it learns how to do it by himself.
Regards
Michel
[Updated on: Tue, 31 March 2009 02:29] Report message to a moderator
|
|
|
sum(sal) [message #395264 is a reply to message #394736] |
Tue, 31 March 2009 23:53 |
ramesh55.sse
Messages: 262 Registered: December 2008 Location: Hyderabad
|
Senior Member |
|
|
Please give me a SQL query to retrieve employee number, employee name,department number and Sum of salary for each department.Using GROUP BY and analytical functions.
|
|
|
|
Re: sum(sal) [message #395299 is a reply to message #395264] |
Wed, 01 April 2009 01:56 |
|
Michel Cadot
Messages: 68718 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
We don't do homework for you and you know it.
Use SQL*Plus and copy and paste what you already tried.
Regards
Michel
|
|
|