NSERT INTO test VALUES ($id1, :age1, @name1);&quot;
    + &quot;INSERT INTO test VALUES ($id2, :age2, @name2);&quot;
    + &quot;SELECT id FROM test;&quot;
    + &quot;SELECT age,name FROM test WHERE id=$id1&quot;,
    {
        &quot;$id1&quot;: 1, &quot;:age1&quot;: 1, &quot;@name1&quot;: &quot;Ling&quot;,
        &quot;$id2&quot;: 2, &quot;:age2&quot;: 18, &quot;@name2&quot;: &quot;Paul&quot;
    }
);
</code></pre><p><code>res</code> is now :</p><pre class="prettyprint source lang-javascript"><code>    [