Select specific rows and columns from an SQL database
<p>Is it possible to retrieve specific columns of specific rows in an <code>SQL query</code>?</p>

<p>Let's say I'm selecting from my <code>SQL</code> table, called <code>my_table</code>, rows whose names are: a, b, using this query text:</p>

<pre><code>"select * from my_table where row_names in ('a', 'b') order by row_names"
</code></pre>

<p>How can I modify this query text to select only columns 2,12,22,32,42 rather all its 1000 columns?</p>