是mysql数据库哦 上面的是sql server的写法,mysql我很少用哦
骚年,建议你买本SQL必知必会看看
[quote=引用 1 楼 ap0405140 的回复:] select * from [表名] where pid<>1 and name<>'n2'
select * from [表名] where pid<>1 and name<>'n2'
select * from [表名] where pid<>1 or name<>'n2'
22,209
社区成员
121,730
社区内容
加载中
试试用AI创作助手写篇文章吧