So I was searching but I did not find anything about it, but I need to sort the first and second columns of the table without knowing what they are. My code is this:
<?php $preparaNormalizacao=$con->prepare("SELECT * FROM ".$tabelaExterna." INNER JOIN ".$tabelaNormalizacao." ON ".$tabelaNormalizacao.".".$cTEnormaliza."=".$tabelaExterna.".".$cTEexterna);?>
I need to do something like this here, where I do not know the names Column1 and Column2:
<?php $preparaNormalizacao=$con->prepare("SELECT Coluna1,Coluna2 FROM ".$tabelaExterna." INNER JOIN ".$tabelaNormalizacao." ON ".$tabelaNormalizacao.".".$cTEnormaliza."=".$tabelaExterna.".".$cTEexterna);?>
Is it possible? Thank you in advance!