Is it possible to query ( SELECT ) data returned from a column such as columns ?
select questors from table;
| coluna | → coluna
|-------------|
| dado1 | → dados retornados da consulta
| dado2 |
| dado3 |
Ex: This line below would be returned from a one-column query:
How can I return the data as columns in this way?
|dado1| dado2 | dado3|
----------------------
The idea is to return the data from this column as columns and then make a data assignment for those columns that were generated by the query represented as data. In the end it would look something like this and export them to a spreadsheet in this format:
|dado1 | dado2 | dado3 | → colunas
------------------------
|valor1| valor1 | valor1| → dados de alguma outra consulta
|valor2| valor2 | valor2|
|valor3| valor3 | valor3|