Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
sixsigma1978
Starting Member
25 Posts |
Posted - 2009-11-24 : 17:55:00
|
| All, Am new to SQL and need help with the following:I have a table "company" thats defined like thisCompanyDepartment Employee Salary~~~~~~~~~~~ ~~~~~~~~ ~~~~~~AAA Emp1 1000AAA Emp2 3000BBB Emp3 5000BBB Emp4 9000I'd like to find the employee with the MAXIMUM salary in every department. I couldn't figure out how to this. Any suggestions? |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
sixsigma1978
Starting Member
25 Posts |
Posted - 2009-11-24 : 18:30:42
|
| Nope - Not a homework question !! (Though obviously I've got no way to prove it : ergo - faith!!) :)Thanks for the feedback - I didn't understand the SQL but i'll dissect it - best way to learn IMO!! |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|
|