Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. KevenCook

    How to retrieve other fields when using GROUP BY

    Imagine a table of name, dept, salary I want the results to be: for each department, i want to know what the max salary is and the name of the person with this salary. i've found an example which suggest the following would work: SELECT name, max(salary), dept FROM employee GROUP BY dept...

Part and Inventory Search

Back
Top