I'm trying to create some reports and I've run into a bit of a tricky query... I need 1 query that will basically return 2 columns...
column1 will be a list of certain column names in the table... like columnA, columnB, columnC etc....
column2 will be a list containing the value of the corresponding column name in column1... so the end result will look like
Expand|Select|Wrap|Line Numbers
- column1 column2
- -------- ---------
- columnA valueA
- columnB valueB
- columnC valueC
Also, if someone can give me a solution to this I would also like to know if all the values would have to be of the same datatype.
Thanks in advance!!