SHOW COLUMNS FROM tbl_name [FROM db_name] [LIKE wild]
But if you want to get all columns from all tables in mysql (in this example with the table it was found in to the left):
SELECT table_name, column_name FROM information_schema.columns
One world, one people
In reply to Re: Selecting from multiple tables
by anonymized user 468275
in thread Selecting from multiple tables
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |