how to select all of the columns in a table syntax sql code example
Example 1: get all columns from table sql
/* To retreive the column names of table using sql */
SELECT COLUMN_NAME.
FROM INFORMATION_SCHEMA. COLUMNS.
WHERE TABLE_NAME = 'Your Table Name'
Example 2: get all columns from table sql
SELECT
TABLE_NAME
FROM
INFORMATION_SCHEMA.TABLES