title: How to update with wpdb where ID more than 1
body: <p>Hello i'm new to wordpress. 
  I want to know how to use <code>$wpdb</code> to update where <code>ID</code> in <code>('1' , '2')</code>.</p>
  
  <p>Here is my code :</p>
  
  <pre><code> $ids = 1,2,3,4,5;
   $wpdb-&gt;query( $wpdb-&gt;prepare( 
            "
            UPDATE $wpdb-&gt;subcategory SET status = 0
            WHERE subcategory_id IN ( %s )
            ", 
            $ids
   ) );
  </code></pre>
  
  <p>I try this code but only updated first <code>id</code> (1). </p>
  
  <p>Thanks in advance  :)</p>