如何删除一个表中的记录(50分)

曾经

Unregistered / Unconfirmed
GUEST, unregistred user!
请教各位:
我要删除表中的记录,条件是其中的一个字段为NULL,sql如何写!
 
delete from tablename where fieldname=null
 
to micro73
你的方法不行
 
delete from tablename where filedname is null
 
delete from tablename where fieldname is null
 
DELETE FROM aaa WHERE (a IS NULL) OR (b IS NULL)
 
是这样。。。
 
多人接受答案了。
 
顶部