【发布时间】:2017-06-13 00:40:24
【问题描述】:
这是我的 MySQL 查询以及如何在 CodeIgniter 中编写它
SELECT distinct a.user_name
FROM wl_customers a
INNER JOIN tbl_bid b ON a.customers_id = b.customers_id
INNER JOIN tbl_portfolio c ON b.portfolio_id=c.portfolio_id
WHERE c.portfolio_id='16'
【问题讨论】:
-
你试过下面的答案吗?
-
CodeIgniter 文档非常全面。请阅读文档。 codeigniter.com/user_guide/database/examples.html
-
欢迎来到 Stack Overflow!为了给您一个很好的答案,如果您还没有看过How to Ask,它可能会对我们有所帮助。如果您可以提供minimal reproducible example,它可能也很有用。
标签: php mysql codeigniter