V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  id4alex  ›  全部回复第 24 页 / 共 24 页
回复总数  462
1 ... 15  16  17  18  19  20  21  22  23  24  
2015 年 11 月 5 日
回复了 yxwzaxns 创建的主题 问与答 没有思路,跪求一段 sql 语句
---现在我想查询出表里内容为 null 的
select * from user where id not in (select id from user where field1 is not null and field2 is not null .... and fieldn is not null)
shell 里面的一段代码


###所有节点修改 hostname####
[root@localhost ~]# for i in `grep node /etc/hosts | awk '{print $2}'`; do ssh -o StrictHostKeyChecking=no $i "sed -i '/HOSTNAME=/d' /etc/sysconfig/network;echo \"HOSTNAME=$i\" >>/etc/sysconfig/network"; done;
1 ... 15  16  17  18  19  20  21  22  23  24  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5635 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 01:48 · PVG 09:48 · LAX 18:48 · JFK 21:48
♥ Do have faith in what you're doing.