Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
好吧,这是我的问题。
我有 1 个数据库字段 posts_content ,其中包含来自具有这种结构的数百人的帖子:
另一个带有 ip 的数据库字段 posts_block 是我想要阻止的方式
如何从字段 1 创建选择查询以选择没有块的正确帖子
SELECT * FROM table1 INNER JOIN table2 ON table1.ip=table2.ip
select * from posts_content WHERE ip <> (select ip from posts_block);