So there's a database from which I regularly pull data for 200 Quarters. The Quarters are named as column Q0r, Q1r, Q2r,.....,Q200r.
So my query goes as Select Q0r, Q1r, Q2r, Q3r....., Q199r, Q200r from testdata where [condition];
I was wondering if there's an easy way to rewrite this query so I don't have to literally do counting from 0 to 200 in the select statement.