【发布时间】:2016-11-03 09:03:27
【问题描述】:
有一个交叉连接表需要为特定列捕获具有至少一个not null 值的行:
where books.id is not null
or typings.id is not null
or translates.id is not null
有什么功能或方法可以防止 where 子句中出现重复的not null?
类似这样的:where at_Least_not_Null_One_Of(books.id,typigns.id,translates.id)
【问题讨论】:
标签: mysql where-clause notnull