Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql show category once count how many products

SELECT category, COUNT(*) as count FROM table GROUP BY category
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #show #category #count #products
ADD COMMENT
Topic
Name
2+1 =