title: sql query if parameter is null select all
body: <p>Can the following query be modified to return all records if the <code>?</code> is null?</p>
  <pre><code>SELECT NAME, SURNAME FROM MY_TABLE WHERE NAME = ?;
  </code></pre>