DELETE FROM supe_spaceitems WHERE viewnum =0 AND dateline >1269186308;
DELETE FROM supe_spacenews WHERE supe_spacenews.itemid NOT IN ( SELECT supe_spaceitems.itemid FROM supe_spaceitems);
用这两句sql吧,注意修改删除的条件,dateline是用来限制发表的时间的,它是一个时间戳。
如果担心出错,就对数据库做一个备份。