我的表TF
包含行FILEID
,WORD
,FREQUENCY
。我正在尝试删除所有字词行'and'
'' '所述'从表中。以下是我的查询。它没有做任何事情。
delete from TF
where WORD='of' AND WORD='and' AND WORD='the';
答案 0 :(得分:5)
使用OR
代替AND
delete from TF
where WORD='of' OR WORD='and' OR WORD='the';
答案 1 :(得分:3)
delete from TF where word in ('of','and','the')