DELETE FROM wp_comments WHERE comment_approved = 'spam';