please click here for more wordpress cource
To get the column names from a table in SQL Server, MySQL, and Oracle, you can use the following commands:
SELECT COLUMN_NAME
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'your_table_name'
MySQL:
SHOW COLUMNS FROM your_table_name;
Oracle:
SELECT COLUMN_NAME
FROM ALL_TAB_COLUMNS
WHERE TABLE_NAME = 'your_table_name'
Note that in all three cases, you will need to replace “your_table_name” with the actual name of the table you are querying.