how to write sqlite query using coredata
<p>Please help me,</p>

<p>I want to write query(mentioned below) using coredata.</p>

<pre><code>select primKey, ( primKey - 5 ) as **d** from TABLE Order by **d** limit 1.
</code></pre>
