Is it possible to retrieve specific columns of specific rows in an
"select * from my_table where row_names in ('a', 'b') order by row_names"
Replace the wildcard symbol
* with the column names you want to retrieve.
But please read up the documentation on SQL standard. It is very unlikely you need 1.000 columns in a table.