标签: sql mysql
我在表中添加了一个不允许为null的列。我想这就是为什么我的一些行现在在列中有实际值但是其他一些行现在有(错误)柱。我该如何查询?
select * from Table where new_column = err
这不起作用。
答案 0 :(得分:1)
从表中选择*,其中new_column ='err'
答案 1 :(得分:0)
select * from Table where new_column is null我认为这会有效,但我的MySQL技能很生疏
select * from Table where new_column is null