mysql - MYSQL 错误:ip 不能为空
问题描述
我有如下插入命令
Insert into table1 (host, ip, domain )
select hostname, (case when t1.ip is null then 'Not Defined' end) , domain from table1 t1, table2 t2
where t1.status = "Done"
and t2.statusnew not regexp "True"
limit 10 ;
得到错误:ip cannot be null
解决方案
推荐阅读
- c++ - 在 C++ 中的 Z3 中获取位向量中的数值
- python - 反斜杠运算符在 Python 中的作用是什么?
- android - 循环显示动画在第一次通话中不起作用
- javascript - 'createConsumer' 不是由 node_modules/@rails/actioncable/app/assets/javascripts/action_cable.js 导出的
- c++ - C++ 输出对齐
- python - 如何获取非空值的百分比?
- c# - MongoDB .net 驱动程序 - 获取 MongoDB 服务器版本
- networking - 不用ip访问树莓派
- paypal - PayPal API 返回 RESOURCE_NOT_FOUND / INVALID_RESOURCE_ID 但交易列在 Sandbox Business 帐户中
- java - JsperReport 在 JavaFx 中不显示任何数据