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 Chris Miller 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. quaeldich

    max(a) group by b: list all entries, not just one per b

    Hi r937, thanks for your reply. my provider runs mysql Ver 12.22 Distrib 4.0.20, for pc-linux (i686) Would you tell me the temp table solution? Thanks a lot, Jan
  2. quaeldich

    max(a) group by b: list all entries, not just one per b

    Hi again, thanks for your reply. I think i didn't make myself clear enough. Your hint select customer_ID, amount from sales order by amount DESC gives +-------------+--------+ | customer_id | amount | +-------------+--------+ | 2 | 2000 | | 1 | 1000 | | 1 |...
  3. quaeldich

    max(a) group by b: list all entries, not just one per b

    Hi all, I have been around sql quite some time now, but still I need help with little things. Consider the following table sales +-------------+--------+ | customer_id | amount | +-------------+--------+ | 1 | 1000 | | 2 | 10 | | 2 | 2000 | | 1...

Part and Inventory Search

Back
Top