I'm making a database which simulates a store. I've got a table named ProductsTbl that resembles all products available for purchase, and a column named ProductType that identifies the item as a Game or Console. I want to count how many Games fit for each Console. Games have a field called Platform, which is the Console the Game runs on.
SELECT
ProductsTbl.ProductID,
ProductsTbl.ProductName,
ProductsTbl.Manufacturer,
count(ProductsTbl.ProductName = ProductsTbl.Platform)
FROM productstbl
WHERE ProductsTbl.ProductType = 'Console';
This was the only lead I had so far..