MySQL query to find customers who have made the most orders

Posted by zzapper on Stack Overflow See other posts from Stack Overflow or by zzapper
Published on 2010-03-15T15:29:15Z Indexed on 2010/03/15 15:29 UTC
Read the original article Hit count: 253

Filed under:
|

tbl_customer.id is the customer's id

tbl_order.customer_id

a query that will select all customers with say 4 or more records in tbl_order

© Stack Overflow or respective owner

Related posts about query

Related posts about count