I just want to know is it even possible to provide the indexes of the columns or a range or indexes of the columns to select from a table.
like:
select 4-10 from some-table;
Many of you would ask why I want to do this, the reason is simple I have a table of around 12 to 15 columns and I want to perform some operations on only half of the columns its just not seems efficient to write down 7 to 10 fields to select from the table or even deselecting the remaining 5 to 8 columns (when using select *)
I didn't find anyone using this before anywhere so I am just curious is it even possible and if yes how?
Also for those who are concerned about ordering of fields can be altered or some fields can be even deleted for those I know what are the possibilities but what if I am sure the ordering of the table not gonna change as I myself maintaining it.