Wybierz wszystkie nazwy pola dla tabeli mysql
DESCRIBE my_table;
PDXfoster
DESCRIBE my_table;
SELECT DISTINCT
TABLE_NAME
FROM
INFORMATION_SCHEMA.COLUMNS
WHERE
COLUMN_NAME IN('column1', 'column2')
AND TABLE_SCHEMA = 'schema_name';