收藏
回答

请教联表排除查询排除某个用户的关联数据?

book 表
{id:1, name:'水浒传'}
{id:2, name:'西游记'}
{id:3, name:'红楼梦'}

read表
{id:1, book_id:1, username:'杜凡', open_id:'111111111',time:'2023-08-02'}
{id:1, book_id:1, username:'杜凡', open_id:'111111111',time:'2023-07-02'}
{id:2, book_id:1, username:'张飞', open_id:'222222222' time:'2023-08-02'}
{id:3, book_id:3, username:'杜凡', open_id:'111111111' time:'2023-08-01'}

book表:书
read表:阅读过的用户

需求:
请问云开发如何查询book表中不包含杜凡阅读过的数据


回答关注问题邀请回答
收藏

2 个回答

登录 后发表内容