The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Other › SQL Like Statement in WordPress › Re: SQL Like Statement in WordPress
It would look similar to this.
$wpdb->prepare( “SELECT COUNT(post_author) from wp_posts WHERE post_title NOT LIKE %s;”, ‘%’ . like_escape($ReplyTo) . ‘%’);