Skip to content
Advertisement

Tag: flip

How to vertically flip the column values top to down in SQL

How to vertically flip the column values from top to bottom in SQL which are not in any specific order(neither asc nor desc)? Example: Table named ‘Country’ has a single column c1 with values Now I want to display the Result-set as below: If anyone can kindly suggest? Answer It’s not possible using standard SQL (at least before 2003) because

Advertisement