I have a database named database1 in mySQL.
I have a table named table1.
I don't know how many columns and each name in table1.
The code below doesn't work correctly, but I hope that you understand what I want.
SELECT columName WHERE tableName='table1' ORDER BY columName
I like to see the result of the code above. with your help.
I am sorry, I had to post this in database community.but I don't know how I can move from php to database.