mysql - 显示多个类别的产品
我找不到这个问题的答案。
我希望能够返回对多个类别的 Virtuemart (Joomla! + Virtuemart) 产品的查询。目前它们可能属于 8 个类别(可能会增加)。
因此,用户可以选择任意数量的类别,并且我想要返回一个仅包含所有选定类别中的产品的列表。
我怎样才能在 MySQL 中执行处理这个问题的查询?
I cannot find an answer to this issue.
I want to be able to return a query of Virtuemart (Joomla! + Virtuemart) products that are in more than one category. There are currently 8 categories they could be in (which may grow.)
So a user could potentially select any number of categories and I want back a list of only products that are in ALL selected categories.
How could I do a query that handles this in MySQL?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道你的表结构,但这个例子可能会给你一个想法。
I don't know your tables structure but this example might give you an idea.