请帮助 Zend Db Select
我想通过 zend db select
SELECT * FROM bookmarks
编写此查询 内部连接 url
ON urls.url_id = bookmarks.url_id WHERE (bookmarks.bmk_id = '2') AND (bookmarks.user_id = 1)
请告诉我怎么写?我问这个问题是因为我用来编写此查询的方法不起作用。
I want to write this query via zend db select
SELECT * FROM bookmarks
INNER JOIN urls
ON urls.url_id = bookmarks.url_id WHERE (bookmarks.bmk_id = '2') AND (bookmarks.user_id = 1)
Please tell me how to write? I am asking this because the method I am using to write this query is not working.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为这就是你需要做的。正如文档中所述,这绝对是教科书
I think this is what you need to do. It's absolutely textbook as described on in the documentation