• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

MYSQL question URGENT

 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a SELECT statement that looks like the following:
SELECT *
FROM products LEFT OUTER JOIN grouping
ON (products.itemNum = grouping.itemNum)
LEFT OUTER JOIN english
ON (products.itemNum = english.itemNum)
WHERE products.category = pictures
AND products.subCategory = framed
GROUP BY grouping.groupingWith
ORDER BY products.displaySequence;
Can ayone tell me how I can incorporate a aggregate function into this
select so as to be able to get the rowcount of just the GROUP BY ?
Thanx
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic