Hi everyone,
i need help with creating a query.
i have 2 tables.
Category and products.
i have about 20 categories and each has an id. Now i have few products and every product belongs to a specific category with the category id.
i want to list all categories ids that has at least 1 product with the same cat id.
how can i do it?
thanx
i need help with creating a query.
i have 2 tables.
Category and products.
i have about 20 categories and each has an id. Now i have few products and every product belongs to a specific category with the category id.
i want to list all categories ids that has at least 1 product with the same cat id.
how can i do it?
thanx