我想我在SQL中删除了我的数据

时间:2018-08-07 17:01:52

标签: mysql

我在mysql工作台中有一张约30,000条记录的表。一切正常,直到我运行此查询:

select case when Breach = 'True' then 1
            when Breach = 'False' then 0
       else 'NN'
       end as val   
from evictions.evictions_sf

仅尝试替换带有1或0的布尔值。现在,我的表读取的所有内容都为空-请参见图片。

1 个答案:

答案 0 :(得分:2)

尝试

SELECT * from evictions.evictions_sf;

如果记录显示一切都很好。您不能使用SELECT删除或更改数据。