I have 4 tables
Table: Category
CategoryID (int)
Name (varchar)
Table: Products
ProductID (int)
CategoryID (int)
Name (varchar)
Description (text)
Table: Sales
SalesID (int)
ProductID (int)
Table: Links
LinkID (int)
ProductID (int)
Now I need to display data as:
CategoryName Total Products Total Sales Total Links
ABC 5 12 50
XYZ 12 26 10
How can I achieve this, may be in single query
Help appreciated
Thanks
Products,Sales, andLinks, but what column linksCategoryin with these?